diff --git a/Makefile b/Makefile index becce0e48c..4b80bc8285 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,3 @@ -all: scons - -scons: - scons - -sconsi: - scons --implicit-deps-unchanged - cscope: cscope.out cscope.out: cscope.files diff --git a/SConstruct b/SConstruct deleted file mode 100644 index 81b5f05881..0000000000 --- a/SConstruct +++ /dev/null @@ -1,1500 +0,0 @@ -# -*- python -*- - -# -# and there we have it, or do we? -# - -import os -import os.path -import sys -import re -import shutil -import glob -import errno -import time -import platform -import string -import commands -from sets import Set -import SCons.Node.FS - -print "\n----------------------------------------\nPlease build Ardour 3.X using waf:\n\n./waf configure\n./waf" -exit (0) - -SConsignFile() -EnsureSConsVersion(0, 96) - -ardour_version = '3.0' - -subst_dict = { } - -# -# Command-line options -# - -opts = Options('scache.conf') -opts.AddOptions( - ('ARCH', 'Set architecture-specific compilation flags by hand (all flags as 1 argument)',''), - ('WINDOWS_KEY', 'Set X Modifier (Mod1,Mod2,Mod3,Mod4,Mod5) for "Windows" key', 'Mod4> writing svn revision info to libs/ardour/svn_revision.cc\n' - o = file ('libs/ardour/svn_revision.cc', 'w') - o.write (text) - o.close () - except IOError: - print "Could not open libs/ardour/svn_revision.cc for writing\n" - sys.exit (-1) - -# -# A generic builder for version.cc files -# -# note: requires that DOMAIN, MAJOR, MINOR, MICRO are set in the construction environment -# note: assumes one source files, the header that declares the version variables -# - -def version_builder (target, source, env): - - text = "int " + env['DOMAIN'] + "_major_version = " + str (env['MAJOR']) + ";\n" - text += "int " + env['DOMAIN'] + "_minor_version = " + str (env['MINOR']) + ";\n" - text += "int " + env['DOMAIN'] + "_micro_version = " + str (env['MICRO']) + ";\n" - - try: - o = file (target[0].get_path(), 'w') - o.write (text) - o.close () - except IOError: - print "Could not open", target[0].get_path(), " for writing\n" - sys.exit (-1) - - text = "#ifndef __" + env['DOMAIN'] + "_version_h__\n" - text += "#define __" + env['DOMAIN'] + "_version_h__\n" - text += "extern const char* " + env['DOMAIN'] + "_revision;\n" - text += "extern int " + env['DOMAIN'] + "_major_version;\n" - text += "extern int " + env['DOMAIN'] + "_minor_version;\n" - text += "extern int " + env['DOMAIN'] + "_micro_version;\n" - text += "#endif /* __" + env['DOMAIN'] + "_version_h__ */\n" - - try: - o = file (target[1].get_path(), 'w') - o.write (text) - o.close () - except IOError: - print "Could not open", target[1].get_path(), " for writing\n" - sys.exit (-1) - - return None - -version_bld = Builder (action = version_builder) -env.Append (BUILDERS = {'VersionBuild' : version_bld}) - -# -# a builder that makes a hard link from the 'source' executable to a name with -# a "build ID" based on the most recent CVS activity that might be reasonably -# related to version activity. this relies on the idea that the SConscript -# file that builds the executable is updated with new version info and committed -# to the source code repository whenever things change. -# - -def versioned_builder(target,source,env): - w, r = os.popen2( "LANG= svn info | awk '/^Revision:/ { print $2}'") - - last_revision = r.readline().strip() - w.close() - r.close() - if last_revision == "": - print "No SVN info found - versioned executable cannot be built" - return -1 - - print "The current build ID is " + last_revision - - tagged_executable = source[0].get_path() + '-' + last_revision - - if os.path.exists (tagged_executable): - print "Replacing existing executable with the same build tag." - os.unlink (tagged_executable) - - return os.link (source[0].get_path(), tagged_executable) - -verbuild = Builder (action = versioned_builder) -env.Append (BUILDERS = {'VersionedExecutable' : verbuild}) - -# -# source tar file builder -# - -def distcopy (target, source, env): - treedir = str (target[0]) - - try: - os.mkdir (treedir) - except OSError, (errnum, strerror): - if errnum != errno.EEXIST: - print 'mkdir ', treedir, ':', strerror - - cmd = 'tar cf - ' - # - # we don't know what characters might be in the file names - # so quote them all before passing them to the shell - # - all_files = ([ str(s) for s in source ]) - cmd += " ".join ([ "'%s'" % quoted for quoted in all_files]) - cmd += ' | (cd ' + treedir + ' && tar xf -)' - p = os.popen (cmd) - return p.close () - -def tarballer (target, source, env): - cmd = 'tar -jcf ' + str (target[0]) + ' ' + str(source[0]) + " --exclude '*~'" + " --exclude .svn --exclude '.svn/*'" - print 'running ', cmd, ' ... ' - p = os.popen (cmd) - return p.close () - -dist_bld = Builder (action = distcopy, - target_factory = SCons.Node.FS.default_fs.Entry, - source_factory = SCons.Node.FS.default_fs.Entry, - multi = 1) - -tarball_bld = Builder (action = tarballer, - target_factory = SCons.Node.FS.default_fs.Entry, - source_factory = SCons.Node.FS.default_fs.Entry) - -env.Append (BUILDERS = {'Distribute' : dist_bld}) -env.Append (BUILDERS = {'Tarball' : tarball_bld}) - -#################### -# push environment -#################### - -def pushEnvironment(context): - if os.environ.has_key('PATH'): - context.Append(PATH = os.environ['PATH']) - context['ENV']['PATH'] = os.environ['PATH'] - - if os.environ.has_key('PKG_CONFIG_PATH'): - context.Append(PKG_CONFIG_PATH = os.environ['PKG_CONFIG_PATH']) - context['ENV']['PKG_CONFIG_PATH'] = os.environ['PKG_CONFIG_PATH'] - - if os.environ.has_key('CC'): - context['CC'] = os.environ['CC'] - - if os.environ.has_key('CXX'): - context['CXX'] = os.environ['CXX'] - - if os.environ.has_key('DISTCC_HOSTS'): - context['ENV']['DISTCC_HOSTS'] = os.environ['DISTCC_HOSTS'] - context['ENV']['HOME'] = os.environ['HOME'] - -pushEnvironment (env) - -####################### -# Dependency Checking # -####################### - -deps = \ -{ - 'glib-2.0' : '2.10.1', - 'gthread-2.0' : '2.10.1', - 'gtk+-2.0' : '2.12.1', - 'libxml-2.0' : '2.6.0', - 'samplerate' : '0.1.0', - 'raptor' : '1.4.2', - 'lrdf' : '0.4.0', - 'jack' : '0.109.0', - 'libgnomecanvas-2.0' : '2.0', - 'aubio' : '0.3.2', - 'ogg' : '1.1.2', - 'flac' : '1.2.1', - 'sndfile' : '1.0.18' -} - -def DependenciesRequiredMessage(): - print 'You do not have the necessary dependencies required to build ardour' - print 'Please consult http://ardour.org/building for more information' - -def CheckPKGConfig(context, version): - context.Message( 'Checking for pkg-config version >= %s... ' %version ) - ret = context.TryAction('pkg-config --atleast-pkgconfig-version=%s' % version)[0] - context.Result( ret ) - return ret - -def CheckPKGVersion(context, name, version): - context.Message( 'Checking for %s... ' % name ) - ret = context.TryAction('pkg-config --atleast-version=%s %s' %(version,name) )[0] - context.Result( ret ) - return ret - -def CheckPKGExists(context, name): - context.Message ('Checking for %s...' % name) - ret = context.TryAction('pkg-config --exists %s' % name)[0] - context.Result (ret) - return ret - -conf = Configure(env, custom_tests = { 'CheckPKGConfig' : CheckPKGConfig, - 'CheckPKGVersion' : CheckPKGVersion }) - -# I think a more recent version is needed on win32 -min_pkg_config_version = '0.8.0' - -if not conf.CheckPKGConfig(min_pkg_config_version): - print 'pkg-config >= %s not found.' % min_pkg_config_version - Exit(1) - -for pkg, version in deps.iteritems(): - if not conf.CheckPKGVersion( pkg, version ): - print '%s >= %s not found.' %(pkg, version) - DependenciesRequiredMessage() - Exit(1) - -env = conf.Finish() - -# ---------------------------------------------------------------------- -# Construction environment setup -# ---------------------------------------------------------------------- - -libraries = { } - -libraries['core'] = LibraryInfo (CCFLAGS = '-Ilibs') - -libraries['sndfile'] = LibraryInfo() -libraries['sndfile'].ParseConfig('pkg-config --cflags --libs sndfile') - -libraries['lrdf'] = LibraryInfo() -libraries['lrdf'].ParseConfig('pkg-config --cflags --libs lrdf') - -libraries['raptor'] = LibraryInfo() -libraries['raptor'].ParseConfig('pkg-config --cflags --libs raptor') - -libraries['samplerate'] = LibraryInfo() -libraries['samplerate'].ParseConfig('pkg-config --cflags --libs samplerate') - -conf = env.Configure (custom_tests = { 'CheckPKGExists' : CheckPKGExists } ) - -if conf.CheckPKGExists ('fftw3f'): - libraries['fftw3f'] = LibraryInfo() - libraries['fftw3f'].ParseConfig('pkg-config --cflags --libs fftw3f') - -if conf.CheckPKGExists ('fftw3'): - libraries['fftw3'] = LibraryInfo() - libraries['fftw3'].ParseConfig('pkg-config --cflags --libs fftw3') - -if conf.CheckPKGExists ('aubio'): - libraries['aubio'] = LibraryInfo() - libraries['aubio'].ParseConfig('pkg-config --cflags --libs aubio') - env['AUBIO'] = 1 -else: - env['AUBIO'] = 0 - -env = conf.Finish () - -# -# Check for fftw3 header as well as the library -# - -conf = Configure(libraries['fftw3']) - -if conf.CheckHeader ('fftw3.h') == False: - print ('Ardour cannot be compiled without the FFTW3 headers, which do not seem to be installed') - sys.exit (1) -conf.Finish() - -if env['FREESOUND']: - # - # Check for curl header as well as the library - # - - libraries['curl'] = LibraryInfo() - - conf = Configure(libraries['curl']) - - if conf.CheckHeader ('curl/curl.h') == False: - print ('Ardour cannot be compiled without the curl headers, which do not seem to be installed') - sys.exit (1) - else: - libraries['curl'].ParseConfig('pkg-config --cflags --libs libcurl') - conf.Finish() -else: - print 'FREESOUND support is not enabled. Build with \'scons FREESOUND=1\' to enable.' - -if env['LV2']: - conf = env.Configure(custom_tests = { 'CheckPKGVersion' : CheckPKGVersion}) - - if conf.CheckPKGVersion('slv2', '0.6.4'): - libraries['slv2'] = LibraryInfo() - libraries['slv2'].ParseConfig('pkg-config --cflags --libs slv2') - env.Append (CCFLAGS="-DHAVE_SLV2") - else: - print 'LV2 support is not enabled (SLV2 not found or older than 0.6.4 (svn))' - env['LV2'] = 0 - conf.Finish() -else: - print 'LV2 support is not enabled. Build with \'scons LV2=1\' to enable.' - -if not env['WIIMOTE']: - print 'WIIMOTE not enabled. Build with \'scons WIIMOTE=1\' to enable support.' - -libraries['jack'] = LibraryInfo() -libraries['jack'].ParseConfig('pkg-config --cflags --libs jack') - -libraries['xml'] = LibraryInfo() -libraries['xml'].ParseConfig('pkg-config --cflags --libs libxml-2.0') - -libraries['xslt'] = LibraryInfo() -libraries['xslt'].ParseConfig('pkg-config --cflags --libs libxslt') - -libraries['uuid'] = LibraryInfo() -libraries['uuid'].ParseConfig('pkg-config --cflags --libs uuid') - -libraries['glib2'] = LibraryInfo() -libraries['glib2'].ParseConfig ('pkg-config --cflags --libs glib-2.0') -libraries['glib2'].ParseConfig ('pkg-config --cflags --libs gobject-2.0') -libraries['glib2'].ParseConfig ('pkg-config --cflags --libs gmodule-2.0') -libraries['glib2'].ParseConfig ('pkg-config --cflags --libs gthread-2.0') - -libraries['gio'] = LibraryInfo() -libraries['gio'].ParseConfig('pkg-config --cflags --libs gio-2.0') -libraries['gio'].ParseConfig('pkg-config --cflags --libs gio-unix-2.0') - -libraries['freetype2'] = LibraryInfo() -libraries['freetype2'].ParseConfig ('pkg-config --cflags --libs freetype2') - -libraries['gtk2'] = LibraryInfo() -libraries['gtk2'].ParseConfig ('pkg-config --cflags --libs gtk+-2.0') - -libraries['pango'] = LibraryInfo() -libraries['pango'].ParseConfig ('pkg-config --cflags --libs pango') - -libraries['pangocairo'] = LibraryInfo() -libraries['pangocairo'].ParseConfig ('pkg-config --cflags --libs pangocairo') - -libraries['libgnomecanvas2'] = LibraryInfo() -libraries['libgnomecanvas2'].ParseConfig ('pkg-config --cflags --libs libgnomecanvas-2.0') - -#libraries['flowcanvas'] = LibraryInfo(LIBS='flowcanvas', LIBPATH='#/libs/flowcanvas', CPPPATH='#libs/flowcanvas') - -# The Ardour Control Protocol Library - -libraries['ardour_cp'] = LibraryInfo (LIBS='ardour_cp', LIBPATH='#libs/surfaces/control_protocol', - CPPPATH='#libs/surfaces/control_protocol') - -# The Ardour backend/engine - -libraries['ardour'] = LibraryInfo (LIBS='ardour', LIBPATH='#libs/ardour', CPPPATH='#libs/ardour') -libraries['midi++2'] = LibraryInfo (LIBS='midi++', LIBPATH='#libs/midi++2', CPPPATH='#libs/midi++2') -libraries['smf'] = LibraryInfo (LIBS='smf', LIBPATH='#libs/evoral/src/libsmf', CPPPATH='#libs/evoral/src/libsmf/') -libraries['evoral'] = LibraryInfo (LIBS='evoral', LIBPATH='#libs/evoral', CPPPATH='#libs/evoral') -libraries['pbd'] = LibraryInfo (LIBS='pbd', LIBPATH='#libs/pbd', CPPPATH='#libs/pbd') -libraries['gtkmm2ext'] = LibraryInfo (LIBS='gtkmm2ext', LIBPATH='#libs/gtkmm2ext', CPPPATH='#libs/gtkmm2ext') - - -# SCons should really do this for us - -conf = env.Configure () - -have_cxx = conf.TryAction (Action (str(env['CXX']) + ' --version')) -if have_cxx[0] != 1: - print "This system has no functional C++ compiler. You cannot build Ardour from source without one." - sys.exit (1) -else: - print "Congratulations, you have a functioning C++ compiler." - -env = conf.Finish() - - -# -# Compiler flags and other system-dependent stuff -# - -opt_flags = [] -if env['GPROFILE'] == 1: - debug_flags = [ '-O0', '-g', '-pg' ] -else: - debug_flags = [ '-O0', '-g' ] - -# guess at the platform, used to define compiler flags - -config_guess = os.popen("tools/config.guess").read()[:-1] - -config_cpu = 0 -config_arch = 1 -config_kernel = 2 -config_os = 3 -config = config_guess.split ("-") - -print "system triple: " + config_guess - -# Autodetect -if env['DIST_TARGET'] == 'auto': - if config[config_arch] == 'apple': - # The [.] matches to the dot after the major version, "." would match any character - if re.search ("darwin[0-7][.]", config[config_kernel]) != None: - env['DIST_TARGET'] = 'panther' - if re.search ("darwin8[.]", config[config_kernel]) != None: - env['DIST_TARGET'] = 'tiger' - else: - env['DIST_TARGET'] = 'leopard' - else: - if re.search ("x86_64", config[config_cpu]) != None: - env['DIST_TARGET'] = 'x86_64' - elif re.search("i[0-5]86", config[config_cpu]) != None: - env['DIST_TARGET'] = 'i386' - elif re.search("powerpc", config[config_cpu]) != None: - env['DIST_TARGET'] = 'powerpc' - else: - env['DIST_TARGET'] = 'i686' - print "\n*******************************" - print "detected DIST_TARGET = " + env['DIST_TARGET'] - print "*******************************\n" - - -if config[config_cpu] == 'powerpc' and env['DIST_TARGET'] != 'none': - # - # Apple/PowerPC optimization options - # - # -mcpu=7450 does not reliably work with gcc 3.* - # - if env['DIST_TARGET'] == 'panther' or env['DIST_TARGET'] == 'tiger': - if config[config_arch] == 'apple': - ## opt_flags.extend ([ "-mcpu=7450", "-faltivec"]) - # to support g3s but still have some optimization for above - opt_flags.extend ([ "-mcpu=G3", "-mtune=7450"]) - else: - opt_flags.extend ([ "-mcpu=7400", "-maltivec", "-mabi=altivec"]) - else: - opt_flags.extend([ "-mcpu=750", "-mmultiple" ]) - opt_flags.extend (["-mhard-float", "-mpowerpc-gfxopt"]) - opt_flags.extend (["-Os"]) - -elif ((re.search ("i[0-9]86", config[config_cpu]) != None) or (re.search ("x86_64", config[config_cpu]) != None)) and env['DIST_TARGET'] != 'none': - - build_host_supports_sse = 0 - - # - # ARCH_X86 means anything in the x86 family from i386 to x86_64 - # USE_X86_64_ASM is used to distingush 32 and 64 bit assembler - # - - if (re.search ("(i[0-9]86|x86_64)", config[config_cpu]) != None): - debug_flags.append ("-DARCH_X86") - opt_flags.append ("-DARCH_X86") - - if config[config_kernel] == 'linux' : - - if env['DIST_TARGET'] != 'i386': - - flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1] - x86_flags = flag_line.split (": ")[1:][0].split () - - if "mmx" in x86_flags: - opt_flags.append ("-mmmx") - if "sse" in x86_flags: - build_host_supports_sse = 1 - if "3dnow" in x86_flags: - opt_flags.append ("-m3dnow") - - if config[config_cpu] == "i586": - opt_flags.append ("-march=i586") - elif config[config_cpu] == "i686": - opt_flags.append ("-march=i686") - - if ((env['DIST_TARGET'] == 'i686') or (env['DIST_TARGET'] == 'x86_64')) and build_host_supports_sse: - opt_flags.extend (["-msse", "-mfpmath=sse", "-DUSE_XMMINTRIN"]) - debug_flags.extend (["-msse", "-mfpmath=sse", "-DUSE_XMMINTRIN"]) -# end of processor-specific section - -# optimization section -if env['FPU_OPTIMIZATION']: - if env['DIST_TARGET'] == 'tiger' or env['DIST_TARGET'] == 'leopard': - opt_flags.append ("-DBUILD_VECLIB_OPTIMIZATIONS"); - debug_flags.append ("-DBUILD_VECLIB_OPTIMIZATIONS"); - libraries['core'].Append(LINKFLAGS= '-framework Accelerate') - elif env['DIST_TARGET'] == 'i686' or env['DIST_TARGET'] == 'x86_64': - opt_flags.append ("-DBUILD_SSE_OPTIMIZATIONS") - debug_flags.append ("-DBUILD_SSE_OPTIMIZATIONS") - if env['DIST_TARGET'] == 'x86_64': - opt_flags.append ("-DUSE_X86_64_ASM") - debug_flags.append ("-DUSE_X86_64_ASM") - if build_host_supports_sse != 1: - print "\nWarning: you are building Ardour with SSE support even though your system does not support these instructions. (This may not be an error, especially if you are a package maintainer)" -# end optimization section - -# handle x86/x86_64 libdir properly - -if env['DIST_TARGET'] == 'x86_64': - env['LIBDIR']='lib64' -else: - env['LIBDIR']='lib' - -# -# no VST on x86_64 -# - -if env['DIST_TARGET'] == 'x86_64' and env['VST']: - print "\n\n==================================================" - print "You cannot use VST plugins with a 64 bit host. Please run scons with VST=0" - print "\nIt is theoretically possible to build a 32 bit host on a 64 bit system." - print "However, this is tricky and not recommended for beginners." - sys.exit (-1) - -# -# a single way to test if we're on OS X -# - -if env['DIST_TARGET'] in ['panther', 'tiger', 'leopard' ]: - env['IS_OSX'] = 1 - # force tiger or later, to avoid issues on PPC which defaults - # back to 10.1 if we don't tell it otherwise. - env.Append (CCFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040") - - if env['DIST_TARGET'] == 'leopard': - # need this to really build against the 10.4 SDK when building on leopard - # ideally this would be configurable, but lets just do that later when we need it - env.Append(CCFLAGS="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk") - env.Append(LINKFLAGS="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk") - -else: - env['IS_OSX'] = 0 - -# -# save off guessed arch element in an env -# -env.Append(CONFIG_ARCH=config[config_arch]) - - -# -# ARCH="..." overrides all -# - -if env['ARCH'] != '': - opt_flags = env['ARCH'].split() - -# -# prepend boiler plate optimization flags -# - -opt_flags[:0] = [ - "-O3", - "-fomit-frame-pointer", - "-ffast-math", - "-fstrength-reduce", - "-pipe" - ] - -if env['DEBUG'] == 1: - env.Append(CCFLAGS=" ".join (debug_flags)) - env.Append(LINKFLAGS=" ".join (debug_flags)) -else: - env.Append(CCFLAGS=" ".join (opt_flags)) - env.Append(LINKFLAGS=" ".join (opt_flags)) - -if env['STL_DEBUG'] == 1: - env.Append(CXXFLAGS="-D_GLIBCXX_DEBUG") - -if env['UNIVERSAL'] == 1: - env.Append(CCFLAGS="-arch i386 -arch ppc") - env.Append(LINKFLAGS="-arch i386 -arch ppc") - - -# -# warnings flags -# - -env.Append(CCFLAGS="-Wall") -env.Append(CXXFLAGS="-Woverloaded-virtual") - -if env['EXTRA_WARN']: - env.Append(CCFLAGS="-Wextra -pedantic -ansi") - env.Append(CXXFLAGS="-ansi") -# env.Append(CFLAGS="-iso") - -# -# fix scons nitpickiness on APPLE -# - - -def prep_libcheck(topenv, libinfo): - if topenv['IS_OSX']: - # - # rationale: GTK-Quartz uses jhbuild and installs to ~/gtk/inst by default. - # All libraries needed should be built against this location - - if topenv['GTKOSX']: - GTKROOT = os.path.expanduser ('~/gtk/inst') - libinfo.Append(CPPPATH= GTKROOT + "/include", LIBPATH= GTKROOT + "/lib") - libinfo.Append(CXXFLAGS="-I" + GTKROOT + "/include", LINKFLAGS="-L" + GTKROOT + "/lib") - - - -prep_libcheck(env, env) - -# -# these are part of the Ardour source tree because they are C++ -# - -libraries['vamp'] = LibraryInfo (LIBS='vampsdk', - LIBPATH='#libs/vamp-sdk', - CPPPATH='#libs/vamp-sdk') -libraries['vamphost'] = LibraryInfo (LIBS='vamphostsdk', - LIBPATH='#libs/vamp-sdk', - CPPPATH='#libs/vamp-sdk') - -env['RUBBERBAND'] = False - -conf = Configure (env) - -if conf.CheckHeader ('fftw3.h'): - env['RUBBERBAND'] = True - libraries['rubberband'] = LibraryInfo (LIBS='rubberband', - LIBPATH='#libs/rubberband', - CPPPATH='#libs/rubberband', - CCFLAGS='-DUSE_RUBBERBAND') -else: - print "" - print "-------------------------------------------------------------------------" - print "You do not have the FFTW single-precision development package installed." - print "This prevents Ardour from using the Rubberband library for timestretching" - print "and pitchshifting. It will fall back on SoundTouch for timestretch, and " - print "pitchshifting will not be available." - print "-------------------------------------------------------------------------" - print "" - -conf.Finish() - -# -# Check for libusb - -libraries['usb'] = LibraryInfo () -prep_libcheck(env, libraries['usb']) - -conf = Configure (libraries['usb']) -if conf.CheckLib ('usb', 'usb_interrupt_write'): - have_libusb = True -else: - have_libusb = False - -# check for linux/input.h while we're at it for powermate -if conf.CheckHeader('linux/input.h'): - have_linux_input = True -else: - have_linux_input = False - -libraries['usb'] = conf.Finish () - -# -# Check for wiimote dependencies - -if env['WIIMOTE']: - wiimoteConf = env.Configure ( ) - if not wiimoteConf.CheckHeader('cwiid.h'): - print 'WIIMOTE configured but you are missing libcwiid!' - sys.exit(1) - if not wiimoteConf.CheckHeader('bluetooth/bluetooth.h'): - print 'WIIMOTE configured but you are missing the libbluetooth headers which you need to compile wiimote support!' - sys.exit(1) - wiimoteConf.Finish() - - -# -# Check for FLAC - -libraries['flac'] = LibraryInfo () -prep_libcheck(env, libraries['flac']) -libraries['flac'].Append(CPPPATH="/usr/local/include", LIBPATH="/usr/local/lib") - -# -# june 1st 2007: look for a function that is in FLAC 1.1.2 and not in later versions -# since the version of libsndfile we have internally does not support -# the new API that libFLAC has adopted -# - -conf = Configure (libraries['flac']) -if conf.CheckLib ('FLAC', 'FLAC__seekable_stream_decoder_init', language='CXX'): - conf.env.Append(CCFLAGS='-DHAVE_FLAC') - use_flac = True -else: - use_flac = False - -libraries['flac'] = conf.Finish () - -# or if that fails... -#libraries['flac'] = LibraryInfo (LIBS='FLAC') - -# boost (we don't link against boost, just use some header files) - -libraries['boost'] = LibraryInfo () -prep_libcheck(env, libraries['boost']) -libraries['boost'].Append(CPPPATH="/usr/local/include", LIBPATH="/usr/local/lib") -conf = Configure (libraries['boost']) -if conf.CheckHeader ('boost/shared_ptr.hpp', language='CXX') == False: - print "Boost header files do not appear to be installed. You also might be running a buggy version of scons. Try scons 0.97 if you can." - sys.exit (1) - -libraries['boost'] = conf.Finish () - -# -# Check for liblo - -libraries['lo'] = LibraryInfo () -prep_libcheck(env, libraries['lo']) - -conf = Configure (libraries['lo']) -if conf.CheckLib ('lo', 'lo_server_new') == False: - print "liblo does not appear to be installed." - env['HAVE_LIBLO'] = False -else: - env['HAVE_LIBLO'] = True - -libraries['lo'] = conf.Finish () - -# -# Check for dmalloc - -libraries['dmalloc'] = LibraryInfo () -prep_libcheck(env, libraries['dmalloc']) - -# -# look for the threaded version -# - -conf = Configure (libraries['dmalloc']) -if conf.CheckLib ('dmallocth', 'dmalloc_shutdown'): - have_libdmalloc = True -else: - have_libdmalloc = False - -libraries['dmalloc'] = conf.Finish () - -# -# ensure FREEDESKTOP target is doable.. -# - -conf = env.Configure () -if env['FREEDESKTOP']: - have_update_mime_database = conf.TryAction (Action ('update-mime-database -v')) - if have_update_mime_database[0] != 1: - print "Warning. You have no update-mime-database command in your PATH. FREEDESKTOP is now disabled." - env['FREEDESKTOP'] = 0 - have_gtk_update_icon_cache = conf.TryAction (Action ('gtk-update-icon-cache -?')) - if have_gtk_update_icon_cache[0] != 1: - print "Warning. You have no gtk-update-icon-cache command in your PATH. FREEDESKTOP is now disabled." - env['FREEDESKTOP'] = 0 - have_update_desktop_database = conf.TryAction (Action ('update-desktop-database -?')) - if have_update_desktop_database[0] != 1: - print "Warning. You have no update-desktop-database command in your PATH. FREEDESKTOP is now disabled." - env['FREEDESKTOP'] = 0 -env = conf.Finish() - -# -# Audio/MIDI library (needed for MIDI, since audio is all handled via JACK) -# - -conf = Configure(env) - -# ALSA, for engine dialog -libraries['asound'] = LibraryInfo () - -if conf.CheckCHeader('alsa/asoundlib.h'): - libraries['asound'].ParseConfig('pkg-config --cflags --libs alsa') - -if conf.CheckCHeader('jack/midiport.h'): - libraries['sysmidi'] = LibraryInfo (LIBS='jack') - env['SYSMIDI'] = 'JACK MIDI' - subst_dict['%MIDITAG%'] = "control" - subst_dict['%MIDITYPE%'] = "jack" - env.Append(CCFLAGS=" -DWITH_JACK_MIDI") - print "Using JACK MIDI" -elif conf.CheckCHeader('alsa/asoundlib.h'): - libraries['sysmidi'] = LibraryInfo () - libraries['sysmidi'].ParseConfig('pkg-config --cflags --libs alsa') - env['SYSMIDI'] = 'ALSA Sequencer' - subst_dict['%MIDITAG%'] = "control" - subst_dict['%MIDITYPE%'] = "alsa/sequencer" - print "Using ALSA MIDI" -elif conf.CheckCHeader('/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h'): - # this line is needed because scons can't handle -framework in ParseConfig() yet. - if env['GTKOSX']: - # We need Carbon as well as the rest - libraries['sysmidi'] = LibraryInfo ( - LINKFLAGS = ' -framework CoreMIDI -framework CoreFoundation -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox -framework Carbon -bind_at_load' ) - else: - libraries['sysmidi'] = LibraryInfo ( - LINKFLAGS = ' -framework CoreMIDI -framework CoreFoundation -framework CoreAudio -framework CoreServices -framework AudioUnit -framework AudioToolbox -bind_at_load' ) - env['SYSMIDI'] = 'CoreMIDI' - subst_dict['%MIDITAG%'] = "ardour" - subst_dict['%MIDITYPE%'] = "coremidi" -else: - print "It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries." - sys.exit (1) - -env = conf.Finish() - -if env['GTKOSX']: - clearlooks_version = 'libs/clearlooks-newer' -else: - clearlooks_version = 'libs/clearlooks-older' - -if env['SYSLIBS']: - - syslibdeps = \ - { - 'sigc++-2.0' : '2.0', - 'gtkmm-2.4' : '2.8', - 'libgnomecanvasmm-2.6' : '2.12.0' - } - - conf = Configure(env, custom_tests = { 'CheckPKGConfig' : CheckPKGConfig, - 'CheckPKGVersion' : CheckPKGVersion }) - - for pkg, version in syslibdeps.iteritems(): - if not conf.CheckPKGVersion( pkg, version ): - print '%s >= %s not found.' %(pkg, version) - DependenciesRequiredMessage() - Exit(1) - - env = conf.Finish() - - libraries['sigc2'] = LibraryInfo() - libraries['sigc2'].ParseConfig('pkg-config --cflags --libs sigc++-2.0') - libraries['glibmm2'] = LibraryInfo() - libraries['glibmm2'].ParseConfig('pkg-config --cflags --libs glibmm-2.4') - libraries['giomm'] = LibraryInfo() - libraries['giomm'].ParseConfig('pkg-config --cflags --libs giomm-2.4') - libraries['cairo'] = LibraryInfo() - libraries['cairo'].ParseConfig('pkg-config --cflags --libs cairo') - libraries['cairomm'] = LibraryInfo() - libraries['cairomm'].ParseConfig('pkg-config --cflags --libs cairomm-1.0') - libraries['gdkmm2'] = LibraryInfo() - libraries['gdkmm2'].ParseConfig ('pkg-config --cflags --libs gdkmm-2.4') - libraries['gtkmm2'] = LibraryInfo() - libraries['gtkmm2'].ParseConfig ('pkg-config --cflags --libs gtkmm-2.4') - libraries['atkmm'] = LibraryInfo() - libraries['atkmm'].ParseConfig ('pkg-config --cflags --libs atkmm-1.6') - libraries['pangomm'] = LibraryInfo() - libraries['pangomm'].ParseConfig ('pkg-config --cflags --libs pangomm-1.4') - libraries['libgnomecanvasmm'] = LibraryInfo() - libraries['libgnomecanvasmm'].ParseConfig ('pkg-config --cflags --libs libgnomecanvasmm-2.6') - libraries['taglib'] = LibraryInfo() - libraries['taglib'].ParseConfig ('pkg-config --cflags --libs taglib') - -# libraries['libglademm'] = LibraryInfo() -# libraries['libglademm'].ParseConfig ('pkg-config --cflags --libs libglademm-2.4') - -# libraries['flowcanvas'] = LibraryInfo(LIBS='flowcanvas', LIBPATH='#/libs/flowcanvas', CPPPATH='#libs/flowcanvas') - libraries['soundtouch'] = LibraryInfo() - libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs soundtouch-1.0') - # Comment the previous line and uncomment this for some versions of Debian: - #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch') - - libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', - LIBPATH='#libs/appleutility', - CPPPATH='#libs/appleutility') - - libraries['sndfile'] = LibraryInfo() - libraries['sndfile'].ParseConfig ('pkg-config --cflags --libs sndfile') - - coredirs = [ - 'templates', - 'manual' - ] - - subdirs = [ - 'libs/pbd', - 'libs/midi++2', - 'libs/evoral/src/libsmf', - 'libs/evoral', - 'libs/ardour', - 'libs/vamp-sdk', - 'libs/vamp-plugins/', - # these are unconditionally included but have - # tests internally to avoid compilation etc - # if VST is not set - 'libs/fst', - 'vst', - # this is unconditionally included but has - # tests internally to avoid compilation etc - # if COREAUDIO is not set - 'libs/appleutility' - ] - - gtk_subdirs = [ -# 'libs/flowcanvas', - 'libs/gtkmm2ext', - 'gtk2_ardour', - clearlooks_version - ] - -else: - libraries['cairo'] = LibraryInfo() - libraries['cairo'].ParseConfig('pkg-config --cflags --libs cairo') - - libraries['gtk2-unix-print'] = LibraryInfo() - libraries['gtk2-unix-print'].ParseConfig('pkg-config --cflags --libs gtk+-unix-print-2.0') - - libraries['sigc2'] = LibraryInfo(LIBS='sigc++2', - LIBPATH='#libs/sigc++2', - CPPPATH='#libs/sigc++2') - libraries['glibmm2'] = LibraryInfo(LIBS='glibmm2', - LIBPATH='#libs/glibmm2', - CPPPATH='#libs/glibmm2/glib') - libraries['giomm'] = LibraryInfo(LIBS='giomm', - LIBPATH='#libs/glibmm2', - CPPPATH='#libs/glibmm2/gio') - libraries['pangomm'] = LibraryInfo(LIBS='pangomm', - LIBPATH='#libs/gtkmm2/pango', - CPPPATH='#libs/gtkmm2/pango') - libraries['cairomm'] = LibraryInfo(LIBS='cairomm', - LIBPATH='#libs/cairomm', - CPPPATH='#libs/cairomm') - libraries['atkmm'] = LibraryInfo(LIBS='atkmm', - LIBPATH='#libs/gtkmm2/atk', - CPPPATH='#libs/gtkmm2/atk') - libraries['cairomm'] = LibraryInfo(LIBS='cairomm', - LIBPATH='#libs/cairomm', - CPPPATH='#libs/cairomm') - libraries['gdkmm2'] = LibraryInfo(LIBS='gdkmm2', - LIBPATH='#libs/gtkmm2/gdk', - CPPPATH='#libs/gtkmm2/gdk') - libraries['gtkmm2'] = LibraryInfo(LIBS='gtkmm2', - LIBPATH="#libs/gtkmm2/gtk", - CPPPATH='#libs/gtkmm2/gtk/') - libraries['libgnomecanvasmm'] = LibraryInfo(LIBS='libgnomecanvasmm', - LIBPATH='#libs/libgnomecanvasmm', - CPPPATH='#libs/libgnomecanvasmm') - - libraries['soundtouch'] = LibraryInfo(LIBS='soundtouch', - LIBPATH='#libs/soundtouch', - CPPPATH=['#libs', '#libs/soundtouch']) - libraries['taglib'] = LibraryInfo(LIBS='libtaglib', - LIBPATH='#libs/taglib', - CPPPATH=['#libs/taglib', '#libs/taglib/taglib']) -# libraries['libglademm'] = LibraryInfo(LIBS='libglademm', -# LIBPATH='#libs/libglademm', -# CPPPATH='#libs/libglademm') - libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', - LIBPATH='#libs/appleutility', - CPPPATH='#libs/appleutility') - - coredirs = [ - 'templates', - 'manual' - ] - - subdirs = [ - 'libs/sigc++2', - 'libs/taglib', - 'libs/pbd', - 'libs/midi++2', - 'libs/evoral/src/libsmf', - 'libs/evoral', - 'libs/ardour', - 'libs/vamp-sdk', - 'libs/vamp-plugins/', - # these are unconditionally included but have - # tests internally to avoid compilation etc - # if VST is not set - 'libs/fst', - 'vst', - # this is unconditionally included but has - # tests internally to avoid compilation etc - # if COREAUDIO is not set - 'libs/appleutility' - ] - - gtk_subdirs = [ - 'libs/glibmm2', - 'libs/gtkmm2/pango', - 'libs/gtkmm2/atk', - 'libs/gtkmm2/gdk', - 'libs/gtkmm2/gtk', - 'libs/libgnomecanvasmm', - 'libs/gtkmm2ext', - 'gtk2_ardour', - 'libs/cairomm', - clearlooks_version - ] - -# -# * always build the LGPL control protocol lib, since we link against it from libardour -# * ditto for generic MIDI and OSC -# * tranzport & wiimote check whether they should build internally, but we need them here -# so that they are included in the tarball -# - -surface_subdirs = [ 'libs/surfaces/control_protocol', - 'libs/surfaces/generic_midi', - 'libs/surfaces/tranzport', - 'libs/surfaces/mackie', - 'libs/surfaces/powermate', - 'libs/surfaces/wiimote', - 'libs/surfaces/osc' - ] - -if env['SURFACES']: - if have_libusb: - env['TRANZPORT'] = 1 - else: - env['TRANZPORT'] = 0 - print 'Disabled building Tranzport code because libusb could not be found' - - if have_linux_input: - env['POWERMATE'] = 1 - else: - env['POWERMATE'] = 0 - print 'Disabled building Powermate code because linux/input.h could not be found' - - if os.access ('libs/surfaces/sony9pin', os.F_OK): - surface_subdirs += [ 'libs/surfaces/sony9pin' ] -else: - env['POWERMATE'] = 0 - env['TRANZPORT'] = 0 - -# -# timestretch libraries -# - -timefx_subdirs = ['libs/soundtouch'] -if env['RUBBERBAND']: - timefx_subdirs += ['libs/rubberband'] - -opts.Save('scache.conf', env) -Help(opts.GenerateHelpText(env)) - -final_prefix = '$PREFIX' - -if env['DESTDIR'] : - install_prefix = '$DESTDIR/$PREFIX' -else: - install_prefix = env['PREFIX'] - -subst_dict['%INSTALL_PREFIX%'] = install_prefix; -subst_dict['%FINAL_PREFIX%'] = final_prefix; -subst_dict['%PREFIX%'] = final_prefix; - -if env['PREFIX'] == '/usr': - final_config_prefix = '/etc' -else: - final_config_prefix = env['PREFIX'] + '/etc' - -config_prefix = '$DESTDIR' + final_config_prefix - -# -# everybody needs this -# - -env.Merge ([ libraries['core'] ]) - - -# -# i18n support -# - -conf = Configure (env) -if env['NLS']: - nls_error = 'This system is not configured for internationalized applications. An english-only version will be built:' - print 'Checking for internationalization support ...' - have_gettext = conf.TryAction(Action('xgettext --version')) - if have_gettext[0] != 1: - nls_error += ' No xgettext command.' - env['NLS'] = 0 - else: - print "Found xgettext" - - have_msgmerge = conf.TryAction(Action('msgmerge --version')) - if have_msgmerge[0] != 1: - nls_error += ' No msgmerge command.' - env['NLS'] = 0 - else: - print "Found msgmerge" - - if not conf.CheckCHeader('libintl.h'): - nls_error += ' No libintl.h.' - env['NLS'] = 0 - - if env['NLS'] == 0: - print nls_error - else: - print "International version will be built." -env = conf.Finish() - -if env['NLS'] == 1: - env.Append(CCFLAGS="-DENABLE_NLS") - -Export('env install_prefix final_prefix config_prefix final_config_prefix libraries i18n ardour_version subst_dict') - -# -# the configuration file may be system dependent -# - -conf = env.Configure () - -if conf.CheckCHeader('/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h'): - subst_dict['%JACK_INPUT%'] = "coreaudio:Built-in Audio:in" - subst_dict['%JACK_OUTPUT%'] = "coreaudio:Built-in Audio:out" -else: - subst_dict['%JACK_INPUT%'] = "alsa_pcm:playback_" - subst_dict['%JACK_OUTPUT%'] = "alsa_pcm:capture_" - -# posix_memalign available -if not conf.CheckFunc('posix_memalign'): - print 'Did not find posix_memalign(), using malloc' - env.Append(CCFLAGS='-DNO_POSIX_MEMALIGN') - - -env = conf.Finish() - -# Which GTK tooltips API - -gtktestenv = env.Clone () -gtktestenv.Merge ([ - libraries['gtk2'] - ]) - -conf = gtktestenv.Configure () - -if conf.CheckFunc('gtk_widget_set_tooltip_text'): - env.Append (CXXFLAGS='-DGTK_NEW_TOOLTIP_API') - -conf.Finish () - - -# generate the per-user and system rc files from the same source - -sysrcbuild = env.SubstInFile ('ardour_system.rc','ardour.rc.in', SUBST_DICT = subst_dict) - -# add to the substitution dictionary - -subst_dict['%VERSION%'] = ardour_version[0:3] -subst_dict['%EXTRA_VERSION%'] = ardour_version[3:] -subst_dict['%REVISION_STRING%'] = '' -if os.path.exists('.svn'): - subst_dict['%REVISION_STRING%'] = '.' + fetch_svn_revision ('.') + 'svn' - -# specbuild = env.SubstInFile ('ardour.spec','ardour.spec.in', SUBST_DICT = subst_dict) - -the_revision = env.Command ('frobnicatory_decoy', [], create_stored_revision) -remove_ardour = env.Command ('frobnicatory_decoy2', [], - [ Delete ('$PREFIX/etc/ardour3'), - Delete ('$PREFIX/lib/ardour3'), - Delete ('$PREFIX/bin/ardour3'), - Delete ('$PREFIX/share/ardour3')]) - -env.Alias('revision', the_revision) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'ardour_system.rc')) -env.Alias('uninstall', remove_ardour) - -Default (sysrcbuild) - -# source tarball - -Precious (env['DISTTREE']) - -env.Distribute (env['DISTTREE'], - [ 'SConstruct', - 'COPYING', 'PACKAGER_README', 'README', - 'ardour.rc.in', - 'tools/config.guess', - 'icons/icon/ardour_icon_mac_mask.png', - 'icons/icon/ardour_icon_mac.png', - 'icons/icon/ardour_icon_tango_16px_blue.png', - 'icons/icon/ardour_icon_tango_16px_red.png', - 'icons/icon/ardour_icon_tango_22px_blue.png', - 'icons/icon/ardour_icon_tango_22px_red.png', - 'icons/icon/ardour_icon_tango_32px_blue.png', - 'icons/icon/ardour_icon_tango_32px_red.png', - 'icons/icon/ardour_icon_tango_48px_blue.png', - 'icons/icon/ardour_icon_tango_48px_red.png' - ] + - glob.glob ('ardour.1*') + - glob.glob ('libs/clearlooks-newer/*.c') + - glob.glob ('libs/clearlooks-newer/*.h') + - glob.glob ('libs/clearlooks-newer/SConscript') - ) - -srcdist = env.Tarball(env['TARBALL'], [ env['DISTTREE'], the_revision ]) -env.Alias ('srctar', srcdist) - -# -# don't leave the distree around -# - -env.AddPreAction (env['DISTTREE'], Action ('rm -rf ' + str (File (env['DISTTREE'])))) -env.AddPostAction (srcdist, Action ('rm -rf ' + str (File (env['DISTTREE'])))) - -# -# Update revision info before going into subdirs -# - -create_stored_revision() - -# -# the subdirs -# - -#for subdir in coredirs: -# SConscript (subdir + '/SConscript') - -#for sublistdir in [ subdirs, timefx_subdirs, gtk_subdirs, surface_subdirs ]: -# for subdir in sublistdir: -# SConscript (subdir + '/SConscript') - -# cleanup -env.Clean ('scrub', [ 'scache.conf', '.sconf_temp', '.sconsign.dblite', 'config.log']) - diff --git a/gtk2_ardour/SConscript b/gtk2_ardour/SConscript deleted file mode 100644 index b04ccc85d7..0000000000 --- a/gtk2_ardour/SConscript +++ /dev/null @@ -1,638 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -Import('env install_prefix final_prefix config_prefix libraries i18n ardour_version') - -gtkardour = env.Clone() -gtkmmtests = env.Clone() - -# -# this defines the version number of the GTK interface to ardour -# - -domain = 'gtk2_ardour' - -gtkardour.Append(DOMAIN=domain, MAJOR=1,MINOR=0,MICRO=2) -gtkardour.Append(CCFLAGS="-DPACKAGE=\\\"" + domain + "\\\"") -gtkardour.Append(CXXFLAGS="-DPACKAGE=\\\"" + domain + "\\\"") -gtkardour.Append(CXXFLAGS=["-DLIBSIGC_DISABLE_DEPRECATED", "-DGLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED", "-DGLIBMM_EXCEPTIONS_ENABLED", "-DGLIBMM_PROPERTIES_ENABLED"]) -gtkardour.Append(CPPPATH="#/") # for top level svn_revision.h -#gtkardour.Append(CXXFLAGS="-DFLOWCANVAS_AA") -gtkardour.Append(PACKAGE=domain) -gtkardour.Append(POTFILE=domain + '.pot') - -if gtkardour['IS_OSX']: - gtkardour.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048 -framework CoreAudio") - -gtkardour.Merge ([ - libraries['ardour'], - libraries['ardour_cp'], - libraries['asound'], - libraries['atkmm'], - libraries['cairomm'], - libraries['fftw3'], - libraries['fftw3f'], - libraries['freetype2'], - libraries['gdkmm2'], - libraries['glib2'], - libraries['glibmm2'], - libraries['gtk2'], - libraries['gtkmm2'], - libraries['gtkmm2ext'], - libraries['jack'], - libraries['libgnomecanvas2'], - libraries['libgnomecanvasmm'], - libraries['lrdf'], - libraries['midi++2'], - libraries['smf'], - libraries['evoral'], - libraries['pangomm'], - libraries['pbd'], - libraries['samplerate'], - libraries['sigc2'], - libraries['sndfile'], - libraries['taglib'], - libraries['sysmidi'], - libraries['vamphost'], - libraries['vamp'], - libraries['xml'], - libraries['xslt'] -]) - -gtkmmtests.Append(CXXFLAGS="-DLIBSIGC_DISABLE_DEPRECATED") - -gtkmmtests.Merge ([ - libraries['atkmm'], - libraries['gdkmm2'], - libraries['glib2'], - libraries['glibmm2'], - libraries['gtk2'], - libraries['gtkmm2'], - libraries['pangomm'], - libraries['sigc2'] -]) - -if gtkardour['DMALLOC']: - gtkardour.Merge([libraries['dmalloc']]) - gtkardour.Append(CCFLAGS='-DUSE_DMALLOC') - -if gtkardour['FREESOUND']: - gtkardour.Merge ([libraries['curl']]) - gtkardour.Append(CCFLAGS='-DFREESOUND') - -if gtkardour['RUBBERBAND']: - gtkardour.Merge ([ libraries['rubberband'] ]) -else: - gtkardour.Merge ([ libraries['soundtouch'] ]) - -audiounit_files=Split(""" -au_pluginui.mm -""") - -gtkosx_files=Split(""" -cocoacarbon.mm -""") - -x11_files=Split(""" -x11.cc -""") - -gtkardour_files=Split(""" -about.cc -actions.cc -add_midi_cc_track_dialog.cc -add_route_dialog.cc -analysis_window.cc -ardour_dialog.cc -ardour_ui.cc -ardour_ui2.cc -ardour_ui_dependents.cc -ardour_ui_dialogs.cc -ardour_ui_ed.cc -ardour_ui_mixer.cc -ardour_ui_options.cc -audio_clock.cc -audio_region_editor.cc -audio_region_view.cc -audio_streamview.cc -audio_time_axis.cc -automation_controller.cc -automation_line.cc -automation_region_view.cc -automation_streamview.cc -automation_time_axis.cc -axis_view.cc -bundle_manager.cc -canvas-flag.cc -canvas-note-event.cc -canvas-note.cc -canvas-program-change.cc -canvas-simpleline.c -canvas-simplerect.c -canvas-sysex.cc -canvas-waveview.c -control_point.cc -control_point_dialog.cc -crossfade_edit.cc -crossfade_view.cc -curvetest.cc -diamond.cc -editing.cc -editor.cc -editor_actions.cc -editor_audio_import.cc -editor_audiotrack.cc -editor_canvas.cc -editor_canvas_events.cc -editor_cursors.cc -editor_drag.cc -editor_edit_groups.cc -editor_export_audio.cc -editor_hscroller.cc -editor_keyboard.cc -editor_keys.cc -editor_markers.cc -editor_mixer.cc -editor_mouse.cc -editor_nudge.cc -editor_ops.cc -editor_region_list.cc -editor_route_list.cc -editor_rulers.cc -editor_scrub.cc -editor_selection.cc -editor_selection_list.cc -editor_summary.cc -editor_tempodisplay.cc -editor_timefx.cc -engine_dialog.cc -enums.cc -export_channel_selector.cc -export_dialog.cc -export_file_notebook.cc -export_filename_selector.cc -export_format_dialog.cc -export_format_selector.cc -export_preset_selector.cc -export_timespan_selector.cc -fft.cc -fft_graph.cc -fft_result.cc -gain_meter.cc -generic_pluginui.cc -ghostregion.cc -global_port_matrix.cc -gtk-custom-hruler.c -gtk-custom-ruler.c -io_selector.cc -keyboard.cc -keyeditor.cc -latency_gui.cc -level_meter.cc -lineset.cc -location_ui.cc -main.cc -marker.cc -midi_channel_selector.cc -midi_port_dialog.cc -midi_region_view.cc -midi_scroomer.cc -midi_streamview.cc -midi_time_axis.cc -mixer_strip.cc -mixer_ui.cc -nag.cc -option_editor.cc -opts.cc -panner.cc -panner2d.cc -panner_ui.cc -piano_roll_header.cc -playlist_selector.cc -plugin_eq_gui.cc -plugin_selector.cc -plugin_ui.cc -port_group.cc -port_matrix.cc -port_matrix_body.cc -port_matrix_column_labels.cc -port_matrix_component.cc -port_matrix_grid.cc -port_matrix_labels.cc -port_matrix_row_labels.cc -processor_box.cc -prompter.cc -public_editor.cc -rc_option_editor.cc -region_gain_line.cc -region_selection.cc -region_view.cc -return_ui.cc -rhythm_ferret.cc -route_params_ui.cc -route_processor_selection.cc -route_time_axis.cc -route_ui.cc -selection.cc -send_ui.cc -session_import_dialog.cc -session_metadata_dialog.cc -session_option_editor.cc -sfdb_ui.cc -simpleline.cc -simplerect.cc -splash.cc -startup.cc -streamview.cc -strip_silence_dialog.cc -tape_region_view.cc -tempo_dialog.cc -tempo_lines.cc -theme_manager.cc -time_axis_view.cc -time_axis_view_item.cc -time_fx_dialog.cc -time_selection.cc -ui_config.cc -utils.cc -version.cc -waveview.cc -""") - -freesound_files=Split(""" -sfdb_freesound_mootcher.cc -""") - -pixmap_files = glob.glob('pixmaps/*.xpm') -icon_files = glob.glob ('icons/*.png') - -intl_files = gtkardour_files + glob.glob('*.h') - -evtest_files=Split(""" -evtest.cc -""") - -mtest_files=Split(""" -mtest.cc -""") - - -rcu_files=Split(""" -rcu.cc -""") - -itest_files=Split(""" -itest.cc -""") - -stest_files=Split(""" -stest.cc -""") - -tt_files=Split (""" -tt.cc -""") - -extra_sources = [] - -vst_files = [ 'vst_pluginui.cc' ] - -if env['VST']: - extra_sources += vst_files - gtkardour.Append (CCFLAGS="-DVST_SUPPORT", CPPPATH="#libs/fst") - -lv2_files = [ 'lv2_plugin_ui.cc' ] - -if env['LV2']: - extra_sources += lv2_files - gtkardour.Append (CCFLAGS="-DHAVE_SLV2") - gtkardour.Merge ([libraries['slv2']]) - - -if gtkardour['GTKOSX']: - extra_sources += gtkosx_files - gtkardour.Append (CCFLAGS="-DTOP_MENUBAR -DGTKOSX") - gtkardour.Append (LINKFLAGS=" -framework AppKit -framework CoreAudioKit") - - if gtkardour['AUDIOUNITS']: - extra_sources += audiounit_files - gtkardour.Append(CCFLAGS='-DHAVE_AUDIOUNITS') - gtkardour.Merge([libraries['appleutility']]) - -else: - extra_sources += x11_files - - -if env['FREESOUND']: - extra_sources += freesound_files - -intl_files += extra_sources - -gtkardour.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE") -gtkardour.Append(CXXFLAGS="-DLOCALEDIR=\\\""+final_prefix+"/share/locale\\\"") - -versionflag = '-DVERSIONSTRING=\\\"' + env['VERSION'] + '\\\"' - -gtkardour.Append(CXXFLAGS=versionflag) - -executable = 'ardour-' + ardour_version - -ardour = gtkardour.Program(target = executable, source = gtkardour_files + extra_sources) -ardourlib = gtkardour.SharedLibrary(target = 'ardourgtk', source = gtkardour_files + extra_sources) - -evest = gtkmmtests.Program(target = 'evtest', source = evtest_files) -mtest = gtkardour.Program(target = 'mtest', source = mtest_files) -itest = gtkardour.Program(target = 'itest', source = itest_files) -rcu = gtkardour.Program(target = 'rcu', source = rcu_files) -tt = gtkmmtests.Program(target = 'tt', source = tt_files) - -my_font_dict = { } - -if gtkardour['IS_OSX']: - # - # OS X font rendering is different even with X11 - # - - font_sizes = { - 'TINY' : '7', - 'SMALLER' : '9', - 'SMALL' : '10', - 'NORMAL' : '11', - 'BIG' : '12', - 'BIGGER' : '14', - 'LARGE' : '18', - 'LARGER' : '28', - 'HUGER' : '36', - 'MASSIVE' : '60' - } - basefont = "Lucida Grande" - -else: - # - # Linux/X11 font rendering - # - - if gtkardour['OLDFONTS']: - font_sizes = { - 'TINY' : '4', - 'SMALLER' : '6', - 'SMALL' : '7', - 'NORMAL' : '8', - 'BIG' : '12', - 'BIGGER' : '14', - 'LARGE' : '18', - 'LARGER' : '24', - 'HUGER' : '34', - 'MASSIVE' : '60' - } - else: - font_sizes = { - 'TINY' : '6', - 'SMALLER' : '8', - 'SMALL' : '9', - 'NORMAL' : '10', - 'BIG' : '14', - 'BIGGER' : '16', - 'LARGE' : '18', - 'LARGER' : '24', - 'HUGER' : '34', - 'MASSIVE' : '60' - } - - basefont = "sans" - -for style in ['', 'BOLD', 'ITALIC']: - for sizename,points in font_sizes.iteritems(): - if (len (style)): - key = "_".join (['FONT',style,sizename]) - fontstyle = " ".join ([basefont,style.lower(),points]) - else: - key = "_".join (['FONT',sizename]) - fontstyle = " ".join ([basefont,points]) - - key = '%' + key + '%' - my_font_dict[key] = fontstyle - -# -# create menus based on build platform -# - -if env['GTKOSX']: - ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P -DGTKOSX -DTOP_MENUBAR ardour.menus.in ardour.menus", chdir=1) -else: - ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P ardour.menus.in ardour.menus", chdir=1) - -ardour_dark_theme = env.SubstInFile ('ardour3_ui_dark.rc', - 'ardour3_ui_dark.rc.in', - SUBST_DICT = my_font_dict) -ardour_light_theme = env.SubstInFile ('ardour3_ui_light.rc', - 'ardour3_ui_light.rc.in', - SUBST_DICT = my_font_dict) - -ardour_dark_sae_theme = env.SubstInFile ('ardour3_ui_dark_sae.rc', - 'ardour3_ui_dark_sae.rc.in', - SUBST_DICT = my_font_dict) -ardour_light_sae_theme = env.SubstInFile ('ardour3_ui_light_sae.rc', - 'ardour3_ui_light_sae.rc.in', - SUBST_DICT = my_font_dict) - -my_subst_dict = { } - -# -# null substitution just to avoid ardour.bindings being in svn -# - -keybindings_dict = { } - -if gtkardour['GTKOSX']: - # - # Command(Meta), Alt(Mod1), Ctrl, Shift - # **** as of february 4th 2008, OUR VERSION OF ***** - # Gtk/Quartz maps: - # NSCommand (aka "Command" aka "Apple" aka "Cauliflower") -> Meta - # NSAlternate (aka "Option") -> Mod1 - # - keybindings_dict['@PRIMARY@'] = 'Meta' - keybindings_dict['@SECONDARY@'] = 'Mod1' - keybindings_dict['@TERTIARY@'] = 'Shift' - keybindings_dict['@LEVEL4@'] = 'Ctrl' - keybindings_dict['@WINDOW@'] = 'Mod1' -else: - # - # Ctrl, Alt, Shift, Mod4(Super/Windows/Hyper) - # - keybindings_dict['@PRIMARY@'] = 'Ctrl' - keybindings_dict['@SECONDARY@'] = 'Alt' - keybindings_dict['@TERTIARY@'] = 'Shift' - keybindings_dict['@LEVEL4@'] = env['WINDOWS_KEY'] - keybindings_dict['@WINDOW@'] = 'Alt' - -for b in [ 'SAE-de-keypad', 'SAE-de-nokeypad', 'SAE-us-keypad', 'SAE-us-nokeypad', 'mnemonic-us', 'ergonomic-us' ]: - target_file = b + '.bindings' - src_file = target_file + '.in' - Default (env.SubstInFile (target_file, src_file, SUBST_DICT = keybindings_dict)) - -my_subst_dict['@INSTALL_PREFIX@'] = final_prefix -my_subst_dict['@LIBDIR@'] = env['LIBDIR'] -my_subst_dict['@LIBS@'] = 'libs' -my_subst_dict['@VERSION@'] = ardour_version -my_subst_dict['@EXECUTABLE@'] = 'gtk2_ardour/ardour-' + ardour_version - -ardoursh = env.SubstInFile ('ardour.sh','ardour.sh.in', SUBST_DICT = my_subst_dict); -env.AddPostAction (ardoursh, Chmod ('$TARGET', 0755)) - -ardourdev = env.SubstInFile ('ardev_common.sh','ardev_common.sh.in', SUBST_DICT = my_subst_dict); -env.AddPostAction (ardourdev, Chmod ('$TARGET', 0755)) - -Default(ardourdev) -Default(ardoursh) -Default(ardour_dark_theme) -Default(ardour_light_theme) -Default(ardour_dark_sae_theme) -Default(ardour_light_sae_theme) -Default(ardour_menus) - -if env['VST']: - Default(ardourlib) - # the library - into the library dir - env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), ardourlib)) -else: - - if env['VERSIONED']: - Default (env.VersionedExecutable ('tagged_executable', ardour)) - else: - Default(ardour) - - #install - - # the executable - into the library dir - env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), ardour)) - # the script - into the bin dir - env.Alias('install', env.InstallAs(os.path.join(install_prefix, 'bin')+'/ardour3', ardoursh)) - -if env['NLS']: - i18n (gtkardour, gtkardour_files, env) - -# configuration files -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), ardour_dark_theme)) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), ardour_light_theme)) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), ardour_dark_sae_theme)) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), ardour_light_sae_theme)) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'ardour3_ui_default.conf')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'ardour.menus')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'ardour-sae.menus')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'ergonomic-us.bindings')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'mnemonic-us.bindings')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'SAE-de-keypad.bindings')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'SAE-us-keypad.bindings')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'SAE-de-nokeypad.bindings')) -env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour3'), 'SAE-us-nokeypad.bindings')) -# data files -env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour3'), 'splash.png')) -env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour3', 'pixmaps'), pixmap_files)) -env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour3', 'icons'), icon_files)) -env.Alias ('version', gtkardour.VersionBuild(['version.cc','version.h'], [])) -env.Alias ('version', gtkardour.VersionBuild(['version.cc','version.h'], [])) - -# This will install icons and MIME type as per freedesktop.org specs. # -if env['FREEDESKTOP']: - desktop_icon_install_prefix = install_prefix + '/share/icons/hicolor' - # Install the desktop icons to the default locations # - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '16x16', 'apps', 'ardour3.png'), 'icons/ardour_icon_16px.png')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'apps', 'ardour3.png'), 'icons/ardour_icon_22px.png')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'apps', 'ardour3.png'), 'icons/ardour_icon_32px.png')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'apps', 'ardour3.png'), 'icons/ardour_icon_48px.png')) - # Install the mime type xml file and its icon # - env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'mime', 'packages'), 'ardour3.xml')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '16x16', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_16px.png')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_22px.png')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_32px.png')) - env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_48px.png')) - env.Alias('install', env.Command (os.path.join(install_prefix, 'share', 'mime'), [], 'update-mime-database $TARGET')) - # Update the icon cache # - env.Alias('install', env.Command (desktop_icon_install_prefix, [], 'touch --no-create $TARGET')) - env.Alias('install', env.Command (desktop_icon_install_prefix, [], 'gtk-update-icon-cache $TARGET')) - # Make the ardour3.desktop file and install it # - env.Alias('install', env.Command ('ardour3.desktop', 'ardour3.desktop.in', 'cat $SOURCES > $TARGET')) - env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'applications'), 'ardour3.desktop')) - env.Alias('install', env.Command (os.path.join(install_prefix, 'share', 'applications'), [], 'update-desktop-database $TARGET')) - # uninstall target.. needed to run update-mime-database and update-desktop-database after removal. #` - remove_desktop_files = env.Command ('another_frobnicatory_decoy', [], - [ Delete (install_prefix + '/share/mime/packages/ardour3.xml'), - Delete (install_prefix + '/share/applications/ardour3.desktop'), - Delete (desktop_icon_install_prefix + '/16x16/apps/ardour3.png'), - Delete (desktop_icon_install_prefix + '/22x22/apps/ardour3.png'), - Delete (desktop_icon_install_prefix + '/32x32/apps/ardour3.png'), - Delete (desktop_icon_install_prefix + '/48x48/apps/ardour3.png'), - Delete (desktop_icon_install_prefix + '/16x16/mimetypes/application-x-ardour3.png'), - Delete (desktop_icon_install_prefix + '/22x22/mimetypes/application-x-ardour3.png'), - Delete (desktop_icon_install_prefix + '/32x32/mimetypes/application-x-ardour3.png'), - Delete (desktop_icon_install_prefix + '/48x48/mimetypes/application-x-ardour3.png'), - Action ('update-mime-database ' + install_prefix + '/share/mime'), - Action ('gtk-update-icon-cache ' + desktop_icon_install_prefix), - Action ('update-desktop-database ' + install_prefix + '/share/applications')]) - env.Alias('uninstall', remove_desktop_files) - -#dist -env.Alias ('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript', - 'i18n.h', 'gettext.h', - 'ardour.sh.in', - 'ardev_common.sh.in', - 'ardev', 'ardbg', - 'ardour3_ui_dark.rc.in', - 'ardour3_ui_light.rc.in', - 'ardour3_ui_dark_sae.rc.in', - 'ardour3_ui_light_sae.rc.in', - 'splash.png', - 'ardour.menus.in', - 'ardour-sae.menus', - 'mnemonic-us.bindings.in', - 'ergonomic-us.bindings.in', - 'SAE-us-keypad.bindings.in', - 'SAE-us-nokeypad.bindings.in', - 'SAE-de-keypad.bindings.in', - 'SAE-de-nokeypad.bindings.in', - 'ardour3_ui_default.conf', - 'editor_xpms', - 'ardour3.xml', - 'ardour3.desktop.in' - ] + - gtkardour_files + - vst_files + - pixmap_files + - icon_files + - audiounit_files + - lv2_files + - gtkosx_files + - x11_files + - freesound_files + - glob.glob('po/*.po') + glob.glob('*.h'))) - -# generate a prototype full-featured ardour_ui.rc file - -env.Alias ('protorc', env.Command ('proto.rc', gtkardour_files, """ - grep set_name $SOURCES | \ -sed 's/.*("\([a-zA-Z_][a-zA-Z_]*\)").*/\\1/' | \ -grep -v '\\.' | sort | uniq | \ -awk '/\\./ {} { printf ("style \\"%s\\"\\n{\\n\ - fg[NORMAL] = { 0, 0, 0 }\\n\ - fg[ACTIVE] = { 0, 0, 0 }\\n\ - fg[SELECTED] = { 0, 0, 0 }\\n\ - bg[NORMAL] = { 0, 0, 0 }\\n\ - bg[ACTIVE] = { 0, 0, 0 }\\n\ - bg[SELECTED] = { 0, 0, 0 }\\n\ -}\\nwidget \\"*%s\\" style \\"%s\\"\\nwidget \\"*%s*\\" style \\"%s\\"\\n\\n", \ - $$0, $$0, $$0, $$0, $$0) }' > $TARGET && \ - grep 'color_map\[[a-zA-Z_][a-zA-Z]*\]' $SOURCES | \ - sed 's/.*\[\([a-zA-Z_][a-zA-Z_]*\)].*/\\1/'| \ - sort | uniq | \ - awk '{ printf ("style \\"%s\\"\\n{\\n\ - fg[NORMAL] = { 0, 0, 0 }\\n\ - fg[ACTIVE] = { 0, 0, 0 }\\n\ -}\\nwidget \\"*%s\\" style \\"%s\\"\\n \\n\\n", $$0, $$0, $$0) }' >> $TARGET ; -""" -)) diff --git a/gtk2_ardour/pixmaps/SConscript b/gtk2_ardour/pixmaps/SConscript deleted file mode 100644 index 194031c44f..0000000000 --- a/gtk2_ardour/pixmaps/SConscript +++ /dev/null @@ -1,10 +0,0 @@ -# -*- python -*- - -import os -import glob -pixmap_files = glob.glob('*.xpm') - -Import('env install_prefix') -env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour', 'pixmaps'), pixmap_files)) - -env.Alias('tarball', env.Distribute(env['DISTTREE'], [ 'SConscript' ] + pixmap_files)) diff --git a/libs/appleutility/SConscript b/libs/appleutility/SConscript deleted file mode 100644 index 7a3a5c8975..0000000000 --- a/libs/appleutility/SConscript +++ /dev/null @@ -1,22 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -appleutility_files = [ glob.glob('*.cpp') + glob.glob('*.c') + glob.glob('*.C') ] - -Import('env install_prefix') -appleutility = env.Clone() - -appleutility.Append(LINKFLAGS='-framework AudioToolbox') -appleutility.Append(LINKFLAGS='-framework AudioUnit') -appleutility.Append(LINKFLAGS='-framework CoreFoundation') -appleutility.Append(LINKFLAGS='-framework CoreServices') - -libappleutility = appleutility.SharedLibrary('appleutility', appleutility_files) -if appleutility['COREAUDIO']: - Default(libappleutility) - env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libappleutility)) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], ['SConscript'] + appleutility_files + glob.glob('*.h') )) diff --git a/libs/ardour/SConscript b/libs/ardour/SConscript deleted file mode 100644 index 52943dd8fd..0000000000 --- a/libs/ardour/SConscript +++ /dev/null @@ -1,425 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -Import('env final_prefix install_prefix final_config_prefix libraries i18n') - -ardour = env.Clone() - -# -# this defines the version number of libardour -# - -domain = 'libardour3' - -ardour.Append(DOMAIN = domain, MAJOR = 3, MINOR = 0, MICRO = 0) -ardour.Append(CXXFLAGS = "-DPACKAGE=\\\"" + domain + "\\\"") -ardour.Append(CXXFLAGS=["-DLIBSIGC_DISABLE_DEPRECATED", "-DGLIBMM_EXCEPTIONS_ENABLED"]) -ardour.Append(PACKAGE = domain) -ardour.Append(POTFILE = domain + '.pot') - -if ardour['IS_OSX']: - ardour.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048") - -# -# explicitly reference the control protocol LGPL library for includes -# - -ardour.Append(CPPPATH = '#libs/surfaces/control_protocol') - -ardour_files=Split(""" -amp.cc -analyser.cc -audio_buffer.cc -audio_diskstream.cc -audio_library.cc -audio_playlist.cc -audio_playlist_importer.cc -audio_port.cc -audio_region_importer.cc -audio_track.cc -audio_track_importer.cc -audioanalyser.cc -audioengine.cc -audiofile_tagger.cc -audiofilesource.cc -audioregion.cc -audiosource.cc -auditioner.cc -automatable.cc -automation.cc -automation_control.cc -automation_list.cc -beats_frames_converter.cc -broadcast_info.cc -buffer.cc -buffer_set.cc -bundle.cc -chan_count.cc -chan_mapping.cc -configuration.cc -control_protocol_manager.cc -control_protocol_search_path.cc -crossfade.cc -cycle_timer.cc -default_click.cc -delivery.cc -directory_names.cc -diskstream.cc -element_import_handler.cc -element_importer.cc -enums.cc -event_type_map.cc -export_channel.cc -export_channel_configuration.cc -export_file_io.cc -export_filename.cc -export_format_base.cc -export_format_manager.cc -export_format_specification.cc -export_formats.cc -export_handler.cc -export_preset.cc -export_processor.cc -export_profile_manager.cc -export_status.cc -export_timespan.cc -export_utilities.cc -file_source.cc -filename_extensions.cc -filesystem_paths.cc -filter.cc -find_session.cc -gain.cc -gdither.cc -globals.cc -import.cc -io.cc -io_processor.cc -internal_send.cc -internal_return.cc -interpolation.cc -jack_slave.cc -ladspa_plugin.cc -location.cc -location_importer.cc -meter.cc -midi_buffer.cc -midi_clock_slave.cc -midi_diskstream.cc -midi_model.cc -midi_patch_manager.cc -midi_playlist.cc -midi_port.cc -midi_region.cc -midi_ring_buffer.cc -midi_source.cc -midi_state_tracker.cc -midi_stretch.cc -midi_track.cc -mix.cc -mtc_slave.cc -mute_master.cc -named_selection.cc -onset_detector.cc -panner.cc -pcm_utils.cc -playlist.cc -playlist_factory.cc -plugin.cc -plugin_insert.cc -plugin_manager.cc -port.cc -port_insert.cc -port_set.cc -processor.cc -quantize.cc -rc_configuration.cc -recent_sessions.cc -region.cc -region_factory.cc -resampled_source.cc -return.cc -reverse.cc -route.cc -route_group.cc -send.cc -session.cc -session_butler.cc -session_click.cc -session_command.cc -session_configuration.cc -session_directory.cc -session_events.cc -session_export.cc -session_metadata.cc -session_midi.cc -session_process.cc -session_state.cc -session_state_utils.cc -session_time.cc -session_transport.cc -session_utils.cc -smf_source.cc -sndfile_helpers.cc -sndfileimportable.cc -sndfilesource.cc -source.cc -source_factory.cc -strip_silence.cc -svn_revision.cc -tape_file_matcher.cc -template_utils.cc -tempo.cc -tempo_map_importer.cc -ticker.cc -track.cc -transient_detector.cc -user_bundle.cc -utils.cc -version.cc -""") - -arch_specific_objects = [ ] - -vst_files = [ 'vst_plugin.cc', 'session_vst.cc' ] -lv2_files = [ 'lv2_plugin.cc', 'lv2_event_buffer.cc', 'uri_map.cc' ] -audiounit_files = [ 'audio_unit.cc' ] -coreaudio_files = [ 'coreaudiosource.cc', 'caimportable.cc' ] -extra_sources = [ ] -timefx_sources = [ ] - -if ardour['VST']: - extra_sources += vst_files - ardour.Append(CCFLAGS="-DVST_SUPPORT", CPPPATH="#libs/fst") - -if ardour['LV2']: - extra_sources += lv2_files - ardour.Append(CCFLAGS="-DHAVE_SLV2") - -ardour.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE") -ardour.Append(CXXFLAGS="-DDATA_DIR=\\\"" + os.path.join (final_prefix, 'share') + "\\\"") -ardour.Append(CXXFLAGS="-DMODULE_DIR=\\\"" + os.path.join (final_prefix, env['LIBDIR']) + "\\\"") -ardour.Append(CXXFLAGS="-DVAMP_DIR=\\\"" + os.path.join (final_prefix, env['LIBDIR'], 'ardour3', 'vamp') + "\\\"") -ardour.Append(CXXFLAGS="-DCONFIG_DIR=\\\"" + final_config_prefix + "\\\"") -ardour.Append(CXXFLAGS="-DLOCALEDIR=\\\"" + os.path.join (final_prefix, 'share', 'locale') + "\\\"") - -ardour.Merge ([ libraries['jack'] ]) - -# -# See if JACK supports jack_client_open() -# - -jack_test_source_file = """ -#include -int main(int argc, char **argv) -{ - jack_client_open ("foo", 0, 0); - return 0; -} -""" -def CheckJackClientOpen(context): - context.Message('Checking for jack_client_open()...') - result = context.TryLink(jack_test_source_file, '.c') - context.Result(result) - return result - -# -# See if JACK supports jack_recompute_total_latencies() -# - -jack_test_source_file = """ -#include -int main(int argc, char **argv) -{ - jack_recompute_total_latencies ((jack_client_t*) 0); - return 0; -} -""" -def CheckJackRecomputeLatencies(context): - context.Message('Checking for jack_recompute_total_latencies()...') - result = context.TryLink(jack_test_source_file, '.c') - context.Result(result) - return result - -jack_video_frame_offset_test = """ -#include -int main(int argc, char** argv) -{ - jack_position_t pos; - - pos.valid & JackVideoFrameOffset; - return 0; -} -""" -def CheckJackVideoFrameOffset(context): - context.Message('Checking for JackVideoFrameOffset in jack_position_bits_t enum...') - result = context.TryLink(jack_video_frame_offset_test, '.c') - context.Result(result) - return result - - -# -# See if JACK supports jack_recompute_total_latency() (single port version) -# - -jack_port_latency_test = """ -#include -int main(int argc, char **argv) -{ - jack_recompute_total_latency ((jack_client_t*) 0, (jack_port_t*) 0); - return 0; -} -""" -def CheckJackRecomputeLatency(context): - context.Message('Checking for jack_recompute_total_latency()...') - result = context.TryLink(jack_port_latency_test, '.c') - context.Result(result) - return result - -conf = Configure(ardour, custom_tests = { - 'CheckJackClientOpen' : CheckJackClientOpen, - 'CheckJackRecomputeLatencies' : CheckJackRecomputeLatencies, - 'CheckJackRecomputeLatency' : CheckJackRecomputeLatency, - 'CheckJackVideoFrameOffset' : CheckJackVideoFrameOffset -}) - -if conf.CheckJackClientOpen(): - ardour.Append(CXXFLAGS="-DHAVE_JACK_CLIENT_OPEN") - -if conf.CheckJackRecomputeLatencies(): - ardour.Append(CXXFLAGS="-DHAVE_JACK_RECOMPUTE_LATENCIES") - -if conf.CheckJackRecomputeLatency(): - ardour.Append(CXXFLAGS="-DHAVE_JACK_RECOMPUTE_LATENCY") - -if conf.CheckJackVideoFrameOffset(): - ardour.Append(CXXFLAGS="-DHAVE_JACK_VIDEO_SUPPORT") - -# -# Optional header files -# - -if conf.CheckCHeader('wordexp.h'): - ardour.Append(CXXFLAGS="-DHAVE_WORDEXP") - -if conf.CheckCHeader('sys/vfs.h'): - ardour.Append(CXXFLAGS="-DHAVE_SYS_VFS_H") - -if conf.CheckCHeader('/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h'): - ardour.Append(LINKFLAGS="-framework CoreMIDI") - -if conf.CheckCHeader('/System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h'): - ardour.Append(LINKFLAGS="-framework AudioToolbox") - -if conf.CheckCHeader('/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h'): - ardour.Append(CXXFLAGS="-DHAVE_WEAK_COREAUDIO") - -if conf.CheckCHeader('/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h') and ardour['AUDIOUNITS']: - ardour.Append(CXXFLAGS="-DHAVE_AUDIOUNITS") - ardour.Append(LINKFLAGS="-framework AudioUnit") - extra_sources += audiounit_files - -if ardour['COREAUDIO']: - ardour.Append(CXXFLAGS="-DHAVE_COREAUDIO") - extra_sources += coreaudio_files - -if env['CONFIG_ARCH'] == 'apple': - # this next line avoids issues with circular dependencies between libardour and libardour_cp. - # it is based on the (entirely reasonable) assumption that a system with CoreAudio is OS X - # - ardour.Append(LINKFLAGS='-undefined suppress -flat_namespace') - -ardour = conf.Finish () - -ardour.Merge ([ - libraries['core'], - libraries['fftw3'], - libraries['fftw3f'], - libraries['glib2'], - libraries['glibmm2'], - libraries['lrdf'], - libraries['midi++2'], - libraries['evoral'], - libraries['smf'], - libraries['pbd'], - libraries['raptor'], - libraries['samplerate'], - libraries['sigc2'], - libraries['sndfile'], - libraries['taglib'], - libraries['vamp'], - libraries['vamphost'], - libraries['xml'] - ]) - -if ardour['RUBBERBAND']: - ardour.Merge ([ libraries['rubberband']]) - timefx_sources += [ 'rb_effect.cc' ] -else: - ardour.Merge ([ libraries['soundtouch'] ]) - timefx_sources += [ 'st_stretch.cc', 'st_pitch.cc' ] - -if ardour['LV2']: - ardour.Merge ([ libraries['slv2'] ]) - -if ardour['COREAUDIO'] or ardour['AUDIOUNITS']: - ardour.Merge ([ libraries['appleutility'] ]) - -def SharedAsmObjectEmitter(target, source, env): - for tgt in target: - tgt.attributes.shared = 1 - return (target, source) - - -env['BUILDERS']['SharedAsmObject'] = Builder (action = '$CXX -c -fPIC $SOURCE -o $TARGET', - emitter = SharedAsmObjectEmitter, - suffix = '$SHOBJSUFFIX', - src_suffix = '.s', - single_source = 1) -# -# handle objects that should always be compiled with -msse in their own -# special environment, which is exactly like "ardour" but unconditionally -# includes -msse -# - - -always_sse_objects = [] -sse_env = ardour.Clone() -sse_env.Append (CXXFLAGS="-msse") - -if env['FPU_OPTIMIZATION']: - if env['DIST_TARGET'] == "i386": - arch_specific_objects = env.SharedAsmObject('sse_functions.os', 'sse_functions.s') - always_sse_objects += [ sse_env.SharedObject (source = 'sse_functions_xmm.cc') ] - if env['DIST_TARGET'] == "i686": - arch_specific_objects = env.SharedAsmObject('sse_functions.os', 'sse_functions.s') - always_sse_objects += [ sse_env.SharedObject (source = 'sse_functions_xmm.cc') ] - if env['DIST_TARGET'] == "x86_64": - arch_specific_objects = env.SharedAsmObject('sse_functions_64bit.os', 'sse_functions_64bit.s') - always_sse_objects += [ sse_env.SharedObject (source = 'sse_functions_xmm.cc') ] - -libardour = ardour.SharedLibrary('ardour', ardour_files + always_sse_objects + timefx_sources + extra_sources + arch_specific_objects) - -Default(libardour) - -if env['NLS']: - i18n (ardour, ardour_files + vst_files + coreaudio_files + timefx_sources + audiounit_files, env) - - -env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libardour)) - -env.Alias('version', ardour.VersionBuild(['version.cc', 'ardour/version.h'], [])) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript', 'i18n.h', 'gettext.h' ] + - [ 'sse_functions_xmm.cc', 'sse_functions.s', 'sse_functions_64bit.s' ] + - [ 'rb_effect.cc', 'st_stretch.cc', 'st_pitch.cc' ] + - ardour_files + - vst_files + - coreaudio_files + - audiounit_files + - lv2_files + - glob.glob('po/*.po') + glob.glob('ardour/*.h'))) diff --git a/libs/cairomm/AUTHORS b/libs/cairomm/AUTHORS deleted file mode 100644 index 2c4d00679a..0000000000 --- a/libs/cairomm/AUTHORS +++ /dev/null @@ -1,10 +0,0 @@ -Please do not email us directly - use the mailing list. -See http://cairographics.org/lists - -Maintainers: ----------- -Murray Cumming -Jonathon Jongsma - -Based on code from Leonard Ritter. - diff --git a/libs/cairomm/COPYING b/libs/cairomm/COPYING deleted file mode 100644 index f5030495bf..0000000000 --- a/libs/cairomm/COPYING +++ /dev/null @@ -1,481 +0,0 @@ - GNU LIBRARY GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the library GPL. It is - numbered 2 because it goes with version 2 of the ordinary GPL.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Library General Public License, applies to some -specially designated Free Software Foundation software, and to any -other libraries whose authors decide to use it. You can use it for -your libraries, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the library, or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link a program with the library, you must provide -complete object files to the recipients so that they can relink them -with the library, after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - Our method of protecting your rights has two steps: (1) copyright -the library, and (2) offer you this license which gives you legal -permission to copy, distribute and/or modify the library. - - Also, for each distributor's protection, we want to make certain -that everyone understands that there is no warranty for this free -library. If the library is modified by someone else and passed on, we -want its recipients to know that what they have is not the original -version, so that any problems introduced by others will not reflect on -the original authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that companies distributing free -software will individually obtain patent licenses, thus in effect -transforming the program into proprietary software. To prevent this, -we have made it clear that any patent must be licensed for everyone's -free use or not licensed at all. - - Most GNU software, including some libraries, is covered by the ordinary -GNU General Public License, which was designed for utility programs. This -license, the GNU Library General Public License, applies to certain -designated libraries. This license is quite different from the ordinary -one; be sure to read it in full, and don't assume that anything in it is -the same as in the ordinary license. - - The reason we have a separate public license for some libraries is that -they blur the distinction we usually make between modifying or adding to a -program and simply using it. Linking a program with a library, without -changing the library, is in some sense simply using the library, and is -analogous to running a utility program or application program. However, in -a textual and legal sense, the linked executable is a combined work, a -derivative of the original library, and the ordinary General Public License -treats it as such. - - Because of this blurred distinction, using the ordinary General -Public License for libraries did not effectively promote software -sharing, because most developers did not use the libraries. We -concluded that weaker conditions might promote sharing better. - - However, unrestricted linking of non-free programs would deprive the -users of those programs of all benefit from the free status of the -libraries themselves. This Library General Public License is intended to -permit developers of non-free programs to use free libraries, while -preserving your freedom as a user of such programs to change the free -libraries that are incorporated in them. (We have not seen how to achieve -this as regards changes in header files, but we have achieved it as regards -changes in the actual functions of the Library.) The hope is that this -will lead to faster development of free libraries. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, while the latter only -works together with the library. - - Note that it is possible for a library to be covered by the ordinary -General Public License rather than by this special one. - - GNU LIBRARY GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library which -contains a notice placed by the copyright holder or other authorized -party saying it may be distributed under the terms of this Library -General Public License (also called "this License"). Each licensee is -addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also compile or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - c) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - d) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the source code distributed need not include anything that is normally -distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Library General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/libs/cairomm/ChangeLog b/libs/cairomm/ChangeLog deleted file mode 100644 index baaa1449e3..0000000000 --- a/libs/cairomm/ChangeLog +++ /dev/null @@ -1,964 +0,0 @@ -== 1.4.6 == - -2007-11-10 Jonathon Jongsma - - * docs/reference/Doxyfile.in: update doxygen config file since my version of - doxygen now complains that there are obsolete config keys - -2007-11-10 Jonathon Jongsma - - * NEWS: update news for 1.4.6 release - * configure.in: bumped version - -2007-08-13 Murray Cumming - - * cairomm/context.cc: Add #include - to fix the build on MacOS. Thanks to Elias N (Bug #11972). - -== 1.4.4 == - -2007-07-21 Murray Cumming - - * m4/reduced.m4: Added, containing CAIROMM_ARG_ENABLE_API_EXCEPTIONS(). - * configure.in: Use CAIROMM_ARG_ENABLE_API_EXCEPTIONS() to add a - --enable-api-exceptions=yes/no option. - Used to generate a cairomm/cairommconfig.h config file, which - defines (or not) CAIROMM_EXCEPTIONS_ENABLED. - * cairomm/cairommconfig.h.in: Added, used to generate cairommconfig.h - * cairomm/private.cc: - * cairomm/private.h: Use ifdef to replace throw_exception() with an empty - implementation when exceptions are disabled. - This allows cairomm to be built when using CXXFLAGS=-fno-exceptions. - -2007-07-14 Jonathon Jongsma - - * configure.in: post-release version number bump - -=== 1.4.2 === - -2007-07-14 Jonathon Jongsma - - * NEWS: updated for 1.4.2 release - * configure.in: bumped version to 1.4.2 - -2007-06-14 Dave Beckett - - * configure.in: Update the GENERIC_LIBRARY_VERSION correctly - Was: 1:0:0 in 1.2.4 - current: interfaces were added, increment to 2 - revision: set to zero since current was incremented - age: increment since interfaces were added - Changed to: 2:0:1 - -2007-06-14 Murray Cumming - - * cairomm/refptr.h: Added RefPtr(object, refcount) constructor - for use in cast_*(), so that the casted RefPtr shares the same - refcount, avoiding an early deletion. I do not like making - this constructor public, but I do not see another way. - -=== 1.4.0 === - -2007-07-12 Jonathon Jongsma - - * Makefile.am: add doc-publish target and make release-publish depend on - this. This automatically uploads the new API documentation on release - * docs/reference/Makefile.am: upload the html documentation and a tarball of - the documentation to the cairographics.org site - -2007-07-12 Jonathon Jongsma - - * docs/reference/Makefile.am: hacky workaround to get distcheck to pass - -2007-07-10 Jonathon Jongsma - - * NEWS: Update NEWS for release - * configure.in: bump version for release - -2007-07-10 Jonathon Jongsma - - * cairomm/context.cc: add ability to use dynamic casting with the return - values from more functions, including: - Context::get_target() - Context::get_target() const - Context::get_source() - Context::get_source() const - Context::get_group_target() - Context::get_group_target() const - Context::pop_group() - * tests/test-context.cc: a few additional tests to verify the const / - non-const versions both work with dynamic casting. - -2007-07-10 Jonathon Jongsma - - * docs/reference/cairomm.css: Improve the documentation style a little bit - to make it more readable - * docs/reference/Doxyfile.in: build the reference doc for the new - QuartzSurface class - -2007-07-10 Jonathon Jongsma - - * cairomm/context.cc: - * cairomm/context.h: add alternate API for set_dash() which takes a - std::vector argument instead of the slightly unexpected std::valarray - argument - * tests/test-context.cc: test that both API work correctly and compile - correctly without any problems - -2007-07-04 Jonathon Jongsma - - * tests/test-context.cc: add some tests for matrix transformations and - user-to-device coordinate mappings. The matrix transformation 'test' does - nothing more than call the functions to excercise them a bit, but it's - causing an unexpected exception to be triggered when calling - Context::set_matrix(). The odd thing is that exception.what() results in - 'success' being printed. This requires further investigation - Also used BOOST_CHECK_EQUAL in most places instead of BOOST_CHECK to get - more meaningful failure messages. - -2007-07-04 Jonathon Jongsma - - * cairomm/private.cc: add missing 'break;' on the I/O error case statement - -2007-07-04 Jonathon Jongsma - - * cairomm/context.cc: when getting the source pattern of a Cairo::Context, - check which type of Pattern it is so that we create the correct C++ wrapper. - Without this, RefPtr<>::cast_dynamic() doesn't seem to work as we would - expect it to. - * tests/test-context.cc: improve the Context::get_source() / - Context::set_source () tests now that dynamic casting works correctly - -2007-07-04 Jonathon Jongsma - - * examples/pdf-surface/main.cc: - * examples/png_file/main.cc: - * examples/ps-surface/main.cc: - * examples/svg-surface/main.cc: - * examples/text-rotate/text-rotate.cc: - * tests/test-context.cc: fix a bunch of minor compile errors when compiling - with -Werror - -2007-07-04 Jonathon Jongsma - - * configure.in: enable extra compiler warnings and -Werror if the - CAIROMM_DEVEL environment variable is set to 'on'. This caught the - following mistake. - * cairomm/pattern.cc: forgot to return the ColorStop vector - -2007-07-04 Jonathon Jongsma - - * cairomm/context.cc: fix a FIXME to match the style of - ScaledFont::glyph_extents since MSVC (and possibly other compilers) complain - when allocating an array on the stack and the size of the array is not a - compile-time constante - -2007-04-16 Hugo Vincent - - * Added QuartzSurface for MacOS X (when cairo is built with Quartz support), - similar to the existing Win32Surface and XlibSurface. These allow use of - platform-specific features and data structures. - -2007-03-23 Jonathon Jongsma - - * Makefile.am: - * autogen.sh: - * configure.in: - * m4/ax_boost_base.m4: - * m4/ax_boost_unit_test_framework.m4: Add some basic test infrastructure. - It's disabled by default, and must be explicitly enabled by passing - --enable-tests to configure (or by setting the CAIROMM_DEVEL environment - variable to "on"). It uses the boost unit test framework, but this should - not be required unless you've explicitly enabled tests. If tests are - enabled, you can easily run them with 'make check' - * tests/Makefile.am: - * tests/test-context.cc: added the beginning of a test for Cairo::Context. - Most of these tests are really very interesting. Basically what I'm trying - to do is a) test some basic behaviors, and b) excercise the functionality a - little bit. One of the tests currently fails due to a RefPtr::cast_dynamic - failure, so I have to see what's going on there. - -2007-03-22 Murray Cumming - - * cairomm/enums.h: Restored FORMAT_RGB16_565 and marked it as deprecated. - Note that CAIRO_FORMAT_RGB16_565 has not really been removed from cairo. - It has just moved from the enum to a #define in cairo-deprecated. - * cairomm/context.cc: - * cairomm/context.h: Made get_dash() const. - Renamed clip_extents() to get_clip_extents(), to match the other get_*_extents() methods - (in Context, if not in other classes), and made it const. - Made copy_clip_rectangle_list() const. - * cairomm/pattern.cc: - * cairomm/pattern.h: Make the RadialGradient::get_radial_circles(), LinearGradient::get_linear_points(), - and Gradient::get_color_stops() methods const. - Added a non-const method overload of get_surface(). - Correc the get_color_stops() implementation to match the declaration. - -2007-03-22 Jonathon Jongsma - - * cairomm/context.cc: Minor comment cleanups - * cairomm/pattern.cc: get the gradient stops by reference parameter instead - of returning by value. This saves an extra copy of the vector. - -2007-03-21 Jonathon Jongsma - - * cairomm/context.cc: - * cairomm/context.h: - * cairomm/enums.h: - * cairomm/pattern.cc: - * cairomm/pattern.h: - * configure.in: Add initial support for new cairo 1.4.x API. It will - probably still need quite a bit of work, but I wanted to commit what I have - now so that it doesn't keep sitting in my working directory. - (Extra note from Murray: - This was: - - Pattern::create_rgba() - a new method overload with 4 args, including alpha. - - SurfacePattern::get_surface() - - Gradient::get_color_stops() (with a new ColorStop struct) - - LinearGradient::get_linear_points() - - RadialGradient::get_radial_circles() - - Context::clip_extents() - - Context::copy_clip_rectangle_list() - - Context::get_dash() - - SURFACE_TYPE_OS2 was added - - FORMAT_RGB16_565 was removed (but that is not allowed, so I'll fix that.) - -2007-02-01 Jonathon Jongsma - - * configure.in: Fixes for building on Cygwin from - yselkowitz@users.sourceforge.net. Closes bug #9726 - -2007-01-28 Jonathon Jongsma - - * configure.in: bump rev to 1.2.5 - -2007-01-28 Jonathon Jongsma - - * docs/reference/Doxyfile.in: fixes building the cairomm documentation where - builddir != srcdir. Patch from yselkowitz@users.sourceforge.net for bug - #9727 - -1.2.4: - -2007-01-17 Jonathon Jongsma - - * NEWS: updated news for 1.2.4 release - * configure.in: bumped version to 1.2.4 - -2006-09-27 Murray Cumming - - * cairomm/refptr.h: cast_static() and cast_dynamic(): - Use the refcount_() accessor instead of the member variable, - to avoid compilation errors, as we already do in the - templated copy constructor. - -1.2.2: - -2006-08-21 Jonathon Jongsma - - * NEWS: update for 1.2.2 - * configure.in: bump to next even number (1.2.2) - -2006-08-21 Cedric Gustin - - * cairomm/win32_surface.cc: Explicitly cast Cairo::Format to - cairo_format_t. - -2006-08-20 Jonathon Jongsma - - * Makefile.am: fix up the release announcement template to explain what - cairomm is at the top of the email before telling where to get it. - * configure.in: post-release bump (1.2.1) - -1.2.0: - -2006-08-20 Jonathon Jongsma - - * NEWS: Update information about new stuff in 1.2.0 - * configure.in: bump the release version number to 1.2.0 and the shared - library version number to 1:0:0 since interfaces were changed and added and - we're now guaranteeing API/ABI stability - -2006-08-20 Jonathon Jongsma - - * examples/pdf-surface/.cvsignore: - * examples/png_file/.cvsignore: - * examples/ps-surface/.cvsignore: - * examples/svg-surface/.cvsignore: added image files produced by the example - programs to .cvsignore - -2006-08-19 Jonathon Jongsma - - * Makefile.am: get rid of the concept of a snapshot. It doesn't really make - that much sense for cairomm, honestly, since we're just a simple wrapper - library. - -2006-08-19 Jonathon Jongsma - - * MSVC/examples/.cvsignore: - * MSVC/examples/Makefile.am: - * MSVC/examples/pdf-surface/.cvsignore: - * MSVC/examples/pdf-surface/Makefile.am: - * MSVC/examples/pdf-surface/pdf-surface.vcproj: - * MSVC/examples/png_file/.cvsignore: - * MSVC/examples/png_file/Makefile.am: - * MSVC/examples/png_file/png_file.vcproj: - * MSVC/examples/ps-surface/.cvsignore: - * MSVC/examples/ps-surface/Makefile.am: - * MSVC/examples/ps-surface/ps-surface.vcproj: - * MSVC/examples/svg-surface/.cvsignore: - * MSVC/examples/svg-surface/Makefile.am: - * MSVC/examples/svg-surface/svg-surface.vcproj: - * MSVC/examples/text-rotate/.cvsignore: - * MSVC/examples/text-rotate/Makefile.am: - * MSVC/examples/text-rotate/text-rotate.vcproj: - * MSVC/gendef/.cvsignore: - * MSVC/gendef/Makefile.am: - * MSVC/gendef/gendef.cc: - * MSVC/gendef/gendef.vcproj: added a bunch of MSVC / windows-specific things - that got missed last time. - -2006-08-18 Jonathon Jongsma - - * cairomm/win32_surface.cc: - * cairomm/win32_surface.h: add some missing win32 API that I had overlooked: - cairo_win32_surface_get_dc() and cairo_win32_surface_create_with_dib(), - updated documentation for standard Win32Surface::create() function. - -2006-08-18 Cedric Gustin - - * cairomm/context.cc: Define M_PI for MSVC. - * cairomm/scaledfont.cc: Allocate glyph_array as a synamic array - as MSVC does not like non-const arguments as array size. - * examples/pdf-surface/main.cc, examples/png_file/main.cc, - examples/ps-surface/main.cc, examples/svg-surface/main.cc, - examples/text-rotate/text-rotate.cc: Define M_PI for MSVC. - * configure.in, Makefile.am: Generate Makefiles in the MSVC - subdirectories. - * .cvsignore: Added Eclipse .project to the list of ignored files. - * MSVC/*: Added project and resource files for Visual Studio 2005. - -2006-08-18 Jonathon Jongsma - - * cairomm/context.cc: - * cairomm/context.h: API CHANGE: some API was changed to maintain a closer - similarity to the underlying cairo API (while also attempting to avoid - confusion with the C++ 'new' keyword) in preparation for freezing the - cairomm API. Two functions are affected: - - Context::clear_path() -> Context::begin_new_path() - - Context::new_sub_path() -> Context::begin_new_sub_path() - * configure.in: bump the libtool version to indicate API change - -2006-08-15 Jonathon Jongsma - - * cairomm/context.cc: remove another TODO. I looked at cairo_append_path, - and it just copies the data from the supplied path and appends that to the - current path -- it doesn't modify the passed in path -- so it can stay - const. - -2006-08-15 Jonathon Jongsma - - * cairomm/context.h: remove a FIXME that was resolved on the mailing list - -2006-07-11 Murray Cumming - - * cairomm/refptr.h: unref(): Only delete the refcount int when the refcount has - reached 0, instead of deleting it every time. Thanks valgrind. - -2006-07-11 Murray Cumming - - * cairomm/refptr.h: From-C-object Constructor: Added documentation explaining - how/when to use it and when to do an extra reference(). This will help us, - though it should rarely be necessary for an application developer to understand - it. - Made pCppRefcount_ mutable, so that refcount_() can be a const method so that - the templated constructor compiles. - Added class documentation to explain why we even want to use this class. - -2006-07-05 Jonathon Jongsma - - * cairomm/refptr.h: copy constructors: initialize the pCppRefcount_ member - variable, using a public refcount_() method when necessary to access a - different RefPtr<> specialization. - -2006-07-11 Murray Cumming - - * cairomm/refptr.h: Use an int to reference-count the C++ object, and - only reference/unreference the object (and hence the underlying C object) - when receiving/deleting the C++ object. Without this, we never delete - the C++ object. Fixes bug #7442. - -2006-07-09 Jonathon Jongsma - - * NEWS: add NEWS for 1.1.10 release - * configure.in: bump version to 1.1.12 - -2006-07-05 Jonathon Jongsma - - * Makefile.am: Ooops, I had accidentally removed dependency info for - release-publish target - -2006-07-05 Murray Cumming - - * cairomm/context.h: - * cairomm/fontface.h: - * cairomm/pattern.h: - * cairomm/surface.cc: - * cairomm/surface.h: - * cairomm/xlib_surface.cc: - * cairomm/xlib_surface.h: Fix the generic text about reference-counted - objects, because we no longer use copy constructors for this. And some - pedantic white space changes. - -2006-07-05 Murray Cumming - - * cairomm/scaledfont.cc: - * cairomm/scaledfont.h: create(): Make the font_matrix and ctm - parameters const (they are now const in the C API too). Maybe the font - parameter should be const, but maybe there is a reason that it is not - const in the C API. Pass FontOptions by const reference instead of - by value. - glyph_extents(): Pass the vector by const reference instead of by - value. - I would prefere to make all the extents() functions use return values - instead of output parameters, but I suppose this might be slightly - less efficient in some circumstances. - -2006-07-05 Murray Cumming - - * cairomm/cairomm.h: - * cairomm/context.h: - * cairomm/path.h: - * cairomm/scaledfont.h: - * cairomm/surface.h: - * cairomm/win32_surface.h: - * cairomm/xlib_surface.h: Use @ instead of \ for doxygen - commands, to be consistent with gtkmm, which uses it because it is the - same as JavaDoc, with which some people are already familiar. - -2006-07-04 Jonathon Jongsma - - * Makefile.am: add ability to do snapshot releases to the - cairographics.org/snapshots/ directory in addition to official releases - * configure.in: bumped the revision to 1.1.10 in preparation for a snapshot - release of the 1.2 API - * docs/reference/Makefile.am: fixed some distcheck errors - -2006-07-04 Jonathon Jongsma - - * .cvsignore, cairomm/.cvsignore: ignore some autotools files and *.swp - files (from vim) - -2006-07-04 Jonathon Jongsma - - * cairomm/scaledfont.cc, cairomm/scaledfont.h: wrap ScaledFont, including - new API for cairo 1.2 - * cairomm/Makefile.am: add scaledfont.* to list of sources - -2006-07-04 Jonathon Jongsma - - * cairomm/surface.h: Remove comments stating that PDF, PS, and SVG are - experimental surfaces. As of 1.2.0, these three surfaces are officially - supported by the cairo library. - -2006-07-04 Jonathon Jongsma - - * cairomm/xlib_surface.h: add a bit more documentation for the new - XlibSurface API - -2006-07-04 Jonathon Jongsma - - * cairomm/surface.cc, cairomm/surface.h: added SvgSurface::get_versions() - and SvgSurface::version_to_string() API. They're implemented as static - members right now. - -2006-06-30 Jonathon Jongsma - - * configure.in: bumped cairomm version to 0.7.0 and bumped cairo requirement - to 1.2.0 - -2006-06-30 Jonathon Jongsma - - * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new get_height() and - get_width() API to XlibSurface - -2006-06-27 Jonathon Jongsma - - * cairomm/enums.h: Added enum types to support the new get_type() and SVG - Version API - * cairomm/fontface.cc, cairomm/fontface.h: add new get_type() API - * cairomm/pattern.cc, cairomm/pattern.h: add new get_type() API - * cairomm/surface.cc, cairomm/surface.h: add new get_type() API and - SvgSurface::restrict_to_version() API - -2006-06-26 Jonathon Jongsma - - * cairomm/surface.cc, cairomm/surface.h: add new PsSurface and PdfSurface - API: set_size, dsc_comment, dsc_begin_setup, dsc_begin_page_setup - * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new XlibSurface API: - get_display, get_drawable, get_screen, get_visual, get_depth - -2006-06-26 Jonathon Jongsma - - * cairomm/surface.cc: - * cairomm/surface.h: Added new Surface and ImageSurface API from 1.1.x - snapshots - -2006-06-23 Jonathon Jongsma - - * cairomm/context.cc: - * cairomm/context.h: added Context::new_sub_path() and new push/pop group - API. - -2006-06-23 Jonathon Jongsma - - * cairomm/enums.h: fix stupid error from last commit - -2006-06-23 Jonathon Jongsma - - * cairomm/enums.h: add new FORMAT_RGB16_565 format - -2006-06-12 Jonathon Jongsma - - * configure.in: bump required cairo version to >= 1.1.7 - * cairomm/surface.cc, cairomm/surface.h: update to new cairo API - cairo_surface_set_fallback_resolution - -2006-05-10 Jonathon Jongsma - - * docs/reference/cairomm.css: minor documentation stylesheet fix - -2006-05-08 Jonathon Jongsma - - * cairomm/context.h: - * cairomm/path.h: added some preliminary documentation explaining that the - caller is responsible for freeing Path objects returned from - Context::copy_path() and Context::copy_path_flat(). - -2006-05-08 Jonathon Jongsma - - * cairomm/cairomm.h: Add doxygen API introduction test here. - * docs/reference/Doxyfile.in: - * docs/reference/Makefile.am: - * docs/reference/cairomm-header.html: - * docs/reference/cairomm.css: - * docs/reference/introduction.h: fix up some documentation presentation - issues that turned up with newer versions of doxygen. - -2006-05-08 Jonathon Jongsma - - * configure.in: remove check for perl since we're not using any of the - gmmproc stuff for cairomm - * docs/reference/Makefile.am: add documentation dependency on all of the - headers in the cairomm/ directory so that if a header changes the - documentation will be rebuilt. - -2006-04-20 Murray Cumming - - * cairomm/context.cc: - * cairomm/context.h: mask(pattern) and mask(surface): Make the parameter - const, because I am fairly sure that the C function does not change it. - -2006-04-06 Jonathon Jongsma - - * Makefile.am: Add a brief description of cairomm to the release - announcement template - -2006-04-04 Jonathon Jongsma - - * docs/reference/Doxyfile.in: - * docs/reference/Makefile.am: A couple minor build fixes to make distcheck - happy - -2006-04-04 Jonathon Jongsma - - * NEWS: add news for 0.6.0 release - * configure.in: bump version to 0.6.0 - -2006-04-03 Jonathon Jongsma - - * examples/text-rotate/text-rotate.cc: protect PNG functions with #ifdef in - case cairo wasn't compiled with PNG support - -2006-03-31 Danilo Piazzalunga - - * Makefile.am: - * docs/Makefile.am: - * docs/reference/Makefile.am: add convenience targets for cleaning and - rebuilding documentation (doc-clean and doc-rebuild). - -2006-03-30 Danilo Piazzalunga - - * configure.in: enable documentation even if doxygen and/or graphviz - are missing, so the docs will be installed when building a release. - * docs/reference/Makefile.am: don't remove html directory with `make clean`, - so that users of the tarball releases don't destroy the pre-built - documentation when running make clean. Change to maintainer-clean - -2006-03-29 Jonathon Jongsma - - * configure.in: added tests for doxygen and graphviz which displays a - warning if the user has --enable-docs set but doesn't have doxygen or - graphviz installed. - -2006-03-28 Danilo Piazzalunga - - * cairomm/enums.h: Stop using CAIRO_EXTEND_PAD, as it only exists - in the 1.1.1 development branch. - -2006-03-14 Jonathon Jongsma - - * configure.in: - * examples/Makefile.am: - * examples/text-rotate/.cvsignore: - * examples/text-rotate/Makefile.am: - * examples/text-rotate/text-rotate.cc: Added another basic example, - borrowed from a test-case in cairo. This one is just a simple example of - using text in cairomm - -2006-03-14 Jonathon Jongsma - - * cairomm/fontface.h: - * cairomm/fontoptions.h: - * cairomm/path.h: - * cairomm/pattern.h: include instead of since it - didn't want to compile on windows without these - * cairomm/win32_surface.cc: - * cairomm/win32_surface.h: Move the include of cairo-win32.h from the - source file to the header since the declaration of create() needs the HDC - type definition. - With these changes, cairomm should compile the Win32Surface cleanly with - mingw on Microsoft Windows - -2006-03-12 Danilo Piazzalunga - - * autogen.sh: Allow overriding aclocal, automake, autoconf and libtoolize - using environment variables. Taken from cairo's autogen.sh. - -2006-03-06 Jonathon Jongsma - - * cairomm/*.cc, *.h: add vim modelines to set proper indentation for - cairomm when using vim - -2006-02-28 Jonathon Jongsma - - * cairomm/context.cc: - * cairomm/context.h: - * cairomm/enums.h: - * cairomm/fontoptions.cc: - * cairomm/fontoptions.h: - * cairomm/pattern.cc: - * cairomm/pattern.h: - * cairomm/surface.h: wrapped all of the enum types with cairomm - types within the Cairo namespace, so now (for example) the values for - Cairo::Format are something like Cairo::FORMAT_ARGB32 instead of the base - cairo types like CAIRO_FORMAT_ARGB_32. - * examples/png_file/main.cc: fixed example to work with the new namespaced - enum types - -2006-02-27 Jonathon Jongsma - - * cairomm/exception.h: - * docs/reference/Doxyfile.in: - * docs/reference/Makefile.am: hide some of the private types and functions - from the Doxygen API reference documentation - -2006-02-27 Stefan Kersten - - * cairomm/surface.cc: fix an extra trailing parentheses in - GlitzSurface::create() - -2006-02-22 Danilo Piazzalunga - - * examples/README: Write some basic information about each example - -2006-02-22 Jonathon Jongsma - - * docs/reference/Makefile.am: add target for publishing the API reference - to cairographics.org - -2006-02-20 Danilo Piazzalunga - - * Makefile.am: Include MAINTAINERS in distribution. Fixes Bug #5982 - -2006-02-17 Danilo Piazzalunga - - * COPYING: Use the text from the Library GPL 2.0, which is the actual - license of cairomm. Fixes Bug #5934 - -2006-02-17 Danilo Piazzalunga - - * autogen.sh: - * cairomm/cairomm.h: - * cairomm/context.cc: - * cairomm/context.h: - * cairomm/enums.h: - * cairomm/exception.cc: - * cairomm/exception.h: - * cairomm/fontface.cc: - * cairomm/fontface.h: - * cairomm/fontoptions.cc: - * cairomm/fontoptions.h: - * cairomm/path.cc: - * cairomm/path.h: - * cairomm/pattern.cc: - * cairomm/pattern.h: - * cairomm/private.cc: - * cairomm/private.h: - * cairomm/refptr.h: - * cairomm/surface.cc: - * cairomm/surface.h: - * cairomm/win32_surface.cc: - * cairomm/win32_surface.h: - * cairomm/xlib_surface.cc: - * cairomm/xlib_surface.h: Update FSF's postal address in GPL/LGPL - comment headings. Fixes Bug #5933 - -2006-02-17 Danilo Piazzalunga - - * examples/*/.cvsignore: Bug #5927: added .cvsignore files to examples - directories - -2006-02-17 Danilo Piazzalunga - - * AUTHORS: - * INSTALL: - * README: - * cairomm/exception.cc: - * cairomm/exception.h: Remove lingering references to libxml++ - -2006-02-17 Danilo Piazzalunga - - * configure.in: Bug #5929: Output files in docs subdir only if - --enable-docs is set. This prevents configure from generating files which - are not cleaned up when --disable-docs is used. - Use AC_CONFIG_FILES and AC_OUTPUT as recommended. - -2006-02-16 Jonathon Jongsma - - * docs/reference/Doxyfile.in: - * docs/reference/cairomm.css: added some style customisations to the API - doc so that it fits in with the overall Cairo style a bit better - -2006-02-16 Jonathon Jongsma - - * AUTHORS: - * MAINTAINERS: Add my information to the Maintainers and authors file - -0.5.0: - -2006-02-09 Jonathon Jongsma - - * docs/reference/Makefile.am: added a 'html' target to satisfy the dist - rule - -2006-02-08 Jonathon Jongsma - - * cairomm/context.h: Added a lot of documentation for the Cairo::Context - class taken from the cairo docs. It's not complete, but the basics are all - covered now. - * docs/reference/Makefile.am: make use of existing Makefile variable - * NEWS: update for 0.5.0 release - -2006-02-07 Jonathon Jongsma - - * Makefile.am: add docs/ subdir - * configure.in: added an --enable-docs switch to the configure script - (enabled by default), and added AC_OUTPUT directives for the documentation - Makefiles, etc. - * docs/.cvsignore: - * docs/Makefile.am: - * docs/reference/.cvsignore: - * docs/reference/Doxyfile.in: - * docs/reference/Makefile.am: - * docs/reference/introduction.h: Added infrastructure to build and install - the API documentation for cairomm (based on libxml++ makefiles). - -2006-01-27 Jonathon Jongsma - - * .cvsignore: - * cairomm/.cvsignore: update .cvsignore files - * cairomm/surface.cc: - * cairomm/surface.h: change Surface::create function to take a - RefPtr instead of Surface& - -2006-01-27 Murray Cumming - - * examples/pdf-surface/Makefile.am: Remove extra LDADD that was breaking - the distcheck. - -2006-01-26 Murray Cumming - - * examples/ps-surface/main.cc: - * examples/svg-surface/main.cc: Correct the text of the messages. - -2006-01-25 Jonathon Jongsma - - * configure.in: - * examples/Makefile.am: - * examples/pdf-surface/: - * examples/ps-surface/: - * examples/svg-surface/: add examples for additional surfaces - -2006-01-24 Murray Cumming - - * cairomm/Makefile.am: - * cairomm/surface.cc: - * cairomm/surface.h: - * cairomm/xlib_surface.cc: - * cairomm/xlib_surface.h: - * cairomm/win32_surface.cc: - * cairomm/win32_surface.h: Moved XlibSurface and - Win32Surface into separate files, not #included by - the main cairomm.h file, so that developers do not need to - suffer the Xlib.h or Windows namespace pollution unless they really need to. - For instance, this fixes the gtkmm 2.9 build which was broken by the - Display struct in Xlib.h. - -2006-01-15 Jonathon Jongsma - - * cairomm/surface.cc: - * cairomm/surface.h: backwards-incompatible API change for the Surface - types. Cairo::Surface is now a base class for all of the other surface - types, and should not be used directly. New Surface types include - ImageSurface, XlibSurface, Win32Surface, PdfSurface, PsSurface, - SvgSurface, and GlitzSurface. - Modified Surface::write_to_png() and Surface::write_to_png_stream() so - that they throw exceptions like the other functions instead of returning a - cairo_status_t value. - Added API documentation for all Surface classes and all member functions - of the Surface class heirarchy. - * examples/png_file/Makefile.am: added generated PNG file to CLEANFILES - * examples/png_file/main.cc: updated the PNG example to use the new - ImageSurface class instead of using the Surface class directly. - * cairomm/*: Renamed the Cairo::Status type to Cairo::ErrorStatus since it - conflicts with a #define Status in XLib and is not used exposed in the API - anyway. - -2006-01-06 Jonathon Jongsma - - * cairomm/surface.cc: - * cairomm/surface.h: Added implementation of write_to_png() and - write_to_png_stream() when PNG support is available in the base cairo - library - * examples/png_file/*: Added an example of creating an image surface and - saving it to a png image file - * examples/Makefile.am: add new example directory to SUBDIRS list - * configure.in: added output declaration for examples/png_file/Makefile - * examples/makefile.am_fragment: fix leftover libxml boilerplate - -2006-01-03 Jonathon Jongsma - - * cairomm/surface.cc: added missing implementations for reference() and - unreference() functions - -0.4.0: - -2005-12-17 Murray Cumming - - * cairomm/Makefile.am: - * cairomm/refptr.h: Add shared - reference-counting smartpointer, using - the reference-count in the object. A copy - of the tried and tested glibmm RefPtr. - * cairomm/context.cc: - * cairomm/context.h: - * cairomm/fontface.cc: - * cairomm/fontface.h: - * cairomm/pattern.cc: - * cairomm/pattern.h: - * cairomm/surface.cc: - * cairomm/surface.h: Make constructors protected - and add public static create() methods that return - instances in RefPtr<>s. This allows reference-counted - objects to be clearly const or non-const, and allows - casting between related types. - -2005-12-17 Murray Cumming - - * cairomm/context.cc: - * cairomm/context.h: Change set_dash(void) to - unset_dash(). Change rotate_deg() to - rotate_degrees(). Change identity_matrix() to - set_identity_matrix(). Change new_path() to - clear_path(). - * cairomm/fontface.cc: - * cairomm/fontface.h: Comment-out - get/set_user_data(), because it seems useless. - -0.3.0: - -2005-12-08 Murray Cumming - - * cairomm/pattern.cc: - * cairomm/pattern.h: Create a hierarchy of pattern - classes, as suggested by the C documentation, because - not all functions are meaningful for all pattern types. - -2005-12-07 Murray Cumming - - * cairomm/context.cc: - * cairomm/context.h: font_extents(), stroke_extents(), - glyph_extents(), fill_extents(): Add get_ prefix and - make them const. - -2005-12-07 Murray Cumming - - * cairomm/context.cc: - * cairomm/context.h: Add typedef for Matrix, though we - probably want to derive a class with a C++-like matrix - API, with operator overloading. - -2005-12-07 Murray Cumming - - * cairomm/exception.cc: - * cairomm/exception.h: Rename to logic_error, because - the cairo documentation says that most of them are - programming errors, not runtime errors. Derive from - std::logic_error because of this. - * cairomm/private.cc: - * cairomm/private.h: Throw std::bad_alloc for memory - errors, and std::io_base::failure for read/write runtime - errors, as suggested by the cairo language-binding - documentation. - -2005-12-07 Murray Cumming - - * cairomm/context.cc: - * cairomm/fontoptions.cc: - * cairomm/surface.cc: Check for errors in - constructors, as per the error-handling advice in the - language bindings section of the cairo documentation. - -2005-12-07 Murray Cumming - - * cairomm/context.cc: - * cairomm/context.h: Change mask_surface() to - mask() and set_source_surface() to set_source(), - as per the method overloading advice in the - language bindings section of the cairo documentation. - -0.2.0: - -2005-12-02 Murray Cumming - - * cairomm/cairomm.h: Put sensible stuff in here, - instead of my copy/paste stuff from libxml++. - * cairomm/context.cc: - * cairomm/context.h: - * cairomm/enums.h: - * cairomm/exception.cc: - * cairomm/exception.h: - * cairomm/fontface.cc: - * cairomm/fontface.h: - * cairomm/fontoptions.cc: - * cairomm/fontoptions.h: - * cairomm/path.cc: - * cairomm/path.h: - * cairomm/pattern.cc: - * cairomm/pattern.h: - * cairomm/private.cc: - * cairomm/private.h: - * cairomm/surface.cc: - * cairomm/surface.h: Add LGPL comment headings. - diff --git a/libs/cairomm/INSTALL b/libs/cairomm/INSTALL deleted file mode 100644 index 88dee826fd..0000000000 --- a/libs/cairomm/INSTALL +++ /dev/null @@ -1,9 +0,0 @@ -Simple install procedure -======================== - - % tar zxvf cairomm-.tar.gz # unpack the sources - % cd cairomm- # change to toplevel directory - % ./configure # run the `configure' script - % make # build cairomm - % make install # install cairomm - diff --git a/libs/cairomm/MAINTAINERS b/libs/cairomm/MAINTAINERS deleted file mode 100644 index 54d06c9176..0000000000 --- a/libs/cairomm/MAINTAINERS +++ /dev/null @@ -1,8 +0,0 @@ -Please use the mailing list (cairo@cairographics.org) rather than emailing -developers directly. - -Murray Cumming -Email: murrayc@murrayc.com - -Jonathon Jongsma -Email: jonathon.jongsma@gmail.com diff --git a/libs/cairomm/MSVC/Makefile.am b/libs/cairomm/MSVC/Makefile.am deleted file mode 100644 index 976d5a51aa..0000000000 --- a/libs/cairomm/MSVC/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -SUBDIRS = gendef cairomm examples - -EXTRA_DIST = blank.cpp cairomm.sln README diff --git a/libs/cairomm/MSVC/Makefile.in b/libs/cairomm/MSVC/Makefile.in deleted file mode 100644 index 0176016440..0000000000 --- a/libs/cairomm/MSVC/Makefile.in +++ /dev/null @@ -1,498 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = gendef cairomm examples -EXTRA_DIST = blank.cpp cairomm.sln README -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-libtool clean-recursive ctags \ - ctags-recursive distclean distclean-generic distclean-libtool \ - distclean-recursive distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-man install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-recursive \ - mostlyclean mostlyclean-generic mostlyclean-libtool \ - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/README b/libs/cairomm/MSVC/README deleted file mode 100644 index 81886cdb70..0000000000 --- a/libs/cairomm/MSVC/README +++ /dev/null @@ -1,12 +0,0 @@ -Building cairomm-1.0 with Visual Studio .NET 2005 - -* You will need Visual Studio .NET 2005 (MSVC 8.0). Earlier versions of the compiler, including 6.0 and 7.0 might also work but have not been tested. -* Install the latest Win32 GTK+ Development Environment from the Glade for Windows project, http://gladewin32.sourceforge.net. -* Add libsigc++ to the include and lib paths in Visual Studio. -* Load the cairomm/MSVC3/cairomm.sln solution. -* Build the entire solution. -* Run the tests. - -Cedric Gustin -08/18/2006 - diff --git a/libs/cairomm/MSVC/blank.cpp b/libs/cairomm/MSVC/blank.cpp deleted file mode 100644 index 98feb66329..0000000000 --- a/libs/cairomm/MSVC/blank.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// This file may very well be the most annoying workaround of all time. -// It is included here to simplify working with glibmm using the -// MSVC IDE. -// -// This file is included in all of the MSVC projects to force the -// IDE to display the C/C++ property pages for editing. Apparently, -// the MSVC IDE does not recognize .cc files as C++ source code, even -// though the compiler does! -// -// Tim Shead, tshead@k-3d.com -// 10/12/2004 diff --git a/libs/cairomm/MSVC/cairomm.sln b/libs/cairomm/MSVC/cairomm.sln deleted file mode 100644 index ebedfae590..0000000000 --- a/libs/cairomm/MSVC/cairomm.sln +++ /dev/null @@ -1,73 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual C++ Express 2005 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gendef", "gendef\gendef.vcproj", "{07324745-C9BE-4D65-B08A-9C88188C0C28}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cairomm-1.0", "cairomm\cairomm.vcproj", "{58B2B53C-C4FF-47FD-817B-095E45B7F7D4}" - ProjectSection(ProjectDependencies) = postProject - {07324745-C9BE-4D65-B08A-9C88188C0C28} = {07324745-C9BE-4D65-B08A-9C88188C0C28} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_pdf-surface", "examples\pdf-surface\pdf-surface.vcproj", "{129ECC08-6D30-4884-B824-4AF96EF0A45C}" - ProjectSection(ProjectDependencies) = postProject - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} = {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_png_file", "examples\png_file\png_file.vcproj", "{45EEED29-0231-45C6-9682-CAB2E042C51E}" - ProjectSection(ProjectDependencies) = postProject - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} = {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_ps-surface", "examples\ps-surface\ps-surface.vcproj", "{CAE46373-7375-4607-AAB7-0EBA8F0E5B55}" - ProjectSection(ProjectDependencies) = postProject - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} = {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_svg-surface", "examples\svg-surface\svg-surface.vcproj", "{BCA44D2B-1832-41F5-9EE9-FE1F709EE584}" - ProjectSection(ProjectDependencies) = postProject - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} = {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "examples_text-rotate", "examples\text-rotate\text-rotate.vcproj", "{F4D455E4-464D-49CC-A120-DB9B8AE0207E}" - ProjectSection(ProjectDependencies) = postProject - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} = {58B2B53C-C4FF-47FD-817B-095E45B7F7D4} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {07324745-C9BE-4D65-B08A-9C88188C0C28}.Debug|Win32.ActiveCfg = Debug|Win32 - {07324745-C9BE-4D65-B08A-9C88188C0C28}.Debug|Win32.Build.0 = Debug|Win32 - {07324745-C9BE-4D65-B08A-9C88188C0C28}.Release|Win32.ActiveCfg = Release|Win32 - {07324745-C9BE-4D65-B08A-9C88188C0C28}.Release|Win32.Build.0 = Release|Win32 - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4}.Debug|Win32.ActiveCfg = Debug|Win32 - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4}.Debug|Win32.Build.0 = Debug|Win32 - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4}.Release|Win32.ActiveCfg = Release|Win32 - {58B2B53C-C4FF-47FD-817B-095E45B7F7D4}.Release|Win32.Build.0 = Release|Win32 - {129ECC08-6D30-4884-B824-4AF96EF0A45C}.Debug|Win32.ActiveCfg = Debug|Win32 - {129ECC08-6D30-4884-B824-4AF96EF0A45C}.Debug|Win32.Build.0 = Debug|Win32 - {129ECC08-6D30-4884-B824-4AF96EF0A45C}.Release|Win32.ActiveCfg = Release|Win32 - {129ECC08-6D30-4884-B824-4AF96EF0A45C}.Release|Win32.Build.0 = Release|Win32 - {45EEED29-0231-45C6-9682-CAB2E042C51E}.Debug|Win32.ActiveCfg = Debug|Win32 - {45EEED29-0231-45C6-9682-CAB2E042C51E}.Debug|Win32.Build.0 = Debug|Win32 - {45EEED29-0231-45C6-9682-CAB2E042C51E}.Release|Win32.ActiveCfg = Release|Win32 - {45EEED29-0231-45C6-9682-CAB2E042C51E}.Release|Win32.Build.0 = Release|Win32 - {CAE46373-7375-4607-AAB7-0EBA8F0E5B55}.Debug|Win32.ActiveCfg = Debug|Win32 - {CAE46373-7375-4607-AAB7-0EBA8F0E5B55}.Debug|Win32.Build.0 = Debug|Win32 - {CAE46373-7375-4607-AAB7-0EBA8F0E5B55}.Release|Win32.ActiveCfg = Release|Win32 - {CAE46373-7375-4607-AAB7-0EBA8F0E5B55}.Release|Win32.Build.0 = Release|Win32 - {BCA44D2B-1832-41F5-9EE9-FE1F709EE584}.Debug|Win32.ActiveCfg = Debug|Win32 - {BCA44D2B-1832-41F5-9EE9-FE1F709EE584}.Debug|Win32.Build.0 = Debug|Win32 - {BCA44D2B-1832-41F5-9EE9-FE1F709EE584}.Release|Win32.ActiveCfg = Release|Win32 - {BCA44D2B-1832-41F5-9EE9-FE1F709EE584}.Release|Win32.Build.0 = Release|Win32 - {F4D455E4-464D-49CC-A120-DB9B8AE0207E}.Debug|Win32.ActiveCfg = Debug|Win32 - {F4D455E4-464D-49CC-A120-DB9B8AE0207E}.Debug|Win32.Build.0 = Debug|Win32 - {F4D455E4-464D-49CC-A120-DB9B8AE0207E}.Release|Win32.ActiveCfg = Release|Win32 - {F4D455E4-464D-49CC-A120-DB9B8AE0207E}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/libs/cairomm/MSVC/cairomm/Makefile.am b/libs/cairomm/MSVC/cairomm/Makefile.am deleted file mode 100644 index b0c0ced3ed..0000000000 --- a/libs/cairomm/MSVC/cairomm/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -BUILT_SOURCES = cairomm.rc - -MAINTAINERCLEANFILES = $(built_sources) - -EXTRA_DIST = cairomm.vcproj cairomm.rc diff --git a/libs/cairomm/MSVC/cairomm/Makefile.in b/libs/cairomm/MSVC/cairomm/Makefile.in deleted file mode 100644 index a30d8d2a98..0000000000 --- a/libs/cairomm/MSVC/cairomm/Makefile.in +++ /dev/null @@ -1,350 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/cairomm -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/cairomm.rc.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = cairomm.rc -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -BUILT_SOURCES = cairomm.rc -MAINTAINERCLEANFILES = $(built_sources) -EXTRA_DIST = cairomm.vcproj cairomm.rc -all: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/cairomm/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/cairomm/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -cairomm.rc: $(top_builddir)/config.status $(srcdir)/cairomm.rc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) check-am -all-am: Makefile -installdirs: -install: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/cairomm/cairomm.rc b/libs/cairomm/MSVC/cairomm/cairomm.rc deleted file mode 100644 index 925e3109f9..0000000000 --- a/libs/cairomm/MSVC/cairomm/cairomm.rc +++ /dev/null @@ -1,72 +0,0 @@ -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS - -#include "afxres.h" - -#undef APSTUDIO_READONLY_SYMBOLS - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,4,6,1 - PRODUCTVERSION 1,4,6,1 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The cairomm development team (see AUTHORS)" - VALUE "FileDescription", "The official C++ wrapper for cairo" - VALUE "FileVersion", "1.4.6" - VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)" - VALUE "OriginalFilename", "cairomm-1.0" - VALUE "ProductName", "cairomm" - VALUE "ProductVersion", "1.4.6" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources - -#ifndef APSTUDIO_INVOKED - -#endif // not APSTUDIO_INVOKED diff --git a/libs/cairomm/MSVC/cairomm/cairomm.rc.in b/libs/cairomm/MSVC/cairomm/cairomm.rc.in deleted file mode 100644 index 8c968cf05d..0000000000 --- a/libs/cairomm/MSVC/cairomm/cairomm.rc.in +++ /dev/null @@ -1,72 +0,0 @@ -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS - -#include "afxres.h" - -#undef APSTUDIO_READONLY_SYMBOLS - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @GENERIC_MAJOR_VERSION@,@GENERIC_MINOR_VERSION@,@GENERIC_MICRO_VERSION@,1 - PRODUCTVERSION @GENERIC_MAJOR_VERSION@,@GENERIC_MINOR_VERSION@,@GENERIC_MICRO_VERSION@,1 - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The cairomm development team (see AUTHORS)" - VALUE "FileDescription", "The official C++ wrapper for cairo" - VALUE "FileVersion", "@VERSION@" - VALUE "LegalCopyright", "Distribution is under the LGPL (see COPYING)" - VALUE "OriginalFilename", "cairomm-1.0" - VALUE "ProductName", "cairomm" - VALUE "ProductVersion", "@VERSION@" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // English (U.S.) resources - -#ifndef APSTUDIO_INVOKED - -#endif // not APSTUDIO_INVOKED diff --git a/libs/cairomm/MSVC/cairomm/cairomm.vcproj b/libs/cairomm/MSVC/cairomm/cairomm.vcproj deleted file mode 100644 index ff0136d63b..0000000000 --- a/libs/cairomm/MSVC/cairomm/cairomm.vcproj +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/MSVC/examples/Makefile.am b/libs/cairomm/MSVC/examples/Makefile.am deleted file mode 100644 index a436d388b3..0000000000 --- a/libs/cairomm/MSVC/examples/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = pdf-surface png_file ps-surface svg-surface text-rotate diff --git a/libs/cairomm/MSVC/examples/Makefile.in b/libs/cairomm/MSVC/examples/Makefile.in deleted file mode 100644 index 0035f00efb..0000000000 --- a/libs/cairomm/MSVC/examples/Makefile.in +++ /dev/null @@ -1,497 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/examples -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = pdf-surface png_file ps-surface svg-surface text-rotate -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/examples/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/examples/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-libtool clean-recursive ctags \ - ctags-recursive distclean distclean-generic distclean-libtool \ - distclean-recursive distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-man install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-recursive \ - mostlyclean mostlyclean-generic mostlyclean-libtool \ - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/examples/pdf-surface/Makefile.am b/libs/cairomm/MSVC/examples/pdf-surface/Makefile.am deleted file mode 100644 index e94dba186c..0000000000 --- a/libs/cairomm/MSVC/examples/pdf-surface/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = pdf-surface.vcproj diff --git a/libs/cairomm/MSVC/examples/pdf-surface/Makefile.in b/libs/cairomm/MSVC/examples/pdf-surface/Makefile.in deleted file mode 100644 index 2e03ccee59..0000000000 --- a/libs/cairomm/MSVC/examples/pdf-surface/Makefile.in +++ /dev/null @@ -1,340 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/examples/pdf-surface -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = pdf-surface.vcproj -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/examples/pdf-surface/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/examples/pdf-surface/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/examples/pdf-surface/pdf-surface.vcproj b/libs/cairomm/MSVC/examples/pdf-surface/pdf-surface.vcproj deleted file mode 100644 index 4b33ff71da..0000000000 --- a/libs/cairomm/MSVC/examples/pdf-surface/pdf-surface.vcproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/MSVC/examples/png_file/Makefile.am b/libs/cairomm/MSVC/examples/png_file/Makefile.am deleted file mode 100644 index 41f7722c22..0000000000 --- a/libs/cairomm/MSVC/examples/png_file/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = png_file.vcproj diff --git a/libs/cairomm/MSVC/examples/png_file/Makefile.in b/libs/cairomm/MSVC/examples/png_file/Makefile.in deleted file mode 100644 index 595d6525ce..0000000000 --- a/libs/cairomm/MSVC/examples/png_file/Makefile.in +++ /dev/null @@ -1,340 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/examples/png_file -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = png_file.vcproj -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/examples/png_file/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/examples/png_file/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/examples/png_file/png_file.vcproj b/libs/cairomm/MSVC/examples/png_file/png_file.vcproj deleted file mode 100644 index 364ddc377f..0000000000 --- a/libs/cairomm/MSVC/examples/png_file/png_file.vcproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/MSVC/examples/ps-surface/Makefile.am b/libs/cairomm/MSVC/examples/ps-surface/Makefile.am deleted file mode 100644 index d827e579d9..0000000000 --- a/libs/cairomm/MSVC/examples/ps-surface/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = ps-surface.vcproj diff --git a/libs/cairomm/MSVC/examples/ps-surface/Makefile.in b/libs/cairomm/MSVC/examples/ps-surface/Makefile.in deleted file mode 100644 index 07beebac98..0000000000 --- a/libs/cairomm/MSVC/examples/ps-surface/Makefile.in +++ /dev/null @@ -1,340 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/examples/ps-surface -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = ps-surface.vcproj -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/examples/ps-surface/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/examples/ps-surface/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/examples/ps-surface/ps-surface.vcproj b/libs/cairomm/MSVC/examples/ps-surface/ps-surface.vcproj deleted file mode 100644 index 5100f8f6f1..0000000000 --- a/libs/cairomm/MSVC/examples/ps-surface/ps-surface.vcproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/MSVC/examples/svg-surface/Makefile.am b/libs/cairomm/MSVC/examples/svg-surface/Makefile.am deleted file mode 100644 index 4ce523efe4..0000000000 --- a/libs/cairomm/MSVC/examples/svg-surface/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = svg-surface.vcproj diff --git a/libs/cairomm/MSVC/examples/svg-surface/Makefile.in b/libs/cairomm/MSVC/examples/svg-surface/Makefile.in deleted file mode 100644 index 0783ac304c..0000000000 --- a/libs/cairomm/MSVC/examples/svg-surface/Makefile.in +++ /dev/null @@ -1,340 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/examples/svg-surface -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = svg-surface.vcproj -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/examples/svg-surface/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/examples/svg-surface/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/examples/svg-surface/svg-surface.vcproj b/libs/cairomm/MSVC/examples/svg-surface/svg-surface.vcproj deleted file mode 100644 index 439783303b..0000000000 --- a/libs/cairomm/MSVC/examples/svg-surface/svg-surface.vcproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/MSVC/examples/text-rotate/Makefile.am b/libs/cairomm/MSVC/examples/text-rotate/Makefile.am deleted file mode 100644 index 6eb15e42cd..0000000000 --- a/libs/cairomm/MSVC/examples/text-rotate/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = text-rotate.vcproj diff --git a/libs/cairomm/MSVC/examples/text-rotate/Makefile.in b/libs/cairomm/MSVC/examples/text-rotate/Makefile.in deleted file mode 100644 index c3e98ba68f..0000000000 --- a/libs/cairomm/MSVC/examples/text-rotate/Makefile.in +++ /dev/null @@ -1,340 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/examples/text-rotate -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = text-rotate.vcproj -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/examples/text-rotate/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/examples/text-rotate/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/examples/text-rotate/text-rotate.vcproj b/libs/cairomm/MSVC/examples/text-rotate/text-rotate.vcproj deleted file mode 100644 index ec6bc5041a..0000000000 --- a/libs/cairomm/MSVC/examples/text-rotate/text-rotate.vcproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/MSVC/gendef/Makefile.am b/libs/cairomm/MSVC/gendef/Makefile.am deleted file mode 100644 index 3a435c34a2..0000000000 --- a/libs/cairomm/MSVC/gendef/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -EXTRA_DIST = gendef.vcproj gendef.cc - diff --git a/libs/cairomm/MSVC/gendef/Makefile.in b/libs/cairomm/MSVC/gendef/Makefile.in deleted file mode 100644 index 7e2688b6dd..0000000000 --- a/libs/cairomm/MSVC/gendef/Makefile.in +++ /dev/null @@ -1,340 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = MSVC/gendef -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = gendef.vcproj gendef.cc -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu MSVC/gendef/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu MSVC/gendef/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/MSVC/gendef/gendef.cc b/libs/cairomm/MSVC/gendef/gendef.cc deleted file mode 100644 index cf665604ae..0000000000 --- a/libs/cairomm/MSVC/gendef/gendef.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * MICO --- an Open Source CORBA implementation - * Copyright (c) 2003 Harald Böhme - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * For more information, visit the MICO Home Page at - * http://www.mico.org/ - */ - -/* Modified by Cedric Gustin on 2006/01/13 : - * Redirect the output of dumpbin to dumpbin.out instead of reading the - * output stream of popen, as it fails with Visual Studio 2005 in - * pre-link build events. - */ - -#include -#include -#include - -using namespace std; - -int main(int argc,char** argv) -{ - if (argc < 4) { - cerr << "Usage: " << argv[0] << " ...." << endl; - return 2; - } - - // CG : Explicitly redirect stdout to dumpbin.out. - string dumpbin = "dumpbin /SYMBOLS /OUT:dumpbin.out"; - int i = 3; - - for(;i fct - def_file << " " << (s+1) << endl; - else - if(strchr(s,'?')!=0 && strncmp(s,"??_G",4)!=0 && strncmp(s,"??_E",4)!=0) { - def_file << " " << s << endl; - } - } - } - } - - // CG : Close dumpbin.out and delete it. - fclose(dump); - remove("dumpbin.out"); - - cout << dumpbin.c_str() << endl; -} diff --git a/libs/cairomm/MSVC/gendef/gendef.vcproj b/libs/cairomm/MSVC/gendef/gendef.vcproj deleted file mode 100644 index fb05b48598..0000000000 --- a/libs/cairomm/MSVC/gendef/gendef.vcproj +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libs/cairomm/Makefile.am b/libs/cairomm/Makefile.am deleted file mode 100644 index 8d5ce0ec61..0000000000 --- a/libs/cairomm/Makefile.am +++ /dev/null @@ -1,126 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = cairomm examples MSVC $(DOCS_SUBDIR) tests -#docs examples -ACLOCAL_AMFLAGS = -I m4 - -EXTRA_DIST = MAINTAINERS cairomm-1.0.pc.in - -DIST_SUBDIRS = $(SUBDIRS) - -# Install the pkg-config file: -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = cairomm-1.0.pc - -# Copied from cairo/Makefile.am: -# -# Some custom targets to make it easier to release things. -# Use either: -# make release-check -# or make release-publish - -RELEASE_UPLOAD_HOST = cairographics.org -RELEASE_UPLOAD_BASE = /srv/cairo.freedesktop.org/www -RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases -RELEASE_URL_BASE = http://cairographics.org/releases -RELEASE_ANNOUNCE_LIST = cairo-announce@cairographics.org (and CC gnome-announce-list@gnome.org) -GIT = $(top_srcdir)/missing --run git - -#MANUAL_DATED = cairo-manual-`date +%Y%m%d` -#MANUAL_TAR_FILE = $(MANUAL_DATED).tar.gz -#MANUAL_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE) - -tar_file = $(PACKAGE)-$(VERSION).tar.gz -sha1_file = $(tar_file).sha1 -gpg_file = $(sha1_file).asc - -$(sha1_file): $(tar_file) - sha1sum $^ > $@ - -$(gpg_file): $(sha1_file) - @echo "Please enter your GPG password to sign the checksum." - gpg --armor --sign $^ - -release-verify-even-micro: - @echo -n "Checking that $(VERSION) has an even micro component..." - @test "$(GENERIC_MICRO_VERSION)" = "`echo $(GENERIC_MICRO_VERSION)/2*2 | bc`" \ - || (echo "Ouch." && echo "The version micro component '$(GENERIC_MICRO_VERSION)' is not an even number." \ - && echo "The version in configure.in must be incremented before a new release." \ - && false) - @echo "Good." - -release-verify-newer: - @echo -n "Checking that no $(VERSION) release already exists..." - @ssh $(RELEASE_UPLOAD_HOST) test ! -e $(RELEASE_UPLOAD_DIR)/$(tar_file) \ - || (echo "Ouch." && echo "Found: $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)/$(tar_file)" \ - && echo "Are you sure you have an updated git checkout?" \ - && echo "This should never happen." \ - && false) - @echo "Good." - -release-remove-old: - rm -f $(tar_file) $(sha1_file) $(gpg_file) - -# Maybe it's just my system, but somehow group sticky bits keep -# getting set and this causes failures in un-tarring on some systems. -# Until I figure out where the sticky bit is coming from, just clean -# these up before building a release. -release-cleanup-group-sticky: - find . -type f | xargs chmod g-s - -release-check: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck - -release-upload: release-check $(tar_file) $(sha1_file) $(gpg_file) - mkdir -p releases - scp $(tar_file) $(sha1_file) $(gpg_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR) - mv $(tar_file) $(sha1_file) $(gpg_file) releases - ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(tar_file) $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)" - $(GIT) tag -s -m "$(PACKAGE) release $(VERSION)" v$(VERSION) - -doc-publish: - (cd docs/reference && $(MAKE) $(AM_MAKEFLAGS) publish) - -release-publish: release-upload doc-publish releases/$(sha1_file) - @echo "" - @echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)" - @echo "including the following:" - @echo "" - @echo "Subject: $(PACKAGE) release $(VERSION) now available" - @echo "" - @echo "============================== CUT HERE ==============================" - @echo "cairomm is a C++ API for the cairo graphics library. For more " - @echo "information, see http://cairographics.org/cairomm" - @echo "" - @echo "A new $(PACKAGE) release $(VERSION) is now available from:" - @echo "" - @echo " $(RELEASE_URL_BASE)/$(tar_file)" - @echo "" - @echo " which can be verified with:" - @echo "" - @echo " $(RELEASE_URL_BASE)/$(sha1_file)" - @echo -n " " - @cat releases/$(sha1_file) - @echo "" - @echo " $(RELEASE_URL_BASE)/$(gpg_file)" - @echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)" - @echo "" - @echo "WHAT'S NEW" - @echo "==========" - @echo "" - @echo "============================== CUT HERE ==============================" - @echo "Also, please include the new entries from the NEWS file." - @echo "" - @echo "Last but not least, do not forget to bump up the micro" - @echo "version component to the next (odd) number and commit." - - -doc-clean-recursive: - (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-clean) - -doc-clean: doc-clean-recursive - -doc-rebuild: - (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild) - -.PHONY: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky release-check release-upload release-publish doc-clean doc-clean-recursive doc-rebuild - diff --git a/libs/cairomm/Makefile.in b/libs/cairomm/Makefile.in deleted file mode 100644 index e1361e3ad7..0000000000 --- a/libs/cairomm/Makefile.in +++ /dev/null @@ -1,770 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/cairomm-1.0.pc.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ - config.guess config.sub depcomp install-sh ltmain.sh missing -subdir = . -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno configure.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = cairomm-1.0.pc -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(pkgconfigdir)" -pkgconfigDATA_INSTALL = $(INSTALL_DATA) -DATA = $(pkgconfig_DATA) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d $(distdir) \ - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr $(distdir); }; } -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = cairomm examples MSVC $(DOCS_SUBDIR) tests -#docs examples -ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = MAINTAINERS cairomm-1.0.pc.in -DIST_SUBDIRS = $(SUBDIRS) - -# Install the pkg-config file: -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = cairomm-1.0.pc - -# Copied from cairo/Makefile.am: -# -# Some custom targets to make it easier to release things. -# Use either: -# make release-check -# or make release-publish -RELEASE_UPLOAD_HOST = cairographics.org -RELEASE_UPLOAD_BASE = /srv/cairo.freedesktop.org/www -RELEASE_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE)/releases -RELEASE_URL_BASE = http://cairographics.org/releases -RELEASE_ANNOUNCE_LIST = cairo-announce@cairographics.org (and CC gnome-announce-list@gnome.org) -GIT = $(top_srcdir)/missing --run git - -#MANUAL_DATED = cairo-manual-`date +%Y%m%d` -#MANUAL_TAR_FILE = $(MANUAL_DATED).tar.gz -#MANUAL_UPLOAD_DIR = $(RELEASE_UPLOAD_BASE) -tar_file = $(PACKAGE)-$(VERSION).tar.gz -sha1_file = $(tar_file).sha1 -gpg_file = $(sha1_file).asc -all: all-recursive - -.SUFFIXES: -am--refresh: - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ - cd $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -cairomm-1.0.pc: $(top_builddir)/config.status $(srcdir)/cairomm-1.0.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ - $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ - rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - $(am__remove_distdir) - mkdir $(distdir) - $(mkdir_p) $(distdir)/. $(distdir)/MSVC/cairomm $(distdir)/docs/reference $(distdir)/m4 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r $(distdir) -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' -distuninstallcheck: - @cd $(distuninstallcheck_dir) \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-recursive -all-am: Makefile $(DATA) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-pkgconfigDATA - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am uninstall-pkgconfigDATA - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ - check-am clean clean-generic clean-libtool clean-recursive \ - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ - dist-shar dist-tarZ dist-zip distcheck distclean \ - distclean-generic distclean-libtool distclean-recursive \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-pkgconfigDATA \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-generic \ - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am uninstall-info-am \ - uninstall-pkgconfigDATA - - -$(sha1_file): $(tar_file) - sha1sum $^ > $@ - -$(gpg_file): $(sha1_file) - @echo "Please enter your GPG password to sign the checksum." - gpg --armor --sign $^ - -release-verify-even-micro: - @echo -n "Checking that $(VERSION) has an even micro component..." - @test "$(GENERIC_MICRO_VERSION)" = "`echo $(GENERIC_MICRO_VERSION)/2*2 | bc`" \ - || (echo "Ouch." && echo "The version micro component '$(GENERIC_MICRO_VERSION)' is not an even number." \ - && echo "The version in configure.in must be incremented before a new release." \ - && false) - @echo "Good." - -release-verify-newer: - @echo -n "Checking that no $(VERSION) release already exists..." - @ssh $(RELEASE_UPLOAD_HOST) test ! -e $(RELEASE_UPLOAD_DIR)/$(tar_file) \ - || (echo "Ouch." && echo "Found: $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR)/$(tar_file)" \ - && echo "Are you sure you have an updated git checkout?" \ - && echo "This should never happen." \ - && false) - @echo "Good." - -release-remove-old: - rm -f $(tar_file) $(sha1_file) $(gpg_file) - -# Maybe it's just my system, but somehow group sticky bits keep -# getting set and this causes failures in un-tarring on some systems. -# Until I figure out where the sticky bit is coming from, just clean -# these up before building a release. -release-cleanup-group-sticky: - find . -type f | xargs chmod g-s - -release-check: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck - -release-upload: release-check $(tar_file) $(sha1_file) $(gpg_file) - mkdir -p releases - scp $(tar_file) $(sha1_file) $(gpg_file) $(RELEASE_UPLOAD_HOST):$(RELEASE_UPLOAD_DIR) - mv $(tar_file) $(sha1_file) $(gpg_file) releases - ssh $(RELEASE_UPLOAD_HOST) "rm -f $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-[0-9]* && ln -s $(tar_file) $(RELEASE_UPLOAD_DIR)/LATEST-$(PACKAGE)-$(VERSION)" - $(GIT) tag -s -m "$(PACKAGE) release $(VERSION)" v$(VERSION) - -doc-publish: - (cd docs/reference && $(MAKE) $(AM_MAKEFLAGS) publish) - -release-publish: release-upload doc-publish releases/$(sha1_file) - @echo "" - @echo "Please send an announcement to $(RELEASE_ANNOUNCE_LIST)" - @echo "including the following:" - @echo "" - @echo "Subject: $(PACKAGE) release $(VERSION) now available" - @echo "" - @echo "============================== CUT HERE ==============================" - @echo "cairomm is a C++ API for the cairo graphics library. For more " - @echo "information, see http://cairographics.org/cairomm" - @echo "" - @echo "A new $(PACKAGE) release $(VERSION) is now available from:" - @echo "" - @echo " $(RELEASE_URL_BASE)/$(tar_file)" - @echo "" - @echo " which can be verified with:" - @echo "" - @echo " $(RELEASE_URL_BASE)/$(sha1_file)" - @echo -n " " - @cat releases/$(sha1_file) - @echo "" - @echo " $(RELEASE_URL_BASE)/$(gpg_file)" - @echo " (signed by `getent passwd "$$USER" | cut -d: -f 5 | cut -d, -f 1`)" - @echo "" - @echo "WHAT'S NEW" - @echo "==========" - @echo "" - @echo "============================== CUT HERE ==============================" - @echo "Also, please include the new entries from the NEWS file." - @echo "" - @echo "Last but not least, do not forget to bump up the micro" - @echo "version component to the next (odd) number and commit." - -doc-clean-recursive: - (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-clean) - -doc-clean: doc-clean-recursive - -doc-rebuild: - (cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild) - -.PHONY: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky release-check release-upload release-publish doc-clean doc-clean-recursive doc-rebuild -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/NEWS b/libs/cairomm/NEWS deleted file mode 100644 index a6cd00118f..0000000000 --- a/libs/cairomm/NEWS +++ /dev/null @@ -1,107 +0,0 @@ -1.4.6: - - * Bugfixes: - - Bug #11972: Cannot build cairomm with Quartz enabled - -1.4.4: - - * Added the --enable-api-exceptions=yes/no configure option, to allow - cairomm to build when exceptions are disabled. For instance, when using - CXXFLAGS=-fno-exceptions with g++. - -1.4.2: - - * Bugfixes: - - Bug #11596: Fixed broken shared library versioning (Dave Beckett) - - Bug #8511: RefPtr: refcounting broken with cast_*() methods (Murray - Cumming) - -1.4.0: - - * Wrapped new API added in cairo 1.4 - * Added support for Quartz surfaces - * ability to use dynamic casting for surfaces and patterns returned from - Context::get_target(), Context::get_source(), etc. - * Various build and bug fixes - -1.2.4: - - * Fixed an error that prevented Cairo::RefPtr<>::cast_static() and - Cairo::RefPtr<>::cast_dynamic() from compiling. - -1.2.2: - -* Fixed an issue when compiling on windows with MSVC - -1.2.0: - -* This is the first release that guarantees API and ABI stability -* Changed API: - - Context::clear_path() is now Context::begin_new_path() - - Context::new_sub_path() is now Context::begin_new_sub_path() -* new API: - - Win32Surface::get_dc() - - Win32Surface::create() for device-independent bitmaps -* Bugfixes - - fixed a memory leak where C++ wrapper objects were not being destroyed -* Fixes for compiling with MSVC (also includes project and resource files for - Visual Studio 2005. See the MSVC/ directory) - -1.1.10: - -* API: - - Wrap new API from cairo 1.2 - - Wrap ScaledFont -* Improved Documentation -* Build fixes - -0.6.0: - -* API: - - enumerations are now wrapped within the Cairo namespace. So, for example, - CAIRO_FORMAT_ARGB32 becomes Cairo::FORMAT_ARGB32 -* Examples: added simple text example translated from Cairo. -* Bugfixes for the Glitz and Windows backends. -* Build and installation improvements (Danilo Piazzalunga) - -0.5.0: - -* Surface: - - Created derived classes for PDF, PS, SVG, Glitz, - X11 and Win32 surfaces, which are only available if your copy - of cairo supports those surfaces. The X11 and Win32 Surface headers - must be #included explicitly. - (Jonathon Jongsma) - - Added write_to_png() and write_to_png_stream(), available when PNG - support is available in Cairo. - (Jonathon Jongsma) -* Examples: Added PNG, PDF, PS, and SVG Surface examples. - (Jonathon Jongsma) -* Added API documentation generation with doxygen (Jonathon Jongsma) - -0.4.0: - -* Add Cairo::RefPtr<> and use all reference-counted - objects via it. Use the static create() methods - instead of new for these classes. -* Context: - - Change set_dash(void) to unset_dash(). - - Change rotate_deg() to rotate_degrees(). - - Change identity_matrix() to set_identity_matrix().\ - - Change new_path() to clear_path(). -* FontFace: Remove get/set_user_data(), because it seems useless. - -0.3.0: - -* Context: - - Change mask_surface() to mask() and - set_source_surface() to set_source(). - - Add typedef for Matrix, but a real Matrix - class would be nice. -* Pattern: Created hierarchy of classes. -* Check for errors in constructors. -* Exception: Rename to logic_error, and throw - std::bad_alloc or std::io_base::failure instead - when appropriate. - (Murray Cumming) - diff --git a/libs/cairomm/README b/libs/cairomm/README deleted file mode 100644 index 6605a4e338..0000000000 --- a/libs/cairomm/README +++ /dev/null @@ -1,13 +0,0 @@ -cairomm -------------- - -This library provides a C++ interface to cairo. - -Read the file 'INSTALL' for instructions to compile and install the library. - -See the examples directory for example code. - -Use pkg-config to discover the necessary include and linker arguments. For instance, - pkg-config cairomm-1.0 --cflags --libs -Ideally you would use PKG_CHECK_MODULES in your configure.ac file. -See http://www.openismus.com for generic help with that. diff --git a/libs/cairomm/SConscript b/libs/cairomm/SConscript deleted file mode 100644 index b31f5890f0..0000000000 --- a/libs/cairomm/SConscript +++ /dev/null @@ -1,33 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -cairomm_files = glob.glob('cairomm/*.cc') - -Import('env libraries install_prefix') - -cairomm = env.Clone() -cairomm.Merge([libraries['cairo']]) - -cairomm.Append(CXXFLAGS='-DHAVE_CONFIG_H') - -libcairomm = cairomm.SharedLibrary('cairomm', cairomm_files) - -Default([libcairomm]) - -env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libcairomm)) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript', - 'cairomm/cairomm.h', - 'configure', - 'Makefile.in', - 'cairomm-1.0.pc.in', - 'Makefile.in' - ] + - cairomm_files + - glob.glob('cairomm/*.h') - )) - diff --git a/libs/cairomm/aclocal.m4 b/libs/cairomm/aclocal.m4 deleted file mode 100644 index 6753636ee0..0000000000 --- a/libs/cairomm/aclocal.m4 +++ /dev/null @@ -1,7604 +0,0 @@ -# generated automatically by aclocal 1.9.6 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- - -# serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL - - -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) -# ----------------------------------------------------------- -# If this macro is not defined by Autoconf, define it here. -m4_ifdef([AC_PROVIDE_IFELSE], - [], - [m4_define([AC_PROVIDE_IFELSE], - [m4_ifdef([AC_PROVIDE_$1], - [$2], [$3])])]) - - -# AC_PROG_LIBTOOL -# --------------- -AC_DEFUN([AC_PROG_LIBTOOL], -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. - AC_PROVIDE_IFELSE([AC_PROG_CXX], - [AC_LIBTOOL_CXX], - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX - ])]) -dnl And a similar setup for Fortran 77 support - AC_PROVIDE_IFELSE([AC_PROG_F77], - [AC_LIBTOOL_F77], - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 -])]) - -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. - AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [ifdef([AC_PROG_GCJ], - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([A][M_PROG_GCJ], - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([LT_AC_PROG_GCJ], - [define([LT_AC_PROG_GCJ], - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) -])])# AC_PROG_LIBTOOL - - -# _AC_PROG_LIBTOOL -# ---------------- -AC_DEFUN([_AC_PROG_LIBTOOL], -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -# Prevent multiple expansion -define([AC_PROG_LIBTOOL], []) -])# _AC_PROG_LIBTOOL - - -# AC_LIBTOOL_SETUP -# ---------------- -AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AC_ENABLE_SHARED])dnl -AC_REQUIRE([AC_ENABLE_STATIC])dnl -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_LD])dnl -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl -AC_REQUIRE([AC_PROG_NM])dnl - -AC_REQUIRE([AC_PROG_LN_S])dnl -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -AC_REQUIRE([AC_OBJEXT])dnl -AC_REQUIRE([AC_EXEEXT])dnl -dnl - -AC_LIBTOOL_SYS_MAX_CMD_LEN -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -AC_LIBTOOL_OBJDIR - -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -_LT_AC_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] - -# Same as above, but do not quote variable references. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" - -AC_CHECK_TOOL(AR, ar, false) -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC - fi - ;; -esac - -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) - -AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -AC_ARG_WITH([pic], - [AC_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) -test -z "$pic_mode" && pic_mode=default - -# Use C for the default configuration in the libtool script -tagname= -AC_LIBTOOL_LANG_C_CONFIG -_LT_AC_TAGCONFIG -])# AC_LIBTOOL_SETUP - - -# _LT_AC_SYS_COMPILER -# ------------------- -AC_DEFUN([_LT_AC_SYS_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_AC_SYS_COMPILER - - -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -AC_DEFUN([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` -]) - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -AC_DEFUN([_LT_COMPILER_BOILERPLATE], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -AC_DEFUN([_LT_LINKER_BOILERPLATE], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_LINKER_BOILERPLATE - - -# _LT_AC_SYS_LIBPATH_AIX -# ---------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_AC_SYS_LIBPATH_AIX - - -# _LT_AC_SHELL_INIT(ARG) -# ---------------------- -AC_DEFUN([_LT_AC_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_AC_SHELL_INIT - - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[_LT_AC_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1 && unset CDPATH - -if test -z "$ECHO"; then -if test "X${echo_test_string+set}" != Xset; then -# find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if (echo_test_string=`eval $cmd`) 2>/dev/null && - echo_test_string=`eval $cmd` && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi - -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(ECHO) -])])# _LT_AC_PROG_ECHO_BACKSLASH - - -# _LT_AC_LOCK -# ----------- -AC_DEFUN([_LT_AC_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) LD="${LD-ld} -64" ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; - ]) -esac - -need_locks="$enable_libtool_lock" - -])# _LT_AC_LOCK - - -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED]) -AC_CACHE_CHECK([$1], [$2], - [$2=no - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $rm conftest* -]) - -if test x"[$]$2" = xyes; then - ifelse([$5], , :, [$5]) -else - ifelse([$6], , :, [$6]) -fi -])# AC_LIBTOOL_COMPILER_OPTION - - -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ------------------------------------------------------------ -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - ifelse([$4], , :, [$4]) -else - ifelse([$5], , :, [$5]) -fi -])# AC_LIBTOOL_LINKER_OPTION - - -# AC_LIBTOOL_SYS_MAX_CMD_LEN -# -------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], -[# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -])# AC_LIBTOOL_SYS_MAX_CMD_LEN - - -# _LT_AC_CHECK_DLFCN -# ------------------ -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h)dnl -])# _LT_AC_CHECK_DLFCN - - -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# --------------------------------------------------------------------- -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -}] -EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_AC_TRY_DLOPEN_SELF - - -# AC_LIBTOOL_DLOPEN_SELF -# ---------------------- -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -])# AC_LIBTOOL_DLOPEN_SELF - - -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) -# --------------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* -]) -])# AC_LIBTOOL_PROG_CC_C_O - - -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) -# ----------------------------------------- -# Check to see if we can do hard links to lock some files if needed -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], -[AC_REQUIRE([_LT_AC_LOCK])dnl - -hard_links="nottested" -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS - - -# AC_LIBTOOL_OBJDIR -# ----------------- -AC_DEFUN([AC_LIBTOOL_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -])# AC_LIBTOOL_OBJDIR - - -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) -# ---------------------------------------------- -# Check hardcoding attributes. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_AC_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_AC_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH - - -# AC_LIBTOOL_SYS_LIB_STRIP -# ------------------------ -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], -[striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -])# AC_LIBTOOL_SYS_LIB_STRIP - - -# AC_LIBTOOL_SYS_DYNAMIC_LINKER -# ----------------------------- -# PORTME Fill in your ld.so characteristics -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -m4_if($1,[],[ -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[[lt_foo]]++; } - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`echo $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi]) -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[[3-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER - - -# _LT_AC_TAGCONFIG -# ---------------- -AC_DEFUN([_LT_AC_TAGCONFIG], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_ARG_WITH([tags], - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], - [include additional configurations @<:@automatic@:>@])], - [tagnames="$withval"]) - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - AC_MSG_WARN([output file `$ofile' does not exist]) - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) - else - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) - fi - fi - if test -z "$LTCFLAGS"; then - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" - fi - - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` - - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in - "") ;; - *) AC_MSG_ERROR([invalid tag name: $tagname]) - ;; - esac - - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - AC_MSG_ERROR([tag name \"$tagname\" already exists]) - fi - - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_LIBTOOL_LANG_CXX_CONFIG - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then - AC_LIBTOOL_LANG_F77_CONFIG - else - tagname="" - fi - ;; - - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then - AC_LIBTOOL_LANG_GCJ_CONFIG - else - tagname="" - fi - ;; - - RC) - AC_LIBTOOL_LANG_RC_CONFIG - ;; - - *) - AC_MSG_ERROR([Unsupported tag name: $tagname]) - ;; - esac - - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" - - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - AC_MSG_ERROR([unable to update list of available tagged configurations.]) - fi -fi -])# _LT_AC_TAGCONFIG - - -# AC_LIBTOOL_DLOPEN -# ----------------- -# enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_DLOPEN - - -# AC_LIBTOOL_WIN32_DLL -# -------------------- -# declare package support for building win32 DLLs -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_WIN32_DLL - - -# AC_ENABLE_SHARED([DEFAULT]) -# --------------------------- -# implement the --enable-shared flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([shared], - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]AC_ENABLE_SHARED_DEFAULT) -])# AC_ENABLE_SHARED - - -# AC_DISABLE_SHARED -# ----------------- -# set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no) -])# AC_DISABLE_SHARED - - -# AC_ENABLE_STATIC([DEFAULT]) -# --------------------------- -# implement the --enable-static flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([static], - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]AC_ENABLE_STATIC_DEFAULT) -])# AC_ENABLE_STATIC - - -# AC_DISABLE_STATIC -# ----------------- -# set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no) -])# AC_DISABLE_STATIC - - -# AC_ENABLE_FAST_INSTALL([DEFAULT]) -# --------------------------------- -# implement the --enable-fast-install flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([fast-install], - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) -])# AC_ENABLE_FAST_INSTALL - - -# AC_DISABLE_FAST_INSTALL -# ----------------------- -# set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no) -])# AC_DISABLE_FAST_INSTALL - - -# AC_LIBTOOL_PICMODE([MODE]) -# -------------------------- -# implement the --with-pic flag -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default) -])# AC_LIBTOOL_PICMODE - - -# AC_PROG_EGREP -# ------------- -# This is predefined starting with Autoconf 2.54, so this conditional -# definition can be removed once we require Autoconf 2.54 or later. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 - then ac_cv_prog_egrep='grep -E' - else ac_cv_prog_egrep='egrep' - fi]) - EGREP=$ac_cv_prog_egrep - AC_SUBST([EGREP]) -])]) - - -# AC_PATH_TOOL_PREFIX -# ------------------- -# find a file program which can recognize shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -])# AC_PATH_TOOL_PREFIX - - -# AC_PATH_MAGIC -# ------------- -# find a file program which can recognize a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# AC_PATH_MAGIC - - -# AC_PROG_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH([gnu-ld], - [AC_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no]) -AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[[3-9]]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown -])# AC_DEPLIBS_CHECK_METHOD - - -# AC_PROG_NM -# ---------- -# find the pathname to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -])# AC_PROG_NM - - -# AC_CHECK_LIBM -# ------------- -# check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -])# AC_CHECK_LIBM - - -# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' -# (note the single quotes!). If your package is not flat and you're not -# using automake, define top_builddir and top_srcdir appropriately in -# the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_CONVENIENCE - - -# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl installable library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# and an installed libltdl is not found, it is assumed to be `libltdl'. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and top_srcdir -# appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, lt_dlinit, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_INSTALLABLE - - -# AC_LIBTOOL_CXX -# -------------- -# enable support for C++ libraries -AC_DEFUN([AC_LIBTOOL_CXX], -[AC_REQUIRE([_LT_AC_LANG_CXX]) -])# AC_LIBTOOL_CXX - - -# _LT_AC_LANG_CXX -# --------------- -AC_DEFUN([_LT_AC_LANG_CXX], -[AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) -])# _LT_AC_LANG_CXX - -# _LT_AC_PROG_CXXCPP -# ------------------ -AC_DEFUN([_LT_AC_PROG_CXXCPP], -[ -AC_REQUIRE([AC_PROG_CXX]) -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -fi -])# _LT_AC_PROG_CXXCPP - -# AC_LIBTOOL_F77 -# -------------- -# enable support for Fortran 77 libraries -AC_DEFUN([AC_LIBTOOL_F77], -[AC_REQUIRE([_LT_AC_LANG_F77]) -])# AC_LIBTOOL_F77 - - -# _LT_AC_LANG_F77 -# --------------- -AC_DEFUN([_LT_AC_LANG_F77], -[AC_REQUIRE([AC_PROG_F77]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) -])# _LT_AC_LANG_F77 - - -# AC_LIBTOOL_GCJ -# -------------- -# enable support for GCJ libraries -AC_DEFUN([AC_LIBTOOL_GCJ], -[AC_REQUIRE([_LT_AC_LANG_GCJ]) -])# AC_LIBTOOL_GCJ - - -# _LT_AC_LANG_GCJ -# --------------- -AC_DEFUN([_LT_AC_LANG_GCJ], -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) -])# _LT_AC_LANG_GCJ - - -# AC_LIBTOOL_RC -# ------------- -# enable support for Windows resource files -AC_DEFUN([AC_LIBTOOL_RC], -[AC_REQUIRE([LT_AC_PROG_RC]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) -])# AC_LIBTOOL_RC - - -# AC_LIBTOOL_LANG_C_CONFIG -# ------------------------ -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) -AC_DEFUN([_LT_AC_LANG_C_CONFIG], -[lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_DLOPEN_SELF - -# Report which library types will actually be built -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) - -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) - -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_C_CONFIG - - -# AC_LIBTOOL_LANG_CXX_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], -[AC_LANG_PUSH(C++) -AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Dependencies to place before and after the object being linked: -_LT_AC_TAGVAR(predep_objects, $1)= -_LT_AC_TAGVAR(postdep_objects, $1)= -_LT_AC_TAGVAR(predeps, $1)= -_LT_AC_TAGVAR(postdeps, $1)= -_LT_AC_TAGVAR(compiler_lib_search_path, $1)= - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx -else - $as_unset lt_cv_prog_gnu_ld -fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX -else - $as_unset lt_cv_path_LD -fi -test -z "${LDCXX+set}" || LD=$LDCXX -CC=${CXX-"c++"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -# We don't want -fno-exception wen compiling C++ code, so set the -# no_builtin_flag separately -if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -else - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -fi - -if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - AC_PROG_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ - grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - -else - GXX=no - with_gnu_ld=no - wlarc= -fi - -# PORTME: fill in a description of your system's C++ link characteristics -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -_LT_AC_TAGVAR(ld_shlibs, $1)=yes -case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes ; then - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - freebsd-elf*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - ;; - gnu*) - ;; - hpux9*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) ;; - *) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - interix[[3-9]]*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc*) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC*) - # Portland Group C++ compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - m88k*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - openbsd2*) - # C++ shared libraries are fairly broken - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd='echo' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - osf3*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ - $rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - # So that behaviour is only enabled if SCOABSPATH is set to a - # non-empty value in the environment. Most likely only useful for - # creating official distributions of packages. - # This is a hack until libtool officially supports absolute path - # names for shared libraries. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - vxworks*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; -esac -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_AC_TAGVAR(GCC, $1)="$GXX" -_LT_AC_TAGVAR(LD, $1)="$LD" - -AC_LIBTOOL_POSTDEP_PREDEP($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -])# AC_LIBTOOL_LANG_CXX_CONFIG - -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) -# ------------------------------------ -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - # - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - if test "$solaris_use_stlport4" != yes; then - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac -]) - -case " $_LT_AC_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac -])# AC_LIBTOOL_POSTDEP_PREDEP - -# AC_LIBTOOL_LANG_F77_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) -AC_DEFUN([_LT_AC_LANG_F77_CONFIG], -[AC_REQUIRE([AC_PROG_F77]) -AC_LANG_PUSH(Fortran 77) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="\ - subroutine t - return - end -" - -# Code to be used in simple link tests -lt_simple_link_test_code="\ - program t - end -" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${F77-"f77"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) - -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) - -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -_LT_AC_TAGVAR(GCC, $1)="$G77" -_LT_AC_TAGVAR(LD, $1)="$LD" - -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_F77_CONFIG - - -# AC_LIBTOOL_LANG_GCJ_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], -[AC_LANG_SAVE - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${GCJ-"gcj"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds - -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_RESTORE -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_GCJ_CONFIG - - -# AC_LIBTOOL_LANG_RC_CONFIG -# ------------------------- -# Ensure that the configuration vars for the Windows resource compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) -AC_DEFUN([_LT_AC_LANG_RC_CONFIG], -[AC_LANG_SAVE - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${RC-"windres"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_RESTORE -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_RC_CONFIG - - -# AC_LIBTOOL_CONFIG([TAGNAME]) -# ---------------------------- -# If TAGNAME is not passed, then create an initial libtool script -# with a default configuration from the untagged config vars. Otherwise -# add code to config.status for appending the configuration named by -# TAGNAME from the matching tagged config vars. -AC_DEFUN([AC_LIBTOOL_CONFIG], -[# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - _LT_AC_TAGVAR(compiler, $1) \ - _LT_AC_TAGVAR(CC, $1) \ - _LT_AC_TAGVAR(LD, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ - _LT_AC_TAGVAR(old_archive_cmds, $1) \ - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ - _LT_AC_TAGVAR(predep_objects, $1) \ - _LT_AC_TAGVAR(postdep_objects, $1) \ - _LT_AC_TAGVAR(predeps, $1) \ - _LT_AC_TAGVAR(postdeps, $1) \ - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ - _LT_AC_TAGVAR(archive_cmds, $1) \ - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ - _LT_AC_TAGVAR(postinstall_cmds, $1) \ - _LT_AC_TAGVAR(postuninstall_cmds, $1) \ - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ - _LT_AC_TAGVAR(allow_undefined_flag, $1) \ - _LT_AC_TAGVAR(no_undefined_flag, $1) \ - _LT_AC_TAGVAR(export_symbols_cmds, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ - _LT_AC_TAGVAR(hardcode_automatic, $1) \ - _LT_AC_TAGVAR(module_cmds, $1) \ - _LT_AC_TAGVAR(module_expsym_cmds, $1) \ - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ - _LT_AC_TAGVAR(fix_srcfile_path, $1) \ - _LT_AC_TAGVAR(exclude_expsyms, $1) \ - _LT_AC_TAGVAR(include_expsyms, $1); do - - case $var in - _LT_AC_TAGVAR(old_archive_cmds, $1) | \ - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ - _LT_AC_TAGVAR(archive_cmds, $1) | \ - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ - _LT_AC_TAGVAR(module_cmds, $1) | \ - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\[$]0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` - ;; - esac - -ifelse([$1], [], - [cfgfile="${ofile}T" - trap "$rm \"$cfgfile\"; exit 1" 1 2 15 - $rm -f "$cfgfile" - AC_MSG_NOTICE([creating $ofile])], - [cfgfile="$ofile"]) - - cat <<__EOF__ >> "$cfgfile" -ifelse([$1], [], -[#! $SHELL - -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit , 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e 1s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# The names of the tagged configurations supported by this script. -available_tags= - -# ### BEGIN LIBTOOL CONFIG], -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) - -# Is the compiler the GNU C compiler? -with_gcc=$_LT_AC_TAGVAR(GCC, $1) - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1) - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) - -# Commands used to build and install a shared archive. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) - -# The commands to list exported symbols. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) - -# Symbols that must always be exported. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) - -ifelse([$1],[], -[# ### END LIBTOOL CONFIG], -[# ### END LIBTOOL TAG CONFIG: $tagname]) - -__EOF__ - -ifelse([$1],[], [ - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" - -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -]) -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi -])# AC_LIBTOOL_CONFIG - - -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl - -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI - - -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([LT_AC_PROG_SED]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -linux* | k*bsd*-gnu) - if test "$host_cpu" = ia64; then - symcode='[[ABCDGIRSTW]]' - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[[]] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - - -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) -# --------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) - ifelse([$1],[CXX],[ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix4* | aix5*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - icpc* | ecpc*) - # Intel C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC*) - # Portland Group C++ compiler. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - newsos6) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' - ;; - esac - ;; - esac - ;; - - osf3* | osf4* | osf5*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - rdos*) - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) -]) - - -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) -# ------------------------------------ -# See if the linker supports building shared libraries. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], -[AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -ifelse([$1],[CXX],[ - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix4* | aix5*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - ;; - linux* | k*bsd*-gnu) - _LT_AC_TAGVAR(link_all_deplibs, $1)=no - ;; - *) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac -],[ - runpath_var= - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)= - _LT_AC_TAGVAR(archive_expsym_cmds, $1)= - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown - _LT_AC_TAGVAR(hardcode_automatic, $1)=no - _LT_AC_TAGVAR(module_cmds, $1)= - _LT_AC_TAGVAR(module_expsym_cmds, $1)= - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_AC_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - _LT_CC_BASENAME([$compiler]) - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - interix[[3-9]]*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test $supports_anon_versioning = yes; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - _LT_AC_TAGVAR(link_all_deplibs, $1)=no - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - # see comment about different semantics on the GNU ld section - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - bsdi[[45]]*) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - - dgux*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - os2*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - fi - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_AC_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac -])# AC_LIBTOOL_PROG_LD_SHLIBS - - -# _LT_AC_FILE_LTDLL_C -# ------------------- -# Be careful that the start marker always follows a newline. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include -# #undef WIN32_LEAN_AND_MEAN -# #include -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ -])# _LT_AC_FILE_LTDLL_C - - -# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) -# --------------------------------- -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) - - -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) - -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) - -AC_DEFUN([LT_AC_PROG_GCJ], -[AC_CHECK_TOOL(GCJ, gcj, no) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS) -]) - -AC_DEFUN([LT_AC_PROG_RC], -[AC_CHECK_TOOL(RC, windres, no) -]) - - -# Cheap backport of AS_EXECUTABLE_P and required macros -# from Autoconf 2.59; we should not use $as_executable_p directly. - -# _AS_TEST_PREPARE -# ---------------- -m4_ifndef([_AS_TEST_PREPARE], -[m4_defun([_AS_TEST_PREPARE], -[if test -x / >/dev/null 2>&1; then - as_executable_p='test -x' -else - as_executable_p='test -f' -fi -])])# _AS_TEST_PREPARE - -# AS_EXECUTABLE_P -# --------------- -# Check whether a file is executable. -m4_ifndef([AS_EXECUTABLE_P], -[m4_defun([AS_EXECUTABLE_P], -[AS_REQUIRE([_AS_TEST_PREPARE])dnl -$as_executable_p $1[]dnl -])])# AS_EXECUTABLE_P - -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_SUBST([SED]) -AC_MSG_RESULT([$SED]) -]) - -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -])# PKG_CHECK_MODULES - -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.6])]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 7 - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl -AC_SUBST([$1_TRUE]) -AC_SUBST([$1_FALSE]) -if $2; then - $1_TRUE= - $1_FALSE='#' -else - $1_TRUE='#' - $1_FALSE= -fi -AC_CONFIG_COMMANDS_PRE( -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then - AC_MSG_ERROR([[conditional "$1" was never defined. -Usually this means the macro was only invoked conditionally.]]) -fi])]) - - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 8 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -AC_DEFUN([_AM_DEPENDENCIES], -[AC_REQUIRE([AM_SET_DEPDIR])dnl -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl -AC_REQUIRE([AM_MAKE_INCLUDE])dnl -AC_REQUIRE([AM_DEP_TRACK])dnl - -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) - -AC_CACHE_CHECK([dependency style of $depcc], - [am_cv_$1_dependencies_compiler_type], -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - case $depmode in - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_$1_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_$1_dependencies_compiler_type=none -fi -]) -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -AM_CONDITIONAL([am__fastdep$1], [ - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -AC_SUBST([AMDEPBACKSLASH]) -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -#serial 3 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[for mf in $CONFIG_FILES; do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`AS_DIRNAME("$mf")` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`AS_DIRNAME(["$file"])` - AS_MKDIR_P([$dirpart/$fdir]) - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done -done -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -[AC_CONFIG_COMMANDS([depfiles], - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -]) - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 8 - -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 12 - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.58])dnl -dnl Autoconf wants to disallow AM_ names. We explicitly allow -dnl the ones we care about. -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -AC_REQUIRE([AC_PROG_INSTALL])dnl -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi -AC_SUBST([CYGPATH_W]) - -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl - AC_SUBST([PACKAGE], [$1])dnl - AC_SUBST([VERSION], [$2])], -[_AM_SET_OPTIONS([$1])dnl - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl - -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl - -# Some tools Automake needs. -AC_REQUIRE([AM_SANITY_CHECK])dnl -AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) -AM_PROG_INSTALL_SH -AM_PROG_INSTALL_STRIP -AC_REQUIRE([AM_PROG_MKDIR_P])dnl -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -AC_REQUIRE([AC_PROG_AWK])dnl -AC_REQUIRE([AC_PROG_MAKE_SET])dnl -AC_REQUIRE([AM_SET_LEADING_DOT])dnl -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], - [_AM_PROG_TAR([v7])])]) -_AM_IF_OPTION([no-dependencies],, -[AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl -]) -]) - - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $1 | $1:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} -AC_SUBST(install_sh)]) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 3 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo done -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -AC_MSG_CHECKING([for style of include used by $am_make]) -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) - -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories -# created by `make install' are always world readable, even if the -# installer happens to have an overly restrictive umask (e.g. 077). -# This was a mistake. There are at least two reasons why we must not -# use `-m 0755': -# - it causes special bits like SGID to be ignored, -# - it may be too restrictive (some setups expect 775 directories). -# -# Do not use -m 0755 and let people choose whatever they expect by -# setting umask. -# -# We cannot accept any implementation of `mkdir' that recognizes `-p'. -# Some implementations (such as Solaris 8's) are not thread-safe: if a -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' -# concurrently, both version can detect that a/ is missing, but only -# one can create it and the other will error out. Consequently we -# restrict ourselves to GNU make (using the --version option ensures -# this.) -AC_DEFUN([AM_PROG_MKDIR_P], -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi -AC_SUBST([mkdir_p])]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 3 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - - test "$[2]" = conftest.file - ) -then - # Ok. - : -else - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT(yes)]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -AC_DEFUN([AM_PROG_INSTALL_STRIP], -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. -if test "$cross_compiling" != no; then - AC_CHECK_TOOL([STRIP], [strip], :) -fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) -m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], - [m4_case([$1], [ustar],, [pax],, - [m4_fatal([Unknown tar format])]) -AC_MSG_CHECKING([how to create a $1 tar archive]) -# Loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -_am_tools=${am_cv_prog_tar_$1-$_am_tools} -# Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. -for _am_tool in $_am_tools -do - case $_am_tool in - gnutar) - for _am_tar in tar gnutar gtar; - do - AM_RUN_LOG([$_am_tar --version]) && break - done - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' - am__untar="$_am_tar -xf -" - ;; - plaintar) - # Must skip GNU tar: if it does not support --format= it doesn't create - # ustar tarball either. - (tar --version) >/dev/null 2>&1 && continue - am__tar='tar chf - "$$tardir"' - am__tar_='tar chf - "$tardir"' - am__untar='tar xf -' - ;; - pax) - am__tar='pax -L -x $1 -w "$$tardir"' - am__tar_='pax -L -x $1 -w "$tardir"' - am__untar='pax -r' - ;; - cpio) - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' - am__untar='cpio -i -H $1 -d' - ;; - none) - am__tar=false - am__tar_=false - am__untar=false - ;; - esac - - # If the value was cached, stop now. We just wanted to have am__tar - # and am__untar set. - test -n "${am_cv_prog_tar_$1}" && break - - # tar/untar a dummy directory, and stop if the command works - rm -rf conftest.dir - mkdir conftest.dir - echo GrepMe > conftest.dir/file - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) - rm -rf conftest.dir - if test -s conftest.tar; then - AM_RUN_LOG([$am__untar /dev/null 2>&1 && break - fi -done -rm -rf conftest.dir - -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -AC_SUBST([am__tar]) -AC_SUBST([am__untar]) -]) # _AM_PROG_TAR - -m4_include([m4/ax_boost_base.m4]) -m4_include([m4/ax_boost_unit_test_framework.m4]) -m4_include([m4/reduced.m4]) diff --git a/libs/cairomm/cairomm-1.0.pc.in b/libs/cairomm/cairomm-1.0.pc.in deleted file mode 100644 index c2832250fb..0000000000 --- a/libs/cairomm/cairomm-1.0.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: cairomm -Description: C++ wrapper for cairo -Requires: cairo -Version: @VERSION@ -Libs: -L${libdir} -lcairomm-1.0 -Cflags: -I${includedir}/cairomm-1.0 - diff --git a/libs/cairomm/cairomm/Makefile.am b/libs/cairomm/cairomm/Makefile.am deleted file mode 100644 index 547242d240..0000000000 --- a/libs/cairomm/cairomm/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -SUBDIRS = - -INCLUDES = -I$(top_srcdir) @CAIROMM_CFLAGS@ - -h_sources_public = cairomm.h context.h enums.h fontface.h fontoptions.h path.h pattern.h quartz_surface.h surface.h xlib_surface.h win32_surface.h exception.h refptr.h scaledfont.h -h_sources_private = private.h context_private.h -cc_sources = context.cc fontface.cc fontoptions.cc path.cc pattern.cc quartz_surface.cc surface.cc xlib_surface.cc win32_surface.cc exception.cc scaledfont.cc -cc_sources_private = private.cc context_surface_quartz.cc context_surface_win32.cc context_surface_xlib.cc - -# Support for DLL on cygwin/mingw using libtool > 1.4 -if PLATFORM_WIN32 -win32_dlls_ldflags = -no-undefined -Wl,--export-all-symbols -else -win32_dlls_ldflags = -endif - -lib_LTLIBRARIES = libcairomm-1.0.la -libcairomm_1_0_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION) $(win32_dlls_ldflags) -libcairomm_1_0_la_LIBADD = @CAIROMM_LIBS@ -libcairomm_1_0_la_SOURCES = $(cc_sources) $(h_sources_public) $(h_sources_private) $(cc_sources_private) - -# Install the headers: -library_includedir=$(includedir)/cairomm-1.0/cairomm -library_include_HEADERS = $(h_sources_public) diff --git a/libs/cairomm/cairomm/Makefile.in b/libs/cairomm/cairomm/Makefile.in deleted file mode 100644 index e1ef6c5f23..0000000000 --- a/libs/cairomm/cairomm/Makefile.in +++ /dev/null @@ -1,674 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = cairomm -DIST_COMMON = $(library_include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/cairommconfig.h.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = cairommconfig.h -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" \ - "$(DESTDIR)$(library_includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -libcairomm_1_0_la_DEPENDENCIES = -am__objects_1 = context.lo fontface.lo fontoptions.lo path.lo \ - pattern.lo quartz_surface.lo surface.lo xlib_surface.lo \ - win32_surface.lo exception.lo scaledfont.lo -am__objects_2 = -am__objects_3 = private.lo -am_libcairomm_1_0_la_OBJECTS = $(am__objects_1) $(am__objects_2) \ - $(am__objects_2) $(am__objects_3) -libcairomm_1_0_la_OBJECTS = $(am_libcairomm_1_0_la_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I. -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libcairomm_1_0_la_SOURCES) -DIST_SOURCES = $(libcairomm_1_0_la_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -library_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(library_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = -INCLUDES = -I$(top_srcdir) @CAIROMM_CFLAGS@ -h_sources_public = cairomm.h context.h enums.h fontface.h fontoptions.h path.h pattern.h quartz_surface.h surface.h xlib_surface.h win32_surface.h exception.h refptr.h scaledfont.h -h_sources_private = private.h -cc_sources = context.cc fontface.cc fontoptions.cc path.cc pattern.cc quartz_surface.cc surface.cc xlib_surface.cc win32_surface.cc exception.cc scaledfont.cc -cc_sources_private = private.cc -@PLATFORM_WIN32_FALSE@win32_dlls_ldflags = - -# Support for DLL on cygwin/mingw using libtool > 1.4 -@PLATFORM_WIN32_TRUE@win32_dlls_ldflags = -no-undefined -Wl,--export-all-symbols -lib_LTLIBRARIES = libcairomm-1.0.la -libcairomm_1_0_la_LDFLAGS = -version-info $(GENERIC_LIBRARY_VERSION) $(win32_dlls_ldflags) -libcairomm_1_0_la_LIBADD = @CAIROMM_LIBS@ -libcairomm_1_0_la_SOURCES = $(cc_sources) $(h_sources_public) $(h_sources_private) $(cc_sources_private) - -# Install the headers: -library_includedir = $(includedir)/cairomm-1.0/cairomm -library_include_HEADERS = $(h_sources_public) -all: cairommconfig.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -.SUFFIXES: .cc .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cairomm/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu cairomm/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -cairommconfig.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) stamp-h1; \ - else :; fi - -stamp-h1: $(srcdir)/cairommconfig.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status cairomm/cairommconfig.h -$(srcdir)/cairommconfig.h.in: $(am__configure_deps) - cd $(top_srcdir) && $(AUTOHEADER) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f cairommconfig.h stamp-h1 -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libcairomm-1.0.la: $(libcairomm_1_0_la_OBJECTS) $(libcairomm_1_0_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libcairomm_1_0_la_LDFLAGS) $(libcairomm_1_0_la_OBJECTS) $(libcairomm_1_0_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/context.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontoptions.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/path.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/private.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quartz_surface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scaledfont.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/surface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win32_surface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xlib_surface.Plo@am__quote@ - -.cc.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -install-library_includeHEADERS: $(library_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(library_includedir)" || $(mkdir_p) "$(DESTDIR)$(library_includedir)" - @list='$(library_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(library_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(library_includedir)/$$f'"; \ - $(library_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(library_includedir)/$$f"; \ - done - -uninstall-library_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(library_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(library_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(library_includedir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) cairommconfig.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) cairommconfig.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) cairommconfig.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) cairommconfig.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(LTLIBRARIES) $(HEADERS) cairommconfig.h -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(library_includedir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-libtool distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-library_includeHEADERS - -install-exec-am: install-libLTLIBRARIES - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ - uninstall-library_includeHEADERS - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-libLTLIBRARIES clean-libtool \ - clean-recursive ctags ctags-recursive distclean \ - distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-recursive distclean-tags distdir \ - dvi dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-libLTLIBRARIES \ - install-library_includeHEADERS install-man install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-info-am uninstall-libLTLIBRARIES \ - uninstall-library_includeHEADERS - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/cairomm/cairomm.h b/libs/cairomm/cairomm/cairomm.h deleted file mode 100644 index 7f78a79a66..0000000000 --- a/libs/cairomm/cairomm/cairomm.h +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_H -#define __CAIROMM_H - -/** @mainpage Cairomm: A C++ wrapper for the cairo graphics library - * - * @section License - * Cairomm is available under the terms of the LGPL license - * - * @section Introduction - * If you're just beginning to learn cairomm, a good place to start is with the - * Cairo::Surface and Cairo::Context classes. In general terms, you draw onto - * a Surface using the graphics settings specified in your Context. - * - */ - -#include -#include -#include -#include -#include -#include - -#endif //__CAIROMM_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/cairommconfig.h.in b/libs/cairomm/cairomm/cairommconfig.h.in deleted file mode 100644 index f1c7895bff..0000000000 --- a/libs/cairomm/cairomm/cairommconfig.h.in +++ /dev/null @@ -1,73 +0,0 @@ -/* cairomm/cairommconfig.h.in. Generated from configure.in by autoheader. */ - -/* Defined when the --enable-api-exceptions configure argument was given */ -#undef CAIROMM_EXCEPTIONS_ENABLED - -/* define if the Boost library is available */ -#undef HAVE_BOOST - -/* define if the Boost::Unit_Test_Framework library is available */ -#undef HAVE_BOOST_UNIT_TEST_FRAMEWORK - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_LIST - -/* Define to 1 if you have the header file. */ -#undef HAVE_MAP - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Version number of package */ -#undef VERSION diff --git a/libs/cairomm/cairomm/context.cc b/libs/cairomm/cairomm/context.cc deleted file mode 100644 index 107b195079..0000000000 --- a/libs/cairomm/cairomm/context.cc +++ /dev/null @@ -1,797 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include -#include -#include - -/* M_PI is defined in math.h in the case of Microsoft Visual C++ */ -#if defined(_MSC_VER) -#define _USE_MATH_DEFINES -#include -#endif - -using namespace Cairo::Private; - -namespace Cairo -{ - -Context::Context(const RefPtr& target) -: m_cobject(0) -{ - m_cobject = cairo_create(target->cobj()); - check_object_status_and_throw_exception(*this); -} - -RefPtr Context::create(const RefPtr& target) -{ - return RefPtr(new Context(target)); -} - -Context::Context(cairo_t* cobject, bool has_reference) -: m_cobject(0) -{ - if(has_reference) - m_cobject = cobject; - else - m_cobject = cairo_reference(cobject); -} - -Context::~Context() -{ - if(m_cobject) - cairo_destroy(m_cobject); -} - - -void Context::reference() const -{ - cairo_reference(m_cobject); -} - -void Context::unreference() const -{ - cairo_destroy(m_cobject); -} - -void Context::save() -{ - cairo_save(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::restore() -{ - cairo_restore(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::set_operator(Operator op) -{ - cairo_set_operator(m_cobject, static_cast(op)); - check_object_status_and_throw_exception(*this); -} - -void Context::set_source(const RefPtr& source) -{ - cairo_set_source(m_cobject, const_cast(source->cobj())); - check_object_status_and_throw_exception(*this); -} - -void Context::set_source_rgb(double red, double green, double blue) -{ - cairo_set_source_rgb(m_cobject, red, green, blue); - check_object_status_and_throw_exception(*this); -} - -void Context::set_source_rgba(double red, double green, double blue, -double alpha) -{ - cairo_set_source_rgba(m_cobject, red, green, blue, alpha); - check_object_status_and_throw_exception(*this); -} - -void Context::set_source(const RefPtr& surface, double x, double y) -{ - cairo_set_source_surface(m_cobject, surface->cobj(), x, y); - check_object_status_and_throw_exception(*this); -} - -void Context::set_tolerance(double tolerance) -{ - cairo_set_tolerance(m_cobject, tolerance); - check_object_status_and_throw_exception(*this); -} - -void Context::set_antialias(Antialias antialias) -{ - cairo_set_antialias(m_cobject, static_cast(antialias)); - check_object_status_and_throw_exception(*this); -} - -void Context::set_fill_rule(FillRule fill_rule) -{ - cairo_set_fill_rule(m_cobject, static_cast(fill_rule)); - check_object_status_and_throw_exception(*this); -} - -void Context::set_line_width(double width) -{ - cairo_set_line_width(m_cobject, width); - check_object_status_and_throw_exception(*this); -} - -void Context::set_line_cap(LineCap line_cap) -{ - cairo_set_line_cap(m_cobject, static_cast(line_cap)); - check_object_status_and_throw_exception(*this); -} - -void Context::set_line_join(LineJoin line_join) -{ - cairo_set_line_join(m_cobject, static_cast(line_join)); - check_object_status_and_throw_exception(*this); -} - -void Context::set_dash(std::valarray& dashes, double offset) -{ - cairo_set_dash(m_cobject, &dashes[0], dashes.size(), offset); - check_object_status_and_throw_exception(*this); -} - -void Context::set_dash(std::vector& dashes, double offset) -{ - cairo_set_dash(m_cobject, &dashes[0], dashes.size(), offset); - check_object_status_and_throw_exception(*this); -} - -void Context::unset_dash() -{ - cairo_set_dash(m_cobject, NULL, 0, 0.0); - check_object_status_and_throw_exception(*this); -} - -void Context::set_miter_limit(double limit) -{ - cairo_set_miter_limit(m_cobject, limit); - check_object_status_and_throw_exception(*this); -} - -void Context::translate(double tx, double ty) -{ - cairo_translate(m_cobject, tx, ty); - check_object_status_and_throw_exception(*this); -} - -void Context::scale(double sx, double sy) -{ - cairo_scale(m_cobject, sx, sy); - check_object_status_and_throw_exception(*this); -} - -void Context::rotate(double angle_radians) -{ - cairo_rotate(m_cobject, angle_radians); - check_object_status_and_throw_exception(*this); -} - -void Context::rotate_degrees(double angle_degrees) -{ - cairo_rotate(m_cobject, angle_degrees * M_PI/180.0); - check_object_status_and_throw_exception(*this); -} - -void Context::transform(const Matrix& matrix) -{ - cairo_transform(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -void Context::set_matrix(const Matrix& matrix) -{ - cairo_set_matrix(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -void Context::set_identity_matrix() -{ - cairo_identity_matrix(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::user_to_device(double& x, double& y) -{ - cairo_user_to_device(m_cobject, &x, &y); - check_object_status_and_throw_exception(*this); -} - -void Context::user_to_device_distance(double& dx, double& dy) -{ - cairo_user_to_device_distance(m_cobject, &dx, &dy); - check_object_status_and_throw_exception(*this); -} - -void Context::device_to_user(double& x, double& y) -{ - cairo_device_to_user(m_cobject, &x, &y); - check_object_status_and_throw_exception(*this); -} - -void Context::device_to_user_distance(double& dx, double& dy) -{ - cairo_device_to_user_distance(m_cobject, &dx, &dy); - check_object_status_and_throw_exception(*this); -} - -void Context::begin_new_path() -{ - cairo_new_path(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::begin_new_sub_path() -{ - cairo_new_sub_path(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::move_to(double x, double y) -{ - cairo_move_to(m_cobject, x, y); - check_object_status_and_throw_exception(*this); -} - -void Context::line_to(double x, double y) -{ - cairo_line_to(m_cobject, x, y); - check_object_status_and_throw_exception(*this); -} - -void Context::curve_to(double x1, double y1, double x2, double y2, double x3, double y3) -{ - cairo_curve_to(m_cobject, x1, y1, x2, y2, x3, y3); - check_object_status_and_throw_exception(*this); -} - -void Context::arc(double xc, double yc, double radius, double angle1, double angle2) -{ - cairo_arc(m_cobject, xc, yc, radius, angle1, angle2); - check_object_status_and_throw_exception(*this); -} - -void Context::arc_negative(double xc, double yc, double radius, double angle1, double angle2) -{ - cairo_arc_negative(m_cobject, xc, yc, radius, angle1, angle2); - check_object_status_and_throw_exception(*this); -} - -void Context::rel_move_to(double dx, double dy) -{ - cairo_rel_move_to(m_cobject, dx, dy); - check_object_status_and_throw_exception(*this); -} - -void Context::rel_line_to(double dx, double dy) -{ - cairo_rel_line_to(m_cobject, dx, dy); - check_object_status_and_throw_exception(*this); -} - -void Context::rel_curve_to(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) -{ - cairo_rel_curve_to(m_cobject, dx1, dy1, dx2, dy2, dx3, dy3); - check_object_status_and_throw_exception(*this); -} - -void Context::rectangle(double x, double y, double width, double height) -{ - cairo_rectangle(m_cobject, x, y, width, height); - check_object_status_and_throw_exception(*this); -} - -void Context::close_path() -{ - cairo_close_path(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::paint() -{ - cairo_paint(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::paint_with_alpha(double alpha) -{ - cairo_paint_with_alpha(m_cobject, alpha); - check_object_status_and_throw_exception(*this); -} - -void Context::mask(const RefPtr& pattern) -{ - cairo_mask(m_cobject, const_cast(pattern->cobj())); - check_object_status_and_throw_exception(*this); -} - -void Context::mask(const RefPtr& surface, double surface_x, double surface_y) -{ - cairo_mask_surface(m_cobject, const_cast(surface->cobj()), surface_x, surface_y); - check_object_status_and_throw_exception(*this); -} - -void Context::stroke() -{ - cairo_stroke(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::stroke_preserve() -{ - cairo_stroke_preserve(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::fill() -{ - cairo_fill(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::fill_preserve() -{ - cairo_fill_preserve(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::copy_page() -{ - cairo_copy_page(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::show_page() -{ - cairo_show_page(m_cobject); - check_object_status_and_throw_exception(*this); -} - -bool Context::in_stroke(double x, double y) const -{ - const bool result = cairo_in_stroke(m_cobject, x, y); - check_object_status_and_throw_exception(*this); - return result; -} - -bool Context::in_fill(double x, double y) const -{ - const bool result = cairo_in_fill(m_cobject, x, y); - check_object_status_and_throw_exception(*this); - return result; -} - -void Context::get_stroke_extents(double& x1, double& y1, double& x2, double& y2) const -{ - cairo_stroke_extents(m_cobject, &x1, &y1, &x2, &y2); - check_object_status_and_throw_exception(*this); -} - -void Context::get_fill_extents(double& x1, double& y1, double& x2, double& y2) const -{ - cairo_fill_extents(m_cobject, &x1, &y1, &x2, &y2); - check_object_status_and_throw_exception(*this); -} - -void Context::reset_clip() -{ - cairo_reset_clip(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::clip() -{ - cairo_clip(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::clip_preserve() -{ - cairo_clip_preserve(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::get_clip_extents(double& x1, double& y1, double& x2, double& y2) const -{ - cairo_clip_extents(const_cast(m_cobject), &x1, &y1, &x2, &y2); - check_object_status_and_throw_exception(*this); -} - -void Context::copy_clip_rectangle_list(std::vector& rectangles) const -{ - cairo_rectangle_list_t* c_list = 0; - // It would be nice if the cairo interface didn't copy it into a C array first - // and just let us do the copying... - c_list = cairo_copy_clip_rectangle_list(const_cast(m_cobject)); - // the rectangle list contains a status field that we need to check and the - // cairo context also has a status that we need to check - // FIXME: do we want to throw an exception if the clip can't be represented by - // rectangles? or do we just want to return an empty list? - check_status_and_throw_exception(c_list->status); - check_object_status_and_throw_exception(*this); - // copy the C array into the passed C++ list - rectangles.assign(c_list->rectangles, - c_list->rectangles + c_list->num_rectangles); - // free the memory allocated to the C array since we've copied it into a - // standard C++ container - cairo_rectangle_list_destroy(c_list); -} - -void Context::select_font_face(const std::string& family, FontSlant slant, FontWeight weight) -{ - cairo_select_font_face(m_cobject, family.c_str(), - static_cast(slant), - static_cast(weight)); - check_object_status_and_throw_exception(*this); -} - -void Context::set_font_size(double size) -{ - cairo_set_font_size(m_cobject, size); - check_object_status_and_throw_exception(*this); -} - -void Context::set_font_matrix(const Matrix& matrix) -{ - cairo_set_font_matrix(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -void Context::get_font_matrix(Matrix& matrix) const -{ - cairo_get_font_matrix(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -void Context::set_font_options(const FontOptions& options) -{ - cairo_set_font_options(m_cobject, options.cobj()); - check_object_status_and_throw_exception(*this); -} - -void Context::show_text(const std::string& utf8) -{ - cairo_show_text(m_cobject, utf8.c_str()); - check_object_status_and_throw_exception(*this); -} - -void Context::show_glyphs(const std::vector& glyphs) -{ - cairo_show_glyphs(m_cobject, const_cast(&glyphs[0]), glyphs.size()); - check_object_status_and_throw_exception(*this); -} - -RefPtr Context::get_font_face() -{ - cairo_font_face_t* cfontface = cairo_get_font_face(m_cobject); - check_object_status_and_throw_exception(*this); - return RefPtr(new FontFace(cfontface, false /* does not have reference */)); -} - -RefPtr Context::get_font_face() const -{ - cairo_font_face_t* cfontface = cairo_get_font_face(m_cobject); - check_object_status_and_throw_exception(*this); - return RefPtr(new FontFace(cfontface, false /* does not have reference */)); -} - -void Context::get_font_extents(FontExtents& extents) const -{ - cairo_font_extents(m_cobject, &extents); - check_object_status_and_throw_exception(*this); -} - -void Context::set_font_face(const RefPtr& font_face) -{ - cairo_set_font_face(m_cobject, const_cast(font_face->cobj())); - check_object_status_and_throw_exception(*this); -} - -void Context::get_text_extents(const std::string& utf8, TextExtents& extents) const -{ - cairo_text_extents(m_cobject, utf8.c_str(), &extents); - check_object_status_and_throw_exception(*this); -} - -void Context::get_glyph_extents(const std::vector& glyphs, TextExtents& extents) const -{ - cairo_glyph_extents(m_cobject, const_cast(&glyphs[0]), glyphs.size(), &extents); - check_object_status_and_throw_exception(*this); -} - -void Context::text_path(const std::string& utf8) -{ - cairo_text_path(m_cobject, utf8.c_str()); - check_object_status_and_throw_exception(*this); -} - -void Context::glyph_path(const std::vector& glyphs) -{ - cairo_glyph_path(m_cobject, const_cast(&glyphs[0]), glyphs.size()); - check_object_status_and_throw_exception(*this); -} - -Operator Context::get_operator() const -{ - const Operator result = static_cast(cairo_get_operator(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -static RefPtr get_pattern_wrapper (cairo_pattern_t* pattern) -{ - cairo_pattern_type_t pattern_type = cairo_pattern_get_type (pattern); - switch (pattern_type) - { - case CAIRO_PATTERN_TYPE_SOLID: - return RefPtr(new SolidPattern(pattern, false /* does not have reference */)); - break; - case CAIRO_PATTERN_TYPE_SURFACE: - return RefPtr(new SurfacePattern(pattern, false /* does not have reference */)); - break; - case CAIRO_PATTERN_TYPE_LINEAR: - return RefPtr(new LinearGradient(pattern, false /* does not have reference */)); - break; - case CAIRO_PATTERN_TYPE_RADIAL: - return RefPtr(new RadialGradient(pattern, false /* does not have reference */)); - break; - default: - return RefPtr(new Pattern(pattern, false /* does not have reference */)); - } -} - -RefPtr Context::get_source() -{ - cairo_pattern_t* pattern = cairo_get_source(m_cobject); - check_object_status_and_throw_exception(*this); - return get_pattern_wrapper (pattern); -} - -RefPtr Context::get_source() const -{ - cairo_pattern_t* pattern = cairo_get_source(m_cobject); - check_object_status_and_throw_exception(*this); - return RefPtr::cast_const (get_pattern_wrapper (pattern)); -} - -double Context::get_tolerance() const -{ - const double result = cairo_get_tolerance(m_cobject); - check_object_status_and_throw_exception(*this); - return result; -} - -Antialias Context::get_antialias() const -{ - const Antialias result = static_cast(cairo_get_antialias(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -void Context::get_current_point(double& x, double& y) const -{ - cairo_get_current_point(m_cobject, &x, &y); - check_object_status_and_throw_exception(*this); -} - -FillRule Context::get_fill_rule() const -{ - const FillRule result = static_cast(cairo_get_fill_rule(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -double Context::get_line_width() const -{ - const double result = cairo_get_line_width(m_cobject); - check_object_status_and_throw_exception(*this); - return result; -} - -LineCap Context::get_line_cap() const -{ - const LineCap result = static_cast(cairo_get_line_cap(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -LineJoin Context::get_line_join() const -{ - const LineJoin result = static_cast(cairo_get_line_join(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -double Context::get_miter_limit() const -{ - const double result = cairo_get_miter_limit(m_cobject); - check_object_status_and_throw_exception(*this); - return result; -} - -void -Context::get_dash(std::vector& dashes, double& offset) const -{ - // Allocate this array dynamically because some compilers complain about - // allocating arrays on the stack when the array size isn't a compile-time - // constant... - const int cnt = cairo_get_dash_count(m_cobject); - double* dash_array = new double[cnt]; - cairo_get_dash(const_cast(m_cobject), dash_array, &offset); - check_object_status_and_throw_exception(*this); - dashes.assign(dash_array, dash_array + cnt); - delete[] dash_array; -} - -void Context::get_matrix(Matrix& matrix) -{ - cairo_get_matrix(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -static -RefPtr get_surface_wrapper (cairo_surface_t* surface) -{ - cairo_surface_type_t surface_type = cairo_surface_get_type (surface); - switch (surface_type) - { - case CAIRO_SURFACE_TYPE_IMAGE: - return RefPtr(new ImageSurface(surface, false /* does not have reference */)); - break; -#if CAIRO_HAS_PDF_SURFACE - case CAIRO_SURFACE_TYPE_PDF: - return RefPtr(new PdfSurface(surface, false /* does not have reference */)); - break; -#endif -#if CAIRO_HAS_PS_SURFACE - case CAIRO_SURFACE_TYPE_PS: - return RefPtr(new PsSurface(surface, false /* does not have reference */)); - break; -#endif -#if CAIRO_HAS_XLIB_SURFACE - case CAIRO_SURFACE_TYPE_XLIB: - return wrap_surface_xlib(surface); - break; -#endif -#if CAIRO_HAS_GLITZ_SURFACE - case CAIRO_SURFACE_TYPE_GLITZ: - return RefPtr(new GlitzSurface(surface, false /* does not have reference */)); - break; -#endif -#if CAIRO_HAS_QUARTZ_SURFACE - case CAIRO_SURFACE_TYPE_QUARTZ: - return wrap_surface_quartz(surface); - break; -#endif -#if CAIRO_HAS_WIN32_SURFACE - case CAIRO_SURFACE_TYPE_WIN32: - return wrap_surface_win32(surface); - break; -#endif -#if CAIRO_HAS_SVG_SURFACE - case CAIRO_SURFACE_TYPE_SVG: - return RefPtr(new SvgSurface(surface, false /* does not have reference */)); - break; -#endif - // the following surfaces are not directly supported in cairomm yet - case CAIRO_SURFACE_TYPE_DIRECTFB: - case CAIRO_SURFACE_TYPE_OS2: - case CAIRO_SURFACE_TYPE_BEOS: - case CAIRO_SURFACE_TYPE_XCB: - default: - return RefPtr(new Surface(surface, false /* does not have reference */)); - } -} - -RefPtr Context::get_target() -{ - cairo_surface_t* surface = cairo_get_target(const_cast(m_cobject)); - check_object_status_and_throw_exception(*this); - return get_surface_wrapper (surface); -} - -RefPtr Context::get_target() const -{ - cairo_surface_t* surface = cairo_get_target(const_cast(m_cobject)); - check_object_status_and_throw_exception(*this); - return RefPtr::cast_const (get_surface_wrapper (surface)); -} - -Path* Context::copy_path() const -{ - cairo_path_t* cresult = cairo_copy_path(const_cast(m_cobject)); - check_object_status_and_throw_exception(*this); - return new Path(cresult, true /* take ownership */); //The caller must delete it. -} - -Path* Context::copy_path_flat() const -{ - cairo_path_t* cresult = cairo_copy_path_flat(const_cast(m_cobject)); - check_object_status_and_throw_exception(*this); - return new Path(cresult, true /* take ownership */); //The caller must delete it. -} - -void Context::append_path(const Path& path) -{ - cairo_append_path(m_cobject, const_cast(path.cobj())); - check_object_status_and_throw_exception(*this); -} - -void Context::push_group() -{ - cairo_push_group(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Context::push_group_with_content(Content content) -{ - cairo_push_group_with_content(m_cobject, static_cast(content)); - check_object_status_and_throw_exception(*this); -} - -RefPtr Context::pop_group() -{ - cairo_pattern_t* pattern = cairo_pop_group(m_cobject); - check_object_status_and_throw_exception(*this); - return get_pattern_wrapper(pattern); -} - -void Context::pop_group_to_source() -{ - cairo_pop_group_to_source(m_cobject); - check_object_status_and_throw_exception(*this); -} - -RefPtr Context::get_group_target() -{ - cairo_surface_t* surface = cairo_get_group_target(m_cobject); - // surface can be NULL if you're not between push/pop group calls - if(!surface) - { - // FIXME: is this really the right way to handle this? - throw_exception(CAIRO_STATUS_NULL_POINTER); - } - - return get_surface_wrapper(surface); -} - -RefPtr Context::get_group_target() const -{ - cairo_surface_t* surface = cairo_get_group_target(m_cobject); - // surface can be NULL if you're not between push/pop group calls - if(!surface) - { - // FIXME: is this really the right way to handle this? - throw_exception(CAIRO_STATUS_NULL_POINTER); - } - - return get_surface_wrapper(surface); -} - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/context.h b/libs/cairomm/cairomm/context.h deleted file mode 100644 index 4e31cda1f6..0000000000 --- a/libs/cairomm/cairomm/context.h +++ /dev/null @@ -1,978 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_CONTEXT_H -#define __CAIROMM_CONTEXT_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -namespace Cairo -{ - -typedef cairo_glyph_t Glyph; //A simple struct. -typedef cairo_font_extents_t FontExtents; //A simple struct. -typedef cairo_text_extents_t TextExtents; //A simple struct. -typedef cairo_matrix_t Matrix; //A simple struct. //TODO: Derive and add operator[] and operator. matrix multiplication? -typedef cairo_rectangle_t Rectangle; - -/** Context is the main class used to draw in cairomm. - * In the simplest case, create a Context with its target Surface, set its - * drawing options (line width, color, etc), create shapes with methods like - * move_to() and line_to(), and then draw the shapes to the Surface using - * methods such as stroke() or fill(). - * - * Context is a reference-counted object that should be used via Cairo::RefPtr. - */ -class Context -{ -protected: - explicit Context(const RefPtr& target); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit Context(cairo_t* cobject, bool has_reference = false); - - static RefPtr create(const RefPtr& target); - - virtual ~Context(); - - /** Makes a copy of the current state of the Context and saves it on an - * internal stack of saved states. When restore() is called, it will be - * restored to the saved state. Multiple calls to save() and restore() can be - * nested; each call to restore() restores the state from the matching paired - * save(). - * - * It isn't necessary to clear all saved states before a cairo_t is freed. - * Any saved states will be freed when the Context is destroyed. - * - * @sa restore() - */ - void save(); - - /** Restores cr to the state saved by a preceding call to save() and removes - * that state from the stack of saved states. - * - * @sa save() - */ - void restore(); - - /** Sets the compositing operator to be used for all drawing operations. See - * Operator for details on the semantics of each available compositing - * operator. - * - * @param op a compositing operator, specified as a Operator - */ - void set_operator(Operator op); - - /** Sets the source pattern within the Context to source. This Pattern will - * then be used for any subsequent drawing operation until a new source - * pattern is set. - * - * Note: The Pattern's transformation matrix will be locked to the user space - * in effect at the time of set_source(). This means that further - * modifications of the current transformation matrix will not affect the - * source pattern. - * - * @param source a Pattern to be used as the source for subsequent drawing - * operations. - * - * @sa Pattern::set_matrix() - * @sa set_source_rgb() - * @sa set_source_rgba() - * @sa set_source(const RefPtr& surface, double x, double y) - */ - void set_source(const RefPtr& source); - - /** Sets the source pattern within the Context to an opaque color. This - * opaque color will then be used for any subsequent drawing operation until - * a new source pattern is set. - * - * The color components are floating point numbers in the range 0 to 1. If - * the values passed in are outside that range, they will be clamped. - * - * @param red red component of color - * @param green green component of color - * @param blue blue component of color - * - * @sa set_source_rgba() - * @sa set_source() - */ - void set_source_rgb(double red, double green, double blue); - - /** Sets the source pattern within the Context to a translucent color. This - * color will then be used for any subsequent drawing operation until a new - * source pattern is set. - * - * The color and alpha components are floating point numbers in the range 0 - * to 1. If the values passed in are outside that range, they will be - * clamped. - * - * @param red red component of color - * @param green green component of color - * @param blue blue component of color - * @param alpha alpha component of color - * - * @sa set_source_rgb() - * @sa set_source() - */ - void set_source_rgba(double red, double green, double blue, double alpha); - - /** This is a convenience function for creating a pattern from a Surface and - * setting it as the source - * - * The x and y parameters give the user-space coordinate at which the Surface - * origin should appear. (The Surface origin is its upper-left corner before - * any transformation has been applied.) The x and y patterns are negated and - * then set as translation values in the pattern matrix. - * - * Other than the initial translation pattern matrix, as described above, all - * other pattern attributes, (such as its extend mode), are set to the - * default values as in Context::create(const RefPtr& target). The - * resulting pattern can be queried with get_source() so that these - * attributes can be modified if desired, (eg. to create a repeating pattern - * with Pattern::set_extend()). - * - * @param surface : a Surface to be used to set the source pattern - * @param x : User-space X coordinate for surface origin - * @param y : User-space Y coordinate for surface origin - */ - void set_source(const RefPtr& surface, double x, double y); - - /** Sets the tolerance used when converting paths into trapezoids. Curved - * segments of the path will be subdivided until the maximum deviation - * between the original path and the polygonal approximation is less than - * tolerance. The default value is 0.1. A larger value will give better - * performance, a smaller value, better appearance. (Reducing the value from - * the default value of 0.1 is unlikely to improve appearance significantly.) - * - * @param tolerance the tolerance, in device units (typically pixels) - */ - void set_tolerance(double tolerance); - - /** Set the antialiasing mode of the rasterizer used for drawing shapes. This - * value is a hint, and a particular backend may or may not support a - * particular value. At the current time, no backend supports - * CAIRO_ANTIALIAS_SUBPIXEL when drawing shapes. - * - * Note that this option does not affect text rendering, instead see - * FontOptions::set_antialias(). - * - * @param antialias the new antialiasing mode - */ - void set_antialias(Antialias antialias); - - /** Set the current fill rule within the cairo Context. The fill rule is used - * to determine which regions are inside or outside a complex (potentially - * self-intersecting) path. The current fill rule affects both fill() and - * clip(). See FillRule for details on the semantics of each available fill - * rule. - * - * @param fill_rule a fill rule, specified as a FillRule - */ - void set_fill_rule(FillRule fill_rule); - - /** Sets the current line width within the cairo Context. The line width - * specifies the diameter of a pen that is circular in user-space. - * - * As with the other stroke parameters, the current line cap style is - * examined by stroke(), stroke_extents(), and stroke_to_path(), but does not - * have any effect during path construction. - * - * @param width a line width, as a user-space value - */ - void set_line_width(double width); - - /** Sets the current line cap style within the cairo Context. See - * LineCap for details about how the available line cap styles are drawn. - * - * As with the other stroke parameters, the current line cap style is - * examined by stroke(), stroke_extents(), and stroke_to_path(), but does not - * have any effect during path construction. - * - * @param line_cap a line cap style, as a LineCap - */ - void set_line_cap(LineCap line_cap); - - /** Sets the current line join style within the cairo Context. See LineJoin - * for details about how the available line join styles are drawn. - * - * As with the other stroke parameters, the current line join style is - * examined by stroke(), stroke_extents(), and stroke_to_path(), but does not - * have any effect during path construction. - * - * @param line_join a line joint style, as a LineJoin - */ - void set_line_join(LineJoin line_join); - - /** - * Alternate version of set_dash(). You'll probably want to use the one that - * takes a std::vector argument instead. - */ - void set_dash(std::valarray& dashes, double offset); - /** Sets the dash pattern to be used by stroke(). A dash pattern is specified - * by dashes, an array of positive values. Each value provides the user-space - * length of altenate "on" and "off" portions of the stroke. The offset - * specifies an offset into the pattern at which the stroke begins. - * - * If dashes is empty dashing is disabled. If the size of dashes is 1, a - * symmetric pattern is assumed with alternating on and off portions of the - * size specified by the single value in dashes. - * - * It is invalid for any value in dashes to be negative, or for all values to - * be 0. If this is the case, an exception will be thrown - * - * @param dashes an array specifying alternate lengths of on and off portions - * @param offset an offset into the dash pattern at which the stroke should start - * - * @exception - */ - void set_dash(std::vector& dashes, double offset); - - /** This function disables a dash pattern that was set with set_dash() - */ - void unset_dash(); - void set_miter_limit(double limit); - - /** Modifies the current transformation matrix (CTM) by translating the - * user-space origin by (tx, ty). This offset is interpreted as a user-space - * coordinate according to the CTM in place before the new call to - * cairo_translate. In other words, the translation of the user-space origin - * takes place after any existing transformation. - * - * @param tx amount to translate in the X direction - * @param ty amount to translate in the Y direction - */ - void translate(double tx, double ty); - - /** Modifies the current transformation matrix (CTM) by scaling the X and Y - * user-space axes by sx and sy respectively. The scaling of the axes takes - * place after any existing transformation of user space. - * - * @param sx scale factor for the X dimension - * @param sy scale factor for the Y dimension - */ - void scale(double sx, double sy); - - /** Modifies the current transformation matrix (CTM) by rotating the - * user-space axes by angle radians. The rotation of the axes takes places - * after any existing transformation of user space. The rotation direction - * for positive angles is from the positive X axis toward the positive Y - * axis. - * - * @param angle angle (in radians) by which the user-space axes will be - * rotated - */ - void rotate(double angle_radians); - - /** A convenience wrapper around rotate() that accepts angles in degrees - * - * @param angle_degrees angle (in degrees) by which the user-space axes - * should be rotated - */ - void rotate_degrees(double angle_degres); - - /** Modifies the current transformation matrix (CTM) by applying matrix as an - * additional transformation. The new transformation of user space takes - * place after any existing transformation. - * - * @param matrix a transformation to be applied to the user-space axes - */ - void transform(const Matrix& matrix); - - /** Modifies the current transformation matrix (CTM) by setting it equal to - * matrix. - * - * @param matrix a transformation matrix from user space to device space - */ - void set_matrix(const Matrix& matrix); - - /** Resets the current transformation matrix (CTM) by setting it equal to the - * identity matrix. That is, the user-space and device-space axes will be - * aligned and one user-space unit will transform to one device-space unit. - */ - void set_identity_matrix(); - - /** Transform a coordinate from user space to device space by multiplying the - * given point by the current transformation matrix (CTM). - * - * @param x X value of coordinate (in/out parameter) - * @param y Y value of coordinate (in/out parameter) - */ - void user_to_device(double& x, double& y); - - /** Transform a distance vector from user space to device space. This - * function is similar to user_to_device() except that the translation - * components of the CTM will be ignored when transforming (dx,dy). - * - * @param dx X component of a distance vector (in/out parameter) - * @param dy Y component of a distance vector (in/out parameter) - */ - void user_to_device_distance(double& dx, double& dy); - - /** Transform a coordinate from device space to user space by multiplying the - * given point by the inverse of the current transformation matrix (CTM). - * - * @param x X value of coordinate (in/out parameter) - * @param y Y value of coordinate (in/out parameter) - */ - void device_to_user(double& x, double& y); - - /** Transform a distance vector from device space to user space. This - * function is similar to device_to_user() except that the translation - * components of the inverse CTM will be ignored when transforming (dx,dy). - * - * @param dx X component of a distance vector (in/out parameter) - * @param dy Y component of a distance vector (in/out parameter) - */ - void device_to_user_distance(double& dx, double& dy); - - /** Clears the current path. After this call there will be no current point. - */ - void begin_new_path(); - - /** Begin a new subpath. Note that the existing path is not affected. After - * this call there will be no current point. - * - * In many cases, this call is not needed since new subpaths are frequently - * started with move_to(). - * - * A call to begin_new_sub_path() is particularly useful when beginning a new - * subpath with one of the arc() calls. This makes things easier as it is no - * longer necessary to manually compute the arc's initial coordinates for a - * call to move_to(). - */ - void begin_new_sub_path(); - - /** If the current subpath is not empty, begin a new subpath. After this call - * the current point will be (x, y). - * - * @param x the X coordinate of the new position - * @param y the Y coordinate of the new position - */ - void move_to(double x, double y); - - /** Adds a line to the path from the current point to position (x, y) in - * user-space coordinates. After this call the current point will be (x, y). - * - * @param x the X coordinate of the end of the new line - * @param y the Y coordinate of the end of the new line - */ - void line_to(double x, double y); - - /** Adds a cubic Bezier spline to the path from the current point to position - * (x3, y3) in user-space coordinates, using (x1, y1) and (x2, y2) as the - * control points. After this call the current point will be (x3, y3). - * - * @param x1 the X coordinate of the first control point - * @param y1 the Y coordinate of the first control point - * @param x2 the X coordinate of the second control point - * @param y2 the Y coordinate of the second control point - * @param x3 the X coordinate of the end of the curve - * @param y3 the Y coordinate of the end of the curve - */ - void curve_to(double x1, double y1, double x2, double y2, double x3, double y3); - - /** Adds a circular arc of the given radius to the current path. The arc is - * centered at (xc, yc), begins at angle1 and proceeds in the direction of - * increasing angles to end at angle2. If angle2 is less than angle1 it will - * be progressively increased by 2*M_PI until it is greater than angle1. - * - * If there is a current point, an initial line segment will be added to the - * path to connect the current point to the beginning of the arc. - * - * Angles are measured in radians. An angle of 0 is in the direction of the - * positive X axis (in user-space). An angle of M_PI radians (90 degrees) is - * in the direction of the positive Y axis (in user-space). Angles increase - * in the direction from the positive X axis toward the positive Y axis. So - * with the default transformation matrix, angles increase in a clockwise - * direction. - * - * (To convert from degrees to radians, use degrees * (M_PI / 180.).) - * - * This function gives the arc in the direction of increasing angles; see - * arc_negative() to get the arc in the direction of decreasing angles. - * - * The arc is circular in user-space. To achieve an elliptical arc, you can - * scale the current transformation matrix by different amounts in the X and - * Y directions. For example, to draw an ellipse in the box given by x, y, - * width, height: - * - * @code - * context->save(); - * context->translate(x, y); - * context->scale(width / 2.0, height / 2.0); - * context->arc(0.0, 0.0, 1.0, 0.0, 2 * M_PI); - * context->restore(); - * @endcode - * - * @param xc X position of the center of the arc - * @param yc Y position of the center of the arc - * @param radius the radius of the arc - * @param angle1 the start angle, in radians - * @param angle2 the end angle, in radians - */ - void arc(double xc, double yc, double radius, double angle1, double angle2); - - /** Adds a circular arc of the given radius to the current path. The arc is - * centered at (xc, yc), begins at angle1 and proceeds in the direction of - * decreasing angles to end at angle2. If angle2 is greater than angle1 it - * will be progressively decreased by 2*M_PI until it is greater than angle1. - * - * See arc() for more details. This function differs only in the direction of - * the arc between the two angles. - * - * @param xc X position of the center of the arc - * @param yc Y position of the center of the arc - * @param radius the radius of the arc - * @param angle1 the start angle, in radians - * @param angle2 the end angle, in radians - */ - void arc_negative(double xc, double yc, double radius, double angle1, double angle2); - - /** If the current subpath is not empty, begin a new subpath. After this call - * the current point will offset by (x, y). - * - * Given a current point of (x, y), - * @code - * rel_move_to(dx, dy) - * @endcode - * is logically equivalent to - * @code - * move_to(x + dx, y + dy) - * @endcode - * - * @param dx the X offset - * @param dy the Y offset - */ - void rel_move_to(double dx, double dy); - - /** Relative-coordinate version of line_to(). Adds a line to the path from - * the current point to a point that is offset from the current point by (dx, - * dy) in user space. After this call the current point will be offset by - * (dx, dy). - * - * Given a current point of (x, y), - * @code - * rel_line_to(dx, dy) - * @endcode - * is logically equivalent to - * @code - * line_to(x + dx, y + dy). - * @endcode - * - * @param dx the X offset to the end of the new line - * @param dy the Y offset to the end of the new line - */ - void rel_line_to(double dx, double dy); - - /** Relative-coordinate version of curve_to(). All offsets are relative to - * the current point. Adds a cubic Bezier spline to the path from the current - * point to a point offset from the current point by (dx3, dy3), using points - * offset by (dx1, dy1) and (dx2, dy2) as the control points. After this - * call the current point will be offset by (dx3, dy3). - * - * Given a current point of (x, y), - * @code - * rel_curve_to(dx1, dy1, dx2, dy2, dx3, dy3) - * @endcode - * is logically equivalent to - * @code - * curve_to(x + dx1, y + dy1, x + dx2, y + dy2, x + dx3, y + dy3). - * @endcode - * - * @param dx1 the X offset to the first control point - * @param dy1 the Y offset to the first control point - * @param dx2 the X offset to the second control point - * @param dy2 the Y offset to the second control point - * @param dx3 the X offset to the end of the curve - * @param dy3 the Y offset to the end of the curve - */ - void rel_curve_to(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); - - /** Adds a closed-subpath rectangle of the given size to the current path at - * position (x, y) in user-space coordinates. - * - * This function is logically equivalent to: - * - * @code - * context->move_to(x, y); - * context->rel_line_to(width, 0); - * context->rel_line_to(0, height); - * context->rel_line_to(-width, 0); - * context->close_path(); - * @endcode - * - * @param x the X coordinate of the top left corner of the rectangle - * @param y the Y coordinate to the top left corner of the rectangle - * @param width the width of the rectangle - * @param height the height of the rectangle - */ - void rectangle(double x, double y, double width, double height); - - /** Adds a line segment to the path from the current point to the beginning - * of the current subpath, (the most recent point passed to move_to()), and - * closes this subpath. - * - * The behavior of close_path() is distinct from simply calling line_to() - * with the equivalent coordinate in the case of stroking. When a closed - * subpath is stroked, there are no caps on the ends of the subpath. Instead, - * there is a line join connecting the final and initial segments of the - * subpath. - */ - void close_path(); - - /** A drawing operator that paints the current source everywhere within the - * current clip region. - */ - void paint(); - - /** A drawing operator that paints the current source everywhere within the - * current clip region using a mask of constant alpha value alpha. The effect - * is similar to paint(), but the drawing is faded out using the alpha - * value. - * - * @param alpha an alpha value, between 0 (transparent) and 1 (opaque) - */ - void paint_with_alpha(double alpha); - - /** A drawing operator that paints the current source using the alpha channel - * of pattern as a mask. (Opaque areas of mask are painted with the source, - * transparent areas are not painted.) - * - * @param pattern a Pattern - */ - void mask(const RefPtr& pattern); - - /** A drawing operator that paints the current source using the alpha channel - * of surface as a mask. (Opaque areas of surface are painted with the - * source, transparent areas are not painted.) - * - * @param surface a Surface - * @param surface_x X coordinate at which to place the origin of surface - * @param surface_y Y coordinate at which to place the origin of surface - */ - void mask(const RefPtr& surface, double surface_x, double surface_y); - - /** A drawing operator that strokes the current Path according to the current - * line width, line join, line cap, and dash settings. After stroke(), - * the current Path will be cleared from the cairo Context. - * - * @sa set_line_width() - * @sa set_line_join() - * @sa set_line_cap() - * @sa set_dash() - * @sa stroke_preserve(). - */ - void stroke(); - - /** A drawing operator that strokes the current Path according to the current - * line width, line join, line cap, and dash settings. Unlike stroke(), - * stroke_preserve() preserves the Path within the cairo Context. - * - * @sa set_line_width() - * @sa set_line_join() - * @sa set_line_cap() - * @sa set_dash() - * @sa stroke_preserve(). - */ - void stroke_preserve(); - - /** A drawing operator that fills the current path according to the current - * fill rule, (each sub-path is implicitly closed before being filled). After - * fill(), the current path will be cleared from the cairo context. - * - * @sa set_fill_rule() - * @sa fill_preserve() - */ - void fill(); - - /** A drawing operator that fills the current path according to the current - * fill rule, (each sub-path is implicitly closed before being filled). - * Unlike fill(), fill_preserve() preserves the path within the - * cairo Context. - * - * @sa set_fill_rule() - * @sa fill(). - */ - void fill_preserve(); - void copy_page(); - void show_page(); - bool in_stroke(double x, double y) const; - bool in_fill(double x, double y) const; - void get_stroke_extents(double& x1, double& y1, double& x2, double& y2) const; - void get_fill_extents(double& x1, double& y1, double& x2, double& y2) const; - - /** Reset the current clip region to its original, unrestricted state. That - * is, set the clip region to an infinitely large shape containing the target - * surface. Equivalently, if infinity is too hard to grasp, one can imagine - * the clip region being reset to the exact bounds of the target surface. - * - * Note that code meant to be reusable should not call reset_clip() as it - * will cause results unexpected by higher-level code which calls clip(). - * Consider using save() and restore() around clip() as a more robust means - * of temporarily restricting the clip region. - */ - void reset_clip(); - - /** Establishes a new clip region by intersecting the current clip region - * with the current Path as it would be filled by fill() and according to the - * current fill rule. - * - * After clip(), the current path will be cleared from the cairo Context. - * - * The current clip region affects all drawing operations by effectively - * masking out any changes to the surface that are outside the current clip - * region. - * - * Calling clip() can only make the clip region smaller, never larger. But - * the current clip is part of the graphics state, so a temporary restriction - * of the clip region can be achieved by calling cairo_clip() within a - * save()/restore() pair. The only other means of increasing the size of the - * clip region is reset_clip(). - * - * @sa set_fill_rule() - */ - void clip(); - - /** Establishes a new clip region by intersecting the current clip region - * with the current path as it would be filled by fill() and according to the - * current fill rule. - * - * Unlike clip(), cairo_clip_preserve preserves the path within the cairo - * Context. - * - * @sa clip() - * @sa set_fill_rule() - */ - void clip_preserve(); - - /** - * Computes a bounding box in user coordinates covering the area inside the - * current clip. - * - * @param x1 left of the resulting extents - * @param y1 top of the resulting extents - * @param x2 right of the resulting extents - * @param y2 bottom of the resulting extents - * - * @since 1.4 - **/ - void get_clip_extents(double& x1, double& y1, double& x2, double& y2) const; - - /** - * Returns the current clip region as a list of rectangles in user coordinates. - * - * This function will throw an exception if the clip region cannot be - * represented as a list of user-space rectangles. - * - * @Since 1.4 - **/ - void copy_clip_rectangle_list(std::vector& rectangles) const; - - void select_font_face(const std::string& family, FontSlant slant, FontWeight weight); - void set_font_size(double size); - void set_font_matrix(const Matrix& matrix); - void get_font_matrix(Matrix& matrix) const; - void set_font_options(const FontOptions& options); - void show_text(const std::string& utf8); - void show_glyphs(const std::vector& glyphs); - RefPtr get_font_face(); - RefPtr get_font_face() const; - void get_font_extents(FontExtents& extents) const; - void set_font_face(const RefPtr& font_face); - void get_text_extents(const std::string& utf8, TextExtents& extents) const; - void get_glyph_extents(const std::vector& glyphs, TextExtents& extents) const; - void text_path(const std::string& utf8); - void glyph_path(const std::vector& glyphs); - - /** Gets the current compositing operator for a cairo Context - */ - Operator get_operator() const; - - /** Gets the current source pattern for the Context - */ - RefPtr get_source(); - RefPtr get_source() const; - - /** Gets the current tolerance value, as set by set_tolerance() - */ - double get_tolerance() const; - - /** Gets the current shape antialiasing mode, as set by set_antialias() - */ - Antialias get_antialias() const; - - /** Gets the current point of the current path, which is conceptually the - * final point reached by the path so far. - * - * The current point is returned in the user-space coordinate system. If - * there is no defined current point then x and y will both be set to 0.0. - * - * Most path construction functions alter the current point. See the - * following for details on how they affect the current point: clear_path(), - * move_to(), line_to(), curve_to(), arc(), rel_move_to(), rel_line_to(), - * rel_curve_to(), arc(), and text_path() - * - * @param x return value for X coordinate of the current point - * @param y return value for Y coordinate of the current point - */ - void get_current_point (double& x, double& y) const; - - /** Gets the current fill rule, as set by set_fill_rule(). - */ - FillRule get_fill_rule() const; - - /** Gets the current line width, as set by set_line_width() - */ - double get_line_width() const; - - /** Gets the current line cap style, as set by set_line_cap() - */ - LineCap get_line_cap() const; - - /** Gets the current line join style, as set by set_line_join() - */ - LineJoin get_line_join() const; - - /** Gets the current miter limit, as set by set_miter_limit() - */ - double get_miter_limit() const; - - /** - * Gets the current dash array and offset. - * - * @param dashes return value for the dash array - * @param offset return value for the current dash offset - * - * Since: 1.4 - **/ - void get_dash(std::vector& dashes, double& offset) const; - - - /** Stores the current transformation matrix (CTM) into matrix. - * - * @param matrix return value for the matrix - */ - void get_matrix(Matrix& matrix); - - /** Gets the target surface associated with this Context. - * - * @exception - */ - RefPtr get_target(); - - /** Gets the target surface associated with this Context. - * - * @exception - */ - RefPtr get_target() const; - - //TODO: Copy or reference-count a Path somethow instead of asking the caller to delete it? - /** Creates a copy of the current path and returns it to the user. - * - * @todo See cairo_path_data_t for hints on how to iterate over the returned - * data structure. - * - * @note The caller owns the Path object returned from this function. The - * Path object must be freed when you are finished with it. - */ - Path* copy_path() const; - - /** Gets a flattened copy of the current path and returns it to the user - * - * @todo See cairo_path_data_t for hints on how to iterate over the returned - * data structure. - * - * This function is like copy_path() except that any curves in the path will - * be approximated with piecewise-linear approximations, (accurate to within - * the current tolerance value). That is, the result is guaranteed to not have - * any elements of type CAIRO_PATH_CURVE_TO which will instead be - * replaced by a series of CAIRO_PATH_LINE_TO elements. - * - * @note The caller owns the Path object returned from this function. The - * Path object must be freed when you are finished with it. - */ - Path* copy_path_flat() const; - - /** Append the path onto the current path. The path may be either the return - * value from one of copy_path() or copy_path_flat() or it may be constructed - * manually. - * - * @param path path to be appended - */ - void append_path(const Path& path); - - /** Temporarily redirects drawing to an intermediate surface known as a group. - * The redirection lasts until the group is completed by a call to pop_group() - * or pop_group_to_source(). These calls provide the result of any drawing to - * the group as a pattern, (either as an explicit object, or set as the source - * pattern). - * - * This group functionality can be convenient for performing intermediate - * compositing. One common use of a group is to render objects as opaque - * within the group, (so that they occlude each other), and then blend the - * result with translucence onto the destination. - * - * Groups can be nested arbitrarily deep by making balanced calls to - * push_group()/pop_group(). Each call pushes/pops the new target group - * onto/from a stack. - * - * The push_group() function calls save() so that any changes to the graphics - * state will not be visible outside the group, (the pop_group functions call - * restore()). - * - * By default the intermediate group will have a content type of - * CONTENT_COLOR_ALPHA. Other content types can be chosen for the group by - * using push_group_with_content() instead. - * - * As an example, here is how one might fill and stroke a path with - * translucence, but without any portion of the fill being visible under the - * stroke: - * - * @code - * cr->push_group(); - * cr->set_source(fill_pattern); - * cr->fill_preserve(); - * cr->set_source(stroke_pattern); - * cr->stroke(); - * cr->pop_group_to_source(); - * cr->paint_with_alpha(alpha); - * @endcode - */ - void push_group(); - - /** - * Temporarily redirects drawing to an intermediate surface known as a - * group. The redirection lasts until the group is completed by a call - * to pop_group() or pop_group_to_source(). These calls provide the result of - * any drawing to the group as a pattern, (either as an explicit object, or set - * as the source pattern). - * - * The group will have a content type of @content. The ability to control this - * content type is the only distinction between this function and push_group() - * which you should see for a more detailed description of group rendering. - * - * @param content: indicates the type of group that will be created - */ - void push_group_with_content(Content content); - - /** - * Terminates the redirection begun by a call to push_group() or - * push_group_with_content() and returns a new pattern containing the results - * of all drawing operations performed to the group. - * - * The pop_group() function calls restore(), (balancing a call to save() by - * the push_group function), so that any changes to the graphics state will - * not be visible outside the group. - * - * @return a (surface) pattern containing the results of all drawing - * operations performed to the group. - **/ - RefPtr pop_group(); - - /** - * Terminates the redirection begun by a call to push_group() or - * push_group_with_content() and installs the resulting pattern as the source - * pattern in the given cairo Context. - * - * The behavior of this function is equivalent to the sequence of operations: - * - * @code - * RefPtr group = cr->pop_group(); - * cr->set_source(group); - * @endcode - * - * but is more convenient as their is no need for a variable to store - * the short-lived pointer to the pattern. - * - * The pop_group() function calls restore(), (balancing a call to save() by - * the push_group function), so that any changes to the graphics state will - * not be visible outside the group. - **/ - void pop_group_to_source(); - - /** - * Gets the target surface for the current group as started by the most recent - * call to push_group() or push_group_with_content(). - * - * This function will return NULL if called "outside" of any group rendering - * blocks, (that is, after the last balancing call to pop_group() or - * pop_group_to_source()). - * - * @exception - * - **/ - RefPtr get_group_target(); - - /** - * Same as the non-const version but returns a reference to a const Surface - */ - RefPtr get_group_target() const; - - /** The base cairo C type that is wrapped by Cairo::Context - */ - typedef cairo_t cobject; - - /** Gets a pointer to the base C type that is wrapped by the Context - */ - inline cobject* cobj() { return m_cobject; } - - /** Gets a pointer to the base C type that is wrapped by the Context - */ - inline const cobject* cobj() const { return m_cobject; } - - #ifndef DOXYGEN_IGNORE_THIS - ///For use only by the cairomm implementation. - inline ErrorStatus get_status() const - { return cairo_status(const_cast(cobj())); } - - void reference() const; - void unreference() const; - #endif //DOXYGEN_IGNORE_THIS - -protected: - - - cobject* m_cobject; -}; - - RefPtr get_surface_quartz(cairo_surface_t*); - RefPtr get_surface_win32(cairo_surface_t*); - RefPtr get_surface_xlib(cairo_surface_t*); - -} // namespace Cairo - -#endif //__CAIROMM_CONTEXT_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/context_private.h b/libs/cairomm/cairomm/context_private.h deleted file mode 100644 index 9118d8fc18..0000000000 --- a/libs/cairomm/cairomm/context_private.h +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright (C) 2008 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_CONTEXT_PRIVATE_H -#define __CAIROMM_CONTEXT_PRIVATE_H - -#ifdef ENABLE_GCC_VISIBILITY - #define VISIBILITY_HIDDEN __attribute__ ((visibility("hidden"))) -#else - #define VISIBILITY_HIDDEN -#endif - -#include -#include - -namespace Cairo -{ - -namespace Private -{ - -VISIBILITY_HIDDEN RefPtr wrap_surface_quartz(cairo_surface_t*); -VISIBILITY_HIDDEN RefPtr wrap_surface_win32(cairo_surface_t*); -VISIBILITY_HIDDEN RefPtr wrap_surface_xlib(cairo_surface_t*); - -} // namespace Private - -} // namespace Cairo - -#endif // __CAIROMM_CONTEXT_PRIVATE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/context_surface_quartz.cc b/libs/cairomm/cairomm/context_surface_quartz.cc deleted file mode 100644 index 8d8ed9cf87..0000000000 --- a/libs/cairomm/cairomm/context_surface_quartz.cc +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright (C) 2008 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include -#include - -namespace Cairo -{ - -namespace Private -{ - -VISIBILITY_HIDDEN RefPtr wrap_surface_quartz(cairo_surface_t* surface) -{ -#if CAIRO_HAS_QUARTZ_SURFACE - return RefPtr(new QuartzSurface(surface, false /* does not have reference */)); -#else - return RefPtr(new Surface(surface, false /* does not have reference */)); -#endif -} - -} // namespace Private - -} // namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/context_surface_win32.cc b/libs/cairomm/cairomm/context_surface_win32.cc deleted file mode 100644 index cde6d7fa3b..0000000000 --- a/libs/cairomm/cairomm/context_surface_win32.cc +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright (C) 2008 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include -#include - -namespace Cairo -{ - -namespace Private -{ - -VISIBILITY_HIDDEN RefPtr wrap_surface_win32(cairo_surface_t* surface) -{ -#if CAIRO_HAS_WIN32_SURFACE - return RefPtr(new Win32Surface(surface, false /* does not have reference */)); -#else - return RefPtr(new Surface(surface, false /* does not have reference */)); -#endif -} - -} // namespace Private - -} // namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/context_surface_xlib.cc b/libs/cairomm/cairomm/context_surface_xlib.cc deleted file mode 100644 index cf943fa812..0000000000 --- a/libs/cairomm/cairomm/context_surface_xlib.cc +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright (C) 2008 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include -#include - -namespace Cairo -{ - -namespace Private -{ - -VISIBILITY_HIDDEN RefPtr wrap_surface_xlib(cairo_surface_t* surface) -{ -#if CAIRO_HAS_WIN32_SURFACE - return RefPtr(new XlibSurface(surface, false /* does not have reference */)); -#else - return RefPtr(new Surface(surface, false /* does not have reference */)); -#endif -} - -} // namespace Private - -} // namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/enums.h b/libs/cairomm/cairomm/enums.h deleted file mode 100644 index 349d9781b3..0000000000 --- a/libs/cairomm/cairomm/enums.h +++ /dev/null @@ -1,202 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_ENUMS_H -#define __CAIROMM_ENUMS_H - -#include - -namespace Cairo -{ - -#ifndef DOXYGEN_IGNORE_THIS -//This is only used internally, but it must be in a public header because we inline some methods. -typedef cairo_status_t ErrorStatus; -#endif //DOXYGEN_IGNORE_THIS - - -typedef enum -{ - OPERATOR_CLEAR = CAIRO_OPERATOR_CLEAR, - - OPERATOR_SOURCE = CAIRO_OPERATOR_SOURCE, - OPERATOR_OVER = CAIRO_OPERATOR_OVER, - OPERATOR_IN = CAIRO_OPERATOR_IN, - OPERATOR_OUT = CAIRO_OPERATOR_OUT, - OPERATOR_ATOP = CAIRO_OPERATOR_ATOP, - - OPERATOR_DEST = CAIRO_OPERATOR_DEST, - OPERATOR_DEST_OVER = CAIRO_OPERATOR_DEST_OVER, - OPERATOR_DEST_IN = CAIRO_OPERATOR_DEST_IN, - OPERATOR_DEST_OUT = CAIRO_OPERATOR_DEST_OUT, - OPERATOR_DEST_ATOP = CAIRO_OPERATOR_DEST_ATOP, - - OPERATOR_XOR = CAIRO_OPERATOR_XOR, - OPERATOR_ADD = CAIRO_OPERATOR_ADD, - OPERATOR_SATURATE = CAIRO_OPERATOR_SATURATE -} Operator; - - -typedef enum -{ - ANTIALIAS_DEFAULT = CAIRO_ANTIALIAS_DEFAULT, - ANTIALIAS_NONE = CAIRO_ANTIALIAS_NONE, - ANTIALIAS_GRAY = CAIRO_ANTIALIAS_GRAY, - ANTIALIAS_SUBPIXEL = CAIRO_ANTIALIAS_SUBPIXEL -} Antialias; - -typedef enum -{ - FILL_RULE_WINDING = CAIRO_FILL_RULE_WINDING, - FILL_RULE_EVEN_ODD = CAIRO_FILL_RULE_EVEN_ODD -} FillRule; - - -typedef enum -{ - LINE_CAP_BUTT = CAIRO_LINE_CAP_BUTT, - LINE_CAP_ROUND = CAIRO_LINE_CAP_ROUND, - LINE_CAP_SQUARE = CAIRO_LINE_CAP_SQUARE -} LineCap; - - -typedef enum -{ - LINE_JOIN_MITER = CAIRO_LINE_JOIN_MITER, - LINE_JOIN_ROUND = CAIRO_LINE_JOIN_ROUND, - LINE_JOIN_BEVEL = CAIRO_LINE_JOIN_BEVEL -} LineJoin; - - -typedef enum -{ - FONT_SLANT_NORMAL = CAIRO_FONT_SLANT_NORMAL, - FONT_SLANT_ITALIC = CAIRO_FONT_SLANT_ITALIC, - FONT_SLANT_OBLIQUE = CAIRO_FONT_SLANT_OBLIQUE -} FontSlant; - -typedef enum -{ - FONT_WEIGHT_NORMAL = CAIRO_FONT_WEIGHT_NORMAL, - FONT_WEIGHT_BOLD = CAIRO_FONT_WEIGHT_BOLD -} FontWeight; - - -typedef enum -{ - CONTENT_COLOR = CAIRO_CONTENT_COLOR, - CONTENT_ALPHA = CAIRO_CONTENT_ALPHA, - CONTENT_COLOR_ALPHA = CAIRO_CONTENT_COLOR_ALPHA -} Content; - - -typedef enum -{ - FORMAT_ARGB32 = CAIRO_FORMAT_ARGB32, - FORMAT_RGB24 = CAIRO_FORMAT_RGB24, - FORMAT_A8 = CAIRO_FORMAT_A8, - FORMAT_A1 = CAIRO_FORMAT_A1, - FORMAT_RGB16_565 = CAIRO_FORMAT_RGB16_565 /* @< @deprecated This format value is deprecated. It has never been properly implemented in cairo and is unnecessary. */ -} Format; - - -typedef enum -{ - EXTEND_NONE = CAIRO_EXTEND_NONE, - EXTEND_REPEAT = CAIRO_EXTEND_REPEAT, - EXTEND_REFLECT = CAIRO_EXTEND_REFLECT, -#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,1,1) - EXTEND_PAD = CAIRO_EXTEND_PAD -#endif /* CAIRO_VERSION > CAIRO_VERSION_ENCODE(1,1,1) */ -} Extend; - - -typedef enum -{ - FILTER_FAST = CAIRO_FILTER_FAST, - FILTER_GOOD = CAIRO_FILTER_GOOD, - FILTER_BEST = CAIRO_FILTER_BEST, - FILTER_NEAREST = CAIRO_FILTER_NEAREST, - FILTER_BILINEAR = CAIRO_FILTER_BILINEAR, - FILTER_GAUSSIAN = CAIRO_FILTER_GAUSSIAN -} Filter; - -typedef enum -{ - SUBPIXEL_ORDER_DEFAULT = CAIRO_SUBPIXEL_ORDER_DEFAULT, - SUBPIXEL_ORDER_RGB = CAIRO_SUBPIXEL_ORDER_RGB, - SUBPIXEL_ORDER_BGR = CAIRO_SUBPIXEL_ORDER_BGR, - SUBPIXEL_ORDER_VRGB = CAIRO_SUBPIXEL_ORDER_VRGB, - SUBPIXEL_ORDER_VBGR = CAIRO_SUBPIXEL_ORDER_VBGR -} SubpixelOrder; - - -typedef enum -{ - HINT_STYLE_DEFAULT = CAIRO_HINT_STYLE_DEFAULT, - HINT_STYLE_NONE = CAIRO_HINT_STYLE_NONE, - HINT_STYLE_SLIGHT = CAIRO_HINT_STYLE_SLIGHT, - HINT_STYLE_MEDIUM = CAIRO_HINT_STYLE_MEDIUM, - HINT_STYLE_FULL = CAIRO_HINT_STYLE_FULL -} HintStyle; - - -typedef enum -{ - HINT_METRICS_DEFAULT = CAIRO_HINT_METRICS_DEFAULT, - HINT_METRICS_OFF = CAIRO_HINT_METRICS_OFF, - HINT_METRICS_ON = CAIRO_HINT_METRICS_ON -} HintMetrics; - -typedef enum -{ - SURFACE_TYPE_IMAGE = CAIRO_SURFACE_TYPE_IMAGE, - SURFACE_TYPE_PDF = CAIRO_SURFACE_TYPE_PDF, - SURFACE_TYPE_PS = CAIRO_SURFACE_TYPE_PS, - SURFACE_TYPE_XLIB = CAIRO_SURFACE_TYPE_XLIB, - SURFACE_TYPE_XCB = CAIRO_SURFACE_TYPE_XCB, - SURFACE_TYPE_GLITZ = CAIRO_SURFACE_TYPE_GLITZ, - SURFACE_TYPE_QUARTZ = CAIRO_SURFACE_TYPE_QUARTZ, - SURFACE_TYPE_WIN32 = CAIRO_SURFACE_TYPE_WIN32, - SURFACE_TYPE_BEOS = CAIRO_SURFACE_TYPE_BEOS, - SURFACE_TYPE_DIRECTFB = CAIRO_SURFACE_TYPE_DIRECTFB, - SURFACE_TYPE_SVG = CAIRO_SURFACE_TYPE_SVG, - SURFACE_TYPE_OS2 = CAIRO_SURFACE_TYPE_OS2 -} SurfaceType; - -typedef enum -{ - PATTERN_TYPE_SOLID = CAIRO_PATTERN_TYPE_SOLID, - PATTERN_TYPE_SURFACE = CAIRO_PATTERN_TYPE_SURFACE, - PATTERN_TYPE_LINEAR = CAIRO_PATTERN_TYPE_LINEAR, - PATTERN_TYPE_RADIAL = CAIRO_PATTERN_TYPE_RADIAL -} PatternType; - -typedef enum -{ - FONT_TYPE_TOY = CAIRO_FONT_TYPE_TOY, - FONT_TYPE_FT = CAIRO_FONT_TYPE_FT, - FONT_TYPE_WIN32 = CAIRO_FONT_TYPE_WIN32, - FONT_TYPE_ATSUI = CAIRO_FONT_TYPE_ATSUI -} FontType; - -} // namespace Cairo - -#endif //__CAIROMM_ENUMS_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/exception.cc b/libs/cairomm/cairomm/exception.cc deleted file mode 100644 index 0144f08a0b..0000000000 --- a/libs/cairomm/cairomm/exception.cc +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include - -namespace Cairo -{ - -inline static const char* string_or_empty(const char* text) -{ - return (text ? text : ""); -} - -//TODO: Is it wise to assume that the string is ASCII, as expected by std::logic_error? -logic_error::logic_error(ErrorStatus status) -: std::logic_error( string_or_empty(cairo_status_to_string((cairo_status_t)m_status)) ), - m_status(status) -{ -} - -logic_error::~logic_error() throw() -{} - -/* -const char* logic_error::what() const throw() -{ - //Hopefully this is a const char* to a static string. - return cairo_status_to_string((cairo_status_t)m_status); -} -*/ - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/exception.h b/libs/cairomm/cairomm/exception.h deleted file mode 100644 index 6205a84c16..0000000000 --- a/libs/cairomm/cairomm/exception.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIRO_EXCEPTION_H -#define __CAIRO_EXCEPTION_H - -#include -#include - -namespace Cairo -{ - -/** - */ -class logic_error: public std::logic_error -{ -public: - explicit logic_error(ErrorStatus status); - virtual ~logic_error() throw(); - - //virtual const char* what() const throw(); - -private: - ErrorStatus m_status; -}; - -} // namespace Cairo - -#endif // __CAIRO_EXCEPTION_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/fontface.cc b/libs/cairomm/cairomm/fontface.cc deleted file mode 100644 index 0e1642a45a..0000000000 --- a/libs/cairomm/cairomm/fontface.cc +++ /dev/null @@ -1,74 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - -namespace Cairo -{ - -FontFace::FontFace(cairo_font_face_t* cobject, bool has_reference) -: m_cobject(0) -{ - if(has_reference) - m_cobject = cobject; - else - m_cobject = cairo_font_face_reference(cobject); -} - -FontFace::~FontFace() -{ - if(m_cobject) - cairo_font_face_destroy(m_cobject); -} - -void FontFace::reference() const -{ - cairo_font_face_reference(m_cobject); -} - -void FontFace::unreference() const -{ - cairo_font_face_destroy(m_cobject); -} - -/* -void* FontFace::get_user_data(const cairo_user_data_key_t *key) -{ - void* result = cairo_font_face_get_user_data(m_cobject, key); - check_object_status_and_throw_exception(*this); - return result; -} - -void FontFace::set_user_data(const cairo_user_data_key_t* key, void *user_data, cairo_destroy_func_t destroy) -{ - const ErrorStatus status = (ErrorStatus)cairo_font_face_set_user_data(m_cobject, key, user_data, destroy); - check_status_and_throw_exception(status); -} -*/ - -FontType FontFace::get_type() const -{ - cairo_font_type_t font_type = cairo_font_face_get_type(m_cobject); - check_object_status_and_throw_exception(*this); - return static_cast(font_type); -} - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/fontface.h b/libs/cairomm/cairomm/fontface.h deleted file mode 100644 index 612820cc8b..0000000000 --- a/libs/cairomm/cairomm/fontface.h +++ /dev/null @@ -1,79 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_FONTFACE_H -#define __CAIROMM_FONTFACE_H - -#include -#include - - -namespace Cairo -{ - -/** - * This is a reference-counted object that should be used via Cairo::RefPtr. - */ -class FontFace -{ -protected: - - //TODO?: FontFace(cairo_font_face_t *target); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit FontFace(cairo_font_face_t* cobject, bool has_reference = false); - - - virtual ~FontFace(); - - /* Don't wrap these until we know what they are good for. - void* get_user_data(const cairo_user_data_key_t *key); - - void set_user_data(const cairo_user_data_key_t *key, void *user_data, cairo_destroy_func_t destroy); - */ - - FontType get_type() const; - - typedef cairo_font_face_t cobject; - inline cobject* cobj() { return m_cobject; } - inline const cobject* cobj() const { return m_cobject; } - - #ifndef DOXYGEN_IGNORE_THIS - ///For use only by the cairomm implementation. - inline ErrorStatus get_status() const - { return cairo_font_face_status(const_cast(cobj())); } - #endif //DOXYGEN_IGNORE_THIS - - void reference() const; - void unreference() const; - -protected: - - cobject* m_cobject; -}; - -} // namespace Cairo - -#endif //__CAIROMM_FONTFACE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/fontoptions.cc b/libs/cairomm/cairomm/fontoptions.cc deleted file mode 100644 index 864037c8fb..0000000000 --- a/libs/cairomm/cairomm/fontoptions.cc +++ /dev/null @@ -1,159 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - -namespace Cairo -{ - -FontOptions::FontOptions() -: m_cobject(0) -{ - m_cobject = cairo_font_options_create(); - check_object_status_and_throw_exception(*this); -} - -FontOptions::FontOptions(cairo_font_options_t* cobject, bool take_ownership) -: m_cobject(0) -{ - if(take_ownership) - m_cobject = cobject; - else - m_cobject = cairo_font_options_copy(cobject); - - check_object_status_and_throw_exception(*this); -} - -FontOptions::FontOptions(const FontOptions& src) -{ - //Reference-counting, instead of copying by value: - if(!src.m_cobject) - m_cobject = 0; - else - m_cobject = cairo_font_options_copy(src.m_cobject); - - check_object_status_and_throw_exception(*this); -} - -FontOptions::~FontOptions() -{ - if(m_cobject) - cairo_font_options_destroy(m_cobject); -} - - -FontOptions& FontOptions::operator=(const FontOptions& src) -{ - //Reference-counting, instead of copying by value: - - if(this == &src) - return *this; - - if(m_cobject == src.m_cobject) - return *this; - - if(m_cobject) - { - cairo_font_options_destroy(m_cobject); - m_cobject = 0; - } - - if(!src.m_cobject) - return *this; - - m_cobject = cairo_font_options_copy(src.m_cobject); - - return *this; -} - -bool FontOptions::operator==(const FontOptions& src) const -{ - return cairo_font_options_equal(m_cobject, src.cobj()); -} - -void FontOptions::merge(const FontOptions& src) -{ - cairo_font_options_merge(m_cobject, src.cobj()); - check_object_status_and_throw_exception(*this); -} - -unsigned long FontOptions::hash() const -{ - const unsigned long result = cairo_font_options_hash(m_cobject); - check_object_status_and_throw_exception(*this); - return result; -} - -void FontOptions::set_antialias(Antialias antialias) -{ - cairo_font_options_set_antialias(m_cobject, static_cast(antialias)); - check_object_status_and_throw_exception(*this); -} - -Antialias FontOptions::get_antialias() const -{ - const Antialias result = static_cast(cairo_font_options_get_antialias(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -void FontOptions::set_subpixel_order(SubpixelOrder subpixel_order) -{ - cairo_font_options_set_subpixel_order(m_cobject, static_cast(subpixel_order)); - check_object_status_and_throw_exception(*this); -} - -SubpixelOrder FontOptions::get_subpixel_order() const -{ - const SubpixelOrder result = static_cast(cairo_font_options_get_subpixel_order(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -void FontOptions::set_hint_style(HintStyle hint_style) -{ - cairo_font_options_set_hint_style(m_cobject, static_cast(hint_style)); - check_object_status_and_throw_exception(*this); -} - -HintStyle FontOptions::get_hint_style() const -{ - const HintStyle result = static_cast(cairo_font_options_get_hint_style(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -void FontOptions::set_hint_metrics(HintMetrics hint_metrics) -{ - cairo_font_options_set_hint_metrics(m_cobject, - static_cast(hint_metrics)); - check_object_status_and_throw_exception(*this); -} - -HintMetrics FontOptions::get_hint_metrics() const -{ - const HintMetrics result = - static_cast(cairo_font_options_get_hint_metrics(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/fontoptions.h b/libs/cairomm/cairomm/fontoptions.h deleted file mode 100644 index 3c35176121..0000000000 --- a/libs/cairomm/cairomm/fontoptions.h +++ /dev/null @@ -1,81 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_FONTOPTIONS_H -#define __CAIROMM_FONTOPTIONS_H - -#include -#include -#include - - -namespace Cairo -{ - -/** How a font should be rendered. - */ -class FontOptions -{ -public: - FontOptions(); - explicit FontOptions(cairo_font_options_t* cobject, bool take_ownership = false); - FontOptions(const FontOptions& src); - - virtual ~FontOptions(); - - FontOptions& operator=(const FontOptions& src); - - bool operator ==(const FontOptions& src) const; - //bool operator !=(const FontOptions& src) const; - - void merge(const FontOptions& other); - - unsigned long hash() const; - - void set_antialias(Antialias antialias); - Antialias get_antialias() const; - - void set_subpixel_order(SubpixelOrder subpixel_order); - SubpixelOrder get_subpixel_order() const; - - void set_hint_style(HintStyle hint_style); - HintStyle get_hint_style() const; - - void set_hint_metrics(HintMetrics hint_metrics); - HintMetrics get_hint_metrics() const; - - typedef cairo_font_options_t cobject; - inline cobject* cobj() { return m_cobject; } - inline const cobject* cobj() const { return m_cobject; } - - #ifndef DOXYGEN_IGNORE_THIS - ///For use only by the cairomm implementation. - inline ErrorStatus get_status() const - { return cairo_font_options_status(const_cast(cobj())); } - #endif //DOXYGEN_IGNORE_THIS - -protected: - - cobject* m_cobject; -}; - -} // namespace Cairo - -#endif //__CAIROMM_FONTOPTIONS_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/path.cc b/libs/cairomm/cairomm/path.cc deleted file mode 100644 index 8040aa3e6b..0000000000 --- a/libs/cairomm/cairomm/path.cc +++ /dev/null @@ -1,98 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include -#include - -namespace Cairo -{ - -/* -Path::Path() -: m_cobject(0) -{ - m_cobject = cairo_path_create(); -} -*/ - -Path::Path(cairo_path_t* cobject, bool take_ownership) -: m_cobject(0) -{ - if(take_ownership) - m_cobject = cobject; - else - { - std::cerr << "cairomm: Path::Path(): copying of the underlying cairo_path_t* is not yet implemented." << std::endl; - //m_cobject = cairo_path_copy(cobject); - } -} - -/* -Path::Path(const Path& src) -{ - //Reference-counting, instead of copying by value: - if(!src.m_cobject) - m_cobject = 0; - else - m_cobject = cairo_path_copy(src.m_cobject); -} -*/ - -Path::~Path() -{ - if(m_cobject) - cairo_path_destroy(m_cobject); -} - -/* -Path& Path::operator=(const Path& src) -{ - //Reference-counting, instead of copying by value: - - if(this == &src) - return *this; - - if(m_cobject == src.m_cobject) - return *this; - - if(m_cobject) - { - cairo_path_destroy(m_cobject); - m_cobject = 0; - } - - if(!src.m_cobject) - return *this; - - m_cobject = cairo_path_copy(src.m_cobject); - - return *this; -} -*/ - -/* -bool Path::operator==(const Path& src) const -{ - return cairo_path_equal(m_cobject, src.cobj()); -} -*/ - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/path.h b/libs/cairomm/cairomm/path.h deleted file mode 100644 index f5f7480908..0000000000 --- a/libs/cairomm/cairomm/path.h +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_PATH_H -#define __CAIROMM_PATH_H - -#include -#include -#include - - -namespace Cairo -{ - -/** A data structure for holding a path. - * Use Context::copy_path() or Context::copy_path_flat() to instantiate a new - * Path. The application is responsible for freeing the Path object when it is - * no longer needed. - * - * @todo There's currently no way to access the path data without reverting to - * the C object (see cobj()) - */ -class Path -{ -public: - //Path(); - explicit Path(cairo_path_t* cobject, bool take_ownership = false); - //Path(const Path& src); - - virtual ~Path(); - - //Path& operator=(const Path& src); - - //bool operator ==(const Path& src) const; - //bool operator !=(const Path& src) const; - - typedef cairo_path_t cobject; - inline cobject* cobj() { return m_cobject; } - inline const cobject* cobj() const { return m_cobject; } - - #ifndef DOXYGEN_IGNORE_THIS - ///For use only by the cairomm implementation. - //There is no *_status() function for this object: - //inline ErrorStatus get_status() const - //{ return cairo_path_status(const_cast(cobj())); } - #endif //DOXYGEN_IGNORE_THIS - -protected: - - cobject* m_cobject; -}; - -} // namespace Cairo - -#endif //__CAIROMM_PATH_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/pattern.cc b/libs/cairomm/cairomm/pattern.cc deleted file mode 100644 index 420ed824d1..0000000000 --- a/libs/cairomm/cairomm/pattern.cc +++ /dev/null @@ -1,286 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - -namespace Cairo -{ - -Pattern::Pattern() -: m_cobject(0) -{ -} - -Pattern::Pattern(cairo_pattern_t* cobject, bool has_reference) -: m_cobject(0) -{ - if(has_reference) - m_cobject = cobject; - else - m_cobject = cairo_pattern_reference(cobject); -} - -Pattern::~Pattern() -{ - if(m_cobject) - cairo_pattern_destroy(m_cobject); -} - -void Pattern::reference() const -{ - cairo_pattern_reference(m_cobject); -} - -void Pattern::unreference() const -{ - cairo_pattern_destroy(m_cobject); -} - -void Pattern::set_matrix(const cairo_matrix_t &matrix) -{ - cairo_pattern_set_matrix(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -void Pattern::get_matrix(cairo_matrix_t &matrix) const -{ - cairo_pattern_get_matrix(m_cobject, &matrix); - check_object_status_and_throw_exception(*this); -} - -PatternType Pattern::get_type() const -{ - cairo_pattern_type_t pattern_type = cairo_pattern_get_type(m_cobject); - check_object_status_and_throw_exception(*this); - return static_cast(pattern_type); -} - - - -SolidPattern::SolidPattern(cairo_pattern_t* cobject, bool has_reference) -: Pattern(cobject, has_reference) -{ -} -void -SolidPattern::get_rgba(double& red, double& green, - double& blue, double& alpha) const -{ - // ignore the return value since we know that this is a solid color pattern - cairo_pattern_get_rgba(m_cobject, &red, &green, &blue, &alpha); - check_object_status_and_throw_exception(*this); -} - -SolidPattern::~SolidPattern() -{ -} - -RefPtr SolidPattern::create_rgb(double red, double green, double blue) -{ - cairo_pattern_t* cobject = cairo_pattern_create_rgb(red, green, blue); - check_status_and_throw_exception(cairo_pattern_status(cobject)); - return RefPtr(new SolidPattern(cobject, true /* has reference */)); -} - -RefPtr SolidPattern::create_rgba(double red, double green, double blue, double alpha) -{ - cairo_pattern_t* cobject = cairo_pattern_create_rgba(red, green, blue, alpha); - check_status_and_throw_exception(cairo_pattern_status(cobject)); - return RefPtr(new SolidPattern(cobject, true /* has reference */)); -} - - -SurfacePattern::SurfacePattern(const RefPtr& surface) -{ - m_cobject = cairo_pattern_create_for_surface(surface->cobj()); - check_object_status_and_throw_exception(*this); -} - -RefPtr -SurfacePattern::get_surface() -{ - cairo_surface_t* surface = 0; - // we can ignore the return value since we know this is a surface pattern - cairo_pattern_get_surface(const_cast(m_cobject), &surface); - check_object_status_and_throw_exception(*this); - return RefPtr(new Surface(surface, false /* does not have reference */)); -} - -RefPtr -SurfacePattern::get_surface() const -{ - return const_cast(this)->get_surface(); -} - -RefPtr SurfacePattern::create(const RefPtr& surface) -{ - return RefPtr(new SurfacePattern(surface)); -} - -SurfacePattern::SurfacePattern(cairo_pattern_t* cobject, bool has_reference) -: Pattern(cobject, has_reference) -{ -} - -SurfacePattern::~SurfacePattern() -{ -} - -void SurfacePattern::set_extend(Extend extend) -{ - cairo_pattern_set_extend(m_cobject, (cairo_extend_t)extend); - check_object_status_and_throw_exception(*this); -} - -Extend SurfacePattern::get_extend() const -{ - const Extend result = static_cast(cairo_pattern_get_extend(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - -void SurfacePattern::set_filter(Filter filter) -{ - cairo_pattern_set_filter(m_cobject, (cairo_filter_t)filter); - check_object_status_and_throw_exception(*this); -} - -Filter SurfacePattern::get_filter() const -{ - Filter result = static_cast(cairo_pattern_get_filter(m_cobject)); - check_object_status_and_throw_exception(*this); - return result; -} - - - -Gradient::Gradient() -{ -} - -Gradient::Gradient(cairo_pattern_t* cobject, bool has_reference) -: Pattern(cobject, has_reference) -{ -} - -Gradient::~Gradient() -{ -} - -void Gradient::add_color_stop_rgb(double offset, double red, double green, double blue) -{ - cairo_pattern_add_color_stop_rgb(m_cobject, offset, red, green, blue); - check_object_status_and_throw_exception(*this); -} - -void Gradient::add_color_stop_rgba(double offset, double red, double green, double blue, double alpha) -{ - cairo_pattern_add_color_stop_rgba(m_cobject, offset, red, green, blue, alpha); - check_object_status_and_throw_exception(*this); -} - -std::vector -Gradient::get_color_stops() const -{ - std::vector stops; - - int num_stops = 0; - // we can ignore the return value since we know this is a gradient pattern - cairo_pattern_get_color_stop_count(m_cobject, &num_stops); - // since we know the total number of stops, we can avoid re-allocation with - // each addition to the vector by pre-allocating the required number - stops.reserve(num_stops); - for(int i = 0; i < num_stops; ++i) - { - ColorStop stop; - cairo_pattern_get_color_stop_rgba(m_cobject, i, &stop.offset, &stop.red, - &stop.green, &stop.blue, &stop.alpha); - stops.push_back(stop); - } - return stops; -} - - -LinearGradient::LinearGradient(double x0, double y0, double x1, double y1) -{ - m_cobject = cairo_pattern_create_linear(x0, y0, x1, y1); - check_object_status_and_throw_exception(*this); -} - -void -LinearGradient::get_linear_points(double &x0, double &y0, - double &x1, double &y1) const -{ - // ignore the return value since we know that this is a linear gradient - // pattern - cairo_pattern_get_linear_points(m_cobject, &x0, &y0, &x1, &y1); - check_object_status_and_throw_exception(*this); -} - - -RefPtr LinearGradient::create(double x0, double y0, double x1, double y1) -{ - return RefPtr(new LinearGradient(x0, y0, x1, y1)); -} - -LinearGradient::LinearGradient(cairo_pattern_t* cobject, bool has_reference) -: Gradient(cobject, has_reference) -{ -} - -LinearGradient::~LinearGradient() -{ -} - - -RadialGradient::RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) -{ - m_cobject = cairo_pattern_create_radial(cx0, cy0, radius0, cx1, cy1, radius1); - check_object_status_and_throw_exception(*this); -} - -void -RadialGradient::get_radial_circles(double& x0, double& y0, double& r0, - double& x1, double& y1, double& r1) const -{ - // ignore the return value since we know that this is a radial gradient - // pattern - cairo_pattern_get_radial_circles(const_cast(m_cobject), - &x0, &y0, &r0, &x1, &y1, &r1); - check_object_status_and_throw_exception(*this); -} - - -RefPtr RadialGradient::create(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) -{ - return RefPtr(new RadialGradient(cx0, cy0, radius0, cx1, cy1, radius1)); -} - -RadialGradient::RadialGradient(cairo_pattern_t* cobject, bool has_reference) -: Gradient(cobject, has_reference) -{ -} - -RadialGradient::~RadialGradient() -{ -} - - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/pattern.h b/libs/cairomm/cairomm/pattern.h deleted file mode 100644 index e56d38339e..0000000000 --- a/libs/cairomm/cairomm/pattern.h +++ /dev/null @@ -1,290 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_PATTERN_H -#define __CAIROMM_PATTERN_H - -#include -#include -#include - - -namespace Cairo -{ -struct ColorStop -{ - double offset; - double red, green, blue, alpha; -}; - -/** - * This is a reference-counted object that should be used via Cairo::RefPtr. - */ -class Pattern -{ -protected: - //Use derived constructors. - - //TODO?: Pattern(cairo_pattern_t *target); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit Pattern(cairo_pattern_t* cobject, bool has_reference = false); - - virtual ~Pattern(); - - void set_matrix(const cairo_matrix_t &matrix); - void get_matrix(cairo_matrix_t &matrix) const; - PatternType get_type() const; - - typedef cairo_pattern_t cobject; - inline cobject* cobj() { return m_cobject; } - inline const cobject* cobj() const { return m_cobject; } - - #ifndef DOXYGEN_IGNORE_THIS - ///For use only by the cairomm implementation. - inline ErrorStatus get_status() const - { return cairo_pattern_status(const_cast(cobj())); } - #endif //DOXYGEN_IGNORE_THIS - - void reference() const; - void unreference() const; - -protected: - //Used by derived types only. - Pattern(); - - cobject* m_cobject; -}; - -class SolidPattern : public Pattern -{ -protected: - -public: - - /** Create a C++ wrapper for the C instance. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit SolidPattern(cairo_pattern_t* cobject, bool has_reference = false); - - /** - * Gets the solid color for a solid color pattern. - * - * @param red return value for red component of color - * @param green return value for green component of color - * @param blue return value for blue component of color - * @param alpha return value for alpha component of color - * - * @since 1.4 - **/ - void get_rgba (double& red, double& green, - double& blue, double& alpha) const; - - //TODO: Documentation - static RefPtr create_rgb(double red, double green, double blue); - - //TODO: Documentation - static RefPtr create_rgba(double red, double green, - double blue, double alpha); - - //TODO?: SolidPattern(cairo_pattern_t *target); - virtual ~SolidPattern(); -}; - -class SurfacePattern : public Pattern -{ -protected: - - explicit SurfacePattern(const RefPtr& surface); - - //TODO?: SurfacePattern(cairo_pattern_t *target); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit SurfacePattern(cairo_pattern_t* cobject, bool has_reference = false); - - /** - * Gets the surface associated with this pattern - * - * @since 1.4 - **/ - RefPtr get_surface () const; - - /** - * Gets the surface associated with this pattern - * - * @since 1.4 - **/ - RefPtr get_surface (); - - virtual ~SurfacePattern(); - - static RefPtr create(const RefPtr& surface); - - void set_extend(Extend extend); - Extend get_extend() const; - void set_filter(Filter filter); - Filter get_filter() const; -}; - -class Gradient : public Pattern -{ -protected: - //Use derived constructors. - - //TODO?: Gradient(cairo_pattern_t *target); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit Gradient(cairo_pattern_t* cobject, bool has_reference = false); - - virtual ~Gradient(); - - /** - * Adds an opaque color stop to a gradient pattern. The offset - * specifies the location along the gradient's control vector. For - * example, a linear gradient's control vector is from (x0,y0) to - * (x1,y1) while a radial gradient's control vector is from any point - * on the start circle to the corresponding point on the end circle. - * - * The color is specified in the same way as in Context::set_source_rgb(). - * - * @param offset an offset in the range [0.0 .. 1.0] - * @param red red component of color - * @param green green component of color - * @param blue blue component of color - **/ - void add_color_stop_rgb(double offset, double red, double green, double blue); - - /** - * Adds a translucent color stop to a gradient pattern. The offset - * specifies the location along the gradient's control vector. For - * example, a linear gradient's control vector is from (x0,y0) to - * (x1,y1) while a radial gradient's control vector is from any point - * on the start circle to the corresponding point on the end circle. - * - * The color is specified in the same way as in Context::set_source_rgba(). - * - * @param offset an offset in the range [0.0 .. 1.0] - * @param red red component of color - * @param green green component of color - * @param blue blue component of color - * @param alpha alpha component of color - */ - void add_color_stop_rgba(double offset, double red, double green, double blue, double alpha); - - /* - * Gets the color stops and offsets for this Gradient - * - * @since 1.4 - */ - std::vector get_color_stops() const; - - -protected: - Gradient(); -}; - -class LinearGradient : public Gradient -{ -protected: - - LinearGradient(double x0, double y0, double x1, double y1); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit LinearGradient(cairo_pattern_t* cobject, bool has_reference = false); - - /** - * @param x0 return value for the x coordinate of the first point - * @param y0 return value for the y coordinate of the first point - * @param x1 return value for the x coordinate of the second point - * @param y1 return value for the y coordinate of the second point - * - * Gets the gradient endpoints for a linear gradient. - * - * @since 1.4 - **/ - void get_linear_points(double &x0, double &y0, - double &x1, double &y1) const; - - //TODO?: LinearGradient(cairo_pattern_t *target); - virtual ~LinearGradient(); - - static RefPtr create(double x0, double y0, double x1, double y1); -}; - -class RadialGradient : public Gradient -{ -protected: - - RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the constructor will take an extra reference. - */ - explicit RadialGradient(cairo_pattern_t* cobject, bool has_reference = false); - - /** - * @param x0 return value for the x coordinate of the center of the first (inner) circle - * @param y0 return value for the y coordinate of the center of the first (inner) circle - * @param r0 return value for the radius of the first (inner) circle - * @param x1 return value for the x coordinate of the center of the second (outer) circle - * @param y1 return value for the y coordinate of the center of the second (outer) circle - * @param r1 return value for the radius of the second (outer) circle - * - * Gets the gradient endpoint circles for a radial gradient, each - * specified as a center coordinate and a radius. - * - * @since 1.4 - **/ - void get_radial_circles(double& x0, double& y0, double& r0, - double& x1, double& y1, double& r1) const; - - //TODO?: RadialGradient(cairo_pattern_t *target); - virtual ~RadialGradient(); - - static RefPtr create(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1); -}; - -} // namespace Cairo - -#endif //__CAIROMM_PATTERN_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/private.cc b/libs/cairomm/cairomm/private.cc deleted file mode 100644 index d71f0dfa2c..0000000000 --- a/libs/cairomm/cairomm/private.cc +++ /dev/null @@ -1,85 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -//#include //For CAIROMM_EXCEPTIONS_ENABLED -#include -#include -#include -#include - -namespace Cairo -{ - -#ifdef CAIROMM_EXCEPTIONS_ENABLED -void throw_exception(ErrorStatus status) -{ - switch(status) - { - case CAIRO_STATUS_SUCCESS: - // we should never get here, but just in case - break; - - case CAIRO_STATUS_NO_MEMORY: - throw std::bad_alloc(); - break; - - // Programmer error - case CAIRO_STATUS_INVALID_RESTORE: - case CAIRO_STATUS_INVALID_POP_GROUP: - case CAIRO_STATUS_NO_CURRENT_POINT: - case CAIRO_STATUS_INVALID_MATRIX: - //No longer in API?: case CAIRO_STATUS_NO_TARGET_SURFACE: - case CAIRO_STATUS_INVALID_STRING: - case CAIRO_STATUS_SURFACE_FINISHED: - //No longer in API?: case CAIRO_STATUS_BAD_NESTING: - throw Cairo::logic_error(status); - break; - - // Language binding implementation: - case CAIRO_STATUS_NULL_POINTER: - case CAIRO_STATUS_INVALID_PATH_DATA: - case CAIRO_STATUS_SURFACE_TYPE_MISMATCH: - throw Cairo::logic_error(status); - break; - - // Other - case CAIRO_STATUS_READ_ERROR: - case CAIRO_STATUS_WRITE_ERROR: - { - //The Cairo language binding advice suggests that these are stream errors - //that should be mapped to their C++ equivalents. - const char* error_message = cairo_status_to_string(status); - throw std::ios_base::failure( error_message ? error_message : std::string() ); - } - break; - - default: - throw Cairo::logic_error(status); - break; - } -} -#else -void throw_exception(ErrorStatus /* status */) -{ - //Do nothing. The application should call get_status() instead. -} -#endif //CAIROMM_EXCEPTIONS_ENABLED - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/private.h b/libs/cairomm/cairomm/private.h deleted file mode 100644 index 6b911b558a..0000000000 --- a/libs/cairomm/cairomm/private.h +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_PRIVATE_H -#define __CAIROMM_PRIVATE_H - -#include -#include -#include - -#ifndef DOXYGEN_IGNORE_THIS -namespace Cairo -{ - -/// Throws the appropriate exception, if exceptions are enabled. -void throw_exception(ErrorStatus status); - -//We inline this because it is called so often. -inline void check_status_and_throw_exception(ErrorStatus status) -{ - if(status != CAIRO_STATUS_SUCCESS) - throw_exception(status); //This part doesn't need to be inline because it would rarely be called. -} - -template -void check_object_status_and_throw_exception(const T& object) -{ - //get_status() is normally an inlined member method. - check_status_and_throw_exception(object.get_status()); -} - -} // namespace Cairo -#endif //DOXYGEN_IGNORE_THIS - -#endif //__CAIROMM_PRIVATE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/quartz_surface.cc b/libs/cairomm/cairomm/quartz_surface.cc deleted file mode 100644 index b5000c6f1b..0000000000 --- a/libs/cairomm/cairomm/quartz_surface.cc +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (C) 2007 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - -namespace Cairo -{ - -#ifdef CAIRO_HAS_QUARTZ_SURFACE - -QuartzSurface::QuartzSurface(cairo_surface_t* cobject, bool has_reference) : - Surface(cobject, has_reference) -{} - -QuartzSurface::~QuartzSurface() -{ - // surface is destroyed in base class -} - -CGContextRef QuartzSurface::get_cg_context() const -{ - return cairo_quartz_surface_get_cg_context(m_cobject); -} - -RefPtr QuartzSurface::create(CGContextRef cg_context, int width, int height) -{ - cairo_surface_t* cobject = cairo_quartz_surface_create_for_cg_context(cg_context, - width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new QuartzSurface(cobject, true /* has reference */)); -} - -RefPtr QuartzSurface::create(Format format, int width, int height) -{ - cairo_surface_t* cobject = cairo_quartz_surface_create((cairo_format_t)format, width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new QuartzSurface(cobject, true /* has reference */)); -} - -#endif // CAIRO_HAS_QUARTZ_SURFACE - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/quartz_surface.h b/libs/cairomm/cairomm/quartz_surface.h deleted file mode 100644 index 246a45a1b8..0000000000 --- a/libs/cairomm/cairomm/quartz_surface.h +++ /dev/null @@ -1,88 +0,0 @@ -/* Copyright (C) 2007 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_QUARTZ_SURFACE_H -#define __CAIROMM_QUARTZ_SURFACE_H - -#include - -#ifdef CAIRO_HAS_QUARTZ_SURFACE -#include -#endif - -namespace Cairo -{ - -#ifdef CAIRO_HAS_QUARTZ_SURFACE - -/** A QuartzSurface provides a way to render within Apple Mac OS X. If you - * want to draw to the screen within a Mac OS X application, you - * should use this Surface type. - * - * @note For this Surface to be available, cairo must have been compiled with - * (native) Quartz support (requires Cairo > 1.4.0) - */ -class QuartzSurface : public Surface -{ -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit QuartzSurface(cairo_surface_t* cobject, bool has_reference = false); - virtual ~QuartzSurface(); - - /** Returns the CGContextRef associated with this surface, or NULL if none. Also - * returns NULL if the surface is not a Quartz surface. - * - * @return CGContextRef or NULL if no CGContextRef available. - */ - CGContextRef get_cg_context() const; - - /** Creates a cairo surface that targets the given CGContext. - * - * @param cg_context the CGContext to create a surface for - * @return the newly created surface - */ - static RefPtr create(CGContextRef cg_context, int width, int height); - - /** Creates a device-independent-bitmap surface not associated with any - * particular existing surface or device context. The created bitmap will be - * unititialized. - * - * @param format format of pixels in the surface to create - * @param width width of the surface, in pixels - * @param height height of the surface, in pixels - * @return the newly created surface - */ - static RefPtr create(Format format, int width, int height); - -}; - -#endif // CAIRO_HAS_QUARTZ_SURFACE - - -} // namespace Cairo - -#endif //__CAIROMM_QUARTZ_SURFACE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/refptr.h b/libs/cairomm/cairomm/refptr.h deleted file mode 100644 index 90b8240192..0000000000 --- a/libs/cairomm/cairomm/refptr.h +++ /dev/null @@ -1,399 +0,0 @@ -// -*- c++ -*- -#ifndef _cairo_REFPTR_H -#define _cairo_REFPTR_H - -/* $Id: refptr.h,v 1.6 2006-09-27 18:38:57 murrayc Exp $ */ - -/* Copyright 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - - -namespace Cairo -{ - -/** RefPtr<> is a reference-counting shared smartpointer. - * - * Reference counting means that a shared reference count is incremented each - * time a RefPtr is copied, and decremented each time a RefPtr is destroyed, - * for instance when it leaves its scope. When the reference count reaches - * zero, the contained object is deleted - * - * cairomm uses RefPtr so that you don't need to remember - * to delete the object explicitly, or know when a method expects you to delete - * the object that it returns, and to prevent any need to manually reference - * and unreference() cairo objects. - */ -template -class RefPtr -{ -public: - /** Default constructor - * - * Afterwards it will be null and use of -> will cause a segmentation fault. - */ - inline RefPtr(); - - /// Destructor - decrements reference count. - inline ~RefPtr(); - - /** For use only in the internal implementation of cairomm, gtkmm, etc. - * - * This takes ownership of @a pCppObject, so it will be deleted when the - * last RefPtr is deleted, for instance when it goes out of scope. - * - * This assumes that @a pCppObject already has a starting reference for its underlying cairo object, - * so that destruction of @a @pCppObject will cause a corresponding unreference of its underlying - * cairo object. For instance, a cairo_*_create() function usually provides a starting reference, - * but a cairo_*_get_*() function requires the caller to manually reference the returned object. - * In this case, you should call reference() on @a pCppObject before passing it to this constructor. - */ - explicit inline RefPtr(T_CppObject* pCppObject); - - /// For use only in the internal implementation of sharedptr. - explicit inline RefPtr(T_CppObject* pCppObject, int* refcount); - - /** Copy constructor - * - * This increments the shared reference count. - */ - inline RefPtr(const RefPtr& src); - - /** Copy constructor (from different, but castable type). - * - * Increments the reference count. - */ - template - inline RefPtr(const RefPtr& src); - - /** Swap the contents of two RefPtr<>. - * This method swaps the internal pointers to T_CppObject. This can be - * done safely without involving a reference/unreference cycle and is - * therefore highly efficient. - */ - inline void swap(RefPtr& other); - - /// Copy from another RefPtr: - inline RefPtr& operator=(const RefPtr& src); - - /** Copy from different, but castable type). - * - * Increments the reference count. - */ - template - inline RefPtr& operator=(const RefPtr& src); - - /// Tests whether the RefPtr<> point to the same underlying instance. - inline bool operator==(const RefPtr& src) const; - - /// See operator==(). - inline bool operator!=(const RefPtr& src) const; - - /** Dereferencing. - * - * Use the methods of the underlying instance like so: - * refptr->memberfun(). - */ - inline T_CppObject* operator->() const; - - /** Test whether the RefPtr<> points to any underlying instance. - * - * Mimics usage of ordinary pointers: - * @code - * if (ptr) - * do_something(); - * @endcode - */ - inline operator bool() const; - - /// Set underlying instance to 0, decrementing reference count of existing instance appropriately. - inline void clear(); - - - /** Dynamic cast to derived class. - * - * The RefPtr can't be cast with the usual notation so instead you can use - * @code - * ptr_derived = RefPtr::cast_dynamic(ptr_base); - * @endcode - */ - template - static inline RefPtr cast_dynamic(const RefPtr& src); - - /** Static cast to derived class. - * - * Like the dynamic cast; the notation is - * @code - * ptr_derived = RefPtr::cast_static(ptr_base); - * @endcode - */ - template - static inline RefPtr cast_static(const RefPtr& src); - - /** Cast to non-const. - * - * The RefPtr can't be cast with the usual notation so instead you can use - * @code - * ptr_unconst = RefPtr::cast_const(ptr_const); - * @endcode - */ - template - static inline RefPtr cast_const(const RefPtr& src); - - -#ifndef DOXYGEN_IGNORE_THIS - - // Warning: This is for internal use only. Do not manually modify the - // reference count with this pointer. - inline int* refcount_() const { return pCppRefcount_; } - -#endif // DOXYGEN_IGNORE_THIS - -private: - void unref(); - - T_CppObject* pCppObject_; - mutable int* pCppRefcount_; -}; - - -#ifndef DOXYGEN_IGNORE_THIS - -// RefPtr<>::operator->() comes first here since it's used by other methods. -// If it would come after them it wouldn't be inlined. - -template inline -T_CppObject* RefPtr::operator->() const -{ - return pCppObject_; -} - -template inline -RefPtr::RefPtr() -: - pCppObject_(0), - pCppRefcount_(0) -{} - -template inline -RefPtr::~RefPtr() -{ - unref(); -} - -template inline -void RefPtr::unref() -{ - if(pCppRefcount_) - { - --(*pCppRefcount_); - - if(*pCppRefcount_ == 0) - { - if(pCppObject_) - { - delete pCppObject_; - pCppObject_ = 0; - } - - delete pCppRefcount_; - pCppRefcount_ = 0; - } - } -} - - -template inline -RefPtr::RefPtr(T_CppObject* pCppObject) -: - pCppObject_(pCppObject), - pCppRefcount_(0) -{ - if(pCppObject) - { - pCppRefcount_ = new int; - *pCppRefcount_ = 1; //This will be decremented in the destructor. - } -} - -//Used by cast_*() implementations: -template inline -RefPtr::RefPtr(T_CppObject* pCppObject, int* refcount) -: - pCppObject_(pCppObject), - pCppRefcount_(refcount) -{ - if(pCppObject_ && pCppRefcount_) - ++(*pCppRefcount_); -} - -template inline -RefPtr::RefPtr(const RefPtr& src) -: - pCppObject_ (src.pCppObject_), - pCppRefcount_(src.pCppRefcount_) -{ - if(pCppObject_ && pCppRefcount_) - ++(*pCppRefcount_); -} - -// The templated ctor allows copy construction from any object that's -// castable. Thus, it does downcasts: -// base_ref = derived_ref -template - template -inline -RefPtr::RefPtr(const RefPtr& src) -: - // A different RefPtr<> will not allow us access to pCppObject_. We need - // to add a get_underlying() for this, but that would encourage incorrect - // use, so we use the less well-known operator->() accessor: - pCppObject_ (src.operator->()), - pCppRefcount_(src.refcount_()) -{ - if(pCppObject_ && pCppRefcount_) - ++(*pCppRefcount_); -} - -template inline -void RefPtr::swap(RefPtr& other) -{ - T_CppObject *const temp = pCppObject_; - int* temp_count = pCppRefcount_; - - pCppObject_ = other.pCppObject_; - pCppRefcount_ = other.pCppRefcount_; - - other.pCppObject_ = temp; - other.pCppRefcount_ = temp_count; -} - -template inline -RefPtr& RefPtr::operator=(const RefPtr& src) -{ - // In case you haven't seen the swap() technique to implement copy - // assignment before, here's what it does: - // - // 1) Create a temporary RefPtr<> instance via the copy ctor, thereby - // increasing the reference count of the source object. - // - // 2) Swap the internal object pointers of *this and the temporary - // RefPtr<>. After this step, *this already contains the new pointer, - // and the old pointer is now managed by temp. - // - // 3) The destructor of temp is executed, thereby unreferencing the - // old object pointer. - // - // This technique is described in Herb Sutter's "Exceptional C++", and - // has a number of advantages over conventional approaches: - // - // - Code reuse by calling the copy ctor. - // - Strong exception safety for free. - // - Self assignment is handled implicitely. - // - Simplicity. - // - It just works and is hard to get wrong; i.e. you can use it without - // even thinking about it to implement copy assignment whereever the - // object data is managed indirectly via a pointer, which is very common. - - RefPtr temp (src); - this->swap(temp); - return *this; -} - -template - template -inline -RefPtr& RefPtr::operator=(const RefPtr& src) -{ - RefPtr temp (src); - this->swap(temp); - return *this; -} - -template inline -bool RefPtr::operator==(const RefPtr& src) const -{ - return (pCppObject_ == src.pCppObject_); -} - -template inline -bool RefPtr::operator!=(const RefPtr& src) const -{ - return (pCppObject_ != src.pCppObject_); -} - -template inline -RefPtr::operator bool() const -{ - return (pCppObject_ != 0); -} - -template inline -void RefPtr::clear() -{ - RefPtr temp; // swap with an empty RefPtr<> to clear *this - this->swap(temp); -} - -template - template -inline -RefPtr RefPtr::cast_dynamic(const RefPtr& src) -{ - T_CppObject *const pCppObject = dynamic_cast(src.operator->()); - - if(pCppObject) //Check whether dynamic_cast<> succeeded so we don't pass a null object with a used refcount: - return RefPtr(pCppObject, src.refcount_()); - else - return RefPtr(); -} - -template - template -inline -RefPtr RefPtr::cast_static(const RefPtr& src) -{ - T_CppObject *const pCppObject = static_cast(src.operator->()); - - return RefPtr(pCppObject, src.refcount_()); -} - -template - template -inline -RefPtr RefPtr::cast_const(const RefPtr& src) -{ - T_CppObject *const pCppObject = const_cast(src.operator->()); - - return RefPtr(pCppObject, src.refcount_()); -} - -#endif /* DOXYGEN_IGNORE_THIS */ - -/** @relates Glib::RefPtr */ -template inline -void swap(RefPtr& lhs, RefPtr& rhs) -{ - lhs.swap(rhs); -} - -} // namespace Cairo - - -#endif /* _cairo_REFPTR_H */ - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/scaledfont.cc b/libs/cairomm/cairomm/scaledfont.cc deleted file mode 100644 index 02fb11c567..0000000000 --- a/libs/cairomm/cairomm/scaledfont.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* Copyright (C) 2006 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include // for check_status_and_throw_exception - -namespace Cairo -{ - -ScaledFont::ScaledFont(cobject* cobj, bool has_reference) -{ - if(has_reference) - m_cobject = cobj; - else - m_cobject = cairo_scaled_font_reference(cobj); -} - -RefPtr ScaledFont::create(FontFace& font_face, const Matrix& font_matrix, - const Matrix& ctm, const FontOptions& options) -{ - cairo_scaled_font_t* cobj = cairo_scaled_font_create(font_face.cobj(), &font_matrix, &ctm, options.cobj()); - check_status_and_throw_exception(cairo_scaled_font_status(cobj)); - return RefPtr(new ScaledFont(cobj, false)); -} - -void ScaledFont::extents(FontExtents& extents) const -{ - cairo_scaled_font_extents(m_cobject, static_cast(&extents)); - check_object_status_and_throw_exception(*this); -} - -void ScaledFont::text_extents(const std::string& utf8, TextExtents& extents) const -{ - cairo_scaled_font_text_extents(m_cobject, utf8.c_str(), static_cast(&extents)); - check_object_status_and_throw_exception(*this); -} - -void ScaledFont::glyph_extents(const std::vector& glyphs, TextExtents& extents) -{ - // copy the data from the vector to a standard C array. I don't believe - // this will be a frequently used function so I think the performance hit is - // more than offset by the increased flexibility of the STL interface. - - // Use new to allocate memory as MSCV complains about non-const array size with - // Glyph glyph_array[glyphs.size()] - Glyph* glyph_array= new Glyph[glyphs.size()]; - std::copy(glyphs.begin(), glyphs.end(), glyph_array); - - cairo_scaled_font_glyph_extents(m_cobject, glyph_array, glyphs.size(), - static_cast(&extents)); - check_object_status_and_throw_exception(*this); - delete[] glyph_array; -} - -RefPtr ScaledFont::get_font_face() const -{ - cairo_font_face_t* face = cairo_scaled_font_get_font_face(m_cobject); - check_object_status_and_throw_exception(*this); - return RefPtr(new FontFace(face, true)); -} - -void ScaledFont::get_font_options(FontOptions& options) const -{ - cairo_scaled_font_get_font_options(m_cobject, options.cobj()); - check_object_status_and_throw_exception(*this); -} - -void ScaledFont::get_font_matrix(Matrix& font_matrix) const -{ - cairo_scaled_font_get_font_matrix(m_cobject, - static_cast(&font_matrix)); - check_object_status_and_throw_exception(*this); -} - -void ScaledFont::get_ctm(Matrix& ctm) const -{ - cairo_scaled_font_get_ctm(m_cobject, static_cast(&ctm)); - check_object_status_and_throw_exception(*this); -} - -FontType ScaledFont::get_type() const -{ - cairo_font_type_t font_type = cairo_scaled_font_get_type(m_cobject); - check_object_status_and_throw_exception(*this); - return static_cast(font_type); -} - -} // namespace Cairo -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/scaledfont.h b/libs/cairomm/cairomm/scaledfont.h deleted file mode 100644 index 2648054605..0000000000 --- a/libs/cairomm/cairomm/scaledfont.h +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright (C) 2006 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_SCALEDFONT_H -#define __CAIROMM_SCALEDFONT_H - -#include -#include - -namespace Cairo -{ - -typedef enum -{ -} ScaledFontType; - -/** A ScaledFont is a font scaled to a particular size and device resolution. It - * is most useful for low-level font usage where a library or application wants - * to cache a reference to a scaled font to speed up the computation of metrics. - */ -class ScaledFont -{ - -public: - /** The underlying C cairo object type */ - typedef cairo_scaled_font_t cobject; - - /** Provides acces to the underlying C cairo object */ - inline cobject* cobj() { return m_cobject; } - - /** Provides acces to the underlying C cairo object */ - inline const cobject* cobj() const { return m_cobject; } - -#ifndef DOXYGEN_IGNORE_THIS - // For use only by the cairomm implementation. - inline ErrorStatus get_status() const - { return cairo_scaled_font_status(const_cast(cobj())); } - - // for RefPtr - void reference() const { cairo_scaled_font_reference(m_cobject); } - void unreference() const { cairo_scaled_font_destroy(m_cobject); } -#endif //DOXYGEN_IGNORE_THIS - - /** Createa C++ wrapper object from the C instance. This C++ object should - * then be given to a RefPtr. - */ - explicit ScaledFont(cobject* cobj, bool has_reference = false); - - /** Creates a ScaledFont object from a font face and matrices that describe - * the size of the font and the environment in which it will be used. - * - * @param font_face A font face. - * @param font_matrix font space to user space transformation matrix for the - * font. In the simplest case of a N point font, this matrix is just a scale - * by N, but it can also be used to shear the font or stretch it unequally - * along the two axes. See Context::set_font_matrix(). - * @param ctm user to device transformation matrix with which the font will be - * used. - * @param options: options to use when getting metrics for the font and - * rendering with it. - */ - static RefPtr create(FontFace& font_face, const Matrix& font_matrix, - const Matrix& ctm, const FontOptions& options); - - //TODO: This should really be get_extents(). - /** Gets the metrics for a ScaledFont */ - void extents(FontExtents& extents) const; - - //TODO: This should really be get_text_extents(). - /** Gets the extents for a string of text. The extents describe a user-space - * rectangle that encloses the "inked" portion of the text drawn at the origin - * (0,0) (as it would be drawn by Context::show_text() if the cairo graphics - * state were set to the same font_face, font_matrix, ctm, and font_options as - * the ScaledFont object). Additionally, the x_advance and y_advance values - * indicate the amount by which the current point would be advanced by - * Context::show_text(). - * - * Note that whitespace characters do not directly contribute to the size of - * the rectangle (extents.width and extents.height). They do contribute - * indirectly by changing the position of non-whitespace characters. In - * particular, trailing whitespace characters are likely to not affect the - * size of the rectangle, though they will affect the x_advance and y_advance - * values. - * - * @param utf8 a string of text, encoded in UTF-8 - * @param extents Returns the extents of the given string - * - * @since 1.2 - */ - void text_extents(const std::string& utf8, TextExtents& extents) const; - - //TODO: This should really be get_glyph_extents(). - /** Gets the extents for an array of glyphs. The extents describe a user-space - * rectangle that encloses the "inked" portion of the glyphs, (as they would - * be drawn by Context::show_glyphs() if the cairo graphics state were set to the - * same font_face, font_matrix, ctm, and font_options as the ScaledFont - * object). Additionally, the x_advance and y_advance values indicate the - * amount by which the current point would be advanced by Context::show_glyphs(). - * - * Note that whitespace glyphs do not contribute to the size of the rectangle - * (extents.width and extents.height). - * - * @param glyphs A vector of glyphs to calculate the extents of - * @param extents Returns the extents for the array of glyphs - **/ - void glyph_extents(const std::vector& glyphs, TextExtents& extents); - - /** The FontFace with which this ScaledFont was created. - * @since 1.2 - */ - RefPtr get_font_face() const; - - /** Gets the FontOptions with which the ScaledFont was created. - * @since 1.2 - */ - void get_font_options(FontOptions& options) const; - - /** Gets the font matrix with which the ScaledFont was created. - * @since 1.2 - */ - void get_font_matrix(Matrix& font_matrix) const; - - /** Gets the CTM with which the ScaledFont was created. - * @since 1.2 - */ - void get_ctm(Matrix& ctm) const; - - /** Gets the type of scaled Font - * @since 1.2 - */ - FontType get_type() const; - - protected: - /** The underlying C cairo object that is wrapped by this ScaledFont */ - cobject* m_cobject; -}; - -} - -#endif // __CAIROMM_SCALEDFONT_H -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/surface.cc b/libs/cairomm/cairomm/surface.cc deleted file mode 100644 index 90cc303f05..0000000000 --- a/libs/cairomm/cairomm/surface.cc +++ /dev/null @@ -1,382 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - -namespace Cairo -{ - -Surface::Surface(cairo_surface_t* cobject, bool has_reference) -: m_cobject(0) -{ - if(has_reference) - m_cobject = cobject; - else - m_cobject = cairo_surface_reference(cobject); -} - -Surface::~Surface() -{ - if(m_cobject) - cairo_surface_destroy(m_cobject); -} - -void Surface::finish() -{ - cairo_surface_finish(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Surface::get_font_options(FontOptions& options) const -{ - cairo_font_options_t* cfontoptions = cairo_font_options_create(); - cairo_surface_get_font_options(m_cobject, cfontoptions); - options = FontOptions(cfontoptions); - cairo_font_options_destroy(cfontoptions); - check_object_status_and_throw_exception(*this); -} - -void Surface::flush() -{ - cairo_surface_flush(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Surface::mark_dirty() -{ - cairo_surface_mark_dirty(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void Surface::mark_dirty(int x, int y, int width, int height) -{ - cairo_surface_mark_dirty_rectangle(m_cobject, x, y, width, height); - check_object_status_and_throw_exception(*this); -} - -void Surface::set_device_offset(double x_offset, double y_offset) -{ - cairo_surface_set_device_offset(m_cobject, x_offset, y_offset); - check_object_status_and_throw_exception(*this); -} - -void Surface::get_device_offset(double& x_offset, double& y_offset) const -{ - cairo_surface_get_device_offset(const_cast(m_cobject), &x_offset, &y_offset); -} - -void Surface::set_fallback_resolution(double x_pixels_per_inch, double y_pixels_per_inch) -{ - cairo_surface_set_fallback_resolution(m_cobject, x_pixels_per_inch, y_pixels_per_inch); - check_object_status_and_throw_exception(*this); -} - -SurfaceType Surface::get_type() const -{ - cairo_surface_type_t surface_type = cairo_surface_get_type(m_cobject); - check_object_status_and_throw_exception(*this); - return static_cast(surface_type); -} - -#ifdef CAIRO_HAS_PNG_FUNCTIONS -void Surface::write_to_png(const std::string& filename) -{ - ErrorStatus status = cairo_surface_write_to_png(m_cobject, filename.c_str()); - check_status_and_throw_exception(status); -} - -void Surface::write_to_png(cairo_write_func_t write_func, void *closure) -{ - ErrorStatus status = cairo_surface_write_to_png_stream(m_cobject, write_func, closure); - check_status_and_throw_exception(status); -} -#endif - -void Surface::reference() const -{ - cairo_surface_reference(m_cobject); -} - -void Surface::unreference() const -{ - cairo_surface_destroy(m_cobject); -} - -RefPtr Surface::create(const RefPtr other, Content content, int width, int height) -{ - cairo_surface_t* cobject = cairo_surface_create_similar(other->m_cobject, (cairo_content_t)content, width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new Surface(cobject, true /* has reference */)); -} - - - -ImageSurface::ImageSurface(cairo_surface_t* cobject, bool has_reference) -: Surface(cobject, has_reference) -{ } - -ImageSurface::~ImageSurface() -{ - // surface is destroyed in base class -} - -RefPtr ImageSurface::create(Format format, int width, int height) -{ - cairo_surface_t* cobject = cairo_image_surface_create((cairo_format_t)format, width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new ImageSurface(cobject, true /* has reference */)); -} - -RefPtr ImageSurface::create(unsigned char* data, Format format, int width, int height, int stride) -{ - cairo_surface_t* cobject = cairo_image_surface_create_for_data(data, (cairo_format_t)format, width, height, stride); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new ImageSurface(cobject, true /* has reference */)); -} - -#ifdef CAIRO_HAS_PNG_FUNCTIONS - -RefPtr ImageSurface::create_from_png(std::string filename) -{ - cairo_surface_t* cobject = cairo_image_surface_create_from_png(filename.c_str()); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new ImageSurface(cobject, true /* has reference */)); -} - -RefPtr ImageSurface::create_from_png(cairo_read_func_t read_func, void *closure) -{ - cairo_surface_t* cobject = cairo_image_surface_create_from_png_stream(read_func, closure); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new ImageSurface(cobject, true /* has reference */)); -} - -#endif // CAIRO_HAS_PNG_FUNCTIONS - -int ImageSurface::get_width() const -{ - const int result = cairo_image_surface_get_width(m_cobject); - check_object_status_and_throw_exception(*this); - return result; -} - -int ImageSurface::get_height() const -{ - const int result = cairo_image_surface_get_height(m_cobject); - check_object_status_and_throw_exception(*this); - return result; -} - -unsigned char* ImageSurface::get_data() -{ - return cairo_image_surface_get_data(m_cobject); -} - -const unsigned char* ImageSurface::get_data() const -{ - return cairo_image_surface_get_data(m_cobject); -} - -Format ImageSurface::get_format() const -{ - return static_cast(cairo_image_surface_get_format(m_cobject)); -} - -int ImageSurface::get_stride() const -{ - return cairo_image_surface_get_stride(m_cobject); -} - - -/******************************************************************************* - * THE FOLLOWING SURFACE TYPES ARE EXPERIMENTAL AND NOT FULLY SUPPORTED - ******************************************************************************/ - -#ifdef CAIRO_HAS_PDF_SURFACE - -PdfSurface::PdfSurface(cairo_surface_t* cobject, bool has_reference) : - Surface(cobject, has_reference) -{} - -PdfSurface::~PdfSurface() -{ - // surface is destroyed in base class -} - -RefPtr PdfSurface::create(std::string filename, double width_in_points, double height_in_points) -{ - cairo_surface_t* cobject = cairo_pdf_surface_create(filename.c_str(), width_in_points, height_in_points); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new PdfSurface(cobject, true /* has reference */)); -} - -RefPtr PdfSurface::create(cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points) -{ - cairo_surface_t* cobject = cairo_pdf_surface_create_for_stream(write_func, closure, width_in_points, height_in_points); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new PdfSurface(cobject, true /* has reference */)); -} - -void PdfSurface::set_size(double width_in_points, double height_in_points) -{ - cairo_pdf_surface_set_size(m_cobject, width_in_points, height_in_points); - check_object_status_and_throw_exception(*this); -} - -#endif // CAIRO_HAS_PDF_SURFACE - - - - -#ifdef CAIRO_HAS_PS_SURFACE - -PsSurface::PsSurface(cairo_surface_t* cobject, bool has_reference) : - Surface(cobject, has_reference) -{} - -PsSurface::~PsSurface() -{ - // surface is destroyed in base class -} - -RefPtr PsSurface::create(std::string filename, double width_in_points, double height_in_points) -{ - cairo_surface_t* cobject = cairo_ps_surface_create(filename.c_str(), width_in_points, height_in_points); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new PsSurface(cobject, true /* has reference */)); -} - -RefPtr PsSurface::create(cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points) -{ - cairo_surface_t* cobject = cairo_ps_surface_create_for_stream(write_func, closure, width_in_points, height_in_points); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new PsSurface(cobject, true /* has reference */)); -} - -void PsSurface::set_size(double width_in_points, double height_in_points) -{ - cairo_ps_surface_set_size(m_cobject, width_in_points, height_in_points); - check_object_status_and_throw_exception(*this); -} - - -void PsSurface::dsc_comment(std::string comment) -{ - cairo_ps_surface_dsc_comment(m_cobject, comment.c_str()); - check_object_status_and_throw_exception(*this); -} - -void PsSurface::dsc_begin_setup() -{ - cairo_ps_surface_dsc_begin_setup(m_cobject); - check_object_status_and_throw_exception(*this); -} - -void PsSurface::dsc_begin_page_setup() -{ - cairo_ps_surface_dsc_begin_page_setup(m_cobject); - check_object_status_and_throw_exception(*this); -} - - -#endif // CAIRO_HAS_PS_SURFACE - - - - -#ifdef CAIRO_HAS_SVG_SURFACE - -SvgSurface::SvgSurface(cairo_surface_t* cobject, bool has_reference) : - Surface(cobject, has_reference) -{} - -SvgSurface::~SvgSurface() -{ - // surface is destroyed in base class -} - -RefPtr SvgSurface::create(std::string filename, double width_in_points, double height_in_points) -{ - cairo_surface_t* cobject = cairo_svg_surface_create(filename.c_str(), width_in_points, height_in_points); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new SvgSurface(cobject, true /* has reference */)); -} - -RefPtr SvgSurface::create(cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points) -{ - cairo_surface_t* cobject = cairo_svg_surface_create_for_stream(write_func, closure, width_in_points, height_in_points); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new SvgSurface(cobject, true /* has reference */)); -} - -void SvgSurface::restrict_to_version(SvgVersion version) -{ - cairo_svg_surface_restrict_to_version(m_cobject, static_cast(version)); - check_object_status_and_throw_exception(*this); -} - -const std::vector SvgSurface::get_versions() -{ - cairo_svg_version_t const *versions; - int num_versions; - cairo_svg_get_versions(&versions, &num_versions); - - // Just copy the version array out into a std::vector. This is a rarely used - // function and the array of versions is going to be very small, so there's no - // real performance hit. - std::vector vec; - for (int i = 0; i < num_versions; ++i) - { - vec.push_back(static_cast(versions[i])); - } - return vec; -} - -std::string SvgSurface::version_to_string(SvgVersion version) -{ - return std::string(cairo_svg_version_to_string(static_cast(version))); -} - -#endif // CAIRO_HAS_SVG_SURFACE - - - - -#ifdef CAIRO_HAS_GLITZ_SURFACE - -GlitzSurface::GlitzSurface(cairo_surface_t* cobject, bool has_reference) -: Surface(cobject, has_reference) -{ } - -GlitzSurface::~GlitzSurface() -{ - // surface is destroyed in base class -} - -RefPtr GlitzSurface::create(glitz_surface_t *surface) -{ - cairo_surface_t* cobject = cairo_glitz_surface_create(surface); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new GlitzSurface(cobject, true /* has reference */)); -} - -#endif // CAIRO_HAS_GLITZ_SURFACE - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/surface.h b/libs/cairomm/cairomm/surface.h deleted file mode 100644 index 15f0f9b092..0000000000 --- a/libs/cairomm/cairomm/surface.h +++ /dev/null @@ -1,632 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_SURFACE_H -#define __CAIROMM_SURFACE_H - -#include -#include -#include -#include -#include -#include - -//See xlib_surface.h for XlibSurface. -//See win32_surface.h for Win32Surface. -//See quartz_surface.h for QuartzSurface (Mac OS X). - -#ifdef CAIRO_HAS_PDF_SURFACE -#include -#endif // CAIRO_HAS_PDF_SURFACE -#ifdef CAIRO_HAS_PS_SURFACE -#include -#endif // CAIRO_HAS_PS_SURFACE -#ifdef CAIRO_HAS_SVG_SURFACE -#include -#endif // CAIRO_HAS_SVG_SURFACE - -// Experimental surfaces -#ifdef CAIRO_HAS_GLITZ_SURFACE -#include -#endif // CAIRO_HAS_GLITZ_SURFACE - - -namespace Cairo -{ - -/** A cairo surface represents an image, either as the destination of a drawing - * operation or as source when drawing onto another surface. There are - * different subtypes of cairo surface for different drawing backends. This - * class is a base class for all subtypes and should not be used directly - * - * Surfaces are reference-counted objects that should be used via Cairo::RefPtr. - */ -class Surface -{ -public: - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit Surface(cairo_surface_t* cobject, bool has_reference = false); - - virtual ~Surface(); - - /** Retrieves the default font rendering options for the surface. This allows - * display surfaces to report the correct subpixel order for rendering on - * them, print surfaces to disable hinting of metrics and so forth. The - * result can then be used with cairo_scaled_font_create(). - * - * @param options a FontOptions object into which to store the retrieved - * options. All existing values are overwritten - */ - void get_font_options(FontOptions& options) const; - - /** This function finishes the surface and drops all references to external - * resources. For example, for the Xlib backend it means that cairo will no - * longer access the drawable, which can be freed. After calling - * finish() the only valid operations on a surface are getting and setting - * user data and referencing and destroying it. Further drawing to the - * surface will not affect the surface but will instead trigger a - * CAIRO_STATUS_SURFACE_FINISHED error. - * - * When the Surface is destroyed, cairo will call finish() if it hasn't been - * called already, before freeing the resources associated with the Surface. - */ - void finish(); - - /** Do any pending drawing for the surface and also restore any temporary - * modifications cairo has made to the surface's state. This function must - * be called before switching from drawing on the surface with cairo to - * drawing on it directly with native APIs. If the surface doesn't support - * direct access, then this function does nothing. - */ - void flush(); - - /** Tells cairo to consider the data buffer dirty. - * - * In particular, if you've created an ImageSurface with a data buffer that - * you've allocated yourself and you draw to that data buffer using means - * other than cairo, you must call mark_dirty() before doing any additional - * drawing to that surface with cairo. - * - * Note that if you do draw to the Surface outside of cairo, you must call - * flush() before doing the drawing. - */ - void mark_dirty(); - - /** Marks a rectangular area of the given surface dirty. - * - * @param x X coordinate of dirty rectangle - * @param y Y coordinate of dirty rectangle - * @param width width of dirty rectangle - * @param height height of dirty rectangle - */ - void mark_dirty(int x, int y, int width, int height); - - /** Sets an offset that is added to the device coordinates determined by the - * CTM when drawing to surface. One use case for this function is when we - * want to create a Surface that redirects drawing for a portion of - * an onscreen surface to an offscreen surface in a way that is completely - * invisible to the user of the cairo API. Setting a transformation via - * cairo_translate() isn't sufficient to do this, since functions like - * Cairo::Context::device_to_user() will expose the hidden offset. - * - * Note that the offset only affects drawing to the surface, not using the - * surface in a surface pattern. - * - * @param x_offset the offset in the X direction, in device units - * @param y_offset the offset in the Y direction, in device units - */ - void set_device_offset(double x_offset, double y_offset); - - /** Returns a previous device offset set by set_device_offset(). - */ - void get_device_offset(double& x_offset, double& y_offset) const; - - /** Sets the fallback resolution of the image in dots per inch - * - * @param x_pixels_per_inch Pixels per inch in the x direction - * @param y_pixels_per_inch Pixels per inch in the y direction - */ - void set_fallback_resolution(double x_pixels_per_inch, double y_pixels_per_inch); - - SurfaceType get_type() const; - -#ifdef CAIRO_HAS_PNG_FUNCTIONS - - /** Writes the contents of surface to a new file filename as a PNG image. - * - * @note For this function to be available, cairo must have been compiled - * with PNG support - * - * @param filename the name of a file to write to - */ - void write_to_png(const std::string& filename); - - /** Writes the Surface to the write function. - * - * @note For this function to be available, cairo must have been compiled - * with PNG support - * - * @param write_func The function to be called when the backend needs to - * write data to an output stream - * @param closure closure data for the write function - */ - void write_to_png(cairo_write_func_t write_func, void *closure); //TODO: Use a sigc::slot? - -#endif // CAIRO_HAS_PNG_FUNCTIONS - - - /** The underlying C cairo surface type - */ - typedef cairo_surface_t cobject; - /** Provides acces to the underlying C cairo surface - */ - inline cobject* cobj() { return m_cobject; } - /** Provides acces to the underlying C cairo surface - */ - inline const cobject* cobj() const { return m_cobject; } - - #ifndef DOXYGEN_IGNORE_THIS - ///For use only by the cairomm implementation. - inline ErrorStatus get_status() const - { return cairo_surface_status(const_cast(cobj())); } - - void reference() const; - void unreference() const; - #endif //DOXYGEN_IGNORE_THIS - - /** Create a new surface that is as compatible as possible with an existing - * surface. The new surface will use the same backend as other unless that is - * not possible for some reason. - * - * @param other an existing surface used to select the backend of the new surface - * @param content the content for the new surface - * @param width width of the new surface, (in device-space units) - * @param height height of the new surface (in device-space units) - * @return a RefPtr to the newly allocated surface. - */ - static RefPtr create(const RefPtr other, Content content, int width, int height); - -protected: - /** The underlying C cairo surface type that is wrapped by this Surface - */ - cobject* m_cobject; -}; - - -/** Image surfaces provide the ability to render to memory buffers either - * allocated by cairo or by the calling code. The supported image formats are - * those defined in Cairo::Format - * - * An ImageSurface is the most generic type of Surface and the only one that is - * available by default. You can either create an ImageSurface whose data is - * managed by Cairo, or you can create an ImageSurface with a data buffer that - * you allocated yourself so that you can have full access to the data. - * - * When you create an ImageSurface with your own data buffer, you are free to - * examine the results at any point and do whatever you want with it. Note that - * if you modify anything and later want to continue to draw to the surface - * with cairo, you must let cairo know via Cairo::Surface::mark_dirty() - * - * Note that like all surfaces, an ImageSurface is a reference-counted object that should be used via Cairo::RefPtr. - */ -class ImageSurface : public Surface -{ -protected: - //TODO?: Surface(cairo_surface_t *target); - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * @param cobject The C instance. - * @param has_reference Whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit ImageSurface(cairo_surface_t* cobject, bool has_reference = false); - - virtual ~ImageSurface(); - - /** Gets the width of the ImageSurface in pixels - */ - int get_width() const; - - /** Gets the height of the ImageSurface in pixels - */ - int get_height() const; - - /** - * Get a pointer to the data of the image surface, for direct - * inspection or modification. - * - * Return value: a pointer to the image data of this surface or NULL - * if @surface is not an image surface. - */ - unsigned char* get_data(); - const unsigned char* get_data() const; - - /** gets the format of the surface - */ - Format get_format() const; - - /** - * Return value: the stride of the image surface in bytes (or 0 if - * @surface is not an image surface). The stride is the distance in - * bytes from the beginning of one row of the image data to the - * beginning of the next row. - */ - int get_stride() const; - - - /** Creates an image surface of the specified format and dimensions. The - * initial contents of the surface is undefined; you must explicitely clear - * the buffer, using, for example, Cairo::Context::rectangle() and - * Cairo::Context::fill() if you want it cleared. - * - * Use this function to create the surface if you don't need access to the - * internal data and want cairo to manage it for you. Since you don't have - * access to the internal data, the resulting surface can only be saved to a - * PNG image file (if cairo has been compiled with PNG support) or as a - * source surface (see Cairo::SurfacePattern). - * - * @param format format of pixels in the surface to create - * @param width width of the surface, in pixels - * @param height height of the surface, in pixels - * @return a RefPtr to the newly created surface. - */ - static RefPtr create(Format format, int width, int height); - - /** Creates an image surface for the provided pixel data. The output buffer - * must be kept around until the Surface is destroyed or finish() is called - * on the surface. The initial contents of buffer will be used as the inital - * image contents; you must explicitely clear the buffer, using, for example, - * Cairo::Context::rectangle() and Cairo::Context::fill() if you want it - * cleared. - * - * If you want to be able to manually manipulate or extract the data after - * drawing to the surface with Cairo, you should use this function to create - * the Surface. Since you own the internal data, you can do anything you - * want with it. - * - * @param data a pointer to a buffer supplied by the application in which - * to write contents. - * @param format the format of pixels in the buffer - * @param width the width of the image to be stored in the buffer - * @param height the height of the image to be stored in the buffer - * @param stride the number of bytes between the start of rows in the - * buffer. Having this be specified separate from width allows for padding at - * the end of rows, or for writing to a subportion of a larger image. - * @return a RefPtr to the newly created surface. - */ - static RefPtr create(unsigned char* data, Format format, int width, int height, int stride); - -#ifdef CAIRO_HAS_PNG_FUNCTIONS - - /** Creates a new image surface and initializes the contents to the given PNG - * file. - * - * @note For this function to be available, cairo must have been compiled - * with PNG support. - * - * @param filename name of PNG file to load - * @return a RefPtr to the new cairo_surface_t initialized with the - * contents of the PNG image file. - */ - static RefPtr create_from_png(std::string filename); - - /** Creates a new image surface from PNG data read incrementally via the - * read_func function. - * - * @note For this function to be available, cairo must have been compiled - * with PNG support. - * - * @param read_func function called to read the data of the file - * @param closure data to pass to read_func. - * @return a RefPtr to the new cairo_surface_t initialized with the - * contents of the PNG image file. - */ - static RefPtr create_from_png(cairo_read_func_t read_func, void *closure); - -#endif // CAIRO_HAS_PNG_FUNCTIONS - -}; - - -#ifdef CAIRO_HAS_PDF_SURFACE - -/** A PdfSurface provides a way to render PDF documents from cairo. This - * surface is not rendered to the screen but instead renders the drawing to a - * PDF file on disk. - * - * @note For this Surface to be available, cairo must have been compiled with - * PDF support - */ -class PdfSurface : public Surface -{ -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit PdfSurface(cairo_surface_t* cobject, bool has_reference = false); - virtual ~PdfSurface(); - - /** Creates a PdfSurface with a specified dimensions that will be saved as - * the given filename - * - * @param filename The name of the PDF file to save the surface to - * @param width_in_points The width of the PDF document in points - * @param height_in_points The height of the PDF document in points - */ - static RefPtr create(std::string filename, double width_in_points, double height_in_points); - - /** Creates a PdfSurface with a specified dimensions that will be written to - * the given write function instead of saved directly to disk - * - * @param write_func The function to be called when the backend needs to - * write data to an output stream - * @param closure closure data for the write function - * @param width_in_points The width of the PDF document in points - * @param height_in_points The height of the PDF document in points - */ - static RefPtr create(cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points); - -/** - * Changes the size of a PDF surface for the current (and subsequent) pages. - * - * This function should only be called before any drawing operations have been - * performed on the current page. The simplest way to do this is to call this - * function immediately after creating the surface or immediately after - * completing a page with either Context::show_page() or Context::copy_page(). - * - * @param width_in_points new surface width, in points (1 point == 1/72.0 inch) - * @param height_in_points new surface height, in points (1 point == 1/72.0 inch) - **/ - void set_size(double width_in_points, double height_in_points); - -}; - -#endif // CAIRO_HAS_PDF_SURFACE - - -#ifdef CAIRO_HAS_PS_SURFACE - -/** A PsSurface provides a way to render PostScript documents from cairo. This - * surface is not rendered to the screen but instead renders the drawing to a - * PostScript file on disk. - * - * @note For this Surface to be available, cairo must have been compiled with - * PostScript support - */ -class PsSurface : public Surface -{ -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit PsSurface(cairo_surface_t* cobject, bool has_reference = false); - virtual ~PsSurface(); - - /** Creates a PsSurface with a specified dimensions that will be saved as the - * given filename - * - * @param filename The name of the PostScript file to save the surface to - * @param width_in_points The width of the PostScript document in points - * @param height_in_points The height of the PostScript document in points - */ - static RefPtr create(std::string filename, double width_in_points, double height_in_points); - - /** Creates a PsSurface with a specified dimensions that will be written to - * the given write function instead of saved directly to disk - * - * @param write_func The function to be called when the backend needs to - * write data to an output stream - * @param closure closure data for the write function - * @param width_in_points The width of the PostScript document in points - * @param height_in_points The height of the PostScript document in points - */ - static RefPtr create(cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points); - - /** - * Changes the size of a PostScript surface for the current (and - * subsequent) pages. - * - * This function should only be called before any drawing operations have been - * performed on the current page. The simplest way to do this is to call this - * function immediately after creating the surface or immediately after - * completing a page with either Context::show_page() or Context::copy_page(). - * - * @param width_in_points new surface width, in points (1 point == 1/72.0 inch) - * @param height_in_points new surface height, in points (1 point == 1/72.0 inch) - */ - void set_size(double width_in_points, double height_in_points); - - /** Emit a comment into the PostScript output for the given surface. See the - * cairo reference documentation for more information. - * - * @param comment a comment string to be emitted into the PostScript output - */ - void dsc_comment(std::string comment); - - /** - * This function indicates that subsequent calls to dsc_comment() should direct - * comments to the Setup section of the PostScript output. - * - * This function should be called at most once per surface, and must be called - * before any call to dsc_begin_page_setup() and before any drawing is performed - * to the surface. - */ - void dsc_begin_setup(); - - /** This function indicates that subsequent calls to dsc_comment() should - * direct comments to the PageSetup section of the PostScript output. - * - * This function call is only needed for the first page of a surface. It - * should be called after any call to dsc_begin_setup() and before any drawing - * is performed to the surface. - */ - void dsc_begin_page_setup(); - -}; - -#endif // CAIRO_HAS_PS_SURFACE - - -#ifdef CAIRO_HAS_SVG_SURFACE - -typedef enum -{ - SVG_VERSION_1_1 = CAIRO_SVG_VERSION_1_1, - SVG_VERSION_1_2 = CAIRO_SVG_VERSION_1_2 -} SvgVersion; - -/** A SvgSurface provides a way to render Scalable Vector Graphics (SVG) images - * from cairo. This surface is not rendered to the screen but instead renders - * the drawing to an SVG file on disk. - * - * @note For this Surface to be available, cairo must have been compiled with - * SVG support - */ -class SvgSurface : public Surface -{ -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit SvgSurface(cairo_surface_t* cobject, bool has_reference = false); - virtual ~SvgSurface(); - - - /** Creates a SvgSurface with a specified dimensions that will be saved as the - * given filename - * - * @param filename The name of the SVG file to save the surface to - * @param width_in_points The width of the SVG document in points - * @param height_in_points The height of the SVG document in points - */ - static RefPtr create(std::string filename, double width_in_points, double height_in_points); - - /** Creates a SvgSurface with a specified dimensions that will be written to - * the given write function instead of saved directly to disk - * - * @param write_func The function to be called when the backend needs to - * write data to an output stream - * @param closure closure data for the write function - * @param width_in_points The width of the SVG document in points - * @param height_in_points The height of the SVG document in points - */ - static RefPtr create(cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points); - - /** - * Restricts the generated SVG file to the given version. See get_versions() - * for a list of available version values that can be used here. - * - * This function should only be called before any drawing operations have been - * performed on the given surface. The simplest way to do this is to call this - * function immediately after creating the surface. - * - * @since 1.2 - */ - void restrict_to_version(SvgVersion version); - - /** Retrieves the list of SVG versions supported by cairo. See - * restrict_to_version(). - * - * @since 1.2 - */ - static const std::vector get_versions(); - - /** Get the string representation of the given version id. The returned string - * will be empty if version isn't valid. See get_versions() for a way to get - * the list of valid version ids. - * - * Since: 1.2 - */ - static std::string version_to_string(SvgVersion version); -}; - -#endif // CAIRO_HAS_SVG_SURFACE - - -/******************************************************************************* - * THE FOLLOWING SURFACE TYPES ARE EXPERIMENTAL AND NOT FULLY SUPPORTED - ******************************************************************************/ - -#ifdef CAIRO_HAS_GLITZ_SURFACE - -/** A GlitzSurface provides a way to render to the X Window System using Glitz. - * This provides a way to use OpenGL-accelerated graphics from cairo. If you - * want to use hardware-accelerated graphics within the X Window system, you - * should use this Surface type. - * - * @note For this Surface to be available, cairo must have been compiled with - * Glitz support - * - * @warning This is an experimental surface. It is not yet marked as a fully - * supported surface by the cairo library - */ -class GlitzSurface : public Surface -{ - -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit GlitzSurface(cairo_surface_t* cobject, bool has_reference = false); - - virtual ~GlitzSurface(); - - /** Creates a new GlitzSurface - * - * @param surface a glitz surface type - */ - static RefPtr create(glitz_surface_t *surface); - -}; - -#endif // CAIRO_HAS_GLITZ_SURFACE - -} // namespace Cairo - -#endif //__CAIROMM_SURFACE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/win32_surface.cc b/libs/cairomm/cairomm/win32_surface.cc deleted file mode 100644 index e0e388721b..0000000000 --- a/libs/cairomm/cairomm/win32_surface.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - -namespace Cairo -{ - -#ifdef CAIRO_HAS_WIN32_SURFACE - -Win32Surface::Win32Surface(cairo_surface_t* cobject, bool has_reference) : - Surface(cobject, has_reference) -{} - -Win32Surface::~Win32Surface() -{ - // surface is destroyed in base class -} - -HDC Win32Surface::get_dc() const -{ - return cairo_win32_surface_get_dc(m_cobject); -} - -RefPtr Win32Surface::create(HDC hdc) -{ - cairo_surface_t* cobject = cairo_win32_surface_create(hdc); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new Win32Surface(cobject, true /* has reference */)); -} - -RefPtr Win32Surface::create(Format format, int width, int height) -{ - cairo_surface_t* cobject = cairo_win32_surface_create_with_dib((cairo_format_t)format, width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new Win32Surface(cobject, true /* has reference */)); -} - -#endif // CAIRO_HAS_WIN32_SURFACE - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/win32_surface.h b/libs/cairomm/cairomm/win32_surface.h deleted file mode 100644 index 2c9e6a7242..0000000000 --- a/libs/cairomm/cairomm/win32_surface.h +++ /dev/null @@ -1,96 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_WIN32_SURFACE_H -#define __CAIROMM_WIN32_SURFACE_H - -#include -#include - -#ifdef CAIRO_HAS_WIN32_SURFACE -#include -#endif - -// This header is not included by cairomm.h because it requires Windows headers that -// tend to pollute the namespace with non-prefixed #defines and typedefs. -// You may include it directly if you need to use this API. - -namespace Cairo -{ - -#ifdef CAIRO_HAS_WIN32_SURFACE - -/** A Win32Surface provides a way to render within Microsoft Windows. If you - * want to draw to the screen within a Microsoft Windows application, you - * should use this Surface type. - * - * @note For this Surface to be available, cairo must have been compiled with - * Win32 support - */ -class Win32Surface : public Surface -{ -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit Win32Surface(cairo_surface_t* cobject, bool has_reference = false); - virtual ~Win32Surface(); - - /** Returns the HDC associated with this surface, or NULL if none. Also - * returns NULL if the surface is not a win32 surface. - * - * @return HDC or NULL if no HDC available. - */ - HDC get_dc() const; - - /** Creates a cairo surface that targets the given DC. The DC will be queried - * for its initial clip extents, and this will be used as the size of the - * cairo surface. Also, if the DC is a raster DC, it will be queried for its - * pixel format and the cairo surface format will be set appropriately. - * - * @param hdc the DC to create a surface for - * @return the newly created surface - */ - static RefPtr create(HDC hdc); - - /** Creates a device-independent-bitmap surface not associated with any - * particular existing surface or device context. The created bitmap will be - * unititialized. - * - * @param format format of pixels in the surface to create - * @param width width of the surface, in pixels - * @param height height of the surface, in pixels - * @return the newly created surface - */ - static RefPtr create(Format format, int width, int height); - -}; - -#endif // CAIRO_HAS_WIN32_SURFACE - - -} // namespace Cairo - -#endif //__CAIROMM_WIN32_SURFACE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/xlib_surface.cc b/libs/cairomm/cairomm/xlib_surface.cc deleted file mode 100644 index 8320521927..0000000000 --- a/libs/cairomm/cairomm/xlib_surface.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#include -#include - - -namespace Cairo -{ - -#ifdef CAIRO_HAS_XLIB_SURFACE - -XlibSurface::XlibSurface(cairo_surface_t* cobject, bool has_reference) : - Surface(cobject, has_reference) -{} - -XlibSurface::~XlibSurface() -{ - // surface is destroyed in base class -} - -RefPtr XlibSurface::create(Display* dpy, Drawable drawable, Visual* visual, int width, int height) -{ - cairo_surface_t* cobject = cairo_xlib_surface_create(dpy, drawable, visual, width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new XlibSurface(cobject, true /* has reference */)); -} - -RefPtr XlibSurface::create(Display* dpy, Pixmap bitmap, Screen* screen, int width, int height) -{ - cairo_surface_t* cobject = cairo_xlib_surface_create_for_bitmap(dpy, bitmap, screen, width, height); - check_status_and_throw_exception(cairo_surface_status(cobject)); - return RefPtr(new XlibSurface(cobject, true /* has reference */)); -} - -void XlibSurface::set_size(int width, int height) -{ - cairo_xlib_surface_set_size(m_cobject, width, height); - check_object_status_and_throw_exception(*this); -} - -void XlibSurface::set_drawable(Drawable drawable, int width, int height) -{ - cairo_xlib_surface_set_drawable(m_cobject, drawable, width, height); - check_object_status_and_throw_exception(*this); -} - -Drawable XlibSurface::get_drawable() const -{ - Drawable drawable = cairo_xlib_surface_get_drawable(m_cobject); - check_object_status_and_throw_exception(*this); - return drawable; -} - -const Display* XlibSurface::get_display() const -{ - const Display* dpy = cairo_xlib_surface_get_display(m_cobject); - check_object_status_and_throw_exception(*this); - return dpy; -} - -Display* XlibSurface::get_display() -{ - Display* dpy = cairo_xlib_surface_get_display(m_cobject); - check_object_status_and_throw_exception(*this); - return dpy; -} - -Screen* XlibSurface::get_screen() -{ - Screen* screen = cairo_xlib_surface_get_screen(m_cobject); - check_object_status_and_throw_exception(*this); - return screen; -} - -const Screen* XlibSurface::get_screen() const -{ - const Screen* screen = cairo_xlib_surface_get_screen(m_cobject); - check_object_status_and_throw_exception(*this); - return screen; -} - -Visual* XlibSurface::get_visual() -{ - Visual* visual = cairo_xlib_surface_get_visual(m_cobject); - check_object_status_and_throw_exception(*this); - return visual; -} - -const Visual* XlibSurface::get_visual() const -{ - const Visual* visual = cairo_xlib_surface_get_visual(m_cobject); - check_object_status_and_throw_exception(*this); - return visual; -} - -int XlibSurface::get_depth() const -{ - int depth = cairo_xlib_surface_get_depth(m_cobject); - check_object_status_and_throw_exception(*this); - return depth; -} - -int XlibSurface::get_height() const -{ - int h = cairo_xlib_surface_get_height(m_cobject); - check_object_status_and_throw_exception(*this); - return h; -} - -int XlibSurface::get_width() const -{ - int w = cairo_xlib_surface_get_width(m_cobject); - check_object_status_and_throw_exception(*this); - return w; -} - -#endif // CAIRO_HAS_XLIB_SURFACE - -} //namespace Cairo - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/cairomm/xlib_surface.h b/libs/cairomm/cairomm/xlib_surface.h deleted file mode 100644 index cddd8806ac..0000000000 --- a/libs/cairomm/cairomm/xlib_surface.h +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright (C) 2005 The cairomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -#ifndef __CAIROMM_XLIB_SURFACE_H -#define __CAIROMM_XLIB_SURFACE_H - -#include - -// This header is not included by cairomm.h because it requires X headers that -// tend to pollute the namespace with non-prefixed #defines and typedefs. -// You may include it directly if you need to use this API. - -#ifdef CAIRO_HAS_XLIB_SURFACE -#include //Needed for the X11 "Display" struct (which pollutes the namespace because it has no prefix.) -#endif - - -namespace Cairo -{ - -#ifdef CAIRO_HAS_XLIB_SURFACE - -/** An XlibSurface provides a way to render to the X Window System using XLib. - * If you want to draw to the screen within an application that uses the X - * Window system, you should use this Surface type. - * - * @note For this surface to be availabe, cairo must have been compiled with - * support for XLib Surfaces - */ -class XlibSurface : public Surface -{ -public: - - /** Create a C++ wrapper for the C instance. This C++ instance should then be - * given to a RefPtr. - * - * @param cobject The C instance. - * @param has_reference whether we already have a reference. Otherwise, the - * constructor will take an extra reference. - */ - explicit XlibSurface(cairo_surface_t* cobject, bool has_reference = false); - virtual ~XlibSurface(); - - /** Creates an Xlib surface that draws to the given drawable. The way that - * colors are represented in the drawable is specified by the provided - * visual. - * - * @note If drawable is a Window, then the function - * cairo_xlib_surface_set_size must be called whenever the size of the window - * changes. - * - * @param dpy an X Display - * @param drawable an X Drawable, (a Pixmap or a Window) - * @param visual the visual to use for drawing to drawable. The depth of the visual must match the depth of the drawable. Currently, only TrueColor visuals are fully supported. - * @param width the current width of drawable. - * @param height the current height of drawable. - * @return A RefPtr to the newly created surface - */ - static RefPtr create(Display* dpy, Drawable drawable, Visual* visual, int width, int height); - - /** Creates an Xlib surface that draws to the given bitmap. This will be - * drawn to as a CAIRO_FORMAT_A1 object. - * - * @param dpy an X Display - * @param bitmap an X Drawable, (a depth-1 Pixmap) - * @param screen the X Screen associated with bitmap - * @param width the current width of bitmap. - * @param height the current height of bitmap. - * @return A RefPtr to the newly created surface - */ - static RefPtr create(Display *dpy, Pixmap bitmap, Screen *screen, int width, int height); - - /** Informs cairo of the new size of the X Drawable underlying the surface. - * For a surface created for a Window (rather than a Pixmap), this function - * must be called each time the size of the window changes. (For a subwindow, - * you are normally resizing the window yourself, but for a toplevel window, - * it is necessary to listen for ConfigureNotify events.) - * - * A Pixmap can never change size, so it is never necessary to call this - * function on a surface created for a Pixmap. - * - * @param width the new width of the surface - * @param height the new height of the surface - */ - void set_size(int width, int height); - - /** Informs cairo of a new X Drawable underlying the surface. The drawable - * must match the display, screen and format of the existing drawable or the - * application will get X protocol errors and will probably terminate. No - * checks are done by this function to ensure this compatibility. - * - * @param drawable the new drawable for the surface - * @param width the width of the new drawable - * @param height the height of the new drawable - */ - void set_drawable(Drawable drawable, int width, int height); - - /** gets the Drawable object associated with this surface */ - Drawable get_drawable() const; - - /** Get the X Display for the underlying X Drawable. */ - const Display* get_display() const; - /** Get the X Display for the underlying X Drawable. */ - Display* get_display(); - - /** Get the X Screen for the underlying X Drawable */ - Screen* get_screen(); - /** Get the X Screen for the underlying X Drawable */ - const Screen* get_screen() const; - - /** Get the X Visual for the underlying X Drawable */ - Visual* get_visual(); - /** Get the X Visual for the underlying X Drawable */ - const Visual* get_visual() const; - - /** Get the number of bits used to represent each pixel value. */ - int get_depth() const; - - /** Get the height in pixels of the X Drawable underlying the surface */ - int get_height() const; - - /** Get the width in pixels of the X Drawable underlying the surface */ - int get_width() const; - -}; - -#endif // CAIRO_HAS_XLIB_SURFACE - -} // namespace Cairo - -#endif //__CAIROMM_XLIB_SURFACE_H - -// vim: ts=2 sw=2 et diff --git a/libs/cairomm/config.guess b/libs/cairomm/config.guess deleted file mode 100755 index 0f0fe712ae..0000000000 --- a/libs/cairomm/config.guess +++ /dev/null @@ -1,1516 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. - -timestamp='2007-03-06' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# Portable tmp directory creation inspired by the Autoconf team. - -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; - for c in cc gcc c89 c99 ; do - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - sh5el) machine=sh5le-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - # Debian GNU/NetBSD machines have a different userland, and - # thus, need a distinct triplet. However, they do not need - # kernel version information, so it can be replaced with a - # suitable tag, in the style of linux-gnu. - case "${UNAME_VERSION}" in - Debian*) - release='-gnu' - ;; - *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - ;; - esac - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit ;; - *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} - exit ;; - *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} - exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; - macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} - exit ;; - *:MirBSD:*:*) - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} - exit ;; - alpha:OSF1:*:*) - case $UNAME_RELEASE in - *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - ;; - *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` - ;; - esac - # According to Compaq, /usr/sbin/psrinfo has been available on - # OSF/1 and Tru64 systems produced since 1995. I hope that - # covers most systems running today. This code pipes the CPU - # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in - "EV4 (21064)") - UNAME_MACHINE="alpha" ;; - "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; - "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; - "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; - "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; - "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; - "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; - "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; - "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; - "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; - "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; - "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; - "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; - esac - # A Pn.n version is a patched version. - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; - *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; - *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; - DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - i86pc:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; - m68k:machten:*:*) - echo m68k-apple-machten${UNAME_RELEASE} - exit ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && - SYSTEM_NAME=`$dummy $dummyarg` && - { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos${UNAME_RELEASE} - exit ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; - Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` - then - echo "$SYSTEM_NAME" - else - echo rs6000-ibm-aix3.2.5 - fi - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit ;; - *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` - test -z "$HP_ARCH" && HP_ARCH=hppa - fi ;; - esac - if [ ${HP_ARCH} = "hppa2.0w" ] - then - eval $set_cc_for_build - - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler - # generating 64-bit code. GNU and HP use different nomenclature: - # - # $ CC_FOR_BUILD=cc ./config.guess - # => hppa2.0w-hp-hpux11.23 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess - # => hppa64-hp-hpux11.23 - - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null - then - HP_ARCH="hppa2.0w" - else - HP_ARCH="hppa64" - fi - fi - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac - exit ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit ;; - *:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit ;; - *:Interix*:[3456]*) - case ${UNAME_MACHINE} in - x86) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T | authenticamd) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; - esac ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - *:GNU:*:*) - # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit ;; - *:GNU/*:*:*) - # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu - exit ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit ;; - arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - cris:Linux:*:*) - echo cris-axis-linux-gnu - exit ;; - crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu - exit ;; - frv:Linux:*:*) - echo frv-unknown-linux-gnu - exit ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit ;; - sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit ;; - xtensa:Linux:*:*) - echo xtensa-unknown-linux-gnu - exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit ;; - i*86:syllable:*:*) - echo ${UNAME_MACHINE}-pc-syllable - exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit ;; - i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit ;; - mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; - M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; - M68*:*:R3V[5678]*:*) - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; - i*86:VOS:*:*) - # From Paul.Green@stratus.com. - echo ${UNAME_MACHINE}-stratus-vos - exit ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit ;; - SX-6:SUPER-UX:*:*) - echo sx6-nec-superux${UNAME_RELEASE} - exit ;; - SX-7:SUPER-UX:*:*) - echo sx7-nec-superux${UNAME_RELEASE} - exit ;; - SX-8:SUPER-UX:*:*) - echo sx8-nec-superux${UNAME_RELEASE} - exit ;; - SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux${UNAME_RELEASE} - exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - unknown) UNAME_PROCESSOR=powerpc ;; - esac - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit ;; - NSE-?:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk${UNAME_RELEASE} - exit ;; - NSR-?:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit ;; - SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} - exit ;; - *:DragonFly:*:*) - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit ;; - *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "${UNAME_MACHINE}" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; - esac ;; - *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; - i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' - exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix\n"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - c34*) - echo c34-convex-bsd - exit ;; - c38*) - echo c38-convex-bsd - exit ;; - c4*) - echo c4-convex-bsd - exit ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/libs/cairomm/config.sub b/libs/cairomm/config.sub deleted file mode 100755 index 5defff65a6..0000000000 --- a/libs/cairomm/config.sub +++ /dev/null @@ -1,1622 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. - -timestamp='2007-01-18' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit ;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray) - os= - basic_machine=$1 - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ - | bfin \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fido | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k | iq2000 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64vr | mips64vrel \ - | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | mt \ - | msp430 \ - | nios | nios2 \ - | ns16k | ns32k \ - | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - ms1) - basic_machine=mt-unknown - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* | iq2000-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nios-* | nios2-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ - | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa-* \ - | ymp-* \ - | z8k-*) - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16c) - basic_machine=cr16c-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc - ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc - ;; - pentium4) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium4-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - mmix) - basic_machine=mmix-knuth - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto-qnx*) - ;; - -nto*) - os=`echo $os | sed -e 's|nto|nto-qnx|'` - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -os400*) - os=-os400 - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -syllable*) - os=-syllable - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -tpf*) - os=-tpf - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -aros*) - os=-aros - ;; - -kaos*) - os=-kaos - ;; - -zvmoe) - os=-zvmoe - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - c4x-* | tic4x-*) - os=-coff - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mep-*) - os=-elf - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-haiku) - os=-haiku - ;; - *-ibm) - os=-aix - ;; - *-knuth) - os=-mmixware - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -os400*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -tpf*) - vendor=ibm - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/libs/cairomm/configure b/libs/cairomm/configure deleted file mode 100755 index 421eb11d58..0000000000 --- a/libs/cairomm/configure +++ /dev/null @@ -1,22654 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61. -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell autoconf@gnu.org about your system, - echo including any error possibly output before this - echo message -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -echo=${ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1 && unset CDPATH - -if test -z "$ECHO"; then -if test "X${echo_test_string+set}" != Xset; then -# find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if (echo_test_string=`eval $cmd`) 2>/dev/null && - echo_test_string=`eval $cmd` && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi - -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - - - -tagnames=${tagnames+${tagnames},}CXX - -tagnames=${tagnames+${tagnames},}F77 - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= - -ac_unique_file="cairomm/cairomm.h" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='SHELL -PATH_SEPARATOR -PACKAGE_NAME -PACKAGE_TARNAME -PACKAGE_VERSION -PACKAGE_STRING -PACKAGE_BUGREPORT -exec_prefix -prefix -program_transform_name -bindir -sbindir -libexecdir -datarootdir -datadir -sysconfdir -sharedstatedir -localstatedir -includedir -oldincludedir -docdir -infodir -htmldir -dvidir -pdfdir -psdir -libdir -localedir -mandir -DEFS -ECHO_C -ECHO_N -ECHO_T -LIBS -build_alias -host_alias -target_alias -GENERIC_MAJOR_VERSION -GENERIC_MINOR_VERSION -GENERIC_MICRO_VERSION -GENERIC_VERSION -GENERIC_LIBRARY_VERSION -INSTALL_PROGRAM -INSTALL_SCRIPT -INSTALL_DATA -CYGPATH_W -PACKAGE -VERSION -ACLOCAL -AUTOCONF -AUTOMAKE -AUTOHEADER -MAKEINFO -install_sh -STRIP -INSTALL_STRIP_PROGRAM -mkdir_p -AWK -SET_MAKE -am__leading_dot -AMTAR -am__tar -am__untar -CXX -CXXFLAGS -LDFLAGS -CPPFLAGS -ac_ct_CXX -EXEEXT -OBJEXT -DEPDIR -am__include -am__quote -AMDEP_TRUE -AMDEP_FALSE -AMDEPBACKSLASH -CXXDEPMODE -am__fastdepCXX_TRUE -am__fastdepCXX_FALSE -CXXCPP -build -build_cpu -build_vendor -build_os -host -host_cpu -host_vendor -host_os -CC -CFLAGS -ac_ct_CC -CCDEPMODE -am__fastdepCC_TRUE -am__fastdepCC_FALSE -SED -GREP -EGREP -LN_S -ECHO -AR -RANLIB -DLLTOOL -AS -OBJDUMP -CPP -F77 -FFLAGS -ac_ct_F77 -LIBTOOL -PLATFORM_WIN32_TRUE -PLATFORM_WIN32_FALSE -OS_WIN32_TRUE -OS_WIN32_FALSE -PKG_CONFIG -CAIROMM_CFLAGS -CAIROMM_LIBS -BOOST_CPPFLAGS -BOOST_LDFLAGS -BOOST_UNIT_TEST_FRAMEWORK_LIB -AUTOTESTS_TRUE -AUTOTESTS_FALSE -DOXYGEN -DOT -DOCS_SUBDIR -LIBOBJS -LTLIBOBJS' -ac_subst_files='' - ac_precious_vars='build_alias -host_alias -target_alias -CXX -CXXFLAGS -LDFLAGS -LIBS -CPPFLAGS -CCC -CXXCPP -CC -CFLAGS -CPP -F77 -FFLAGS -PKG_CONFIG -CAIROMM_CFLAGS -CAIROMM_LIBS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=\$ac_optarg ;; - - -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -# Be sure to have absolute directory names. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { echo "$as_me: error: Working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$0" || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X"$0" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -Program names: - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors - --enable-shared[=PKGS] build shared libraries [default=yes] - --enable-static[=PKGS] build static libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) - --enable-tests=yes|no enable automated tests (default is no) - --enable-api-exceptions Build exceptions API. - [default=yes] - --enable-docs build the included docs [default=yes] - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - --with-pic try to use only PIC/non-PIC objects [default=use - both] - --with-tags[=TAGS] include additional configurations [automatic] - --with-boost[=DIR] use boost (default is No) - it is possible to - specify the root directory for boost (optional) - --with-boost-unit-test-framework[=special-lib] - use the Unit_Test_Framework library from boost - it - is possible to specify a certain library for the - linker e.g. - --with-boost-unit-test-framework=boost_unit_test_framework-gcc - -Some influential environment variables: - CXX C++ compiler command - CXXFLAGS C++ compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CXXCPP C++ preprocessor - CC C compiler command - CFLAGS C compiler flags - CPP C preprocessor - F77 Fortran 77 compiler command - FFLAGS Fortran 77 compiler flags - PKG_CONFIG path to pkg-config utility - CAIROMM_CFLAGS - C compiler flags for CAIROMM, overriding pkg-config - CAIROMM_LIBS - linker flags for CAIROMM, overriding pkg-config - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.61 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -n "$CONFIG_SITE"; then - set x "$CONFIG_SITE" -elif test "x$prefix" != xNONE; then - set x "$prefix/share/config.site" "$prefix/etc/config.site" -else - set x "$ac_default_prefix/share/config.site" \ - "$ac_default_prefix/etc/config.site" -fi -shift -for ac_site_file -do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -#release versioning -GENERIC_MAJOR_VERSION=1 -GENERIC_MINOR_VERSION=4 -GENERIC_MICRO_VERSION=6 -GENERIC_VERSION=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION.$GENERIC_MICRO_VERSION - - - - - -#shared library versioning -GENERIC_LIBRARY_VERSION=2:0:1 -# | | | -# +------+ | +---+ -# | | | -# current:revision:age -# | | | -# | | +- increment if interfaces have been added -# | | set to zero if interfaces have been removed -# or changed -# | +- increment if source code has changed -# | set to zero if current is incremented -# +- increment if interfaces have been added, removed or changed - - - -VERSION=$GENERIC_VERSION - -am__api_version="1.9" -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done -IFS=$as_save_IFS - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file -# Do `set' in a subshell so we don't clobber the current shell's -# arguments. Must try -L first in case configure is actually a -# symlink; some systems play weird games with the mod time of symlinks -# (eg FreeBSD returns the mod time of the symlink's containing -# directory). -if ( - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t $srcdir/configure conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&5 -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" >&2;} - { (exit 1); exit 1; }; } - fi - - test "$2" = conftest.file - ) -then - # Ok. - : -else - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! -Check your system clock" >&5 -echo "$as_me: error: newly created file is older than distributed files! -Check your system clock" >&2;} - { (exit 1); exit 1; }; } -fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -test "$program_prefix" != NONE && - program_transform_name="s&^&$program_prefix&;$program_transform_name" -# Use a double $ so make ignores it. -test "$program_suffix" != NONE && - program_transform_name="s&\$&$program_suffix&;$program_transform_name" -# Double any \ or $. echo might interpret backslashes. -# By default was `s,x,x', remove it if useless. -cat <<\_ACEOF >conftest.sed -s/[\\$]/&&/g;s/;s,x,x,$// -_ACEOF -program_transform_name=`echo $program_transform_name | sed -f conftest.sed` -rm -f conftest.sed - -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" -# Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " -else - am_missing_run= - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} -fi - -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi - -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AWK="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { echo "$as_me:$LINENO: result: $AWK" >&5 -echo "${ECHO_T}$AWK" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$AWK" && break -done - -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - SET_MAKE= -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} - { (exit 1); exit 1; }; } -fi - -# test whether we have cygpath -if test -z "$CYGPATH_W"; then - if (cygpath --version) >/dev/null 2>/dev/null; then - CYGPATH_W='cygpath -w' - else - CYGPATH_W=echo - fi -fi - - -# Define the identity of the package. - PACKAGE=cairomm - VERSION=$GENERIC_VERSION - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE "$PACKAGE" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define VERSION "$VERSION" -_ACEOF - -# Some tools Automake needs. - -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} - - -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} - - -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} - - -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} - -install_sh=${install_sh-"$am_aux_dir/install-sh"} - -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right -# tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -if test "$cross_compiling" != no; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -echo "${ECHO_T}$ac_ct_STRIP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" - -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' - - - - - - -ac_config_headers="$ac_config_headers cairomm/cairommconfig.h" - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { echo "$as_me:$LINENO: result: $CXX" >&5 -echo "${ECHO_T}$CXX" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 -echo "${ECHO_T}$ac_ct_CXX" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C++ compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 -echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -# -# List of possible output files, starting from the most likely. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) -# only as a last resort. b.out is created by i960 compilers. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' -# -# The IRIX 6 linker writes into existing files which may not be -# executable, retaining their permissions. Remove them first so a -# subsequent execution test works. -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6; } -if test -z "$ac_file"; then - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables -See \`config.log' for more details." >&5 -echo "$as_me: error: C++ compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 -echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run C++ compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - -rm -f a.out a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6; } - -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest$ac_cv_exeext -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } -if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } -GXX=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CXXFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo done -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi - - -{ echo "$as_me:$LINENO: result: $_am_result" >&5 -echo "${ECHO_T}$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - - -if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - - -depcc="$CXX" am_compiler_list= - -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - case $depmode in - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - - -if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 -echo "${ECHO_T}$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&5 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done -IFS=$as_save_IFS - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - -# Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_shared=yes -fi - - -# Check whether --enable-static was given. -if test "${enable_static+set}" = set; then - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_static=yes -fi - - -# Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_fast_install=yes -fi - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} - { (exit 1); exit 1; }; } - -{ echo "$as_me:$LINENO: checking build system type" >&5 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; } -if test "${ac_cv_build+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} - { (exit 1); exit 1; }; } - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 -echo "${ECHO_T}$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 -echo "$as_me: error: invalid value of canonical build" >&2;} - { (exit 1); exit 1; }; };; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ echo "$as_me:$LINENO: checking host system type" >&5 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; } -if test "${ac_cv_host+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} - { (exit 1); exit 1; }; } -fi - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 -echo "${ECHO_T}$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 -echo "$as_me: error: invalid value of canonical host" >&2;} - { (exit 1); exit 1; }; };; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - -# Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6; } ;; - xno) - { echo "$as_me:$LINENO: result: unsupported" >&5 -echo "${ECHO_T}unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; -esac - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -depcc="$CC" am_compiler_list= - -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CC_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - case $depmode in - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CC_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CC_dependencies_compiler_type=none -fi - -fi -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - - -if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then - am__fastdepCC_TRUE= - am__fastdepCC_FALSE='#' -else - am__fastdepCC_TRUE='#' - am__fastdepCC_FALSE= -fi - - -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } -if test "${lt_cv_path_SED+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done - -fi - -SED=$lt_cv_path_SED - -{ echo "$as_me:$LINENO: result: $SED" >&5 -echo "${ECHO_T}$SED" >&6; } - -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Extract the first word of "grep ggrep" to use in msg output -if test -z "$GREP"; then -set dummy grep ggrep; ac_prog_name=$2 -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_path_GREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue - # Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - - $ac_path_GREP_found && break 3 - done -done - -done -IFS=$as_save_IFS - - -fi - -GREP="$ac_cv_path_GREP" -if test -z "$GREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - -else - ac_cv_path_GREP=$GREP -fi - - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ echo "$as_me:$LINENO: checking for egrep" >&5 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - # Extract the first word of "egrep" to use in msg output -if test -z "$EGREP"; then -set dummy egrep; ac_prog_name=$2 -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_path_EGREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue - # Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - - $ac_path_EGREP_found && break 3 - done -done - -done -IFS=$as_save_IFS - - -fi - -EGREP="$ac_cv_path_EGREP" -if test -z "$EGREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - -else - ac_cv_path_EGREP=$EGREP -fi - - - fi -fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { echo "$as_me:$LINENO: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } -else - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -echo "${ECHO_T}$LD" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_ld_reload_flag='-r' -fi -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - -{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } -if test "${lt_cv_path_NM+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi -fi -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 -echo "${ECHO_T}$lt_cv_path_NM" >&6; } -NM="$lt_cv_path_NM" - -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -else - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 -echo "${ECHO_T}no, using $LN_S" >&6; } -fi - -{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval=$enable_libtool_lock; -fi - -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 5145 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - lt_cv_cc_needs_belf=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_cc_needs_belf=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) LD="${LD-ld} -64" ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-cygwin* | *-*-mingw* | *-*-pw32*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_DLLTOOL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DLLTOOL=$ac_cv_prog_DLLTOOL -if test -n "$DLLTOOL"; then - { echo "$as_me:$LINENO: result: $DLLTOOL" >&5 -echo "${ECHO_T}$DLLTOOL" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DLLTOOL"; then - ac_ct_DLLTOOL=$DLLTOOL - # Extract the first word of "dlltool", so it can be a program name with args. -set dummy dlltool; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_DLLTOOL"; then - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DLLTOOL="dlltool" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -if test -n "$ac_ct_DLLTOOL"; then - { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_DLLTOOL" = x; then - DLLTOOL="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - DLLTOOL=$ac_ct_DLLTOOL - fi -else - DLLTOOL="$ac_cv_prog_DLLTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -set dummy ${ac_tool_prefix}as; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_AS+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS="$AS" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AS="${ac_tool_prefix}as" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AS=$ac_cv_prog_AS -if test -n "$AS"; then - { echo "$as_me:$LINENO: result: $AS" >&5 -echo "${ECHO_T}$AS" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_AS+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AS="as" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AS=$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 -echo "${ECHO_T}$ac_ct_AS" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_AS" = x; then - AS="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - AS=$ac_ct_AS - fi -else - AS="$ac_cv_prog_AS" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { echo "$as_me:$LINENO: result: $OBJDUMP" >&5 -echo "${ECHO_T}$OBJDUMP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - - ;; - -esac - -need_locks="$enable_libtool_lock" - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&5 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - -for ac_header in dlfcn.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - { echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } - -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 -echo "${ECHO_T}$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&5 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -fi - - -ac_ext=f -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_f77_compiler_gnu -if test -n "$ac_tool_prefix"; then - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_F77+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$F77"; then - ac_cv_prog_F77="$F77" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_F77="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -F77=$ac_cv_prog_F77 -if test -n "$F77"; then - { echo "$as_me:$LINENO: result: $F77" >&5 -echo "${ECHO_T}$F77" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$F77" && break - done -fi -if test -z "$F77"; then - ac_ct_F77=$F77 - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_F77"; then - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_F77="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_F77=$ac_cv_prog_ac_ct_F77 -if test -n "$ac_ct_F77"; then - { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 -echo "${ECHO_T}$ac_ct_F77" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$ac_ct_F77" && break -done - - if test "x$ac_ct_F77" = x; then - F77="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - F77=$ac_ct_F77 - fi -fi - - -# Provide some information about the compiler. -echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -rm -f a.out - -# If we don't use `.F' as extension, the preprocessor is not run on the -# input file. (Note that this only needs to work for GNU compilers.) -ac_save_ext=$ac_ext -ac_ext=F -{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } -if test "${ac_cv_f77_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF - program main -#ifndef __GNUC__ - choke me -#endif - - end -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_f77_compiler_gnu=$ac_compiler_gnu - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } -ac_ext=$ac_save_ext -ac_test_FFLAGS=${FFLAGS+set} -ac_save_FFLAGS=$FFLAGS -FFLAGS= -{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_f77_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - FFLAGS=-g -cat >conftest.$ac_ext <<_ACEOF - program main - - end -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_f77_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_prog_f77_g=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } -if test "$ac_test_FFLAGS" = set; then - FFLAGS=$ac_save_FFLAGS -elif test $ac_cv_prog_f77_g = yes; then - if test "x$ac_cv_f77_compiler_gnu" = xyes; then - FFLAGS="-g -O2" - else - FFLAGS="-g" - fi -else - if test "x$ac_cv_f77_compiler_gnu" = xyes; then - FFLAGS="-O2" - else - FFLAGS= - fi -fi - -G77=`test $ac_compiler_gnu = yes && echo yes` -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! - -# find the maximum length of command line arguments -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n $lt_cv_sys_max_cmd_len ; then - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } -else - { echo "$as_me:$LINENO: result: none" >&5 -echo "${ECHO_T}none" >&6; } -fi - - - - - -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32*) - symcode='[ABCDGISTW]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[ABCDEGRST]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -linux* | k*bsd*-gnu) - if test "$host_cpu" = ia64; then - symcode='[ABCDGIRSTW]' - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[ABCDGIRSTW]' ;; -esac - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat < conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - - cat <> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done - -fi - -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { echo "$as_me:$LINENO: result: failed" >&5 -echo "${ECHO_T}failed" >&6; } -else - { echo "$as_me:$LINENO: result: ok" >&5 -echo "${ECHO_T}ok" >&6; } -fi - -{ echo "$as_me:$LINENO: checking for objdir" >&5 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } -if test "${lt_cv_objdir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null -fi -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 -echo "${ECHO_T}$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir - - - - - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_AR+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="${ac_tool_prefix}ar" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { echo "$as_me:$LINENO: result: $AR" >&5 -echo "${ECHO_T}$AR" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="ar" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 -echo "${ECHO_T}$ac_ct_AR" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -else - AR="$ac_cv_prog_AR" -fi - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { echo "$as_me:$LINENO: result: $RANLIB" >&5 -echo "${ECHO_T}$RANLIB" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { echo "$as_me:$LINENO: result: $STRIP" >&5 -echo "${ECHO_T}$STRIP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -echo "${ECHO_T}$ac_ct_STRIP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { echo "$as_me:$LINENO: checking for file" >&5 -echo $ECHO_N "checking for file... $ECHO_C" >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -echo "${ECHO_T}$MAGIC_CMD" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -enable_dlopen=no -enable_win32_dll=yes - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval=$enable_libtool_lock; -fi - -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then - withval=$with_pic; pic_mode="$withval" -else - pic_mode=default -fi - -test -z "$pic_mode" && pic_mode=default - -# Use C for the default configuration in the libtool script -tagname= -lt_save_CC="$CC" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -objext=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* - - - -lt_prog_compiler_no_builtin_flag= - -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' - - -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7700: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:7704: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi - -fi - -lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= - -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic='-qnocommon' - lt_prog_compiler_wl='-Wl,' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; - - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - esac - ;; - esac - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then - -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_pic_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7990: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:7994: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_pic_works=yes - fi - fi - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } - -if test x"$lt_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac -else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no -fi - -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_static_works+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_static_works=yes - fi - else - lt_prog_compiler_static_works=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } - -if test x"$lt_prog_compiler_static_works" = xyes; then - : -else - lt_prog_compiler_static= -fi - - -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_compiler_c_o=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8094: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:8098: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6; } - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } - - runpath_var= - allow_undefined_flag= - enable_shared_with_static_runtimes=no - archive_cmds= - archive_expsym_cmds= - old_archive_From_new_cmds= - old_archive_from_expsyms_cmds= - export_dynamic_flag_spec= - whole_archive_flag_spec= - thread_safe_flag_spec= - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld= - hardcode_libdir_separator= - hardcode_direct=no - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - link_all_deplibs=unknown - hardcode_automatic=no - module_cmds= - module_expsym_cmds= - always_export_symbols=no - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - ld_shlibs=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - ld_shlibs=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; - - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test $supports_anon_versioning = yes; then - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - link_all_deplibs=no - else - ld_shlibs=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - - if test "$ld_shlibs" = no; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds='' - hardcode_direct=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag=' ${wl}-bernotok' - allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - archive_cmds_need_lc=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - # see comment about different semantics on the GNU ld section - ld_shlibs=no - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_From_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' - link_all_deplibs=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs=no - ;; - esac - fi - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - freebsd1*) - ld_shlibs=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - hardcode_direct=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_libdir_flag_spec_ld='+b $libdir' - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_ld='-rpath $libdir' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - link_all_deplibs=yes - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='${wl}-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='${wl}-z,text' - allow_undefined_flag='${wl}-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -echo "${ECHO_T}$ld_shlibs" >&6; } -test "$ld_shlibs" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 -echo "${ECHO_T}$archive_cmds_need_lc" >&6; } - ;; - esac - fi - ;; -esac - -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" - -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`echo $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || \ - test -n "$runpath_var" || \ - test "X$hardcode_automatic" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 -echo "${ECHO_T}$hardcode_action" >&6; } - -if test "$hardcode_action" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - -striplib= -old_striplib= -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - ;; - *) - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - ;; - esac -fi - -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_dl_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } -if test $ac_cv_lib_dl_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - *) - { echo "$as_me:$LINENO: checking for shl_load" >&5 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } -if test "${ac_cv_func_shl_load+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define shl_load to an innocuous variant, in case declares shl_load. - For example, HP-UX 11i declares gettimeofday. */ -#define shl_load innocuous_shl_load - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shl_load (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef shl_load - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_shl_load || defined __stub___shl_load -choke me -#endif - -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_func_shl_load=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_shl_load=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } -if test $ac_cv_func_shl_load = yes; then - lt_cv_dlopen="shl_load" -else - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_dld_shl_load=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_shl_load=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } -if test $ac_cv_lib_dld_shl_load = yes; then - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" -else - { echo "$as_me:$LINENO: checking for dlopen" >&5 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } -if test "${ac_cv_func_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define dlopen to an innocuous variant, in case declares dlopen. - For example, HP-UX 11i declares gettimeofday. */ -#define dlopen innocuous_dlopen - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef dlopen - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_dlopen || defined __stub___dlopen -choke me -#endif - -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_func_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_dlopen=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } -if test $ac_cv_func_dlopen = yes; then - lt_cv_dlopen="dlopen" -else - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_dl_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } -if test $ac_cv_lib_dl_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_svld_dlopen=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_svld_dlopen=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } -if test $ac_cv_lib_svld_dlopen = yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dld_link (); -int -main () -{ -return dld_link (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_dld_dld_link=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_dld_link=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } -if test $ac_cv_lib_dld_dld_link = yes; then - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -} -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext < -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -} -EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi - - -# Report which library types will actually be built -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6; } - -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -{ echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6; } - -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -{ echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6; } - -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler \ - CC \ - LD \ - lt_prog_compiler_wl \ - lt_prog_compiler_pic \ - lt_prog_compiler_static \ - lt_prog_compiler_no_builtin_flag \ - export_dynamic_flag_spec \ - thread_safe_flag_spec \ - whole_archive_flag_spec \ - enable_shared_with_static_runtimes \ - old_archive_cmds \ - old_archive_from_new_cmds \ - predep_objects \ - postdep_objects \ - predeps \ - postdeps \ - compiler_lib_search_path \ - archive_cmds \ - archive_expsym_cmds \ - postinstall_cmds \ - postuninstall_cmds \ - old_archive_from_expsyms_cmds \ - allow_undefined_flag \ - no_undefined_flag \ - export_symbols_cmds \ - hardcode_libdir_flag_spec \ - hardcode_libdir_flag_spec_ld \ - hardcode_libdir_separator \ - hardcode_automatic \ - module_cmds \ - module_expsym_cmds \ - lt_cv_prog_compiler_c_o \ - fix_srcfile_path \ - exclude_expsyms \ - include_expsyms; do - - case $var in - old_archive_cmds | \ - old_archive_from_new_cmds | \ - archive_cmds | \ - archive_expsym_cmds | \ - module_cmds | \ - module_expsym_cmds | \ - old_archive_from_expsyms_cmds | \ - export_symbols_cmds | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="${ofile}T" - trap "$rm \"$cfgfile\"; exit 1" 1 2 15 - $rm -f "$cfgfile" - { echo "$as_me:$LINENO: creating $ofile" >&5 -echo "$as_me: creating $ofile" >&6;} - - cat <<__EOF__ >> "$cfgfile" -#! $SHELL - -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit , 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e 1s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# The names of the tagged configurations supported by this script. -available_tags= - -# ### BEGIN LIBTOOL CONFIG - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler - -# Is the compiler the GNU C compiler? -with_gcc=$GCC - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds - -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds -archive_expsym_cmds=$lt_archive_expsym_cmds -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds -module_expsym_cmds=$lt_module_expsym_cmds - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms - -# ### END LIBTOOL CONFIG - -__EOF__ - - - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" - -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" - -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -CC="$lt_save_CC" - - -# Check whether --with-tags was given. -if test "${with_tags+set}" = set; then - withval=$with_tags; tagnames="$withval" -fi - - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} - else - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} - fi - fi - if test -z "$LTCFLAGS"; then - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" - fi - - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` - - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in - "") ;; - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 -echo "$as_me: error: invalid tag name: $tagname" >&2;} - { (exit 1); exit 1; }; } - ;; - esac - - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} - { (exit 1); exit 1; }; } - fi - - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - -archive_cmds_need_lc_CXX=no -allow_undefined_flag_CXX= -always_export_symbols_CXX=no -archive_expsym_cmds_CXX= -export_dynamic_flag_spec_CXX= -hardcode_direct_CXX=no -hardcode_libdir_flag_spec_CXX= -hardcode_libdir_flag_spec_ld_CXX= -hardcode_libdir_separator_CXX= -hardcode_minus_L_CXX=no -hardcode_shlibpath_var_CXX=unsupported -hardcode_automatic_CXX=no -module_cmds_CXX= -module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown -old_archive_cmds_CXX=$old_archive_cmds -no_undefined_flag_CXX= -whole_archive_flag_spec_CXX= -enable_shared_with_static_runtimes_CXX=no - -# Dependencies to place before and after the object being linked: -predep_objects_CXX= -postdep_objects_CXX= -predeps_CXX= -postdeps_CXX= -compiler_lib_search_path_CXX= - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -objext_CXX=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[]) { return(0); }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* - - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx -else - $as_unset lt_cv_prog_gnu_ld -fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX -else - $as_unset lt_cv_path_LD -fi -test -z "${LDCXX+set}" || LD=$LDCXX -CC=${CXX-"c++"} -compiler=$CC -compiler_CXX=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# We don't want -fno-exception wen compiling C++ code, so set the -# no_builtin_flag separately -if test "$GXX" = yes; then - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' -else - lt_prog_compiler_no_builtin_flag_CXX= -fi - -if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { echo "$as_me:$LINENO: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } -else - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -echo "${ECHO_T}$LD" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ - grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_CXX= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - -else - GXX=no - with_gnu_ld=no - wlarc= -fi - -# PORTME: fill in a description of your system's C++ link characteristics -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } -ld_shlibs_CXX=yes -case $host_os in - aix3*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_CXX='' - hardcode_direct_CXX=yes - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - - if test "$GXX" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_CXX=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_CXX=yes - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_libdir_separator_CXX= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols_CXX=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_CXX='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_CXX="-z nodefs" - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_CXX=' ${wl}-bernotok' - allow_undefined_flag_CXX=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' - archive_cmds_need_lc_CXX=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_CXX=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_CXX=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='' - link_all_deplibs_CXX=yes - - if test "$GXX" = yes ; then - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs_CXX=no - ;; - esac - fi - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - freebsd[12]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - ld_shlibs_CXX=no - ;; - freebsd-elf*) - archive_cmds_need_lc_CXX=no - ;; - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - ld_shlibs_CXX=yes - ;; - gnu*) - ;; - hpux9*) - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - export_dynamic_flag_spec_CXX='${wl}-E' - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - case $host_cpu in - hppa*64*|ia64*) ;; - *) - export_dynamic_flag_spec_CXX='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - ;; - *) - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - interix[3-9]*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - link_all_deplibs_CXX=yes - ;; - esac - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc*) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC*) - # Portland Group C++ compiler - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - m88k*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - openbsd2*) - # C++ shared libraries are fairly broken - ld_shlibs_CXX=no - ;; - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - export_dynamic_flag_spec_CXX='${wl}-E' - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd='echo' - else - ld_shlibs_CXX=no - fi - ;; - osf3*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ - $rm $lib.exp' - - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - archive_cmds_need_lc_CXX=yes - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_shlibpath_var_CXX=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' - ;; - esac - link_all_deplibs_CXX=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - no_undefined_flag_CXX=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi - - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_CXX='${wl}-z,text' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - # So that behaviour is only enabled if SCOABSPATH is set to a - # non-empty value in the environment. Most likely only useful for - # creating official distributions of packages. - # This is a hack until libtool officially supports absolute path - # names for shared libraries. - no_undefined_flag_CXX='${wl}-z,text' - allow_undefined_flag_CXX='${wl}-z,nodefs' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - export_dynamic_flag_spec_CXX='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - vxworks*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; -esac -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 -echo "${ECHO_T}$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -GCC_CXX="$GXX" -LD_CXX="$LD" - - -cat > conftest.$ac_ext <&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - # The `*' in the case matches for architectures that use `case' in - # $output_verbose_cmd can trigger glob expansion during the loop - # eval without this substitution. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` - - for p in `eval $output_verbose_link_cmd`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" \ - || test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$compiler_lib_search_path_CXX"; then - compiler_lib_search_path_CXX="${prev}${p}" - else - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$postdeps_CXX"; then - postdeps_CXX="${prev}${p}" - else - postdeps_CXX="${postdeps_CXX} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$predep_objects_CXX"; then - predep_objects_CXX="$p" - else - predep_objects_CXX="$predep_objects_CXX $p" - fi - else - if test -z "$postdep_objects_CXX"; then - postdep_objects_CXX="$p" - else - postdep_objects_CXX="$postdep_objects_CXX $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling CXX test program" -fi - -$rm -f confest.$objext - -# PORTME: override above test on systems where it is broken -case $host_os in -interix[3-9]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - predep_objects_CXX= - postdep_objects_CXX= - postdeps_CXX= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - # - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac - - -case " $postdeps_CXX " in -*" -lc "*) archive_cmds_need_lc_CXX=no ;; -esac - -lt_prog_compiler_wl_CXX= -lt_prog_compiler_pic_CXX= -lt_prog_compiler_static_CXX= - -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } - - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_CXX='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - lt_prog_compiler_pic_CXX= - ;; - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_CXX=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - else - case $host_os in - aix4* | aix5*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - else - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic_CXX='-qnocommon' - lt_prog_compiler_wl_CXX='-Wl,' - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - lt_prog_compiler_pic_CXX='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - lt_prog_compiler_pic_CXX='+Z' - fi - ;; - aCC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_CXX='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; - icpc* | ecpc*) - # Intel C++ - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; - pgCC*) - # Portland Group C++ compiler. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fpic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - lt_prog_compiler_pic_CXX='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd* | netbsdelf*-gnu) - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - lt_prog_compiler_wl_CXX='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - lt_prog_compiler_pic_CXX='-pic' - ;; - cxx*) - # Digital/Compaq C++ - lt_prog_compiler_wl_CXX='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - lt_prog_compiler_pic_CXX='-pic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - lcc*) - # Lucid - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - lt_prog_compiler_pic_CXX='-KPIC' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - esac - ;; - vxworks*) - ;; - *) - lt_prog_compiler_can_build_shared_CXX=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_CXX"; then - -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12976: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:12980: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_pic_works_CXX=yes - fi - fi - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } - -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then - case $lt_prog_compiler_pic_CXX in - "" | " "*) ;; - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; - esac -else - lt_prog_compiler_pic_CXX= - lt_prog_compiler_can_build_shared_CXX=no -fi - -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_CXX= - ;; - *) - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_static_works_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_static_works_CXX=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_static_works_CXX=yes - fi - else - lt_prog_compiler_static_works_CXX=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 -echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } - -if test x"$lt_prog_compiler_static_works_CXX" = xyes; then - : -else - lt_prog_compiler_static_CXX= -fi - - -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13080: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:13084: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6; } - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } - - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix4* | aix5*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - export_symbols_cmds_CXX="$ltdll_cmds" - ;; - cygwin* | mingw*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - ;; - linux* | k*bsd*-gnu) - link_all_deplibs_CXX=no - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 -echo "${ECHO_T}$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_CXX" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_CXX=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_CXX in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_CXX=no - else - archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } - ;; - esac - fi - ;; -esac - -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" - -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } -hardcode_action_CXX= -if test -n "$hardcode_libdir_flag_spec_CXX" || \ - test -n "$runpath_var_CXX" || \ - test "X$hardcode_automatic_CXX" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct_CXX" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && - test "$hardcode_minus_L_CXX" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_CXX=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_CXX=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_CXX=unsupported -fi -{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 -echo "${ECHO_T}$hardcode_action_CXX" >&6; } - -if test "$hardcode_action_CXX" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_CXX \ - CC_CXX \ - LD_CXX \ - lt_prog_compiler_wl_CXX \ - lt_prog_compiler_pic_CXX \ - lt_prog_compiler_static_CXX \ - lt_prog_compiler_no_builtin_flag_CXX \ - export_dynamic_flag_spec_CXX \ - thread_safe_flag_spec_CXX \ - whole_archive_flag_spec_CXX \ - enable_shared_with_static_runtimes_CXX \ - old_archive_cmds_CXX \ - old_archive_from_new_cmds_CXX \ - predep_objects_CXX \ - postdep_objects_CXX \ - predeps_CXX \ - postdeps_CXX \ - compiler_lib_search_path_CXX \ - archive_cmds_CXX \ - archive_expsym_cmds_CXX \ - postinstall_cmds_CXX \ - postuninstall_cmds_CXX \ - old_archive_from_expsyms_cmds_CXX \ - allow_undefined_flag_CXX \ - no_undefined_flag_CXX \ - export_symbols_cmds_CXX \ - hardcode_libdir_flag_spec_CXX \ - hardcode_libdir_flag_spec_ld_CXX \ - hardcode_libdir_separator_CXX \ - hardcode_automatic_CXX \ - module_cmds_CXX \ - module_expsym_cmds_CXX \ - lt_cv_prog_compiler_c_o_CXX \ - fix_srcfile_path_CXX \ - exclude_expsyms_CXX \ - include_expsyms_CXX; do - - case $var in - old_archive_cmds_CXX | \ - old_archive_from_new_cmds_CXX | \ - archive_cmds_CXX | \ - archive_expsym_cmds_CXX | \ - module_cmds_CXX | \ - module_expsym_cmds_CXX | \ - old_archive_from_expsyms_cmds_CXX | \ - export_symbols_cmds_CXX | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_CXX - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler_CXX - -# Is the compiler the GNU C compiler? -with_gcc=$GCC_CXX - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD_CXX - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_CXX - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_CXX - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_CXX -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX - -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_CXX -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_CXX -module_expsym_cmds=$lt_module_expsym_cmds_CXX - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_CXX - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_CXX - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_CXX - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_CXX - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_CXX - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_CXX - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_CXX - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_CXX - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_CXX - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_CXX - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_CXX - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_CXX - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_CXX - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_CXX - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_CXX - -# ### END LIBTOOL TAG CONFIG: $tagname - -__EOF__ - - -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld - - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then - -ac_ext=f -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_f77_compiler_gnu - - -archive_cmds_need_lc_F77=no -allow_undefined_flag_F77= -always_export_symbols_F77=no -archive_expsym_cmds_F77= -export_dynamic_flag_spec_F77= -hardcode_direct_F77=no -hardcode_libdir_flag_spec_F77= -hardcode_libdir_flag_spec_ld_F77= -hardcode_libdir_separator_F77= -hardcode_minus_L_F77=no -hardcode_automatic_F77=no -module_cmds_F77= -module_expsym_cmds_F77= -link_all_deplibs_F77=unknown -old_archive_cmds_F77=$old_archive_cmds -no_undefined_flag_F77= -whole_archive_flag_spec_F77= -enable_shared_with_static_runtimes_F77=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -objext_F77=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="\ - subroutine t - return - end -" - -# Code to be used in simple link tests -lt_simple_link_test_code="\ - program t - end -" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* - - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${F77-"f77"} -compiler=$CC -compiler_F77=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 -echo "${ECHO_T}$can_build_shared" >&6; } - -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -{ echo "$as_me:$LINENO: result: $enable_shared" >&5 -echo "${ECHO_T}$enable_shared" >&6; } - -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -{ echo "$as_me:$LINENO: result: $enable_static" >&5 -echo "${ECHO_T}$enable_static" >&6; } - -GCC_F77="$G77" -LD_F77="$LD" - -lt_prog_compiler_wl_F77= -lt_prog_compiler_pic_F77= -lt_prog_compiler_static_F77= - -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_static_F77='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_F77='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_F77='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_F77='-fno-common' - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared_F77=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_F77=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_F77='-fPIC' - ;; - esac - ;; - - *) - lt_prog_compiler_pic_F77='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl_F77='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_F77='-Bstatic' - else - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic_F77='-qnocommon' - lt_prog_compiler_wl_F77='-Wl,' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic_F77='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl_F77='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_F77='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static_F77='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl_F77='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static_F77='-non_shared' - ;; - - newsos6) - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-fpic' - lt_prog_compiler_static_F77='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl_F77='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static_F77='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - lt_prog_compiler_wl_F77='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - lt_prog_compiler_wl_F77='' - ;; - esac - ;; - esac - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl_F77='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static_F77='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static_F77='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl_F77='-Qoption ld ';; - *) - lt_prog_compiler_wl_F77='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl_F77='-Qoption ld ' - lt_prog_compiler_pic_F77='-PIC' - lt_prog_compiler_static_F77='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic_F77='-Kconform_pic' - lt_prog_compiler_static_F77='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_pic_F77='-KPIC' - lt_prog_compiler_static_F77='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl_F77='-Wl,' - lt_prog_compiler_can_build_shared_F77=no - ;; - - uts4*) - lt_prog_compiler_pic_F77='-pic' - lt_prog_compiler_static_F77='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared_F77=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_F77"; then - -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_pic_works_F77=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_F77" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14657: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:14661: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_pic_works_F77=yes - fi - fi - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } - -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then - case $lt_prog_compiler_pic_F77 in - "" | " "*) ;; - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; - esac -else - lt_prog_compiler_pic_F77= - lt_prog_compiler_can_build_shared_F77=no -fi - -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_F77= - ;; - *) - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_static_works_F77+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_static_works_F77=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_static_works_F77=yes - fi - else - lt_prog_compiler_static_works_F77=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 -echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } - -if test x"$lt_prog_compiler_static_works_F77" = xyes; then - : -else - lt_prog_compiler_static_F77= -fi - - -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_compiler_c_o_F77=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14761: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:14765: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_F77=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6; } - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } - - runpath_var= - allow_undefined_flag_F77= - enable_shared_with_static_runtimes_F77=no - archive_cmds_F77= - archive_expsym_cmds_F77= - old_archive_From_new_cmds_F77= - old_archive_from_expsyms_cmds_F77= - export_dynamic_flag_spec_F77= - whole_archive_flag_spec_F77= - thread_safe_flag_spec_F77= - hardcode_libdir_flag_spec_F77= - hardcode_libdir_flag_spec_ld_F77= - hardcode_libdir_separator_F77= - hardcode_direct_F77=no - hardcode_minus_L_F77=no - hardcode_shlibpath_var_F77=unsupported - link_all_deplibs_F77=unknown - hardcode_automatic_F77=no - module_cmds_F77= - module_expsym_cmds_F77= - always_export_symbols_F77=no - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms_F77= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - ld_shlibs_F77=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_F77='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_F77= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs_F77=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_minus_L_F77=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - ld_shlibs_F77=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_F77=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_F77=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_F77='-L$libdir' - allow_undefined_flag_F77=unsupported - always_export_symbols_F77=no - enable_shared_with_static_runtimes_F77=yes - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_F77=no - fi - ;; - - interix[3-9]*) - hardcode_direct_F77=no - hardcode_shlibpath_var_F77=no - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' - export_dynamic_flag_spec_F77='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test $supports_anon_versioning = yes; then - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - link_all_deplibs_F77=no - else - ld_shlibs_F77=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - ld_shlibs_F77=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs_F77=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs_F77=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - ld_shlibs_F77=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs_F77=no - fi - ;; - esac - - if test "$ld_shlibs_F77" = no; then - runpath_var= - hardcode_libdir_flag_spec_F77= - export_dynamic_flag_spec_F77= - whole_archive_flag_spec_F77= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag_F77=unsupported - always_export_symbols_F77=yes - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L_F77=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct_F77=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_F77='' - hardcode_direct_F77=yes - hardcode_libdir_separator_F77=':' - link_all_deplibs_F77=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_F77=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_F77=yes - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_libdir_separator_F77= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols_F77=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_F77='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF - program main - - end -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_F77="-z nodefs" - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF - program main - - end -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_f77_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_F77=' ${wl}-bernotok' - allow_undefined_flag_F77=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_F77='$convenience' - archive_cmds_need_lc_F77=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_minus_L_F77=yes - # see comment about different semantics on the GNU ld section - ld_shlibs_F77=no - ;; - - bsdi[45]*) - export_dynamic_flag_spec_F77=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec_F77=' ' - allow_undefined_flag_F77=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_From_new_cmds_F77='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path_F77='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes_F77=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc_F77=no - hardcode_direct_F77=no - hardcode_automatic_F77=yes - hardcode_shlibpath_var_F77=unsupported - whole_archive_flag_spec_F77='' - link_all_deplibs_F77=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs_F77=no - ;; - esac - fi - ;; - - dgux*) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_shlibpath_var_F77=no - ;; - - freebsd1*) - ld_shlibs_F77=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=yes - hardcode_minus_L_F77=yes - hardcode_shlibpath_var_F77=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_F77=: - hardcode_direct_F77=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_F77=yes - export_dynamic_flag_spec_F77='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_F77=: - - hardcode_direct_F77=yes - export_dynamic_flag_spec_F77='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_F77=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_F77=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_libdir_flag_spec_ld_F77='+b $libdir' - hardcode_direct_F77=no - hardcode_shlibpath_var_F77=no - ;; - *) - hardcode_direct_F77=yes - export_dynamic_flag_spec_F77='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_F77=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' - fi - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_F77=: - link_all_deplibs_F77=yes - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no - ;; - - newsos6) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=yes - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_F77=: - hardcode_shlibpath_var_F77=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_F77=yes - hardcode_shlibpath_var_F77=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' - export_dynamic_flag_spec_F77='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_F77='-R$libdir' - ;; - *) - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs_F77=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_minus_L_F77=yes - allow_undefined_flag_F77=unsupported - archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag_F77=' -expect_unresolved \*' - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_F77=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag_F77=' -expect_unresolved \*' - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec_F77='-rpath $libdir' - fi - hardcode_libdir_separator_F77=: - ;; - - solaris*) - no_undefined_flag_F77=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - hardcode_libdir_flag_spec_F77='-R$libdir' - hardcode_shlibpath_var_F77=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs_F77=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_direct_F77=yes - hardcode_minus_L_F77=yes - hardcode_shlibpath_var_F77=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds_F77='$CC -r -o $output$reload_objs' - hardcode_direct_F77=no - ;; - motorola) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var_F77=no - ;; - - sysv4.3*) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_F77=no - export_dynamic_flag_spec_F77='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_F77=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs_F77=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_F77='${wl}-z,text' - archive_cmds_need_lc_F77=no - hardcode_shlibpath_var_F77=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_F77='${wl}-z,text' - allow_undefined_flag_F77='${wl}-z,nodefs' - archive_cmds_need_lc_F77=no - hardcode_shlibpath_var_F77=no - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator_F77=':' - link_all_deplibs_F77=yes - export_dynamic_flag_spec_F77='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_F77='-L$libdir' - hardcode_shlibpath_var_F77=no - ;; - - *) - ld_shlibs_F77=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 -echo "${ECHO_T}$ld_shlibs_F77" >&6; } -test "$ld_shlibs_F77" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_F77" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_F77=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_F77 in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_F77 - pic_flag=$lt_prog_compiler_pic_F77 - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_F77 - allow_undefined_flag_F77= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_F77=no - else - archive_cmds_need_lc_F77=yes - fi - allow_undefined_flag_F77=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } - ;; - esac - fi - ;; -esac - -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" - -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } -hardcode_action_F77= -if test -n "$hardcode_libdir_flag_spec_F77" || \ - test -n "$runpath_var_F77" || \ - test "X$hardcode_automatic_F77" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct_F77" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && - test "$hardcode_minus_L_F77" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_F77=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_F77=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_F77=unsupported -fi -{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 -echo "${ECHO_T}$hardcode_action_F77" >&6; } - -if test "$hardcode_action_F77" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_F77 \ - CC_F77 \ - LD_F77 \ - lt_prog_compiler_wl_F77 \ - lt_prog_compiler_pic_F77 \ - lt_prog_compiler_static_F77 \ - lt_prog_compiler_no_builtin_flag_F77 \ - export_dynamic_flag_spec_F77 \ - thread_safe_flag_spec_F77 \ - whole_archive_flag_spec_F77 \ - enable_shared_with_static_runtimes_F77 \ - old_archive_cmds_F77 \ - old_archive_from_new_cmds_F77 \ - predep_objects_F77 \ - postdep_objects_F77 \ - predeps_F77 \ - postdeps_F77 \ - compiler_lib_search_path_F77 \ - archive_cmds_F77 \ - archive_expsym_cmds_F77 \ - postinstall_cmds_F77 \ - postuninstall_cmds_F77 \ - old_archive_from_expsyms_cmds_F77 \ - allow_undefined_flag_F77 \ - no_undefined_flag_F77 \ - export_symbols_cmds_F77 \ - hardcode_libdir_flag_spec_F77 \ - hardcode_libdir_flag_spec_ld_F77 \ - hardcode_libdir_separator_F77 \ - hardcode_automatic_F77 \ - module_cmds_F77 \ - module_expsym_cmds_F77 \ - lt_cv_prog_compiler_c_o_F77 \ - fix_srcfile_path_F77 \ - exclude_expsyms_F77 \ - include_expsyms_F77; do - - case $var in - old_archive_cmds_F77 | \ - old_archive_from_new_cmds_F77 | \ - archive_cmds_F77 | \ - archive_expsym_cmds_F77 | \ - module_cmds_F77 | \ - module_expsym_cmds_F77 | \ - old_archive_from_expsyms_cmds_F77 | \ - export_symbols_cmds_F77 | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_F77 - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler_F77 - -# Is the compiler the GNU C compiler? -with_gcc=$GCC_F77 - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD_F77 - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_F77 - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_F77 -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_F77 - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_F77 -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 - -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_F77 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77 -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_F77 -module_expsym_cmds=$lt_module_expsym_cmds_F77 - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_F77 - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_F77 - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_F77 - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_F77 - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77 - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_F77 - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_F77 - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_F77 - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_F77 - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_F77 - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_F77 - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_F77 - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_F77 - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_F77 - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_F77 - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_F77 - -# ### END LIBTOOL TAG CONFIG: $tagname - -__EOF__ - - -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -CC="$lt_save_CC" - - else - tagname="" - fi - ;; - - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then - - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -objext_GCJ=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* - - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${GCJ-"gcj"} -compiler=$CC -compiler_GCJ=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -archive_cmds_need_lc_GCJ=no - -old_archive_cmds_GCJ=$old_archive_cmds - - -lt_prog_compiler_no_builtin_flag_GCJ= - -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' - - -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16961: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:16965: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" -else - : -fi - -fi - -lt_prog_compiler_wl_GCJ= -lt_prog_compiler_pic_GCJ= -lt_prog_compiler_static_GCJ= - -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_static_GCJ='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_GCJ='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_GCJ='-fno-common' - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared_GCJ=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_GCJ=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_GCJ='-fPIC' - ;; - esac - ;; - - *) - lt_prog_compiler_pic_GCJ='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl_GCJ='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_GCJ='-Bstatic' - else - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - lt_prog_compiler_pic_GCJ='-qnocommon' - lt_prog_compiler_wl_GCJ='-Wl,' - ;; - esac - ;; - - mingw* | cygwin* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl_GCJ='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_GCJ='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl_GCJ='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static_GCJ='-non_shared' - ;; - - newsos6) - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - icc* | ecc*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-fpic' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl_GCJ='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static_GCJ='-non_shared' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - lt_prog_compiler_wl_GCJ='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - lt_prog_compiler_wl_GCJ='' - ;; - esac - ;; - esac - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl_GCJ='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static_GCJ='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static_GCJ='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl_GCJ='-Qoption ld ';; - *) - lt_prog_compiler_wl_GCJ='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl_GCJ='-Qoption ld ' - lt_prog_compiler_pic_GCJ='-PIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic_GCJ='-Kconform_pic' - lt_prog_compiler_static_GCJ='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_pic_GCJ='-KPIC' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl_GCJ='-Wl,' - lt_prog_compiler_can_build_shared_GCJ=no - ;; - - uts4*) - lt_prog_compiler_pic_GCJ='-pic' - lt_prog_compiler_static_GCJ='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared_GCJ=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_GCJ"; then - -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_pic_works_GCJ=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_GCJ" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17251: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:17255: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_pic_works_GCJ=yes - fi - fi - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } - -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then - case $lt_prog_compiler_pic_GCJ in - "" | " "*) ;; - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; - esac -else - lt_prog_compiler_pic_GCJ= - lt_prog_compiler_can_build_shared_GCJ=no -fi - -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_GCJ= - ;; - *) - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } -if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_prog_compiler_static_works_GCJ=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_prog_compiler_static_works_GCJ=yes - fi - else - lt_prog_compiler_static_works_GCJ=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 -echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } - -if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then - : -else - lt_prog_compiler_static_GCJ= -fi - - -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - lt_cv_prog_compiler_c_o_GCJ=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17355: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:17359: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_GCJ=yes - fi - fi - chmod u+w . 2>&5 - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* - -fi -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { echo "$as_me:$LINENO: result: $hard_links" >&5 -echo "${ECHO_T}$hard_links" >&6; } - if test "$hard_links" = no; then - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } - - runpath_var= - allow_undefined_flag_GCJ= - enable_shared_with_static_runtimes_GCJ=no - archive_cmds_GCJ= - archive_expsym_cmds_GCJ= - old_archive_From_new_cmds_GCJ= - old_archive_from_expsyms_cmds_GCJ= - export_dynamic_flag_spec_GCJ= - whole_archive_flag_spec_GCJ= - thread_safe_flag_spec_GCJ= - hardcode_libdir_flag_spec_GCJ= - hardcode_libdir_flag_spec_ld_GCJ= - hardcode_libdir_separator_GCJ= - hardcode_direct_GCJ=no - hardcode_minus_L_GCJ=no - hardcode_shlibpath_var_GCJ=unsupported - link_all_deplibs_GCJ=unknown - hardcode_automatic_GCJ=no - module_cmds_GCJ= - module_expsym_cmds_GCJ= - always_export_symbols_GCJ=no - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms_GCJ= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - ld_shlibs_GCJ=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_GCJ= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs_GCJ=no - cat <&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_minus_L_GCJ=yes - - # Samuel A. Falvo II reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - ld_shlibs_GCJ=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_GCJ=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_GCJ='-L$libdir' - allow_undefined_flag_GCJ=unsupported - always_export_symbols_GCJ=no - enable_shared_with_static_runtimes_GCJ=yes - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_GCJ=no - fi - ;; - - interix[3-9]*) - hardcode_direct_GCJ=no - hardcode_shlibpath_var_GCJ=no - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' - export_dynamic_flag_spec_GCJ='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | k*bsd*-gnu) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - *) - tmp_sharedflag='-shared' ;; - esac - archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test $supports_anon_versioning = yes; then - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - link_all_deplibs_GCJ=no - else - ld_shlibs_GCJ=no - fi - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - ld_shlibs_GCJ=no - cat <&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs_GCJ=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs_GCJ=no - fi - ;; - esac - - if test "$ld_shlibs_GCJ" = no; then - runpath_var= - hardcode_libdir_flag_spec_GCJ= - export_dynamic_flag_spec_GCJ= - whole_archive_flag_spec_GCJ= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag_GCJ=unsupported - always_export_symbols_GCJ=yes - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L_GCJ=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct_GCJ=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_GCJ='' - hardcode_direct_GCJ=yes - hardcode_libdir_separator_GCJ=':' - link_all_deplibs_GCJ=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_GCJ=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_GCJ=yes - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_libdir_separator_GCJ= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols_GCJ=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_GCJ='-berok' - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_GCJ="-z nodefs" - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_GCJ=' ${wl}-bernotok' - allow_undefined_flag_GCJ=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_GCJ='$convenience' - archive_cmds_need_lc_GCJ=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_minus_L_GCJ=yes - # see comment about different semantics on the GNU ld section - ld_shlibs_GCJ=no - ;; - - bsdi[45]*) - export_dynamic_flag_spec_GCJ=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec_GCJ=' ' - allow_undefined_flag_GCJ=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_From_new_cmds_GCJ='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes_GCJ=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[012]) - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[012]) - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - archive_cmds_need_lc_GCJ=no - hardcode_direct_GCJ=no - hardcode_automatic_GCJ=yes - hardcode_shlibpath_var_GCJ=unsupported - whole_archive_flag_spec_GCJ='' - link_all_deplibs_GCJ=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - ld_shlibs_GCJ=no - ;; - esac - fi - ;; - - dgux*) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_shlibpath_var_GCJ=no - ;; - - freebsd1*) - ld_shlibs_GCJ=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=yes - hardcode_minus_L_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - hardcode_direct_GCJ=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - - hardcode_direct_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_GCJ=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' - hardcode_direct_GCJ=no - hardcode_shlibpath_var_GCJ=no - ;; - *) - hardcode_direct_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L_GCJ=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' - fi - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - link_all_deplibs_GCJ=yes - ;; - - netbsd* | netbsdelf*-gnu) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - - newsos6) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=yes - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - hardcode_shlibpath_var_GCJ=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_GCJ=yes - hardcode_shlibpath_var_GCJ=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' - export_dynamic_flag_spec_GCJ='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_GCJ='-R$libdir' - ;; - *) - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs_GCJ=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_minus_L_GCJ=yes - allow_undefined_flag_GCJ=unsupported - archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag_GCJ=' -expect_unresolved \*' - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_GCJ=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag_GCJ=' -expect_unresolved \*' - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec_GCJ='-rpath $libdir' - fi - hardcode_libdir_separator_GCJ=: - ;; - - solaris*) - no_undefined_flag_GCJ=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - hardcode_libdir_flag_spec_GCJ='-R$libdir' - hardcode_shlibpath_var_GCJ=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs_GCJ=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_direct_GCJ=yes - hardcode_minus_L_GCJ=yes - hardcode_shlibpath_var_GCJ=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds_GCJ='$CC -r -o $output$reload_objs' - hardcode_direct_GCJ=no - ;; - motorola) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var_GCJ=no - ;; - - sysv4.3*) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_GCJ=no - export_dynamic_flag_spec_GCJ='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var_GCJ=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs_GCJ=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_GCJ='${wl}-z,text' - archive_cmds_need_lc_GCJ=no - hardcode_shlibpath_var_GCJ=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_GCJ='${wl}-z,text' - allow_undefined_flag_GCJ='${wl}-z,nodefs' - archive_cmds_need_lc_GCJ=no - hardcode_shlibpath_var_GCJ=no - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - hardcode_libdir_separator_GCJ=':' - link_all_deplibs_GCJ=yes - export_dynamic_flag_spec_GCJ='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec_GCJ='-L$libdir' - hardcode_shlibpath_var_GCJ=no - ;; - - *) - ld_shlibs_GCJ=no - ;; - esac - fi - -{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } -test "$ld_shlibs_GCJ" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_GCJ" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_GCJ=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_GCJ in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } - $rm conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_GCJ - pic_flag=$lt_prog_compiler_pic_GCJ - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ - allow_undefined_flag_GCJ= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_GCJ=no - else - archive_cmds_need_lc_GCJ=yes - fi - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } - ;; - esac - fi - ;; -esac - -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" - -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -echo "${ECHO_T}$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } -hardcode_action_GCJ= -if test -n "$hardcode_libdir_flag_spec_GCJ" || \ - test -n "$runpath_var_GCJ" || \ - test "X$hardcode_automatic_GCJ" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$hardcode_direct_GCJ" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && - test "$hardcode_minus_L_GCJ" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_GCJ=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_GCJ=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_GCJ=unsupported -fi -{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 -echo "${ECHO_T}$hardcode_action_GCJ" >&6; } - -if test "$hardcode_action_GCJ" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_GCJ \ - CC_GCJ \ - LD_GCJ \ - lt_prog_compiler_wl_GCJ \ - lt_prog_compiler_pic_GCJ \ - lt_prog_compiler_static_GCJ \ - lt_prog_compiler_no_builtin_flag_GCJ \ - export_dynamic_flag_spec_GCJ \ - thread_safe_flag_spec_GCJ \ - whole_archive_flag_spec_GCJ \ - enable_shared_with_static_runtimes_GCJ \ - old_archive_cmds_GCJ \ - old_archive_from_new_cmds_GCJ \ - predep_objects_GCJ \ - postdep_objects_GCJ \ - predeps_GCJ \ - postdeps_GCJ \ - compiler_lib_search_path_GCJ \ - archive_cmds_GCJ \ - archive_expsym_cmds_GCJ \ - postinstall_cmds_GCJ \ - postuninstall_cmds_GCJ \ - old_archive_from_expsyms_cmds_GCJ \ - allow_undefined_flag_GCJ \ - no_undefined_flag_GCJ \ - export_symbols_cmds_GCJ \ - hardcode_libdir_flag_spec_GCJ \ - hardcode_libdir_flag_spec_ld_GCJ \ - hardcode_libdir_separator_GCJ \ - hardcode_automatic_GCJ \ - module_cmds_GCJ \ - module_expsym_cmds_GCJ \ - lt_cv_prog_compiler_c_o_GCJ \ - fix_srcfile_path_GCJ \ - exclude_expsyms_GCJ \ - include_expsyms_GCJ; do - - case $var in - old_archive_cmds_GCJ | \ - old_archive_from_new_cmds_GCJ | \ - archive_cmds_GCJ | \ - archive_expsym_cmds_GCJ | \ - module_cmds_GCJ | \ - module_expsym_cmds_GCJ | \ - old_archive_from_expsyms_cmds_GCJ | \ - export_symbols_cmds_GCJ | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_GCJ - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler_GCJ - -# Is the compiler the GNU C compiler? -with_gcc=$GCC_GCJ - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD_GCJ - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_GCJ - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_GCJ -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_GCJ - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_GCJ -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ - -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_GCJ -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_GCJ -module_expsym_cmds=$lt_module_expsym_cmds_GCJ - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_GCJ - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_GCJ - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_GCJ - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_GCJ - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_GCJ - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_GCJ - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_GCJ - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_GCJ - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_GCJ - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_GCJ - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_GCJ - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_GCJ - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_GCJ - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_GCJ - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_GCJ - -# ### END LIBTOOL TAG CONFIG: $tagname - -__EOF__ - - -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -CC="$lt_save_CC" - - else - tagname="" - fi - ;; - - RC) - - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -objext_RC=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* - - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${RC-"windres"} -compiler=$CC -compiler_RC=$CC -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - -lt_cv_prog_compiler_c_o_RC=yes - -# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - compiler_RC \ - CC_RC \ - LD_RC \ - lt_prog_compiler_wl_RC \ - lt_prog_compiler_pic_RC \ - lt_prog_compiler_static_RC \ - lt_prog_compiler_no_builtin_flag_RC \ - export_dynamic_flag_spec_RC \ - thread_safe_flag_spec_RC \ - whole_archive_flag_spec_RC \ - enable_shared_with_static_runtimes_RC \ - old_archive_cmds_RC \ - old_archive_from_new_cmds_RC \ - predep_objects_RC \ - postdep_objects_RC \ - predeps_RC \ - postdeps_RC \ - compiler_lib_search_path_RC \ - archive_cmds_RC \ - archive_expsym_cmds_RC \ - postinstall_cmds_RC \ - postuninstall_cmds_RC \ - old_archive_from_expsyms_cmds_RC \ - allow_undefined_flag_RC \ - no_undefined_flag_RC \ - export_symbols_cmds_RC \ - hardcode_libdir_flag_spec_RC \ - hardcode_libdir_flag_spec_ld_RC \ - hardcode_libdir_separator_RC \ - hardcode_automatic_RC \ - module_cmds_RC \ - module_expsym_cmds_RC \ - lt_cv_prog_compiler_c_o_RC \ - fix_srcfile_path_RC \ - exclude_expsyms_RC \ - include_expsyms_RC; do - - case $var in - old_archive_cmds_RC | \ - old_archive_from_new_cmds_RC | \ - archive_cmds_RC | \ - archive_expsym_cmds_RC | \ - module_cmds_RC | \ - module_expsym_cmds_RC | \ - old_archive_from_expsyms_cmds_RC | \ - export_symbols_cmds_RC | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\$0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` - ;; - esac - -cfgfile="$ofile" - - cat <<__EOF__ >> "$cfgfile" -# ### BEGIN LIBTOOL TAG CONFIG: $tagname - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$archive_cmds_need_lc_RC - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_compiler_RC - -# Is the compiler the GNU C compiler? -with_gcc=$GCC_RC - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_LD_RC - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_lt_prog_compiler_wl_RC - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_RC -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_lt_prog_compiler_static_RC - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_old_archive_cmds_RC -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC - -# Commands used to build and install a shared archive. -archive_cmds=$lt_archive_cmds_RC -archive_expsym_cmds=$lt_archive_expsym_cmds_RC -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_module_cmds_RC -module_expsym_cmds=$lt_module_expsym_cmds_RC - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_predep_objects_RC - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_postdep_objects_RC - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_predeps_RC - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_postdeps_RC - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_allow_undefined_flag_RC - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_no_undefined_flag_RC - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$hardcode_action_RC - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$hardcode_direct_RC - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$hardcode_minus_L_RC - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$hardcode_automatic_RC - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$link_all_deplibs_RC - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - -# Set to yes if exported symbols are required. -always_export_symbols=$always_export_symbols_RC - -# The commands to list exported symbols. -export_symbols_cmds=$lt_export_symbols_cmds_RC - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_exclude_expsyms_RC - -# Symbols that must always be exported. -include_expsyms=$lt_include_expsyms_RC - -# ### END LIBTOOL TAG CONFIG: $tagname - -__EOF__ - - -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -CC="$lt_save_CC" - - ;; - - *) - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;} - { (exit 1); exit 1; }; } - ;; - esac - - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" - - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;} - { (exit 1); exit 1; }; } - fi -fi - - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' - -# Prevent multiple expansion - - - - - - - - - - - - - - - - - - - - - -{ echo "$as_me:$LINENO: checking for some Win32 platform" >&5 -echo $ECHO_N "checking for some Win32 platform... $ECHO_C" >&6; } -case "$host" in - *-*-mingw*|*-*-cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -{ echo "$as_me:$LINENO: result: $platform_win32" >&5 -echo "${ECHO_T}$platform_win32" >&6; } - - -if test "$platform_win32" = "yes"; then - PLATFORM_WIN32_TRUE= - PLATFORM_WIN32_FALSE='#' -else - PLATFORM_WIN32_TRUE='#' - PLATFORM_WIN32_FALSE= -fi - - -{ echo "$as_me:$LINENO: checking for native Win32" >&5 -echo $ECHO_N "checking for native Win32... $ECHO_C" >&6; } -case "$host" in - *-*-mingw*) - os_win32=yes - ;; - *) - os_win32=no - ;; -esac -{ echo "$as_me:$LINENO: result: $os_win32" >&5 -echo "${ECHO_T}$os_win32" >&6; } - - -if test "$os_win32" = "yes"; then - OS_WIN32_TRUE= - OS_WIN32_FALSE='#' -else - OS_WIN32_TRUE='#' - OS_WIN32_FALSE= -fi - - -# Ensure MSVC-compatible struct packing convention is used when -# compiling for Win32 with gcc. -# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while -# gcc2 uses "-fnative-struct". -if test x"$os_win32" = xyes; then - if test x"$GCC" = xyes; then - msnative_struct='' - { echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5 -echo $ECHO_N "checking how to get MSVC-compatible struct packing... $ECHO_C" >&6; } - if test -z "$ac_cv_prog_CC"; then - our_gcc="$CC" - else - our_gcc="$ac_cv_prog_CC" - fi - case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in - 2.) - if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then - msnative_struct='-fnative-struct' - fi - ;; - *) - if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then - msnative_struct='-mms-bitfields' - fi - ;; - esac - if test x"$msnative_struct" = x ; then - { echo "$as_me:$LINENO: result: no way" >&5 -echo "${ECHO_T}no way" >&6; } - { echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5 -echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;} - else - CXXFLAGS="$CXXFLAGS $msnative_struct" - { echo "$as_me:$LINENO: result: ${msnative_struct}" >&5 -echo "${ECHO_T}${msnative_struct}" >&6; } - fi - fi -fi - - - - - -for ac_header in string list map -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - { echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } - -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -else - exit -fi - -done - - - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -echo "${ECHO_T}$PKG_CONFIG" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - PKG_CONFIG="" - fi - -fi - -pkg_failed=no -{ echo "$as_me:$LINENO: checking for CAIROMM" >&5 -echo $ECHO_N "checking for CAIROMM... $ECHO_C" >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$CAIROMM_CFLAGS"; then - pkg_cv_CAIROMM_CFLAGS="$CAIROMM_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.4\"") >&5 - ($PKG_CONFIG --exists --print-errors "cairo >= 1.4") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_CAIROMM_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.4" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$CAIROMM_LIBS"; then - pkg_cv_CAIROMM_LIBS="$CAIROMM_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.4\"") >&5 - ($PKG_CONFIG --exists --print-errors "cairo >= 1.4") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_CAIROMM_LIBS=`$PKG_CONFIG --libs "cairo >= 1.4" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - CAIROMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.4"` - else - CAIROMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.4"` - fi - # Put the nasty error message in config.log where it belongs - echo "$CAIROMM_PKG_ERRORS" >&5 - - { { echo "$as_me:$LINENO: error: Package requirements (cairo >= 1.4) were not met: - -$CAIROMM_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables CAIROMM_CFLAGS -and CAIROMM_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&5 -echo "$as_me: error: Package requirements (cairo >= 1.4) were not met: - -$CAIROMM_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables CAIROMM_CFLAGS -and CAIROMM_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&2;} - { (exit 1); exit 1; }; } -elif test $pkg_failed = untried; then - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables CAIROMM_CFLAGS -and CAIROMM_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&5 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables CAIROMM_CFLAGS -and CAIROMM_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -else - CAIROMM_CFLAGS=$pkg_cv_CAIROMM_CFLAGS - CAIROMM_LIBS=$pkg_cv_CAIROMM_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - : -fi - -# Check whether --enable-tests was given. -if test "${enable_tests+set}" = set; then - enableval=$enable_tests; ENABLE_TESTS=$enableval -else - ENABLE_TESTS=no -fi - -if test x$CAIROMM_DEVEL = xon ; then - ENABLE_TESTS=yes -fi - -if test x$ENABLE_TESTS = xyes ; then - - -# Check whether --with-boost was given. -if test "${with_boost+set}" = set; then - withval=$with_boost; - if test "$withval" = "no"; then - want_boost="no" - elif test "$withval" = "yes"; then - want_boost="yes" - ac_boost_path="" - else - want_boost="yes" - ac_boost_path="$withval" - fi - -else - want_boost="yes" -fi - - -if test "x$want_boost" = "xyes"; then - boost_lib_version_req=1.33.1 - boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'` - boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'` - boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'` - boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'` - if test "x$boost_lib_version_req_sub_minor" = "x" ; then - boost_lib_version_req_sub_minor="0" - fi - WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` - { echo "$as_me:$LINENO: checking for boostlib >= $boost_lib_version_req" >&5 -echo $ECHO_N "checking for boostlib >= $boost_lib_version_req... $ECHO_C" >&6; } - succeeded=no - - if test "$ac_boost_path" != ""; then - BOOST_LDFLAGS="-L$ac_boost_path/lib" - BOOST_CPPFLAGS="-I$ac_boost_path/include" - else - for ac_boost_path_tmp in /usr /usr/local /opt ; do - if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then - BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib" - BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" - break; - fi - done - fi - - CPPFLAGS_SAVED="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - - LDFLAGS_SAVED="$LDFLAGS" - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - #if BOOST_VERSION >= $WANT_BOOST_VERSION - // Everything is okay - #else - # error Boost version is too old - #endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - succeeded=yes - found_system=yes - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - - - if test "x$succeeded" != "xyes"; then - _version=0 - if test "$ac_boost_path" != ""; then - BOOST_LDFLAGS="-L$ac_boost_path/lib" - if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then - for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do - _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` - V_CHECK=`expr $_version_tmp \> $_version` - if test "$V_CHECK" = "1" ; then - _version=$_version_tmp - fi - VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` - BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" - done - fi - else - for ac_boost_path in /usr /usr/local /opt ; do - if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then - for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do - _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` - V_CHECK=`expr $_version_tmp \> $_version` - if test "$V_CHECK" = "1" ; then - _version=$_version_tmp - best_path=$ac_boost_path - fi - done - fi - done - - VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` - BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" - BOOST_LDFLAGS="-L$best_path/lib" - - if test "x$BOOST_ROOT" != "x"; then - if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then - version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'` - stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` - stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'` - V_CHECK=`expr $stage_version_shorten \>\= $_version` - if test "$V_CHECK" = "1" ; then - { echo "$as_me:$LINENO: We will use a staged boost library from $BOOST_ROOT" >&5 -echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;} - BOOST_CPPFLAGS="-I$BOOST_ROOT" - BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib" - fi - fi - fi - fi - - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - #if BOOST_VERSION >= $WANT_BOOST_VERSION - // Everything is okay - #else - # error Boost version is too old - #endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - succeeded=yes - found_system=yes - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - fi - - if test "$succeeded" != "yes" ; then - if test "$_version" = "0" ; then - { { echo "$as_me:$LINENO: error: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation." >&5 -echo "$as_me: error: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: Your boost libraries seems to old (version $_version)." >&5 -echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;} - fi - else - - - -cat >>confdefs.h <<\_ACEOF -#define HAVE_BOOST -_ACEOF - - fi - - CPPFLAGS="$CPPFLAGS_SAVED" - LDFLAGS="$LDFLAGS_SAVED" -fi - - - - -# Check whether --with-boost-unit-test-framework was given. -if test "${with_boost_unit_test_framework+set}" = set; then - withval=$with_boost_unit_test_framework; - if test "$withval" = "no"; then - want_boost="no" - elif test "$withval" = "yes"; then - want_boost="yes" - ax_boost_user_unit_test_framework_lib="" - else - want_boost="yes" - ax_boost_user_unit_test_framework_lib="$withval" - fi - -else - want_boost="yes" - -fi - - - if test "x$want_boost" = "xyes"; then - - CPPFLAGS_SAVED="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - - LDFLAGS_SAVED="$LDFLAGS" - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS - - { echo "$as_me:$LINENO: checking whether the Boost::Unit_Test_Framework library is available" >&5 -echo $ECHO_N "checking whether the Boost::Unit_Test_Framework library is available... $ECHO_C" >&6; } -if test "${ax_cv_boost_unit_test_framework+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -using boost::unit_test::test_suite; - test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ax_cv_boost_unit_test_framework=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ax_cv_boost_unit_test_framework=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ echo "$as_me:$LINENO: result: $ax_cv_boost_unit_test_framework" >&5 -echo "${ECHO_T}$ax_cv_boost_unit_test_framework" >&6; } - if test "x$ax_cv_boost_unit_test_framework" = "xyes"; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_BOOST_UNIT_TEST_FRAMEWORK -_ACEOF - - BN=boost_unit_test_framework - if test "x$ax_boost_user_unit_test_framework_lib" = "x"; then - saved_ldflags="${LDFLAGS}" - for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \ - lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \ - $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do - LDFLAGS="${LDFLAGS} -l$ax_lib" - { echo "$as_me:$LINENO: checking Boost::UnitTestFramework library linkage" >&5 -echo $ECHO_N "checking Boost::UnitTestFramework library linkage... $ECHO_C" >&6; } -if test "${ax_cv_boost_unit_test_framework_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - using boost::unit_test::test_suite; - test_suite* init_unit_test_suite( int argc, char * argv[] ) { - test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); - return test; - } - -int -main () -{ - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - link_unit_test_framework="yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - link_unit_test_framework="no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ echo "$as_me:$LINENO: result: $ax_cv_boost_unit_test_framework_link" >&5 -echo "${ECHO_T}$ax_cv_boost_unit_test_framework_link" >&6; } - LDFLAGS="${saved_ldflags}" - - if test "x$link_unit_test_framework" = "xyes"; then - BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" - - break - fi - done - else - saved_ldflags="${LDFLAGS}" - for ax_lib in $ax_boost_user_unit_test_framework_lib $BN-$ax_boost_user_unit_test_framework_lib; do - LDFLAGS="${LDFLAGS} -l$ax_lib" - { echo "$as_me:$LINENO: checking Boost::UnitTestFramework library linkage" >&5 -echo $ECHO_N "checking Boost::UnitTestFramework library linkage... $ECHO_C" >&6; } -if test "${ax_cv_boost_unit_test_framework_link+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - using boost::unit_test::test_suite; - test_suite* init_unit_test_suite( int argc, char * argv[] ) { - test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); - return test; - } - -int -main () -{ - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - link_unit_test_framework="yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - link_unit_test_framework="no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - -fi -{ echo "$as_me:$LINENO: result: $ax_cv_boost_unit_test_framework_link" >&5 -echo "${ECHO_T}$ax_cv_boost_unit_test_framework_link" >&6; } - LDFLAGS="${saved_ldflags}" - if test "x$link_unit_test_framework" = "xyes"; then - BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" - - break - fi - done - fi - if test "x$link_unit_test_framework" = "xno"; then - { { echo "$as_me:$LINENO: error: Could not link against $ax_lib !" >&5 -echo "$as_me: error: Could not link against $ax_lib !" >&2;} - { (exit 1); exit 1; }; } - fi - fi - - CPPFLAGS="$CPPFLAGS_SAVED" - LDFLAGS="$LDFLAGS_SAVED" - fi - -{ echo "$as_me:$LINENO: support of automated tests enabled" >&5 -echo "$as_me: support of automated tests enabled" >&6;} -else - { echo "$as_me:$LINENO: disabled support of automated tests" >&5 -echo "$as_me: disabled support of automated tests" >&6;} -fi - - -if test x$ENABLE_TESTS = xyes; then - AUTOTESTS_TRUE= - AUTOTESTS_FALSE='#' -else - AUTOTESTS_TRUE='#' - AUTOTESTS_FALSE= -fi - - -if test "x$CAIROMM_DEVEL" = "xon" ; then - CXXFLAGS="$CXXFLAGS -Wall -g -Werror -Wextra" -fi - - - # Check whether --enable-api-exceptions was given. -if test "${enable_api_exceptions+set}" = set; then - enableval=$enable_api_exceptions; cairomm_enable_api_exceptions="$enableval" -else - cairomm_enable_api_exceptions='yes' -fi - - - if test "x$cairomm_enable_api_exceptions" = "xyes"; then - { - -cat >>confdefs.h <<\_ACEOF -#define CAIROMM_EXCEPTIONS_ENABLED 1 -_ACEOF - - } - fi - - -DOCS_SUBDIR="" # Check whether --enable-docs was given. -if test "${enable_docs+set}" = set; then - enableval=$enable_docs; -else - enable_docs=yes -fi - -if test "x$enable_docs" = "xyes"; then - for ac_prog in doxygen -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_DOXYGEN+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$DOXYGEN"; then - ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DOXYGEN="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DOXYGEN=$ac_cv_prog_DOXYGEN -if test -n "$DOXYGEN"; then - { echo "$as_me:$LINENO: result: $DOXYGEN" >&5 -echo "${ECHO_T}$DOXYGEN" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$DOXYGEN" && break -done -test -n "$DOXYGEN" || DOXYGEN="no" - - if test x$DOXYGEN = xno; then - { echo "$as_me:$LINENO: WARNING: Doxygen not found, documentation will not be rebuilt" >&5 -echo "$as_me: WARNING: Doxygen not found, documentation will not be rebuilt" >&2;} - else - for ac_prog in dot -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_DOT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$DOT"; then - ac_cv_prog_DOT="$DOT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DOT="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DOT=$ac_cv_prog_DOT -if test -n "$DOT"; then - { echo "$as_me:$LINENO: result: $DOT" >&5 -echo "${ECHO_T}$DOT" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$DOT" && break -done -test -n "$DOT" || DOT="no" - - if test x$DOT = xno; then - { echo "$as_me:$LINENO: WARNING: graphviz / dot not found, documentation graphs will not be rebuilt" >&5 -echo "$as_me: WARNING: graphviz / dot not found, documentation graphs will not be rebuilt" >&2;} - fi - fi - - DOCS_SUBDIR="docs" - ac_config_files="$ac_config_files docs/Makefile docs/reference/Makefile docs/reference/Doxyfile" - -fi - - - -ac_config_files="$ac_config_files Makefile cairomm/Makefile examples/Makefile examples/png_file/Makefile examples/pdf-surface/Makefile examples/ps-surface/Makefile examples/svg-surface/Makefile examples/text-rotate/Makefile tests/Makefile cairomm-1.0.pc" - - -ac_config_files="$ac_config_files MSVC/Makefile MSVC/gendef/Makefile MSVC/cairomm/Makefile MSVC/cairomm/cairomm.rc MSVC/examples/Makefile MSVC/examples/pdf-surface/Makefile MSVC/examples/png_file/Makefile MSVC/examples/ps-surface/Makefile MSVC/examples/svg-surface/Makefile MSVC/examples/text-rotate/Makefile" - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"OS_WIN32\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${AUTOTESTS_TRUE}" && test -z "${AUTOTESTS_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"AUTOTESTS\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"AUTOTESTS\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi - -: ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 - -# Save the log message, to keep $[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" -config_commands="$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2006 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - { echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL - export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -# -# INIT-COMMANDS -# -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "cairomm/cairommconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS cairomm/cairommconfig.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; - "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; - "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "cairomm/Makefile") CONFIG_FILES="$CONFIG_FILES cairomm/Makefile" ;; - "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; - "examples/png_file/Makefile") CONFIG_FILES="$CONFIG_FILES examples/png_file/Makefile" ;; - "examples/pdf-surface/Makefile") CONFIG_FILES="$CONFIG_FILES examples/pdf-surface/Makefile" ;; - "examples/ps-surface/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ps-surface/Makefile" ;; - "examples/svg-surface/Makefile") CONFIG_FILES="$CONFIG_FILES examples/svg-surface/Makefile" ;; - "examples/text-rotate/Makefile") CONFIG_FILES="$CONFIG_FILES examples/text-rotate/Makefile" ;; - "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; - "cairomm-1.0.pc") CONFIG_FILES="$CONFIG_FILES cairomm-1.0.pc" ;; - "MSVC/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/Makefile" ;; - "MSVC/gendef/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/gendef/Makefile" ;; - "MSVC/cairomm/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/cairomm/Makefile" ;; - "MSVC/cairomm/cairomm.rc") CONFIG_FILES="$CONFIG_FILES MSVC/cairomm/cairomm.rc" ;; - "MSVC/examples/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/examples/Makefile" ;; - "MSVC/examples/pdf-surface/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/examples/pdf-surface/Makefile" ;; - "MSVC/examples/png_file/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/examples/png_file/Makefile" ;; - "MSVC/examples/ps-surface/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/examples/ps-surface/Makefile" ;; - "MSVC/examples/svg-surface/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/examples/svg-surface/Makefile" ;; - "MSVC/examples/text-rotate/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC/examples/text-rotate/Makefile" ;; - - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# -# Set up the sed scripts for CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "$CONFIG_FILES"; then - -_ACEOF - - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -GENERIC_MAJOR_VERSION!$GENERIC_MAJOR_VERSION$ac_delim -GENERIC_MINOR_VERSION!$GENERIC_MINOR_VERSION$ac_delim -GENERIC_MICRO_VERSION!$GENERIC_MICRO_VERSION$ac_delim -GENERIC_VERSION!$GENERIC_VERSION$ac_delim -GENERIC_LIBRARY_VERSION!$GENERIC_LIBRARY_VERSION$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -CYGPATH_W!$CYGPATH_W$ac_delim -PACKAGE!$PACKAGE$ac_delim -VERSION!$VERSION$ac_delim -ACLOCAL!$ACLOCAL$ac_delim -AUTOCONF!$AUTOCONF$ac_delim -AUTOMAKE!$AUTOMAKE$ac_delim -AUTOHEADER!$AUTOHEADER$ac_delim -MAKEINFO!$MAKEINFO$ac_delim -install_sh!$install_sh$ac_delim -STRIP!$STRIP$ac_delim -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim -mkdir_p!$mkdir_p$ac_delim -AWK!$AWK$ac_delim -SET_MAKE!$SET_MAKE$ac_delim -am__leading_dot!$am__leading_dot$ac_delim -AMTAR!$AMTAR$ac_delim -am__tar!$am__tar$ac_delim -am__untar!$am__untar$ac_delim -CXX!$CXX$ac_delim -CXXFLAGS!$CXXFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CXX!$ac_ct_CXX$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -DEPDIR!$DEPDIR$ac_delim -am__include!$am__include$ac_delim -am__quote!$am__quote$ac_delim -AMDEP_TRUE!$AMDEP_TRUE$ac_delim -AMDEP_FALSE!$AMDEP_FALSE$ac_delim -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim -CXXDEPMODE!$CXXDEPMODE$ac_delim -am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim -am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim -CXXCPP!$CXXCPP$ac_delim -build!$build$ac_delim -build_cpu!$build_cpu$ac_delim -build_vendor!$build_vendor$ac_delim -build_os!$build_os$ac_delim -host!$host$ac_delim -host_cpu!$host_cpu$ac_delim -host_vendor!$host_vendor$ac_delim -host_os!$host_os$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -CCDEPMODE!$CCDEPMODE$ac_delim -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim -SED!$SED$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -CEOF$ac_eof -_ACEOF - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -LN_S!$LN_S$ac_delim -ECHO!$ECHO$ac_delim -AR!$AR$ac_delim -RANLIB!$RANLIB$ac_delim -DLLTOOL!$DLLTOOL$ac_delim -AS!$AS$ac_delim -OBJDUMP!$OBJDUMP$ac_delim -CPP!$CPP$ac_delim -F77!$F77$ac_delim -FFLAGS!$FFLAGS$ac_delim -ac_ct_F77!$ac_ct_F77$ac_delim -LIBTOOL!$LIBTOOL$ac_delim -PLATFORM_WIN32_TRUE!$PLATFORM_WIN32_TRUE$ac_delim -PLATFORM_WIN32_FALSE!$PLATFORM_WIN32_FALSE$ac_delim -OS_WIN32_TRUE!$OS_WIN32_TRUE$ac_delim -OS_WIN32_FALSE!$OS_WIN32_FALSE$ac_delim -PKG_CONFIG!$PKG_CONFIG$ac_delim -CAIROMM_CFLAGS!$CAIROMM_CFLAGS$ac_delim -CAIROMM_LIBS!$CAIROMM_LIBS$ac_delim -BOOST_CPPFLAGS!$BOOST_CPPFLAGS$ac_delim -BOOST_LDFLAGS!$BOOST_LDFLAGS$ac_delim -BOOST_UNIT_TEST_FRAMEWORK_LIB!$BOOST_UNIT_TEST_FRAMEWORK_LIB$ac_delim -AUTOTESTS_TRUE!$AUTOTESTS_TRUE$ac_delim -AUTOTESTS_FALSE!$AUTOTESTS_FALSE$ac_delim -DOXYGEN!$DOXYGEN$ac_delim -DOT!$DOT$ac_delim -DOCS_SUBDIR!$DOCS_SUBDIR$ac_delim -LIBOBJS!$LIBOBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof -_ACEOF - - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF -fi # test -n "$CONFIG_FILES" - - -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} - { (exit 1); exit 1; }; };; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - ac_file_inputs="$ac_file_inputs $ac_f" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - fi - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= - -case `sed -n '/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' $ac_file_inputs` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac - ;; - :H) - # - # CONFIG_HEADER - # -_ACEOF - -# Transform confdefs.h into a sed script `conftest.defines', that -# substitutes the proper values into config.h.in to produce config.h. -rm -f conftest.defines conftest.tail -# First, append a space to every undef/define line, to ease matching. -echo 's/$/ /' >conftest.defines -# Then, protect against being on the right side of a sed subst, or in -# an unquoted here document, in config.status. If some macros were -# called several times there might be several #defines for the same -# symbol, which is useless. But do not sort them, since the last -# AC_DEFINE must be honored. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where -# NAME is the cpp macro being defined, VALUE is the value it is being given. -# PARAMS is the parameter list in the macro definition--in most cases, it's -# just an empty string. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' -ac_dB='\\)[ (].*,\\1define\\2' -ac_dC=' ' -ac_dD=' ,' - -uniq confdefs.h | - sed -n ' - t rset - :rset - s/^[ ]*#[ ]*define[ ][ ]*// - t ok - d - :ok - s/[\\&,]/\\&/g - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p - ' >>conftest.defines - -# Remove the space that was appended to ease matching. -# Then replace #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -# (The regexp can be short, since the line contains either #define or #undef.) -echo 's/ $// -s,^[ #]*u.*,/* & */,' >>conftest.defines - -# Break up conftest.defines: -ac_max_sed_lines=50 - -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" -# et cetera. -ac_in='$ac_file_inputs' -ac_out='"$tmp/out1"' -ac_nxt='"$tmp/out2"' - -while : -do - # Write a here document: - cat >>$CONFIG_STATUS <<_ACEOF - # First, check the format of the line: - cat >"\$tmp/defines.sed" <<\\CEOF -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def -b -:def -_ACEOF - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS - echo 'CEOF - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail - grep . conftest.tail >/dev/null || break - rm -f conftest.defines - mv conftest.tail conftest.defines -done -rm -f conftest.defines conftest.tail - -echo "ac_result=$ac_in" >>$CONFIG_STATUS -cat >>$CONFIG_STATUS <<\_ACEOF - if test x"$ac_file" != x-; then - echo "/* $configure_input */" >"$tmp/config.h" - cat "$ac_result" >>"$tmp/config.h" - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 -echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f $ac_file - mv "$tmp/config.h" $ac_file - fi - else - echo "/* $configure_input */" - cat "$ac_result" - fi - rm -f "$tmp/out12" -# Compute $ac_file's index in $config_headers. -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $ac_file | $ac_file:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X$ac_file : 'X\(//\)[^/]' \| \ - X$ac_file : 'X\(//\)$' \| \ - X$ac_file : 'X\(/\)' \| . 2>/dev/null || -echo X$ac_file | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 -echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir=$dirpart/$fdir - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done -done - ;; - - esac -done # for ac_tag - - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi - diff --git a/libs/cairomm/configure.in b/libs/cairomm/configure.in deleted file mode 100644 index 46f9785ee3..0000000000 --- a/libs/cairomm/configure.in +++ /dev/null @@ -1,189 +0,0 @@ -AC_INIT(cairomm/cairomm.h) - -#release versioning -GENERIC_MAJOR_VERSION=1 -GENERIC_MINOR_VERSION=4 -GENERIC_MICRO_VERSION=6 -GENERIC_VERSION=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION.$GENERIC_MICRO_VERSION -AC_SUBST(GENERIC_MAJOR_VERSION) -AC_SUBST(GENERIC_MINOR_VERSION) -AC_SUBST(GENERIC_MICRO_VERSION) -AC_SUBST(GENERIC_VERSION) - -#shared library versioning -GENERIC_LIBRARY_VERSION=2:0:1 -# | | | -# +------+ | +---+ -# | | | -# current:revision:age -# | | | -# | | +- increment if interfaces have been added -# | | set to zero if interfaces have been removed -# or changed -# | +- increment if source code has changed -# | set to zero if current is incremented -# +- increment if interfaces have been added, removed or changed -AC_SUBST(GENERIC_LIBRARY_VERSION) - - -VERSION=$GENERIC_VERSION - -AM_INIT_AUTOMAKE(cairomm, $GENERIC_VERSION) - -AM_CONFIG_HEADER(cairomm/cairommconfig.h) - -AC_PROG_CXX -AC_PROG_CXXCPP -AC_LANG_CPLUSPLUS -AC_PROG_INSTALL -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL - -dnl Used for enabling the "-no-undefined" and "-export-all-symbols" flags -dnl while generating DLLs. Borrowed from the official gtk+-2 configure.in -AC_MSG_CHECKING([for some Win32 platform]) -case "$host" in - *-*-mingw*|*-*-cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -AC_MSG_RESULT([$platform_win32]) -AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") - -AC_MSG_CHECKING([for native Win32]) -case "$host" in - *-*-mingw*) - os_win32=yes - ;; - *) - os_win32=no - ;; -esac -AC_MSG_RESULT([$os_win32]) -AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes") - -# Ensure MSVC-compatible struct packing convention is used when -# compiling for Win32 with gcc. -# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while -# gcc2 uses "-fnative-struct". -if test x"$os_win32" = xyes; then - if test x"$GCC" = xyes; then - msnative_struct='' - AC_MSG_CHECKING([how to get MSVC-compatible struct packing]) - if test -z "$ac_cv_prog_CC"; then - our_gcc="$CC" - else - our_gcc="$ac_cv_prog_CC" - fi - case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in - 2.) - if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then - msnative_struct='-fnative-struct' - fi - ;; - *) - if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then - msnative_struct='-mms-bitfields' - fi - ;; - esac - if test x"$msnative_struct" = x ; then - AC_MSG_RESULT([no way]) - AC_MSG_WARN([produced libraries might be incompatible with MSVC-compiled code]) - else - CXXFLAGS="$CXXFLAGS $msnative_struct" - AC_MSG_RESULT([${msnative_struct}]) - fi - fi -fi - -AC_CHECK_HEADERS(string list map, , exit) - -PKG_CHECK_MODULES(CAIROMM, cairo >= 1.4) - -AC_ARG_ENABLE(tests, - AC_HELP_STRING([--enable-tests=yes|no], - [enable automated tests (default is no)]), - ENABLE_TESTS=$enableval, - ENABLE_TESTS=no) -if test x$CAIROMM_DEVEL = xon ; then - ENABLE_TESTS=yes -fi - -if test x$ENABLE_TESTS = xyes ; then -AX_BOOST_BASE([1.33.1]) -AX_BOOST_UNIT_TEST_FRAMEWORK -AC_MSG_NOTICE(support of automated tests enabled) -else - AC_MSG_NOTICE(disabled support of automated tests) -fi -AM_CONDITIONAL(AUTOTESTS, test x$ENABLE_TESTS = xyes) - -dnl enable compiler warnings when the CAIROMM_DEVEL environment variable is set to 'on' -if test "x$CAIROMM_DEVEL" = "xon" ; then - CXXFLAGS="$CXXFLAGS -Wall -g -Werror -Wextra" -fi - -CAIROMM_ARG_ENABLE_API_EXCEPTIONS() - -dnl Check whether to build the documentation directory -DOCS_SUBDIR="" dnl set DOCS_SUBDIR initially blank -AC_ARG_ENABLE(docs, [AC_HELP_STRING([--enable-docs], - [build the included docs [default=yes]])],, - [enable_docs=yes]) -if test "x$enable_docs" = "xyes"; then - dnl check if doxygen is installed - AC_CHECK_PROGS(DOXYGEN, [doxygen], no) - if test x$DOXYGEN = xno; then - AC_MSG_WARN([Doxygen not found, documentation will not be rebuilt]) - else - dnl check if graphviz / dot is installed (used by doxygen) - AC_CHECK_PROGS(DOT, [dot], no) - if test x$DOT = xno; then - AC_MSG_WARN([graphviz / dot not found, documentation graphs will not be rebuilt]) - fi - fi - - DOCS_SUBDIR="docs" - AC_CONFIG_FILES( - docs/Makefile - docs/reference/Makefile - docs/reference/Doxyfile - ) -fi -AC_SUBST(DOCS_SUBDIR) - - -AC_CONFIG_FILES( - Makefile - cairomm/Makefile - - examples/Makefile - examples/png_file/Makefile - examples/pdf-surface/Makefile - examples/ps-surface/Makefile - examples/svg-surface/Makefile - examples/text-rotate/Makefile - - tests/Makefile - - cairomm-1.0.pc -) - -AC_CONFIG_FILES([ - MSVC/Makefile - MSVC/gendef/Makefile - MSVC/cairomm/Makefile - MSVC/cairomm/cairomm.rc - MSVC/examples/Makefile - MSVC/examples/pdf-surface/Makefile - MSVC/examples/png_file/Makefile - MSVC/examples/ps-surface/Makefile - MSVC/examples/svg-surface/Makefile - MSVC/examples/text-rotate/Makefile -]) - -AC_OUTPUT() diff --git a/libs/cairomm/depcomp b/libs/cairomm/depcomp deleted file mode 100755 index 04701da536..0000000000 --- a/libs/cairomm/depcomp +++ /dev/null @@ -1,530 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2005-07-09.11 - -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva . - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp [--help] [--version] PROGRAM [ARGS] - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> $depfile - echo >> $depfile - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> $depfile - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` - tmpdepfile="$stripped.u" - if test "$libtool" = yes; then - "$@" -Wc,-M - else - "$@" -M - fi - stat=$? - - if test -f "$tmpdepfile"; then : - else - stripped=`echo "$stripped" | sed 's,^.*/,,'` - tmpdepfile="$stripped.u" - fi - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - - if test -f "$tmpdepfile"; then - outname="$stripped.o" - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mecanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. - "$@" $dashmflag | - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no - for arg in "$@"; do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix="`echo $object | sed 's/^.*\././'`" - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o, - # because we must use -o when running libtool. - "$@" || exit $? - IFS=" " - for arg - do - case "$arg" in - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/libs/cairomm/install-sh b/libs/cairomm/install-sh deleted file mode 100755 index 4d4a9519ea..0000000000 --- a/libs/cairomm/install-sh +++ /dev/null @@ -1,323 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2005-05-14.22 - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -chmodcmd="$chmodprog 0755" -chowncmd= -chgrpcmd= -stripcmd= -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src= -dst= -dir_arg= -dstarg= -no_target_directory= - -usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE - or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 [OPTION]... -t DIRECTORY SRCFILES... - or: $0 [OPTION]... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: --c (ignored) --d create directories instead of installing files. --g GROUP $chgrpprog installed files to GROUP. --m MODE $chmodprog installed files to MODE. --o USER $chownprog installed files to USER. --s $stripprog installed files. --t DIRECTORY install into DIRECTORY. --T report an error if DSTFILE is a directory. ---help display this help and exit. ---version display version info and exit. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG -" - -while test -n "$1"; do - case $1 in - -c) shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - --help) echo "$usage"; exit $?;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -s) stripcmd=$stripprog - shift - continue;; - - -t) dstarg=$2 - shift - shift - continue;; - - -T) no_target_directory=true - shift - continue;; - - --version) echo "$0 $scriptversion"; exit $?;; - - *) # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - test -n "$dir_arg$dstarg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done - break;; - esac -done - -if test -z "$1"; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call `install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -for src -do - # Protect names starting with `-'. - case $src in - -*) src=./$src ;; - esac - - if test -n "$dir_arg"; then - dst=$src - src= - - if test -d "$dst"; then - mkdircmd=: - chmodcmd= - else - mkdircmd=$mkdirprog - fi - else - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dstarg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - - dst=$dstarg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst ;; - esac - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dstarg: Is a directory" >&2 - exit 1 - fi - dst=$dst/`basename "$src"` - fi - fi - - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - - # Make sure that the destination directory exists. - - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - shift - IFS=$oIFS - - pathcomp= - - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 - shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test -d "$pathcomp" || exit - fi - pathcomp=$pathcomp/ - done - fi - - if test -n "$dir_arg"; then - $doit $mkdircmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - - else - dstfile=`basename "$dst"` - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - trap '(exit $?); exit' 1 2 13 15 - - # Copy the file name to the temp name. - $doit $cpprog "$src" "$dsttmp" && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && - - # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ - || { - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ - || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 - (exit 1); exit 1 - } - else - : - fi - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" - } - } - fi || { (exit 1); exit 1; } -done - -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit 0 -} - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/libs/cairomm/ltmain.sh b/libs/cairomm/ltmain.sh deleted file mode 100644 index 2160ef7b98..0000000000 --- a/libs/cairomm/ltmain.sh +++ /dev/null @@ -1,6938 +0,0 @@ -# ltmain.sh - Provide generalized library-building support services. -# NOTE: Changing this file will not affect anything until you rerun configure. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, -# 2007 Free Software Foundation, Inc. -# Originally by Gordon Matzigkeit , 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -basename="s,^.*/,,g" - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" - -# The name of this program: -progname=`echo "$progpath" | $SED $basename` -modename="$progname" - -# Global variables: -EXIT_SUCCESS=0 -EXIT_FAILURE=1 - -PROGRAM=ltmain.sh -PACKAGE=libtool -VERSION="1.5.24 Debian 1.5.24-1ubuntu1" -TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)" - -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# Check that we have a working $echo. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then - # Yippee, $echo works! - : -else - # Restart under the correct shell, and then maybe $echo will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <&2 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 - exit $EXIT_FAILURE -fi - -# Global variables. -mode=$default_mode -nonopt= -prev= -prevopt= -run= -show="$echo" -show_help= -execute_dlfiles= -duplicate_deps=no -preserve_args= -lo2o="s/\\.lo\$/.${objext}/" -o2lo="s/\\.${objext}\$/.lo/" -extracted_archives= -extracted_serial=0 - -##################################### -# Shell function definitions: -# This seems to be the best place for them - -# func_mktempdir [string] -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, STRING is the basename for that directory. -func_mktempdir () -{ - my_template="${TMPDIR-/tmp}/${1-$progname}" - - if test "$run" = ":"; then - # Return a directory name, but don't create it in dry-run mode - my_tmpdir="${my_template}-$$" - else - - # If mktemp works, use that first and foremost - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` - - if test ! -d "$my_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - my_tmpdir="${my_template}-${RANDOM-0}$$" - - save_mktempdir_umask=`umask` - umask 0077 - $mkdir "$my_tmpdir" - umask $save_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$my_tmpdir" || { - $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 - exit $EXIT_FAILURE - } - fi - - $echo "X$my_tmpdir" | $Xsed -} - - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -func_win32_libid () -{ - win32_libid_type="unknown" - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | \ - $SED -n -e '1,100{ - / I /{ - s,.*,import, - p - q - } - }'` - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $echo $win32_libid_type -} - - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - CC_quoted="$CC_quoted $arg" - done - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - CC_quoted="$CC_quoted $arg" - done - case "$@ " in - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - $echo "$modename: unable to infer tagged configuration" - $echo "$modename: specify a tag with \`--tag'" 1>&2 - exit $EXIT_FAILURE -# else -# $echo "$modename: using $tagname tagged configuration" - fi - ;; - esac - fi -} - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - f_ex_an_ar_dir="$1"; shift - f_ex_an_ar_oldlib="$1" - - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 - exit $EXIT_FAILURE - fi -} - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - my_gentop="$1"; shift - my_oldlibs=${1+"$@"} - my_oldobjs="" - my_xlib="" - my_xabs="" - my_xdir="" - my_status="" - - $show "${rm}r $my_gentop" - $run ${rm}r "$my_gentop" - $show "$mkdir $my_gentop" - $run $mkdir "$my_gentop" - my_status=$? - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then - exit $my_status - fi - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - extracted_serial=`expr $extracted_serial + 1` - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" - - $show "${rm}r $my_xdir" - $run ${rm}r "$my_xdir" - $show "$mkdir $my_xdir" - $run $mkdir "$my_xdir" - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then - exit $exit_status - fi - case $host in - *-darwin*) - $show "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - if test -z "$run"; then - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` - if test -n "$darwin_arches"; then - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - $show "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches ; do - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" - func_extract_an_archive "`pwd`" "${darwin_base_archive}" - cd "$darwin_curdir" - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" - done # $darwin_arches - ## Okay now we have a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` - lipo -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - ${rm}r unfat-$$ - cd "$darwin_orig_dir" - else - cd "$darwin_orig_dir" - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - fi # $run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done - func_extract_archives_result="$my_oldobjs" -} -# End of Shell function definitions -##################################### - -# Darwin sucks -eval std_shrext=\"$shrext_cmds\" - -disable_libs=no - -# Parse our command line options once, thoroughly. -while test "$#" -gt 0 -do - arg="$1" - shift - - case $arg in - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; - *) optarg= ;; - esac - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - execute_dlfiles) - execute_dlfiles="$execute_dlfiles $arg" - ;; - tag) - tagname="$arg" - preserve_args="${preserve_args}=$arg" - - # Check whether tagname contains only valid characters - case $tagname in - *[!-_A-Za-z0-9,/]*) - $echo "$progname: invalid tag name: $tagname" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - case $tagname in - CC) - # Don't test for the "default" C tag, as we know, it's there, but - # not specially marked. - ;; - *) - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then - taglist="$taglist $tagname" - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" - else - $echo "$progname: ignoring unknown tag $tagname" 1>&2 - fi - ;; - esac - ;; - *) - eval "$prev=\$arg" - ;; - esac - - prev= - prevopt= - continue - fi - - # Have we seen a non-optional argument yet? - case $arg in - --help) - show_help=yes - ;; - - --version) - echo "\ -$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP - -Copyright (C) 2007 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - exit $? - ;; - - --config) - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath - # Now print the configurations for the tags. - for tagname in $taglist; do - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" - done - exit $? - ;; - - --debug) - $echo "$progname: enabling shell trace mode" - set -x - preserve_args="$preserve_args $arg" - ;; - - --dry-run | -n) - run=: - ;; - - --features) - $echo "host: $host" - if test "$build_libtool_libs" = yes; then - $echo "enable shared libraries" - else - $echo "disable shared libraries" - fi - if test "$build_old_libs" = yes; then - $echo "enable static libraries" - else - $echo "disable static libraries" - fi - exit $? - ;; - - --finish) mode="finish" ;; - - --mode) prevopt="--mode" prev=mode ;; - --mode=*) mode="$optarg" ;; - - --preserve-dup-deps) duplicate_deps="yes" ;; - - --quiet | --silent) - show=: - preserve_args="$preserve_args $arg" - ;; - - --tag) - prevopt="--tag" - prev=tag - preserve_args="$preserve_args --tag" - ;; - --tag=*) - set tag "$optarg" ${1+"$@"} - shift - prev=tag - preserve_args="$preserve_args --tag" - ;; - - -dlopen) - prevopt="-dlopen" - prev=execute_dlfiles - ;; - - -*) - $echo "$modename: unrecognized option \`$arg'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - - *) - nonopt="$arg" - break - ;; - esac -done - -if test -n "$prevopt"; then - $echo "$modename: option \`$prevopt' requires an argument" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE -fi - -case $disable_libs in -no) - ;; -shared) - build_libtool_libs=no - build_old_libs=yes - ;; -static) - build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` - ;; -esac - -# If this variable is set in any of the actions, the command in it -# will be execed at the end. This prevents here-documents from being -# left over by shells. -exec_cmd= - -if test -z "$show_help"; then - - # Infer the operation mode. - if test -z "$mode"; then - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 - case $nonopt in - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) - mode=link - for arg - do - case $arg in - -c) - mode=compile - break - ;; - esac - done - ;; - *db | *dbx | *strace | *truss) - mode=execute - ;; - *install*|cp|mv) - mode=install - ;; - *rm) - mode=uninstall - ;; - *) - # If we have no mode, but dlfiles were specified, then do execute mode. - test -n "$execute_dlfiles" && mode=execute - - # Just use the default operation mode. - if test -z "$mode"; then - if test -n "$nonopt"; then - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 - else - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 - fi - fi - ;; - esac - fi - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$execute_dlfiles" && test "$mode" != execute; then - $echo "$modename: unrecognized option \`-dlopen'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$modename --help --mode=$mode' for more information." - - # These modes are in order of execution frequency so that they run quickly. - case $mode in - # libtool compile mode - compile) - modename="$modename: compile" - # Get the compilation command and the source file. - base_compile= - srcfile="$nonopt" # always keep a non-empty value in "srcfile" - suppress_opt=yes - suppress_output= - arg_mode=normal - libobj= - later= - - for arg - do - case $arg_mode in - arg ) - # do not "continue". Instead, add this to base_compile - lastarg="$arg" - arg_mode=normal - ;; - - target ) - libobj="$arg" - arg_mode=normal - continue - ;; - - normal ) - # Accept any command-line options. - case $arg in - -o) - if test -n "$libobj" ; then - $echo "$modename: you cannot specify \`-o' more than once" 1>&2 - exit $EXIT_FAILURE - fi - arg_mode=target - continue - ;; - - -static | -prefer-pic | -prefer-non-pic) - later="$later $arg" - continue - ;; - - -no-suppress) - suppress_opt=no - continue - ;; - - -Xcompiler) - arg_mode=arg # the next one goes into the "base_compile" arg list - continue # The current "srcfile" will either be retained or - ;; # replaced later. I would guess that would be a bug. - - -Wc,*) - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` - lastarg= - save_ifs="$IFS"; IFS=',' - for arg in $args; do - IFS="$save_ifs" - - # Double-quote args containing other shell metacharacters. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - lastarg="$lastarg $arg" - done - IFS="$save_ifs" - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` - - # Add the arguments to base_compile. - base_compile="$base_compile $lastarg" - continue - ;; - - * ) - # Accept the current argument as the source file. - # The previous "srcfile" becomes the current argument. - # - lastarg="$srcfile" - srcfile="$arg" - ;; - esac # case $arg - ;; - esac # case $arg_mode - - # Aesthetically quote the previous argument. - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` - - case $lastarg in - # Double-quote args containing other shell metacharacters. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, and some SunOS ksh mistreat backslash-escaping - # in scan sets (worked around with variable expansion), - # and furthermore cannot handle '|' '&' '(' ')' in scan sets - # at all, so we specify them separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - lastarg="\"$lastarg\"" - ;; - esac - - base_compile="$base_compile $lastarg" - done # for arg - - case $arg_mode in - arg) - $echo "$modename: you must specify an argument for -Xcompile" - exit $EXIT_FAILURE - ;; - target) - $echo "$modename: you must specify a target with \`-o'" 1>&2 - exit $EXIT_FAILURE - ;; - *) - # Get the name of the library object. - [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` - ;; - esac - - # Recognize several different file suffixes. - # If the user specifies -o file.o, it is replaced with file.lo - xform='[cCFSifmso]' - case $libobj in - *.ada) xform=ada ;; - *.adb) xform=adb ;; - *.ads) xform=ads ;; - *.asm) xform=asm ;; - *.c++) xform=c++ ;; - *.cc) xform=cc ;; - *.ii) xform=ii ;; - *.class) xform=class ;; - *.cpp) xform=cpp ;; - *.cxx) xform=cxx ;; - *.[fF][09]?) xform=[fF][09]. ;; - *.for) xform=for ;; - *.java) xform=java ;; - *.obj) xform=obj ;; - esac - - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` - - case $libobj in - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; - *) - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - func_infer_tag $base_compile - - for arg in $later; do - case $arg in - -static) - build_old_libs=yes - continue - ;; - - -prefer-pic) - pic_mode=yes - continue - ;; - - -prefer-non-pic) - pic_mode=no - continue - ;; - esac - done - - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` - case $qlibobj in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - qlibobj="\"$qlibobj\"" ;; - esac - test "X$libobj" != "X$qlibobj" \ - && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` - if test "X$xdir" = "X$obj"; then - xdir= - else - xdir=$xdir/ - fi - lobj=${xdir}$objdir/$objname - - if test -z "$base_compile"; then - $echo "$modename: you must specify a compilation command" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Delete any leftover library objects. - if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - $run $rm $removelist - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2*) - pic_mode=default - ;; - esac - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test "$compiler_c_o" = no; then - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} - lockfile="$output_obj.lock" - removelist="$removelist $output_obj $lockfile" - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test "$need_locks" = yes; then - until $run ln "$progpath" "$lockfile" 2>/dev/null; do - $show "Waiting for $lockfile to be removed" - sleep 2 - done - elif test "$need_locks" = warn; then - if test -f "$lockfile"; then - $echo "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $run $rm $removelist - exit $EXIT_FAILURE - fi - $echo "$srcfile" > "$lockfile" - fi - - if test -n "$fix_srcfile_path"; then - eval srcfile=\"$fix_srcfile_path\" - fi - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` - case $qsrcfile in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - qsrcfile="\"$qsrcfile\"" ;; - esac - - $run $rm "$libobj" "${libobj}T" - - # Create a libtool object file (analogous to a ".la" file), - # but don't create it if we're doing a dry run. - test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then - $echo "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $run $rm $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - $show "$mv $output_obj $lobj" - if $run $mv $output_obj $lobj; then : - else - error=$? - $run $rm $removelist - exit $error - fi - fi - - # Append the name of the PIC object to the libtool object file. - test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then - $echo "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $run $rm $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - $show "$mv $output_obj $obj" - if $run $mv $output_obj $obj; then : - else - error=$? - $run $rm $removelist - exit $error - fi - fi - - # Append the name of the non-PIC object the libtool object file. - # Only append if the libtool object file exists. - test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg="$1" - shift - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test - ;; - *) qarg=$arg ;; - esac - libtool_args="$libtool_args $qarg" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - compile_command="$compile_command @OUTPUT@" - finalize_command="$finalize_command @OUTPUT@" - ;; - esac - - case $prev in - dlfiles|dlprefiles) - if test "$preload" = no; then - # Add the symbol object into the linking commands. - compile_command="$compile_command @SYMFILE@" - finalize_command="$finalize_command @SYMFILE@" - preload=yes - fi - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test "$dlself" = no; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test "$prev" = dlprefiles; then - dlself=yes - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" - else - dlprefiles="$dlprefiles $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols="$arg" - if test ! -f "$arg"; then - $echo "$modename: symbol file \`$arg' does not exist" - exit $EXIT_FAILURE - fi - prev= - continue - ;; - expsyms_regex) - export_symbols_regex="$arg" - prev= - continue - ;; - inst_prefix) - inst_prefix_dir="$arg" - prev= - continue - ;; - precious_regex) - precious_files_regex="$arg" - prev= - continue - ;; - release) - release="-$arg" - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat $save_arg` - do -# moreargs="$moreargs $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - pic_object= - non_pic_object= - - # Read the .lo file - # If there is no directory component, then add one. - case $arg in - */* | *\\*) . $arg ;; - *) . ./$arg ;; - esac - - if test -z "$pic_object" || \ - test -z "$non_pic_object" || - test "$pic_object" = none && \ - test "$non_pic_object" = none; then - $echo "$modename: cannot find name of object for \`$arg'" 1>&2 - exit $EXIT_FAILURE - fi - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - libobjs="$libobjs $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - non_pic_objects="$non_pic_objects $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if test -z "$run"; then - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 - exit $EXIT_FAILURE - else - # Dry-run case. - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` - libobjs="$libobjs $pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - fi - done - else - $echo "$modename: link input file \`$save_arg' does not exist" - exit $EXIT_FAILURE - fi - arg=$save_arg - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - $echo "$modename: only absolute run-paths are allowed" 1>&2 - exit $EXIT_FAILURE - ;; - esac - if test "$prev" = rpath; then - case "$rpath " in - *" $arg "*) ;; - *) rpath="$rpath $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; - esac - fi - prev= - continue - ;; - xcompiler) - compiler_flags="$compiler_flags $qarg" - prev= - compile_command="$compile_command $qarg" - finalize_command="$finalize_command $qarg" - continue - ;; - xlinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $wl$qarg" - prev= - compile_command="$compile_command $wl$qarg" - finalize_command="$finalize_command $wl$qarg" - continue - ;; - xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" - prev= - compile_command="$compile_command $qarg" - finalize_command="$finalize_command $qarg" - continue - ;; - shrext) - shrext_cmds="$arg" - prev= - continue - ;; - darwin_framework|darwin_framework_skip) - test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - prev= - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg="$arg" - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - compile_command="$compile_command $link_static_flag" - finalize_command="$finalize_command $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 - continue - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - $echo "$modename: more than one -exported-symbols argument is not allowed" - exit $EXIT_FAILURE - fi - if test "X$arg" = "X-export-symbols"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework|-arch|-isysroot) - case " $CC " in - *" ${arg} ${1} "* | *" ${arg} ${1} "*) - prev=darwin_framework_skip ;; - *) compiler_flags="$compiler_flags $arg" - prev=darwin_framework ;; - esac - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -L[A-Z][A-Z]*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - ;; - esac - continue - ;; - - -L*) - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 - absdir="$dir" - notinst_path="$notinst_path $dir" - fi - dir="$absdir" - ;; - esac - case "$deplibs " in - *" -L$dir "*) ;; - *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) - testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - *) dllsearchpath="$dllsearchpath:$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs -framework System" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test "X$arg" = "X-lc" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - deplibs="$deplibs $arg" - continue - ;; - - # Tru64 UNIX uses -model [arg] to determine the layout of C++ - # classes, name mangling, and exception handling. - -model) - compile_command="$compile_command $arg" - compiler_flags="$compiler_flags $arg" - finalize_command="$finalize_command $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - continue - ;; - - -module) - module=yes - continue - ;; - - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler - # -r[0-9][0-9]* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m* pass through architecture-specific compiler args for GCC - # -m*, -t[45]*, -txscale* pass through architecture-specific - # compiler args for GCC - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) - - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - compiler_flags="$compiler_flags $arg" - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - $echo "$modename: only absolute run-paths are allowed" 1>&2 - exit $EXIT_FAILURE - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -Wc,*) - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - case $flag in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - flag="\"$flag\"" - ;; - esac - arg="$arg $wl$flag" - compiler_flags="$compiler_flags $flag" - done - IFS="$save_ifs" - arg=`$echo "X$arg" | $Xsed -e "s/^ //"` - ;; - - -Wl,*) - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - case $flag in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - flag="\"$flag\"" - ;; - esac - arg="$arg $wl$flag" - compiler_flags="$compiler_flags $wl$flag" - linker_flags="$linker_flags $flag" - done - IFS="$save_ifs" - arg=`$echo "X$arg" | $Xsed -e "s/^ //"` - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # Some other compiler flag. - -* | +*) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - ;; - - *.$objext) - # A standard object. - objs="$objs $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - pic_object= - non_pic_object= - - # Read the .lo file - # If there is no directory component, then add one. - case $arg in - */* | *\\*) . $arg ;; - *) . ./$arg ;; - esac - - if test -z "$pic_object" || \ - test -z "$non_pic_object" || - test "$pic_object" = none && \ - test "$non_pic_object" = none; then - $echo "$modename: cannot find name of object for \`$arg'" 1>&2 - exit $EXIT_FAILURE - fi - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - libobjs="$libobjs $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - non_pic_objects="$non_pic_objects $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if test -z "$run"; then - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 - exit $EXIT_FAILURE - else - # Dry-run case. - - # Extract subdirectory from the argument. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` - if test "X$xdir" = "X$arg"; then - xdir= - else - xdir="$xdir/" - fi - - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` - libobjs="$libobjs $pic_object" - non_pic_objects="$non_pic_objects $non_pic_object" - fi - fi - ;; - - *.$libext) - # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - if test "$prev" = dlfiles; then - # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" - prev= - elif test "$prev" = dlprefiles; then - # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" - prev= - else - deplibs="$deplibs $arg" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - fi - done # argument parsing loop - - if test -n "$prev"; then - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - compile_command="$compile_command $arg" - finalize_command="$finalize_command $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` - libobjs_save="$libobjs" - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` - if test "X$output_objdir" = "X$output"; then - output_objdir="$objdir" - else - output_objdir="$output_objdir/$objdir" - fi - # Create the object directory. - if test ! -d "$output_objdir"; then - $show "$mkdir $output_objdir" - $run $mkdir $output_objdir - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then - exit $exit_status - fi - fi - - # Determine the type of output - case $output in - "") - $echo "$modename: you must specify an output file" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - case $host in - *cygwin* | *mingw* | *pw32*) - # don't eliminate duplications in $postdeps and $predeps - duplicate_compiler_generated_deps=yes - ;; - *) - duplicate_compiler_generated_deps=$duplicate_deps - ;; - esac - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if test "X$duplicate_deps" = "Xyes" ; then - case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - libs="$libs $deplib" - done - - if test "$linkmode" = lib; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; - esac - pre_post_deps="$pre_post_deps $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - case $linkmode in - lib) - passes="conv link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 - exit $EXIT_FAILURE - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=no - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - for pass in $passes; do - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan"; then - libs="$deplibs" - deplibs= - fi - if test "$linkmode" = prog; then - case $pass in - dlopen) libs="$dlfiles" ;; - dlpreopen) libs="$dlprefiles" ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; - esac - fi - if test "$pass" = dlopen; then - # Collect dlpreopened libraries - save_deplibs="$deplibs" - deplibs= - fi - for deplib in $libs; do - lib= - found=no - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - compiler_flags="$compiler_flags $deplib" - fi - continue - ;; - -l*) - if test "$linkmode" != lib && test "$linkmode" != prog; then - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 - continue - fi - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib="$searchdir/lib${name}${search_ext}" - if test -f "$lib"; then - if test "$search_ext" = ".la"; then - found=yes - else - found=no - fi - break 2 - fi - done - done - if test "$found" != yes; then - # deplib doesn't seem to be a libtool library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - else # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $deplib "*) - if (${SED} -e '2q' $lib | - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - library_names= - old_library= - case $lib in - */* | *\\*) . $lib ;; - *) . ./$lib ;; - esac - for l in $old_library $library_names; do - ll="$l" - done - if test "X$ll" = "X$old_library" ; then # only static version available - found=no - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` - test "X$ladir" = "X$lib" && ladir="." - lib=$ladir/$old_library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - fi - ;; # -l - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test "$pass" = conv && continue - newdependency_libs="$deplib $newdependency_libs" - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` - ;; - prog) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - if test "$pass" = scan; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` - ;; - *) - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test "$pass" = link; then - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) lib="$deplib" ;; - *.$libext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - valid_a_lib=no - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - if eval $echo \"$deplib\" 2>/dev/null \ - | $SED 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=yes - fi - ;; - pass_all) - valid_a_lib=yes - ;; - esac - if test "$valid_a_lib" != yes; then - $echo - $echo "*** Warning: Trying to link with static lib archive $deplib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because the file extensions .$libext of this argument makes me believe" - $echo "*** that it is just a static archive that I should not used here." - else - $echo - $echo "*** Warning: Linking the shared library $output against the" - $echo "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - fi - continue - ;; - prog) - if test "$pass" != link; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - elif test "$linkmode" = prog; then - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - newdlprefiles="$newdlprefiles $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - newdlfiles="$newdlfiles $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=yes - continue - ;; - esac # case $deplib - if test "$found" = yes || test -f "$lib"; then : - else - $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 - exit $EXIT_FAILURE - fi - - # Check to see that this really is a libtool archive. - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : - else - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` - test "X$ladir" = "X$lib" && ladir="." - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - case $lib in - */* | *\\*) . $lib ;; - *) . ./$lib ;; - esac - - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" - fi - - if test "$pass" = conv; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if test "X$duplicate_deps" = "Xyes" ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - elif test "$linkmode" != prog && test "$linkmode" != lib; then - $echo "$modename: \`$lib' is not a convenience library" 1>&2 - exit $EXIT_FAILURE - fi - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - for l in $old_library $library_names; do - linklib="$l" - done - if test -z "$linklib"; then - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - - # This library was specified with -dlopen. - if test "$pass" = dlopen; then - if test -z "$libdir"; then - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - if test -z "$dlname" || - test "$dlopen_support" != yes || - test "$build_libtool_libs" = no; then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - dlprefiles="$dlprefiles $lib $dependency_libs" - else - newdlfiles="$newdlfiles $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 - abs_ladir="$ladir" - fi - ;; - esac - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - - # Find the relevant object directory and library name. - if test "X$installed" = Xyes; then - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - $echo "$modename: warning: library \`$lib' was moved." 1>&2 - dir="$ladir" - absdir="$abs_ladir" - libdir="$abs_ladir" - else - dir="$libdir" - absdir="$libdir" - fi - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir="$ladir" - absdir="$abs_ladir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - fi - fi # $installed = yes - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` - - # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then - if test -z "$libdir"; then - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 - exit $EXIT_FAILURE - fi - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - newdlprefiles="$newdlprefiles $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - newdlprefiles="$newdlprefiles $dir/$dlname" - else - newdlprefiles="$newdlprefiles $dir/$linklib" - fi - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test "$linkmode" = lib; then - deplibs="$dir/$old_library $deplibs" - elif test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=no - if test "$link_all_deplibs" != no || test -z "$library_names" || - test "$build_libtool_libs" = no; then - linkalldeplibs=yes - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test - esac - # Need to link against all dependency_libs? - if test "$linkalldeplibs" = yes; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if test "X$duplicate_deps" = "Xyes" ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test "$linkmode,$pass" = "prog,link"; then - if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then - # Make sure the rpath contains only unique directories. - case "$temp_rpath " in - *" $dir "*) ;; - *" $absdir "*) ;; - *) temp_rpath="$temp_rpath $absdir" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && - { test "$deplibs_check_method" = pass_all || - { test "$build_libtool_libs" = yes && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test "$use_static_libs" = built && test "$installed" = yes ; then - use_static_libs=no - fi - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes - fi - # This is a shared library - - # Warn about portability, can't link against -module's on - # some systems (darwin) - if test "$shouldnotlink" = yes && test "$pass" = link ; then - $echo - if test "$linkmode" = prog; then - $echo "*** Warning: Linking the executable $output against the loadable module" - else - $echo "*** Warning: Linking the shared library $output against the loadable module" - fi - $echo "*** $linklib is not portable!" - fi - if test "$linkmode" = lib && - test "$hardcode_into_libs" = yes; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - realname="$2" - shift; shift - libname=`eval \\$echo \"$libname_spec\"` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname="$dlname" - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw*) - major=`expr $current - $age` - versuffix="-$major" - ;; - esac - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot="$soname" - soname=`$echo $soroot | ${SED} -e 's/^.*\///'` - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - $show "extracting exported symbol list from \`$soname'" - save_ifs="$IFS"; IFS='~' - cmds=$extract_expsyms_cmds - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - $show "generating import library for \`$soname'" - save_ifs="$IFS"; IFS='~' - cmds=$old_archive_from_expsyms_cmds - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test "$linkmode" = prog || test "$mode" != relink; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test "$hardcode_direct" = no; then - add="$dir/$linklib" - case $host in - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; - *-*-sysv4*uw2*) add_dir="-L$dir" ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ - *-*-unixware7*) add_dir="-L$dir" ;; - *-*-darwin* ) - # if the lib is a module then we can not link against - # it, someone is ignoring the new warnings I added - if /usr/bin/file -L $add 2> /dev/null | - $EGREP ": [^:]* bundle" >/dev/null ; then - $echo "** Warning, lib $linklib is a module, not a shared library" - if test -z "$old_library" ; then - $echo - $echo "** And there doesn't seem to be a static archive available" - $echo "** The link will probably fail, sorry" - else - add="$dir/$old_library" - fi - fi - esac - elif test "$hardcode_minus_L" = no; then - case $host in - *-*-sunos*) add_shlibpath="$dir" ;; - esac - add_dir="-L$dir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = no; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - relink) - if test "$hardcode_direct" = yes; then - add="$dir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$dir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test "$lib_linked" != yes; then - $echo "$modename: configuration error: unsupported hardcode properties" - exit $EXIT_FAILURE - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; - esac - fi - if test "$linkmode" = prog; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test "$hardcode_direct" != yes && \ - test "$hardcode_minus_L" != yes && \ - test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - fi - fi - fi - - if test "$linkmode" = prog || test "$mode" = relink; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test "$hardcode_direct" = yes; then - add="$libdir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - add="-l$name" - elif test "$hardcode_automatic" = yes; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib" ; then - add="$inst_prefix_dir$libdir/$linklib" - else - add="$libdir/$linklib" - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - fi - - if test "$linkmode" = prog; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test "$linkmode" = prog; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test "$hardcode_direct" != unsupported; then - test -n "$old_library" && linklib="$old_library" - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test "$build_libtool_libs" = yes; then - # Not a shared library - if test "$deplibs_check_method" != pass_all; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - $echo - $echo "*** Warning: This system can not link to static lib archive $lib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have." - if test "$module" = yes; then - $echo "*** But as you try to build a module library, libtool will still create " - $echo "*** a static module, that should work as long as the dlopening application" - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - $echo - $echo "*** However, this would only work if libtool was able to extract symbol" - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - $echo "*** not find such a program. So, this module is probably useless." - $echo "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test "$linkmode" = lib; then - if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || - test "$build_old_libs" = yes || - test "$link_static" = yes; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; - esac;; - *) temp_deplibs="$temp_deplibs $libdir";; - esac - done - dependency_libs="$temp_deplibs" - fi - - newlib_search_path="$newlib_search_path $absdir" - # Link against this library - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - if test "X$duplicate_deps" = "Xyes" ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - case $deplib in - -L*) path="$deplib" ;; - *.la) - dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` - test "X$dir" = "X$deplib" && dir="." - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 - absdir="$dir" - fi - ;; - esac - if grep "^installed=no" $deplib > /dev/null; then - path="$absdir/$objdir" - else - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - if test -z "$libdir"; then - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - if test "$absdir" != "$libdir"; then - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 - fi - path="$absdir" - fi - depdepl= - case $host in - *-*-darwin*) - # we do not want to link against static libs, - # but need to link against shared - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names" ; then - for tmp in $deplibrary_names ; do - depdepl=$tmp - done - if test -f "$path/$depdepl" ; then - depdepl="$path/$depdepl" - fi - # do not add paths which are already there - case " $newlib_search_path " in - *" $path "*) ;; - *) newlib_search_path="$newlib_search_path $path";; - esac - fi - path="" - ;; - *) - path="-L$path" - ;; - esac - ;; - -l*) - case $host in - *-*-darwin*) - # Again, we only want to link against shared libraries - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` - for tmp in $newlib_search_path ; do - if test -f "$tmp/lib$tmp_libs.dylib" ; then - eval depdepl="$tmp/lib$tmp_libs.dylib" - break - fi - done - path="" - ;; - *) continue ;; - esac - ;; - *) continue ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - case " $deplibs " in - *" $depdepl "*) ;; - *) deplibs="$depdepl $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - dependency_libs="$newdependency_libs" - if test "$pass" = dlpreopen; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test "$pass" != dlopen; then - if test "$pass" != conv; then - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; - esac - done - newlib_search_path= - fi - - if test "$linkmode,$pass" != "prog,link"; then - vars="deplibs" - else - vars="compile_deplibs finalize_deplibs" - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs ; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i="" - ;; - esac - if test -n "$i" ; then - tmp_libs="$tmp_libs $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test "$linkmode" = prog; then - dlfiles="$newdlfiles" - dlprefiles="$newdlprefiles" - fi - - case $linkmode in - oldlib) - if test -n "$deplibs"; then - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 - fi - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 - fi - - if test -n "$rpath"; then - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 - fi - - if test -n "$xrpath"; then - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 - fi - - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 - fi - - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 - fi - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs="$output" - objs="$objs$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form `libNAME.la'. - case $outputname in - lib*) - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - if test "$module" = no; then - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - if test "$need_lib_prefix" != no; then - # Add the "lib" prefix for modules if required - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` - fi - ;; - esac - - if test -n "$objs"; then - if test "$deplibs_check_method" != pass_all; then - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 - exit $EXIT_FAILURE - else - $echo - $echo "*** Warning: Linking the shared library $output against the non-libtool" - $echo "*** objects $objs is not portable!" - libobjs="$libobjs $objs" - fi - fi - - if test "$dlself" != no; then - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 - fi - - set dummy $rpath - if test "$#" -gt 2; then - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 - fi - install_libdir="$2" - - oldlibs= - if test -z "$rpath"; then - if test "$build_libtool_libs" = yes; then - # Building a libtool convenience library. - # Some compilers have problems with a `.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 - fi - else - - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 - IFS="$save_ifs" - - if test -n "$8"; then - $echo "$modename: too many parameters to \`-version-info'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major="$2" - number_minor="$3" - number_revision="$4" - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # which has an extra 1 added just for fun - # - case $version_type in - darwin|linux|osf|windows|none) - current=`expr $number_major + $number_minor` - age="$number_minor" - revision="$number_revision" - ;; - freebsd-aout|freebsd-elf|sunos) - current="$number_major" - revision="$number_minor" - age="0" - ;; - irix|nonstopux) - current=`expr $number_major + $number_minor` - age="$number_minor" - revision="$number_minor" - lt_irix_increment=no - ;; - *) - $echo "$modename: unknown library version type \`$version_type'" 1>&2 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 - exit $EXIT_FAILURE - ;; - esac - ;; - no) - current="$2" - revision="$3" - age="$4" - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - case $revision in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - case $age in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - if test "$age" -gt "$current"; then - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 - $echo "$modename: \`$vinfo' is not valid version information" 1>&2 - exit $EXIT_FAILURE - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - major=.`expr $current - $age` - versuffix="$major.$age.$revision" - # Darwin ld doesn't like 0 for these options... - minor_current=`expr $current + 1` - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - - freebsd-aout) - major=".$current" - versuffix=".$current.$revision"; - ;; - - freebsd-elf) - major=".$current" - versuffix=".$current"; - ;; - - irix | nonstopux) - if test "X$lt_irix_increment" = "Xno"; then - major=`expr $current - $age` - else - major=`expr $current - $age + 1` - fi - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring="$verstring_prefix$major.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test "$loop" -ne 0; do - iface=`expr $revision - $loop` - loop=`expr $loop - 1` - verstring="$verstring_prefix$major.$iface:$verstring" - done - - # Before this point, $major must not contain `.'. - major=.$major - versuffix="$major.$revision" - ;; - - linux) - major=.`expr $current - $age` - versuffix="$major.$age.$revision" - ;; - - osf) - major=.`expr $current - $age` - versuffix=".$current.$age.$revision" - verstring="$current.$age.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$age - while test "$loop" -ne 0; do - iface=`expr $current - $loop` - loop=`expr $loop - 1` - verstring="$verstring:${iface}.0" - done - - # Make executables depend on our current version. - verstring="$verstring:${current}.0" - ;; - - sunos) - major=".$current" - versuffix=".$current.$revision" - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 filesystems. - major=`expr $current - $age` - versuffix="-$major" - ;; - - *) - $echo "$modename: unknown library version type \`$version_type'" 1>&2 - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 - exit $EXIT_FAILURE - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring="0.0" - ;; - esac - if test "$need_version" = no; then - versuffix= - else - versuffix=".0.0" - fi - fi - - # Remove version info from name if versioning should be avoided - if test "$avoid_version" = yes && test "$need_version" = no; then - major= - versuffix= - verstring="" - fi - - # Check to see if the archive will have undefined symbols. - if test "$allow_undefined" = yes; then - if test "$allow_undefined_flag" = unsupported; then - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 - build_libtool_libs=no - build_old_libs=yes - fi - else - # Don't allow undefined symbols. - allow_undefined_flag="$no_undefined_flag" - fi - fi - - if test "$mode" != relink; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$echo "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - removelist="$removelist $p" - ;; - *) ;; - esac - done - if test -n "$removelist"; then - $show "${rm}r $removelist" - $run ${rm}r $removelist - fi - fi - - # Now set the variables for building old libraries. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs="$oldlibs $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` - # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` - # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles="$dlfiles" - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles="$dlprefiles" - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; - esac - done - - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C library is in the System framework - deplibs="$deplibs -framework System" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release="" - versuffix="" - major="" - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $rm conftest.c - cat > conftest.c </dev/null` - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null \ - | grep " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib="$potent_lib" - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` - case $potliblink in - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ - | ${SED} 10q \ - | $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $echo - $echo "*** Warning: linker path does not have real file for library $a_deplib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $echo "*** with $libname but no candidates were found. (...for file magic test)" - else - $echo "*** with $libname and none of the candidates passed a file format test" - $echo "*** using a file magic. Last file checked: $potlib" - fi - fi - else - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - fi - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` - for a_deplib in $deplibs; do - name=`expr $a_deplib : '-l\(.*\)'` - # If $name is empty we are operating on a -L argument. - if test -n "$name" && test "$name" != "0"; then - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval \\$echo \"$libname_spec\"` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib="$potent_lib" # see symlink-check above in file_magic test - if eval $echo \"$potent_lib\" 2>/dev/null \ - | ${SED} 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $echo - $echo "*** Warning: linker path does not have real file for library $a_deplib." - $echo "*** I have the capability to make that library automatically link in when" - $echo "*** you link to this library. But I can only do this if you have a" - $echo "*** shared version of the library, which you do not appear to have" - $echo "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $echo "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $echo "*** with $libname and none of the candidates passed a file format test" - $echo "*** using a regex pattern. Last file checked: $potlib" - fi - fi - else - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - fi - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs="" - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ - -e 's/ -[LR][^ ]*//g'` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - for i in $predeps $postdeps ; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` - done - fi - if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ - | grep . >/dev/null; then - $echo - if test "X$deplibs_check_method" = "Xnone"; then - $echo "*** Warning: inter-library dependencies are not supported in this platform." - else - $echo "*** Warning: inter-library dependencies are not known to be supported." - fi - $echo "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - fi - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` - ;; - esac - - if test "$droppeddeps" = yes; then - if test "$module" = yes; then - $echo - $echo "*** Warning: libtool could not satisfy all declared inter-library" - $echo "*** dependencies of module $libname. Therefore, libtool will create" - $echo "*** a static module, that should work as long as the dlopening" - $echo "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - $echo - $echo "*** However, this would only work if libtool was able to extract symbol" - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" - $echo "*** not find such a program. So, this module is probably useless." - $echo "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - $echo "*** The inter-library dependencies that have been dropped here will be" - $echo "*** automatically added whenever a program is linked with this library" - $echo "*** or is declared to -dlopen it." - - if test "$allow_undefined" = no; then - $echo - $echo "*** Since this library must not contain undefined symbols," - $echo "*** because either the platform does not support them or" - $echo "*** it was explicitly requested with -no-undefined," - $echo "*** libtool will only create a static version of it." - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - deplibs="$new_libs" - - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test "$build_libtool_libs" = yes; then - if test "$hardcode_into_libs" = yes; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - if test -n "$hardcode_libdir_flag_spec_ld"; then - case $archive_cmds in - *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; - *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; - esac - else - eval dep_rpath=\"$hardcode_libdir_flag_spec\" - fi - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - realname="$2" - shift; shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib="$output_objdir/$realname" - linknames= - for link - do - linknames="$linknames $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then - $show "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $run $rm $export_symbols - cmds=$export_symbols_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - if len=`expr "X$cmd" : ".*"` && - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then - $show "$cmd" - $run eval "$cmd" || exit $? - skipped_export=false - else - # The command line is too long to execute in one step. - $show "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS="$save_ifs" - if test -n "$export_symbols_regex"; then - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - $show "$mv \"${export_symbols}T\" \"$export_symbols\"" - $run eval '$mv "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - tmp_deplibs="$tmp_deplibs $test_deplib" - ;; - esac - done - deplibs="$tmp_deplibs" - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - else - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" - fi - fi - - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test "X$skipped_export" != "X:" && - len=`expr "X$test_cmds" : ".*" 2>/dev/null` && - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise. - $echo "creating reloadable object files..." - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - output_la=`$echo "X$output" | $Xsed -e "$basename"` - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - delfiles= - last_robj= - k=1 - output=$output_objdir/$output_la-${k}.$objext - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - eval test_cmds=\"$reload_cmds $objlist $last_robj\" - if test "X$objlist" = X || - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && - test "$len" -le "$max_cmd_len"; }; then - objlist="$objlist $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test "$k" -eq 1 ; then - # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" - else - # All subsequent reloadable object files will link in - # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" - fi - last_robj=$output_objdir/$output_la-${k}.$objext - k=`expr $k + 1` - output=$output_objdir/$output_la-${k}.$objext - objlist=$obj - len=1 - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" - - if ${skipped_export-false}; then - $show "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $run $rm $export_symbols - libobjs=$output - # Append the command to create the export file. - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" - fi - - # Set up a command to remove the reloadable object files - # after they are used. - i=0 - while test "$i" -lt "$k" - do - i=`expr $i + 1` - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" - done - - $echo "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs="$IFS"; IFS='~' - for cmd in $concat_cmds; do - IFS="$save_ifs" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - - # Append the command to remove the reloadable object files - # to the just-reset $cmds. - eval cmds=\"\$cmds~\$rm $delfiles\" - fi - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test "$module" = yes || test "$export_dynamic" = yes; then - # On all known operating systems, these are identical. - dlname="$soname" - fi - fi - ;; - - obj) - if test -n "$deplibs"; then - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 - fi - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 - fi - - if test -n "$rpath"; then - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 - fi - - if test -n "$xrpath"; then - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 - fi - - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 - fi - - case $output in - *.lo) - if test -n "$objs$old_deplibs"; then - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 - exit $EXIT_FAILURE - fi - libobj="$output" - obj=`$echo "X$output" | $Xsed -e "$lo2o"` - ;; - *) - libobj= - obj="$output" - ;; - esac - - # Delete the old objects. - $run $rm $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. - wl= - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` - else - gentop="$output_objdir/${obj}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # Create the old-style object. - reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test - - output="$obj" - cmds=$reload_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - $show "${rm}r $gentop" - $run ${rm}r $gentop - fi - - exit $EXIT_SUCCESS - fi - - if test "$build_libtool_libs" != yes; then - if test -n "$gentop"; then - $show "${rm}r $gentop" - $run ${rm}r $gentop - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $run eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - fi - - if test -n "$pic_flag" || test "$pic_mode" != default; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output="$libobj" - cmds=$reload_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - fi - - if test -n "$gentop"; then - $show "${rm}r $gentop" - $run ${rm}r $gentop - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; - esac - if test -n "$vinfo"; then - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 - fi - - if test -n "$release"; then - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 - fi - - if test "$preload" = yes; then - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && - test "$dlopen_self_static" = unknown; then - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." - fi - fi - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` - ;; - esac - - case $host in - *darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - if test "$tagname" = CXX ; then - compile_command="$compile_command ${wl}-bind_at_load" - finalize_command="$finalize_command ${wl}-bind_at_load" - fi - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - compile_deplibs="$new_libs" - - - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) - testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - *) dllsearchpath="$dllsearchpath:$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath="$rpath" - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath="$rpath" - - if test -n "$libobjs" && test "$build_old_libs" = yes; then - # Transform all the library objects into standard objects. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - fi - - dlsyms= - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - dlsyms="${outputname}S.c" - else - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 - fi - fi - - if test -n "$dlsyms"; then - case $dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist="$output_objdir/${outputname}.nm" - - $show "$rm $nlist ${nlist}S ${nlist}T" - $run $rm "$nlist" "${nlist}S" "${nlist}T" - - # Parse the name list into a source file. - $show "creating $output_objdir/$dlsyms" - - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -/* Prevent the only kind of declaration conflicts we can make. */ -#define lt_preloaded_symbols some_other_symbol - -/* External symbol declarations for the compiler. */\ -" - - if test "$dlself" = yes; then - $show "generating symbol list for \`$output'" - - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - for arg in $progfiles; do - $show "extracting global C symbols from \`$arg'" - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - $run eval '$mv "$nlist"T "$nlist"' - fi - - if test -n "$export_symbols_regex"; then - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - $run eval '$mv "$nlist"T "$nlist"' - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols="$output_objdir/$outputname.exp" - $run $rm $export_symbols - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* ) - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - else - $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - $run eval 'mv "$nlist"T "$nlist"' - case $host in - *cygwin* | *mingw* ) - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - fi - fi - - for arg in $dlprefiles; do - $show "extracting global C symbols from \`$arg'" - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` - $run eval '$echo ": $name " >> "$nlist"' - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" - done - - if test -z "$run"; then - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $mv "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if grep -v "^: " < "$nlist" | - if sort -k 3 /dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - grep -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' - else - $echo '/* NONE */' >> "$output_objdir/$dlsyms" - fi - - $echo >> "$output_objdir/$dlsyms" "\ - -#undef lt_preloaded_symbols - -#if defined (__STDC__) && __STDC__ -# define lt_ptr void * -#else -# define lt_ptr char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -" - - case $host in - *cygwin* | *mingw* ) - $echo >> "$output_objdir/$dlsyms" "\ -/* DATA imports from DLLs on WIN32 can't be const, because - runtime relocations are performed -- see ld's documentation - on pseudo-relocs */ -struct { -" - ;; - * ) - $echo >> "$output_objdir/$dlsyms" "\ -const struct { -" - ;; - esac - - - $echo >> "$output_objdir/$dlsyms" "\ - const char *name; - lt_ptr address; -} -lt_preloaded_symbols[] = -{\ -" - - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" - - $echo >> "$output_objdir/$dlsyms" "\ - {0, (lt_ptr) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - fi - - pic_flag_for_symtable= - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - case "$compile_command " in - *" -static "*) ;; - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; - esac;; - *-*-hpux*) - case "$compile_command " in - *" -static "*) ;; - *) pic_flag_for_symtable=" $pic_flag";; - esac - esac - - # Now compile the dynamic symbol file. - $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" - $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? - - # Clean up the generated files. - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" - - # Transform the symbol file into the correct name. - case $host in - *cygwin* | *mingw* ) - if test -f "$output_objdir/${outputname}.def" ; then - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` - else - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - fi - ;; - * ) - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` - ;; - esac - ;; - *) - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 - exit $EXIT_FAILURE - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` - fi - - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - # Replace the output file specification. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` - link_command="$compile_command$compile_rpath" - - # We have no uninstalled library dependencies, so finalize right now. - $show "$link_command" - $run eval "$link_command" - exit_status=$? - - # Delete the generated files. - if test -n "$dlsyms"; then - $show "$rm $output_objdir/${outputname}S.${objext}" - $run $rm "$output_objdir/${outputname}S.${objext}" - fi - - exit $exit_status - fi - - if test -n "$shlibpath_var"; then - # We should set the shlibpath_var - rpath= - for dir in $temp_rpath; do - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) - # Absolute path. - rpath="$rpath$dir:" - ;; - *) - # Relative path: add a thisdir entry. - rpath="$rpath\$thisdir/$dir:" - ;; - esac - done - temp_rpath="$rpath" - fi - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test "$no_install" = yes; then - # We don't need to create a wrapper script. - link_command="$compile_var$compile_command$compile_rpath" - # Replace the output file specification. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $run $rm $output - # Link the executable and exit - $show "$link_command" - $run eval "$link_command" || exit $? - exit $EXIT_SUCCESS - fi - - if test "$hardcode_action" = relink; then - # Fast installation is not supported - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 - $echo "$modename: \`$output' will be relinked during installation" 1>&2 - else - if test "$fast_install" != no; then - link_command="$finalize_var$compile_command$finalize_rpath" - if test "$fast_install" = yes; then - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` - else - # fast_install is set to needless - relink_command= - fi - else - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - fi - fi - - # Replace the output file specification. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname - - $show "$link_command" - $run eval "$link_command" || exit $? - - # Now create the wrapper script. - $show "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` - relink_command="$var=\"$var_value\"; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` - fi - - # Quote $echo for shipping. - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` - fi - - # Only actually do things if our run command is non-null. - if test -z "$run"; then - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - output_name=`basename $output` - output_path=`dirname $output` - cwrappersource="$output_path/$objdir/lt-$output_name.c" - cwrapper="$output_path/$output_name.exe" - $rm $cwrappersource $cwrapper - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - cat > $cwrappersource <> $cwrappersource<<"EOF" -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PATH_MAX) -# define LT_PATHMAX PATH_MAX -#elif defined(MAXPATHLEN) -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) -# define HAVE_DOS_BASED_FILE_SYSTEM -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free ((void *) stale); stale = 0; } \ -} while (0) - -/* -DDEBUG is fairly common in CFLAGS. */ -#undef DEBUG -#if defined DEBUGWRAPPER -# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) -#else -# define DEBUG(format, ...) -#endif - -const char *program_name = NULL; - -void * xmalloc (size_t num); -char * xstrdup (const char *string); -const char * base_name (const char *name); -char * find_executable(const char *wrapper); -int check_executable(const char *path); -char * strendzap(char *str, const char *pat); -void lt_fatal (const char *message, ...); - -int -main (int argc, char *argv[]) -{ - char **newargz; - int i; - - program_name = (char *) xstrdup (base_name (argv[0])); - DEBUG("(main) argv[0] : %s\n",argv[0]); - DEBUG("(main) program_name : %s\n",program_name); - newargz = XMALLOC(char *, argc+2); -EOF - - cat >> $cwrappersource <> $cwrappersource <<"EOF" - newargz[1] = find_executable(argv[0]); - if (newargz[1] == NULL) - lt_fatal("Couldn't find %s", argv[0]); - DEBUG("(main) found exe at : %s\n",newargz[1]); - /* we know the script has the same name, without the .exe */ - /* so make sure newargz[1] doesn't end in .exe */ - strendzap(newargz[1],".exe"); - for (i = 1; i < argc; i++) - newargz[i+1] = xstrdup(argv[i]); - newargz[argc+1] = NULL; - - for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" - return 127; -} - -void * -xmalloc (size_t num) -{ - void * p = (void *) malloc (num); - if (!p) - lt_fatal ("Memory exhausted"); - - return p; -} - -char * -xstrdup (const char *string) -{ - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL -; -} - -const char * -base_name (const char *name) -{ - const char *base; - -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - /* Skip over the disk name in MSDOS pathnames. */ - if (isalpha ((unsigned char)name[0]) && name[1] == ':') - name += 2; -#endif - - for (base = name; *name; name++) - if (IS_DIR_SEPARATOR (*name)) - base = name + 1; - return base; -} - -int -check_executable(const char * path) -{ - struct stat st; - - DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); - if ((!path) || (!*path)) - return 0; - - if ((stat (path, &st) >= 0) && - ( - /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ -#if defined (S_IXOTH) - ((st.st_mode & S_IXOTH) == S_IXOTH) || -#endif -#if defined (S_IXGRP) - ((st.st_mode & S_IXGRP) == S_IXGRP) || -#endif - ((st.st_mode & S_IXUSR) == S_IXUSR)) - ) - return 1; - else - return 0; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise */ -char * -find_executable (const char* wrapper) -{ - int has_slash = 0; - const char* p; - const char* p_next; - /* static buffer for getcwd */ - char tmp[LT_PATHMAX + 1]; - int tmp_len; - char* concat_name; - - DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper[0])) - { - concat_name = xstrdup (wrapper); - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - } -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char* path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char* q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR(*q)) - break; - p_len = q - p; - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen(tmp); - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_name[p_len] = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen(tmp); - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable(concat_name)) - return concat_name; - XFREE(concat_name); - return NULL; -} - -char * -strendzap(char *str, const char *pat) -{ - size_t len, patlen; - - assert(str != NULL); - assert(pat != NULL); - - len = strlen(str); - patlen = strlen(pat); - - if (patlen <= len) - { - str += len - patlen; - if (strcmp(str, pat) == 0) - *str = '\0'; - } - return str; -} - -static void -lt_error_core (int exit_status, const char * mode, - const char * message, va_list ap) -{ - fprintf (stderr, "%s: %s: ", program_name, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); - va_end (ap); -} -EOF - # we should really use a build-platform specific compiler - # here, but OTOH, the wrappers (shell script and this C one) - # are only useful if you want to execute the "real" binary. - # Since the "real" binary is built for $host, then this - # wrapper might as well be built for $host, too. - $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource - ;; - esac - $rm $output - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 - - $echo > $output "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variable: - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$echo are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - echo=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$echo works! - : - else - # Restart under the correct shell, and then maybe \$echo will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ -" - $echo >> $output "\ - - # Find the directory that this script lives in. - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $echo >> $output "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || \\ - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $mkdir \"\$progdir\" - else - $rm \"\$progdir/\$file\" - fi" - - $echo >> $output "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $echo \"\$relink_command_output\" >&2 - $rm \"\$progdir/\$file\" - exit $EXIT_FAILURE - fi - fi - - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $rm \"\$progdir/\$program\"; - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $rm \"\$progdir/\$file\" - fi" - else - $echo >> $output "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $echo >> $output "\ - - if test -f \"\$progdir/\$program\"; then" - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $echo >> $output "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` - - export $shlibpath_var -" - fi - - # fixup the dll searchpath if we need to. - if test -n "$dllsearchpath"; then - $echo >> $output "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - $echo >> $output "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2*) - $echo >> $output "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $echo >> $output "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $echo >> $output "\ - \$echo \"\$0: cannot exec \$program \$*\" - exit $EXIT_FAILURE - fi - else - # The program doesn't exist. - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$echo \"This script is just a wrapper for \$program.\" 1>&2 - $echo \"See the $PACKAGE documentation for more information.\" 1>&2 - exit $EXIT_FAILURE - fi -fi\ -" - chmod +x $output - fi - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - if test "$build_libtool_libs" = convenience; then - oldobjs="$libobjs_save" - addlibs="$convenience" - build_libtool_libs=no - else - if test "$build_libtool_libs" = module; then - oldobjs="$libobjs_save" - build_libtool_libs=no - else - oldobjs="$old_deplibs $non_pic_objects" - fi - addlibs="$old_convenience" - fi - - if test -n "$addlibs"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then - cmds=$old_archive_from_new_cmds - else - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - $echo "X$obj" | $Xsed -e 's%^.*/%%' - done | sort | sort -uc >/dev/null 2>&1); then - : - else - $echo "copying selected object files to avoid basename conflicts..." - - if test -z "$gentop"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - $show "${rm}r $gentop" - $run ${rm}r "$gentop" - $show "$mkdir $gentop" - $run $mkdir "$gentop" - exit_status=$? - if test "$exit_status" -ne 0 && test ! -d "$gentop"; then - exit $exit_status - fi - fi - - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` - case " $oldobjs " in - " ") oldobjs=$obj ;; - *[\ /]"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - counter=`expr $counter + 1` - case " $oldobjs " in - *[\ /]"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - $run ln "$obj" "$gentop/$newobj" || - $run cp "$obj" "$gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" - ;; - *) oldobjs="$oldobjs $obj" ;; - esac - done - fi - - eval cmds=\"$old_archive_cmds\" - - if len=`expr "X$cmds" : ".*"` && - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - $echo "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - for obj in $save_oldobjs - do - oldobjs="$objlist $obj" - objlist="$objlist $obj" - eval test_cmds=\"$old_archive_cmds\" - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && - test "$len" -le "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj" ; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" - objlist= - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test "X$oldobjs" = "X" ; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - eval cmd=\"$cmd\" - IFS="$save_ifs" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - done - - if test -n "$generated"; then - $show "${rm}r$generated" - $run ${rm}r$generated - fi - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test "$build_old_libs" = yes && old_library="$libname.$libext" - $show "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` - relink_command="$var=\"$var_value\"; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` - if test "$hardcode_automatic" = yes ; then - relink_command= - fi - - - # Only create the output if not a dry run. - if test -z "$run"; then - for installed in no yes; do - if test "$installed" = yes; then - if test -z "$install_libdir"; then - break - fi - output="$output_objdir/$outputname"i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - if test -z "$libdir"; then - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - newdependency_libs="$newdependency_libs $libdir/$name" - ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; - esac - done - dependency_libs="$newdependency_libs" - newdlfiles= - for lib in $dlfiles; do - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - if test -z "$libdir"; then - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - newdlfiles="$newdlfiles $libdir/$name" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - if test -z "$libdir"; then - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - exit $EXIT_FAILURE - fi - newdlprefiles="$newdlprefiles $libdir/$name" - done - dlprefiles="$newdlprefiles" - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlfiles="$newdlfiles $abs" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlprefiles="$newdlprefiles $abs" - done - dlprefiles="$newdlprefiles" - fi - $rm $output - # place dlname in correct position for cygwin - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; - esac - $echo > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test "$installed" = no && test "$need_relink" = yes; then - $echo >> $output "\ -relink_command=\"$relink_command\"" - fi - done - fi - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? - ;; - esac - exit $EXIT_SUCCESS - ;; - - # libtool install mode - install) - modename="$modename: install" - - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || - # Allow the use of GNU shtool's install command. - $echo "X$nonopt" | grep shtool > /dev/null; then - # Aesthetically quote it. - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - install_prog="$arg " - arg="$1" - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - install_prog="$install_prog$arg" - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=no - stripme= - for arg - do - if test -n "$dest"; then - files="$files $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=yes ;; - -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac - ;; - -g | -m | -o) prev=$arg ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` - case $arg in - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - arg="\"$arg\"" - ;; - esac - install_prog="$install_prog $arg" - done - - if test -z "$install_prog"; then - $echo "$modename: you must specify an install program" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - if test -n "$prev"; then - $echo "$modename: the \`$prev' option requires an argument" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - if test -z "$files"; then - if test -z "$dest"; then - $echo "$modename: no file or destination specified" 1>&2 - else - $echo "$modename: you must specify a destination" 1>&2 - fi - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Strip any trailing slash from the destination. - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=yes - if test "$isdir" = yes; then - destdir="$dest" - destname= - else - destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` - test "X$destdir" = "X$dest" && destdir=. - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` - - # Not a directory, so check to see that there is only one file specified. - set dummy $files - if test "$#" -gt 2; then - $echo "$modename: \`$dest' is not a directory" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - fi - case $destdir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - staticlibs="$staticlibs $file" - ;; - - *.la) - # Check to see that this really is a libtool archive. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : - else - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - library_names= - old_library= - relink_command= - # If there is no directory component, then add one. - case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; - esac - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; - esac - fi - - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ - test "X$dir" = "X$file/" && dir= - dir="$dir$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - if test "$inst_prefix_dir" = "$destdir"; then - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 - exit $EXIT_FAILURE - fi - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` - else - relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` - fi - - $echo "$modename: warning: relinking \`$file'" 1>&2 - $show "$relink_command" - if $run eval "$relink_command"; then : - else - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 - exit $EXIT_FAILURE - fi - fi - - # See the names of the shared library. - set dummy $library_names - if test -n "$2"; then - realname="$2" - shift - shift - - srcname="$realname" - test -n "$relink_command" && srcname="$realname"T - - # Install the shared library and build the symlinks. - $show "$install_prog $dir/$srcname $destdir/$realname" - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? - if test -n "$stripme" && test -n "$striplib"; then - $show "$striplib $destdir/$realname" - $run eval "$striplib $destdir/$realname" || exit $? - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try `ln -sf' first, because the `ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - if test "$linkname" != "$realname"; then - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" - fi - done - fi - - # Do each command in the postinstall commands. - lib="$destdir/$realname" - cmds=$postinstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - fi - - # Install the pseudo-library for information purposes. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - instname="$dir/$name"i - $show "$install_prog $instname $destdir/$name" - $run eval "$install_prog $instname $destdir/$name" || exit $? - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - destfile="$destdir/$destfile" - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` - ;; - *.$objext) - staticdest="$destfile" - destfile= - ;; - *) - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - # Install the libtool object if requested. - if test -n "$destfile"; then - $show "$install_prog $file $destfile" - $run eval "$install_prog $file $destfile" || exit $? - fi - - # Install the old object if enabled. - if test "$build_old_libs" = yes; then - # Deduce the name of the old-style object file. - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` - - $show "$install_prog $staticobj $staticdest" - $run eval "$install_prog \$staticobj \$staticdest" || exit $? - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - destfile="$destdir/$destfile" - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext="" - case $file in - *.exe) - if test ! -f "$file"; then - file=`$echo $file|${SED} 's,.exe$,,'` - stripped_ext=".exe" - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin*|*mingw*) - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` - ;; - *) - wrapper=$file - ;; - esac - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then - notinst_deplibs= - relink_command= - - # Note that it is not necessary on cygwin/mingw to append a dot to - # foo even if both foo and FILE.exe exist: automatic-append-.exe - # behavior happens only for exec(3), not for open(2)! Also, sourcing - # `FILE.' does not work on cygwin managed mounts. - # - # If there is no directory component, then add one. - case $wrapper in - */* | *\\*) . ${wrapper} ;; - *) . ./${wrapper} ;; - esac - - # Check the variables that should have been set. - if test -z "$notinst_deplibs"; then - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 - exit $EXIT_FAILURE - fi - - finalize=yes - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - # If there is no directory component, then add one. - case $lib in - */* | *\\*) . $lib ;; - *) . ./$lib ;; - esac - fi - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 - finalize=no - fi - done - - relink_command= - # Note that it is not necessary on cygwin/mingw to append a dot to - # foo even if both foo and FILE.exe exist: automatic-append-.exe - # behavior happens only for exec(3), not for open(2)! Also, sourcing - # `FILE.' does not work on cygwin managed mounts. - # - # If there is no directory component, then add one. - case $wrapper in - */* | *\\*) . ${wrapper} ;; - *) . ./${wrapper} ;; - esac - - outputname= - if test "$fast_install" = no && test -n "$relink_command"; then - if test "$finalize" = yes && test -z "$run"; then - tmpdir=`func_mktempdir` - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` - outputname="$tmpdir/$file" - # Replace the output file specification. - relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` - - $show "$relink_command" - if $run eval "$relink_command"; then : - else - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 - ${rm}r "$tmpdir" - continue - fi - file="$outputname" - else - $echo "$modename: warning: cannot relink \`$file'" 1>&2 - fi - else - # Install the binary that we compiled earlier. - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` - ;; - esac - ;; - esac - $show "$install_prog$stripme $file $destfile" - $run eval "$install_prog\$stripme \$file \$destfile" || exit $? - test -n "$outputname" && ${rm}r "$tmpdir" - ;; - esac - done - - for file in $staticlibs; do - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - - # Set up the ranlib parameters. - oldlib="$destdir/$name" - - $show "$install_prog $file $oldlib" - $run eval "$install_prog \$file \$oldlib" || exit $? - - if test -n "$stripme" && test -n "$old_striplib"; then - $show "$old_striplib $oldlib" - $run eval "$old_striplib $oldlib" || exit $? - fi - - # Do each command in the postinstall commands. - cmds=$old_postinstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || exit $? - done - IFS="$save_ifs" - done - - if test -n "$future_libdirs"; then - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 - fi - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - test -n "$run" && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi - ;; - - # libtool finish mode - finish) - modename="$modename: finish" - libdirs="$nonopt" - admincmds= - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - cmds=$finish_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" || admincmds="$admincmds - $cmd" - done - IFS="$save_ifs" - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $run eval "$cmds" || admincmds="$admincmds - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - test "$show" = : && exit $EXIT_SUCCESS - - $echo "X----------------------------------------------------------------------" | $Xsed - $echo "Libraries have been installed in:" - for libdir in $libdirs; do - $echo " $libdir" - done - $echo - $echo "If you ever happen to want to link against installed libraries" - $echo "in a given directory, LIBDIR, you must either use libtool, and" - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" - $echo "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" - $echo " during execution" - fi - if test -n "$runpath_var"; then - $echo " - add LIBDIR to the \`$runpath_var' environment variable" - $echo " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $echo " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $echo " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $echo - $echo "See any operating system documentation about shared libraries for" - $echo "more information, such as the ld(1) and ld.so(8) manual pages." - $echo "X----------------------------------------------------------------------" | $Xsed - exit $EXIT_SUCCESS - ;; - - # libtool execute mode - execute) - modename="$modename: execute" - - # The first argument is the command name. - cmd="$nonopt" - if test -z "$cmd"; then - $echo "$modename: you must specify a COMMAND" 1>&2 - $echo "$help" - exit $EXIT_FAILURE - fi - - # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do - if test ! -f "$file"; then - $echo "$modename: \`$file' is not a file" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - dir= - case $file in - *.la) - # Check to see that this really is a libtool archive. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : - else - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Read the libtool library. - dlname= - library_names= - - # If there is no directory component, then add one. - case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; - esac - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" - continue - fi - - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` - test "X$dir" = "X$file" && dir=. - - if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" - else - if test ! -f "$dir/$dlname"; then - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 - exit $EXIT_FAILURE - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` - test "X$dir" = "X$file" && dir=. - ;; - - *) - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir="$absdir" - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic="$magic" - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -*) ;; - *) - # Do a test to see if this is really a libtool program. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - # If there is no directory component, then add one. - case $file in - */* | *\\*) . $file ;; - *) . ./$file ;; - esac - - # Transform arg to wrapped name. - file="$progdir/$program" - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` - args="$args \"$file\"" - done - - if test -z "$run"; then - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd="\$cmd$args" - else - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" - $echo "export $shlibpath_var" - fi - $echo "$cmd$args" - exit $EXIT_SUCCESS - fi - ;; - - # libtool clean and uninstall mode - clean | uninstall) - modename="$modename: $mode" - rm="$nonopt" - files= - rmforce= - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - for arg - do - case $arg in - -f) rm="$rm $arg"; rmforce=yes ;; - -*) rm="$rm $arg" ;; - *) files="$files $arg" ;; - esac - done - - if test -z "$rm"; then - $echo "$modename: you must specify an RM program" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - fi - - rmdirs= - - origobjdir="$objdir" - for file in $files; do - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` - if test "X$dir" = "X$file"; then - dir=. - objdir="$origobjdir" - else - objdir="$dir/$origobjdir" - fi - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` - test "$mode" = uninstall && objdir="$dir" - - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then - case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if (test -L "$file") >/dev/null 2>&1 \ - || (test -h "$file") >/dev/null 2>&1 \ - || test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif test "$rmforce" = yes; then - continue - fi - - rmfiles="$file" - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - . $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" - done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" - - case "$mode" in - clean) - case " $library_names " in - # " " in the beginning catches empty $dlname - *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; - esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - cmds=$postuninstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" - if test "$?" -ne 0 && test "$rmforce" != yes; then - exit_status=1 - fi - done - IFS="$save_ifs" - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - cmds=$old_postuninstall_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $show "$cmd" - $run eval "$cmd" - if test "$?" -ne 0 && test "$rmforce" != yes; then - exit_status=1 - fi - done - IFS="$save_ifs" - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - - # Read the .lo file - . $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" \ - && test "$pic_object" != none; then - rmfiles="$rmfiles $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" \ - && test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" - fi - fi - ;; - - *) - if test "$mode" = clean ; then - noexename=$name - case $file in - *.exe) - file=`$echo $file|${SED} 's,.exe$,,'` - noexename=`$echo $name|${SED} 's,.exe$,,'` - # $file with .exe has already been added to rmfiles, - # add $file without .exe - rmfiles="$rmfiles $file" - ;; - esac - # Do a test to see if this is a libtool program. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then - relink_command= - . $dir/$noexename - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" - if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" - fi - if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" - fi - fi - fi - ;; - esac - $show "$rm $rmfiles" - $run $rm $rmfiles || exit_status=1 - done - objdir="$origobjdir" - - # Try to remove the ${objdir}s in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - $show "rmdir $dir" - $run rmdir $dir >/dev/null 2>&1 - fi - done - - exit $exit_status - ;; - - "") - $echo "$modename: you must specify a MODE" 1>&2 - $echo "$generic_help" 1>&2 - exit $EXIT_FAILURE - ;; - esac - - if test -z "$exec_cmd"; then - $echo "$modename: invalid operation mode \`$mode'" 1>&2 - $echo "$generic_help" 1>&2 - exit $EXIT_FAILURE - fi -fi # test -z "$show_help" - -if test -n "$exec_cmd"; then - eval exec $exec_cmd - exit $EXIT_FAILURE -fi - -# We need to display help for each of the modes. -case $mode in -"") $echo \ -"Usage: $modename [OPTION]... [MODE-ARG]... - -Provide generalized library-building support services. - - --config show all configuration variables - --debug enable verbose shell tracing --n, --dry-run display commands without modifying any files - --features display basic configuration information and exit - --finish same as \`--mode=finish' - --help display this help message and exit - --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] - --quiet same as \`--silent' - --silent don't print informational messages - --tag=TAG use configuration variables from tag TAG - --version print version information - -MODE must be one of the following: - - clean remove files from the build directory - compile compile a source file into a libtool object - execute automatically set library path, then run a program - finish complete the installation of libtool libraries - install install libraries or executables - link create a library or an executable - uninstall remove libraries from an installed directory - -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for -a more detailed description of MODE. - -Report bugs to ." - exit $EXIT_SUCCESS - ;; - -clean) - $echo \ -"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - -compile) - $echo \ -"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -prefer-pic try to building PIC objects only - -prefer-non-pic try to building non-PIC objects only - -static always build a \`.o' file suitable for static linking - -COMPILE-COMMAND is a command to be used in creating a \`standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix \`.c' with the -library object suffix, \`.lo'." - ;; - -execute) - $echo \ -"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to \`-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - -finish) - $echo \ -"Usage: $modename [OPTION]... --mode=finish [LIBDIR]... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the \`--dry-run' option if you just want to see what would be executed." - ;; - -install) - $echo \ -"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the \`install' or \`cp' program. - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - -link) - $echo \ -"Usage: $modename [OPTION]... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE Use a list of object files found in FILE to specify objects - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] - -All other options (arguments beginning with \`-') are ignored. - -Every other argument is treated as a filename. Files ending in \`.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -only library objects (\`.lo' files) may be specified, and \`-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -using \`ar' and \`ranlib', or on Windows using \`lib'. - -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -is created, otherwise an executable program is created." - ;; - -uninstall) - $echo \ -"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - -*) - $echo "$modename: invalid operation mode \`$mode'" 1>&2 - $echo "$help" 1>&2 - exit $EXIT_FAILURE - ;; -esac - -$echo -$echo "Try \`$modename --help' for more information about other modes." - -exit $? - -# The TAGs below are defined such that we never get into a situation -# in which we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -disable_libs=shared -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -disable_libs=static -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End: diff --git a/libs/cairomm/m4/ax_boost_base.m4 b/libs/cairomm/m4/ax_boost_base.m4 deleted file mode 100644 index 575a51ef6b..0000000000 --- a/libs/cairomm/m4/ax_boost_base.m4 +++ /dev/null @@ -1,198 +0,0 @@ -##### http://autoconf-archive.cryp.to/ax_boost_base.html -# -# SYNOPSIS -# -# AX_BOOST_BASE([MINIMUM-VERSION]) -# -# DESCRIPTION -# -# Test for the Boost C++ libraries of a particular version (or newer) -# -# If no path to the installed boost library is given the macro -# searchs under /usr, /usr/local, and /opt, and evaluates the -# $BOOST_ROOT environment variable. Further documentation is -# available at . -# -# This macro calls: -# -# AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS) -# -# And sets: -# -# HAVE_BOOST -# -# LAST MODIFICATION -# -# 2006-12-28 -# -# COPYLEFT -# -# Copyright (c) 2006 Thomas Porschberg -# -# Copying and distribution of this file, with or without -# modification, are permitted in any medium without royalty provided -# the copyright notice and this notice are preserved. - -AC_DEFUN([AX_BOOST_BASE], -[ -AC_ARG_WITH([boost], - AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is No) - it is possible to specify the root directory for boost (optional)]), - [ - if test "$withval" = "no"; then - want_boost="no" - elif test "$withval" = "yes"; then - want_boost="yes" - ac_boost_path="" - else - want_boost="yes" - ac_boost_path="$withval" - fi - ], - [want_boost="yes"]) - -if test "x$want_boost" = "xyes"; then - boost_lib_version_req=ifelse([$1], ,1.20.0,$1) - boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'` - boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'` - boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'` - boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` - if test "x$boost_lib_version_req_sub_minor" = "x" ; then - boost_lib_version_req_sub_minor="0" - fi - WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` - AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req) - succeeded=no - - dnl first we check the system location for boost libraries - dnl this location ist chosen if boost libraries are installed with the --layout=system option - dnl or if you install boost with RPM - if test "$ac_boost_path" != ""; then - BOOST_LDFLAGS="-L$ac_boost_path/lib" - BOOST_CPPFLAGS="-I$ac_boost_path/include" - else - for ac_boost_path_tmp in /usr /usr/local /opt ; do - if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then - BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib" - BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" - break; - fi - done - fi - - CPPFLAGS_SAVED="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - - LDFLAGS_SAVED="$LDFLAGS" - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS - - AC_LANG_PUSH(C++) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - @%:@include - ]], [[ - #if BOOST_VERSION >= $WANT_BOOST_VERSION - // Everything is okay - #else - # error Boost version is too old - #endif - ]])],[ - AC_MSG_RESULT(yes) - succeeded=yes - found_system=yes - ],[ - ]) - AC_LANG_POP([C++]) - - - - dnl if we found no boost with system layout we search for boost libraries - dnl built and installed without the --layout=system option or for a staged(not installed) version - if test "x$succeeded" != "xyes"; then - _version=0 - if test "$ac_boost_path" != ""; then - BOOST_LDFLAGS="-L$ac_boost_path/lib" - if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then - for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do - _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` - V_CHECK=`expr $_version_tmp \> $_version` - if test "$V_CHECK" = "1" ; then - _version=$_version_tmp - fi - VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` - BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" - done - fi - else - for ac_boost_path in /usr /usr/local /opt ; do - if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then - for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do - _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` - V_CHECK=`expr $_version_tmp \> $_version` - if test "$V_CHECK" = "1" ; then - _version=$_version_tmp - best_path=$ac_boost_path - fi - done - fi - done - - VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` - BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" - BOOST_LDFLAGS="-L$best_path/lib" - - if test "x$BOOST_ROOT" != "x"; then - if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then - version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'` - stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` - stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'` - V_CHECK=`expr $stage_version_shorten \>\= $_version` - if test "$V_CHECK" = "1" ; then - AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT) - BOOST_CPPFLAGS="-I$BOOST_ROOT" - BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib" - fi - fi - fi - fi - - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS - - AC_LANG_PUSH(C++) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - @%:@include - ]], [[ - #if BOOST_VERSION >= $WANT_BOOST_VERSION - // Everything is okay - #else - # error Boost version is too old - #endif - ]])],[ - AC_MSG_RESULT(yes) - succeeded=yes - found_system=yes - ],[ - ]) - AC_LANG_POP([C++]) - fi - - if test "$succeeded" != "yes" ; then - if test "$_version" = "0" ; then - AC_MSG_ERROR([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.]]) - else - AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).]) - fi - else - AC_SUBST(BOOST_CPPFLAGS) - AC_SUBST(BOOST_LDFLAGS) - AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available]) - fi - - CPPFLAGS="$CPPFLAGS_SAVED" - LDFLAGS="$LDFLAGS_SAVED" -fi - -]) diff --git a/libs/cairomm/m4/ax_boost_unit_test_framework.m4 b/libs/cairomm/m4/ax_boost_unit_test_framework.m4 deleted file mode 100644 index 11e5d8d5a3..0000000000 --- a/libs/cairomm/m4/ax_boost_unit_test_framework.m4 +++ /dev/null @@ -1,138 +0,0 @@ -##### http://autoconf-archive.cryp.to/ax_boost_unit_test_framework.html -# -# SYNOPSIS -# -# AX_BOOST_UNIT_TEST_FRAMEWORK -# -# DESCRIPTION -# -# Test for Unit_Test_Framework library from the Boost C++ libraries. -# The macro requires a preceding call to AX_BOOST_BASE. Further -# documentation is available at -# . -# -# This macro calls: -# -# AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB) -# -# And sets: -# -# HAVE_BOOST_UNIT_TEST_FRAMEWORK -# -# LAST MODIFICATION -# -# 2006-12-28 -# -# COPYLEFT -# -# Copyright (c) 2006 Thomas Porschberg -# -# Copying and distribution of this file, with or without -# modification, are permitted in any medium without royalty provided -# the copyright notice and this notice are preserved. - -AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], -[ - AC_ARG_WITH([boost-unit-test-framework], - AS_HELP_STRING([--with-boost-unit-test-framework@<:@=special-lib@:>@], - [use the Unit_Test_Framework library from boost - it is possible to specify a certain library for the linker - e.g. --with-boost-unit-test-framework=boost_unit_test_framework-gcc ]), - [ - if test "$withval" = "no"; then - want_boost="no" - elif test "$withval" = "yes"; then - want_boost="yes" - ax_boost_user_unit_test_framework_lib="" - else - want_boost="yes" - ax_boost_user_unit_test_framework_lib="$withval" - fi - ], - [want_boost="yes"] - ) - - if test "x$want_boost" = "xyes"; then - AC_REQUIRE([AC_PROG_CC]) - CPPFLAGS_SAVED="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - - LDFLAGS_SAVED="$LDFLAGS" - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS - - AC_CACHE_CHECK(whether the Boost::Unit_Test_Framework library is available, - ax_cv_boost_unit_test_framework, - [AC_LANG_PUSH([C++]) - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include ]], - [[using boost::unit_test::test_suite; - test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); return 0;]]), - ax_cv_boost_unit_test_framework=yes, ax_cv_boost_unit_test_framework=no) - AC_LANG_POP([C++]) - ]) - if test "x$ax_cv_boost_unit_test_framework" = "xyes"; then - AC_DEFINE(HAVE_BOOST_UNIT_TEST_FRAMEWORK,,[define if the Boost::Unit_Test_Framework library is available]) - BN=boost_unit_test_framework - if test "x$ax_boost_user_unit_test_framework_lib" = "x"; then - saved_ldflags="${LDFLAGS}" - for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \ - lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \ - $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do - LDFLAGS="${LDFLAGS} -l$ax_lib" - AC_CACHE_CHECK(Boost::UnitTestFramework library linkage, - ax_cv_boost_unit_test_framework_link, - [AC_LANG_PUSH([C++]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include - using boost::unit_test::test_suite; - test_suite* init_unit_test_suite( int argc, char * argv[] ) { - test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); - return test; - } - ]], - [[ return 0;]])], - link_unit_test_framework="yes",link_unit_test_framework="no") - AC_LANG_POP([C++]) - ]) - LDFLAGS="${saved_ldflags}" - - if test "x$link_unit_test_framework" = "xyes"; then - BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" - AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB) - break - fi - done - else - saved_ldflags="${LDFLAGS}" - for ax_lib in $ax_boost_user_unit_test_framework_lib $BN-$ax_boost_user_unit_test_framework_lib; do - LDFLAGS="${LDFLAGS} -l$ax_lib" - AC_CACHE_CHECK(Boost::UnitTestFramework library linkage, - ax_cv_boost_unit_test_framework_link, - [AC_LANG_PUSH([C++]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include - using boost::unit_test::test_suite; - test_suite* init_unit_test_suite( int argc, char * argv[] ) { - test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); - return test; - } - ]], - [[ return 0;]])], - link_unit_test_framework="yes",link_unit_test_framework="no") - AC_LANG_POP([C++]) - ]) - LDFLAGS="${saved_ldflags}" - if test "x$link_unit_test_framework" = "xyes"; then - BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" - AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB) - break - fi - done - fi - if test "x$link_unit_test_framework" = "xno"; then - AC_MSG_ERROR(Could not link against $ax_lib !) - fi - fi - - CPPFLAGS="$CPPFLAGS_SAVED" - LDFLAGS="$LDFLAGS_SAVED" - fi -]) diff --git a/libs/cairomm/m4/reduced.m4 b/libs/cairomm/m4/reduced.m4 deleted file mode 100644 index 5a941fc148..0000000000 --- a/libs/cairomm/m4/reduced.m4 +++ /dev/null @@ -1,20 +0,0 @@ -## CAIROMM_ARG_ENABLE_API_EXCEPTIONS() -## -## Provide the --enable-api-exceptions configure argument, enabled -## by default. -## -AC_DEFUN([CAIROMM_ARG_ENABLE_API_EXCEPTIONS], -[ - AC_ARG_ENABLE([api-exceptions], - [ --enable-api-exceptions Build exceptions API. - [[default=yes]]], - [cairomm_enable_api_exceptions="$enableval"], - [cairomm_enable_api_exceptions='yes']) - - if test "x$cairomm_enable_api_exceptions" = "xyes"; then - { - AC_DEFINE([CAIROMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given]) - } - fi -]) - diff --git a/libs/cairomm/missing b/libs/cairomm/missing deleted file mode 100755 index 894e786e16..0000000000 --- a/libs/cairomm/missing +++ /dev/null @@ -1,360 +0,0 @@ -#! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2005-06-08.21 - -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# Originally by Fran,cois Pinard , 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 -fi - -run=: - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - -case "$1" in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails - -Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch] - -Send bug reports to ." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" - exit 1 - ;; - -esac - -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). -case "$1" in - lex|yacc) - # Not GNU programs, they don't have --version. - ;; - - tar) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case "$1" in - aclocal*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case "$f" in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te) - echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison|yacc) - echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then - eval LASTARG="\${$#}" - case "$LASTARG" in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if [ ! -f y.tab.h ]; then - echo >y.tab.h - fi - if [ ! -f y.tab.c ]; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex|flex) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if [ $# -ne 1 ]; then - eval LASTARG="\${$#}" - case "$LASTARG" in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if [ ! -f lex.yy.c ]; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit 1 - fi - ;; - - makeinfo) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - tar) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case "$firstarg" in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case "$firstarg" in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/libs/cairomm/tests/Makefile.am b/libs/cairomm/tests/Makefile.am deleted file mode 100644 index 366ccfee51..0000000000 --- a/libs/cairomm/tests/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -if AUTOTESTS - -# build automated 'tests' -noinst_PROGRAMS = test-context -test_context_SOURCES=test-context.cc -TESTS=test-context - -else - -#don't build anything -TESTS= - -endif - -#Where to find the header files needed by the source files: -INCLUDES = -I$(top_srcdir) @CAIROMM_CFLAGS@ - -#The libraries that the executable needs to link against: -LIBS = $(top_builddir)/cairomm/libcairomm-1.0.la @LIBS@ @CAIROMM_LIBS@ @BOOST_UNIT_TEST_FRAMEWORK_LIB@ diff --git a/libs/cairomm/tests/Makefile.in b/libs/cairomm/tests/Makefile.in deleted file mode 100644 index 0d386a5960..0000000000 --- a/libs/cairomm/tests/Makefile.in +++ /dev/null @@ -1,532 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -@AUTOTESTS_TRUE@noinst_PROGRAMS = test-context$(EXEEXT) -subdir = tests -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \ - $(top_srcdir)/m4/ax_boost_unit_test_framework.m4 \ - $(top_srcdir)/m4/reduced.m4 $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/cairomm/cairommconfig.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(noinst_PROGRAMS) -am__test_context_SOURCES_DIST = test-context.cc -@AUTOTESTS_TRUE@am_test_context_OBJECTS = test-context.$(OBJEXT) -test_context_OBJECTS = $(am_test_context_OBJECTS) -test_context_LDADD = $(LDADD) -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/cairomm -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(test_context_SOURCES) -DIST_SOURCES = $(am__test_context_SOURCES_DIST) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AUTOTESTS_FALSE = @AUTOTESTS_FALSE@ -AUTOTESTS_TRUE = @AUTOTESTS_TRUE@ -AWK = @AWK@ -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ -BOOST_LDFLAGS = @BOOST_LDFLAGS@ -BOOST_UNIT_TEST_FRAMEWORK_LIB = @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -CAIROMM_CFLAGS = @CAIROMM_CFLAGS@ -CAIROMM_LIBS = @CAIROMM_LIBS@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DLLTOOL = @DLLTOOL@ -DOCS_SUBDIR = @DOCS_SUBDIR@ -DOT = @DOT@ -DOXYGEN = @DOXYGEN@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@ -GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@ -GENERIC_MICRO_VERSION = @GENERIC_MICRO_VERSION@ -GENERIC_MINOR_VERSION = @GENERIC_MINOR_VERSION@ -GENERIC_VERSION = @GENERIC_VERSION@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ - -#The libraries that the executable needs to link against: -LIBS = $(top_builddir)/cairomm/libcairomm-1.0.la @LIBS@ @CAIROMM_LIBS@ @BOOST_UNIT_TEST_FRAMEWORK_LIB@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OS_WIN32_FALSE = @OS_WIN32_FALSE@ -OS_WIN32_TRUE = @OS_WIN32_TRUE@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -PLATFORM_WIN32_FALSE = @PLATFORM_WIN32_FALSE@ -PLATFORM_WIN32_TRUE = @PLATFORM_WIN32_TRUE@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -@AUTOTESTS_TRUE@test_context_SOURCES = test-context.cc - -#don't build anything -@AUTOTESTS_FALSE@TESTS = -@AUTOTESTS_TRUE@TESTS = test-context - -#Where to find the header files needed by the source files: -INCLUDES = -I$(top_srcdir) @CAIROMM_CFLAGS@ -all: all-am - -.SUFFIXES: -.SUFFIXES: .cc .lo .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu tests/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -clean-noinstPROGRAMS: - @list='$(noinst_PROGRAMS)'; for p in $$list; do \ - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f $$p $$f"; \ - rm -f $$p $$f ; \ - done -test-context$(EXEEXT): $(test_context_OBJECTS) $(test_context_DEPENDENCIES) - @rm -f test-context$(EXEEXT) - $(CXXLINK) $(test_context_LDFLAGS) $(test_context_OBJECTS) $(test_context_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-context.Po@am__quote@ - -.cc.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -check-TESTS: $(TESTS) - @failed=0; all=0; xfail=0; xpass=0; skip=0; \ - srcdir=$(srcdir); export srcdir; \ - list='$(TESTS)'; \ - if test -n "$$list"; then \ - for tst in $$list; do \ - if test -f ./$$tst; then dir=./; \ - elif test -f $$tst; then dir=; \ - else dir="$(srcdir)/"; fi; \ - if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *" $$tst "*) \ - xpass=`expr $$xpass + 1`; \ - failed=`expr $$failed + 1`; \ - echo "XPASS: $$tst"; \ - ;; \ - *) \ - echo "PASS: $$tst"; \ - ;; \ - esac; \ - elif test $$? -ne 77; then \ - all=`expr $$all + 1`; \ - case " $(XFAIL_TESTS) " in \ - *" $$tst "*) \ - xfail=`expr $$xfail + 1`; \ - echo "XFAIL: $$tst"; \ - ;; \ - *) \ - failed=`expr $$failed + 1`; \ - echo "FAIL: $$tst"; \ - ;; \ - esac; \ - else \ - skip=`expr $$skip + 1`; \ - echo "SKIP: $$tst"; \ - fi; \ - done; \ - if test "$$failed" -eq 0; then \ - if test "$$xfail" -eq 0; then \ - banner="All $$all tests passed"; \ - else \ - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ - fi; \ - else \ - if test "$$xpass" -eq 0; then \ - banner="$$failed of $$all tests failed"; \ - else \ - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ - fi; \ - fi; \ - dashes="$$banner"; \ - skipped=""; \ - if test "$$skip" -ne 0; then \ - skipped="($$skip tests were not run)"; \ - test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ - dashes="$$skipped"; \ - fi; \ - report=""; \ - if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ - report="Please report to $(PACKAGE_BUGREPORT)"; \ - test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ - dashes="$$report"; \ - fi; \ - dashes=`echo "$$dashes" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - test -z "$$skipped" || echo "$$skipped"; \ - test -z "$$report" || echo "$$report"; \ - echo "$$dashes"; \ - test "$$failed" -eq 0; \ - else :; fi - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) check-TESTS -check: check-am -all-am: Makefile $(PROGRAMS) -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ - clean-generic clean-libtool clean-noinstPROGRAMS ctags \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-man install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/cairomm/tests/test-context.cc b/libs/cairomm/tests/test-context.cc deleted file mode 100644 index 9cfaec2f01..0000000000 --- a/libs/cairomm/tests/test-context.cc +++ /dev/null @@ -1,349 +0,0 @@ -// vim: ts=2 sw=2 et -/* - * These tests are of limited usefulness. In fact, you might even say that - * they're not really tests at all. But I felt that it would be useful to have - * some basic usage of most functions just to verify that things compile and - * work generally - */ - -#include -#include -#include -#include -using namespace boost::unit_test; -#include - -#define CREATE_CONTEXT(varname) \ - Cairo::RefPtr surf = Cairo::ImageSurface::create(Cairo::FORMAT_ARGB32, 10, 10); \ - Cairo::RefPtr cr = Cairo::Context::create(surf); - -void -test_dashes () -{ - CREATE_CONTEXT(cr); - std::valarray dash_array(4); - dash_array[0] = 0.1; - dash_array[1] = 0.2; - dash_array[2] = 0.04; - dash_array[3] = 0.31; - cr->set_dash(dash_array, 0.54); - - std::vector get_array; - double get_offset; - cr->get_dash (get_array, get_offset); - BOOST_CHECK_EQUAL (dash_array[0], get_array[0]); - BOOST_CHECK_EQUAL (dash_array[1], get_array[1]); - BOOST_CHECK_EQUAL (dash_array[2], get_array[2]); - BOOST_CHECK_EQUAL (dash_array[3], get_array[3]); - BOOST_CHECK_EQUAL (0.54, get_offset); - - std::vector dash_vect(4); - dash_vect[0] = 0.5; - dash_vect[1] = 0.25; - dash_vect[2] = 0.93; - dash_vect[3] = 1.31; - cr->set_dash(dash_vect, 0.4); - - cr->get_dash (get_array, get_offset); - BOOST_CHECK_EQUAL (dash_vect[0], get_array[0]); - BOOST_CHECK_EQUAL (dash_vect[1], get_array[1]); - BOOST_CHECK_EQUAL (dash_vect[2], get_array[2]); - BOOST_CHECK_EQUAL (dash_vect[3], get_array[3]); - BOOST_CHECK_EQUAL (0.4, get_offset); - - cr->unset_dash (); - cr->get_dash (get_array, get_offset); - BOOST_CHECK (get_array.empty ()); -} - -void -test_save_restore () -{ - CREATE_CONTEXT(cr); - cr->set_line_width (2.3); - cr->save (); - cr->set_line_width (4.0); - BOOST_CHECK_EQUAL (4.0, cr->get_line_width ()); - cr->restore (); - BOOST_CHECK_EQUAL (2.3, cr->get_line_width ()); -} - -void -test_operator () -{ - CREATE_CONTEXT(cr); - cr->set_operator (Cairo::OPERATOR_ATOP); - BOOST_CHECK_EQUAL (Cairo::OPERATOR_ATOP, cr->get_operator ()); - cr->set_operator (Cairo::OPERATOR_CLEAR); - BOOST_CHECK_EQUAL (Cairo::OPERATOR_CLEAR, cr->get_operator ()); -} - -void -test_source () -{ - CREATE_CONTEXT(cr); - Cairo::RefPtr solid_pattern = - Cairo::SolidPattern::create_rgb (1.0, 0.5, 0.25); - Cairo::RefPtr gradient_pattern = - Cairo::LinearGradient::create (0.0, 0.0, 1.0, 1.0); - - cr->set_source (solid_pattern); - { - Cairo::RefPtr retrieved_solid = - Cairo::RefPtr::cast_dynamic(cr->get_source ()); - BOOST_REQUIRE (retrieved_solid); - double r, g, b, a; - retrieved_solid->get_rgba (r, g, b, a); - BOOST_CHECK_EQUAL (1.0, r); - BOOST_CHECK_EQUAL (0.5, g); - BOOST_CHECK_EQUAL (0.25, b); - - // now try for const objects.. - Cairo::RefPtr cr2 = cr; - Cairo::RefPtr retrieved_solid2 = - Cairo::RefPtr::cast_dynamic(cr2->get_source ()); - BOOST_REQUIRE (retrieved_solid2); - } - - cr->set_source (gradient_pattern); - { - Cairo::RefPtr retrieved_linear = - Cairo::RefPtr::cast_dynamic(cr->get_source ()); - BOOST_REQUIRE (retrieved_linear); - double x0, x1, y0, y1; - retrieved_linear->get_linear_points (x0, y0, x1, y1); - BOOST_CHECK_EQUAL (0.0, x0); - BOOST_CHECK_EQUAL (0.0, y0); - BOOST_CHECK_EQUAL (1.0, x1); - BOOST_CHECK_EQUAL (1.0, y1); - } - - cr->set_source_rgb (1.0, 0.5, 0.25); - { - Cairo::RefPtr solid = - Cairo::RefPtr::cast_dynamic(cr->get_source ()); - BOOST_REQUIRE (solid); - double rx, gx, bx, ax; - solid->get_rgba (rx, gx, bx, ax); - BOOST_CHECK_EQUAL (1.0, rx); - BOOST_CHECK_EQUAL (0.5, gx); - BOOST_CHECK_EQUAL (0.25, bx); - } - cr->set_source_rgba (0.1, 0.3, 0.5, 0.7); - { - Cairo::RefPtr solid = - Cairo::RefPtr::cast_dynamic(cr->get_source ()); - BOOST_REQUIRE (solid); - double rx, gx, bx, ax; - solid->get_rgba (rx, gx, bx, ax); - BOOST_CHECK_EQUAL (0.1, rx); - BOOST_CHECK_EQUAL (0.3, gx); - BOOST_CHECK_EQUAL (0.5, bx); - BOOST_CHECK_EQUAL (0.7, ax); - } -} - -void -test_tolerance () -{ - CREATE_CONTEXT(cr); - cr->set_tolerance (3.0); - BOOST_CHECK_EQUAL (3.0, cr->get_tolerance ()); -} - -void -test_antialias () -{ - CREATE_CONTEXT(cr); - cr->set_antialias (Cairo::ANTIALIAS_GRAY); - BOOST_CHECK_EQUAL (Cairo::ANTIALIAS_GRAY, cr->get_antialias ()); - - cr->set_antialias (Cairo::ANTIALIAS_SUBPIXEL); - BOOST_CHECK_EQUAL (Cairo::ANTIALIAS_SUBPIXEL, cr->get_antialias ()); -} - -void -test_fill_rule () -{ - CREATE_CONTEXT(cr); - cr->set_fill_rule (Cairo::FILL_RULE_EVEN_ODD); - BOOST_CHECK_EQUAL (Cairo::FILL_RULE_EVEN_ODD, cr->get_fill_rule ()); - cr->set_fill_rule (Cairo::FILL_RULE_WINDING); - BOOST_CHECK_EQUAL (Cairo::FILL_RULE_WINDING, cr->get_fill_rule ()); -} - -void -test_line_width () -{ - CREATE_CONTEXT(cr); - cr->set_line_width (1.0); - BOOST_CHECK_EQUAL (1.0, cr->get_line_width ()); - cr->set_line_width (4.0); - BOOST_CHECK_EQUAL (4.0, cr->get_line_width ()); -} - -void -test_line_cap () -{ - CREATE_CONTEXT(cr); - cr->set_line_cap (Cairo::LINE_CAP_BUTT); - BOOST_CHECK_EQUAL (Cairo::LINE_CAP_BUTT, cr->get_line_cap ()); - cr->set_line_cap (Cairo::LINE_CAP_ROUND); - BOOST_CHECK_EQUAL (Cairo::LINE_CAP_ROUND, cr->get_line_cap ()); -} - -void -test_line_join () -{ - CREATE_CONTEXT(cr); - cr->set_line_join (Cairo::LINE_JOIN_BEVEL); - BOOST_CHECK_EQUAL (Cairo::LINE_JOIN_BEVEL, cr->get_line_join ()); - cr->set_line_join (Cairo::LINE_JOIN_MITER); - BOOST_CHECK_EQUAL (Cairo::LINE_JOIN_MITER, cr->get_line_join ()); -} - -void -test_miter_limit () -{ - CREATE_CONTEXT (cr); - cr->set_miter_limit (1.3); - BOOST_CHECK_EQUAL (1.3, cr->get_miter_limit ()); - cr->set_miter_limit (4.12); - BOOST_CHECK_EQUAL (4.12, cr->get_miter_limit ()); -} - -void -test_matrix () -{ - // just excercise the functionality - CREATE_CONTEXT (cr); - Cairo::Matrix matrix; - cairo_matrix_init (&matrix, 1.0, 0.1, 0.1, 1.0, 1.5, 1.5); - cr->transform(matrix); - cairo_matrix_init (&matrix, 1.0, -0.1, -0.1, 1.0, 1.5, 1.5); - cr->set_matrix(matrix); - cr->set_identity_matrix (); - cr->get_matrix (matrix); -} - -void -test_user_device () -{ - // scale / transform a context, and then verify that user-to-device and - // device-to-user things work. - CREATE_CONTEXT (cr); - cr->scale (2.3, 2.3); - double x = 1.8, y = 1.8; - cr->user_to_device (x, y); - // x = (0.0 + x) * 2.3 => 1.8 * 2.3 = 5.29 - BOOST_CHECK_EQUAL (4.14, x); - BOOST_CHECK_EQUAL (4.14, y); - cr->device_to_user (x, y); - BOOST_CHECK_EQUAL (1.8, x); - BOOST_CHECK_EQUAL (1.8, y); - cr->translate (0.5, 0.5); - cr->user_to_device (x, y); - // x = (0.5 + x) * 2.3 => 2.3 * 2.3 = 5.29 - BOOST_CHECK_CLOSE (5.29, x, FLT_EPSILON); - BOOST_CHECK_CLOSE (5.29, y, FLT_EPSILON); -} - -void -test_draw () -{ - CREATE_CONTEXT (cr); - // just call a bunch of drawing functions to excercise them a bit. There's no - // rhyme or reason to this, don't expect it to draw anything interesting. - cr->begin_new_path (); - cr->move_to (1.0, 1.0); - cr->line_to (2.0, 2.0); - cr->curve_to (0.5, 0.5, 0.5, 0.5, 1.0, 1.0); - cr->arc (1.5, 0.5, 0.5, 0, 2 * M_PI); - cr->stroke (); - cr->arc_negative (1.5, 0.5, 0.5, 0, 2 * M_PI); - cr->rel_move_to (0.1, 0.1); - cr->rel_line_to (0.5, -0.5); - cr->rel_curve_to (0.5, 0.5, 0.5, 0.5, 1.0, 1.0); - cr->rectangle (0.0, 0.0, 1.0, 1.0); - cr->close_path (); - cr->paint (); -} - -void -test_clip () -{ - CREATE_CONTEXT (cr); - cr->rectangle (0.0, 0.0, 1.0, 1.0); - cr->clip (); - double x1, y1, x2, y2; - cr->get_clip_extents (x1, y1, x2, y2); - BOOST_CHECK (x1 == 0.0); - BOOST_CHECK (y1 == 0.0); - BOOST_CHECK (x2 == 1.0); - BOOST_CHECK (y2 == 1.0); -} - -void -test_current_point () -{ - CREATE_CONTEXT (cr); - cr->move_to (2.0, 3.0); - double x, y; - cr->get_current_point (x, y); - BOOST_CHECK (x == 2.0); - BOOST_CHECK (y == 3.0); -} - -void -test_target () -{ - Cairo::RefPtr surf = Cairo::ImageSurface::create(Cairo::FORMAT_ARGB32, 10, 10); \ - Cairo::RefPtr cr = Cairo::Context::create(surf); - - Cairo::RefPtr target_surface = - Cairo::RefPtr::cast_dynamic(cr->get_target ()); - Cairo::RefPtr bad_surface = - Cairo::RefPtr::cast_dynamic(cr->get_target ()); - BOOST_CHECK (target_surface); - BOOST_CHECK (!bad_surface); - - // now check for const objects... - Cairo::RefPtr cr2 = Cairo::Context::create(surf); - - Cairo::RefPtr target_surface2 = - Cairo::RefPtr::cast_dynamic(cr2->get_target ()); - Cairo::RefPtr bad_surface2 = - Cairo::RefPtr::cast_dynamic(cr2->get_target ()); - BOOST_CHECK (target_surface2); - BOOST_CHECK (!bad_surface2); - -} - -test_suite* -init_unit_test_suite(int argc, char* argv[]) -{ - // compile even with -Werror - if (argc && argv) {} - - test_suite* test= BOOST_TEST_SUITE( "Cairo::Context Tests" ); - - test->add (BOOST_TEST_CASE (&test_dashes)); - test->add (BOOST_TEST_CASE (&test_save_restore)); - test->add (BOOST_TEST_CASE (&test_operator)); - test->add (BOOST_TEST_CASE (&test_source)); - test->add (BOOST_TEST_CASE (&test_tolerance)); - test->add (BOOST_TEST_CASE (&test_antialias)); - test->add (BOOST_TEST_CASE (&test_fill_rule)); - test->add (BOOST_TEST_CASE (&test_line_width)); - test->add (BOOST_TEST_CASE (&test_line_cap)); - test->add (BOOST_TEST_CASE (&test_line_join)); - test->add (BOOST_TEST_CASE (&test_miter_limit)); - test->add (BOOST_TEST_CASE (&test_matrix)); - test->add (BOOST_TEST_CASE (&test_user_device)); - test->add (BOOST_TEST_CASE (&test_draw)); - test->add (BOOST_TEST_CASE (&test_clip)); - test->add (BOOST_TEST_CASE (&test_current_point)); - test->add (BOOST_TEST_CASE (&test_target)); - - return test; -} diff --git a/libs/clearlooks-newer/SConscript b/libs/clearlooks-newer/SConscript deleted file mode 100644 index 6b71356dd2..0000000000 --- a/libs/clearlooks-newer/SConscript +++ /dev/null @@ -1,50 +0,0 @@ -# -*- python -*- - -import os.path -import glob - -libclearlooks_files = [ - 'animation.c', - 'cairo-support.c', - 'clearlooks_draw.c', - 'clearlooks_draw_glossy.c', - 'clearlooks_draw_gummy.c', - 'clearlooks_draw_inverted.c', - 'clearlooks_rc_style.c', - 'clearlooks_style.c', - 'clearlooks_theme_main.c', - 'support.c', - 'widget-information.c' - ] - -Import ('env install_prefix') - -clearlooks = env.Clone() - -clearlooks.Replace(CCFLAGS = ' `pkg-config --cflags gtk+-2.0 cairo` ', - LINKFLAGS = ' `pkg-config --libs gtk+-2.0 cairo` ') - -if env['GTKOSX']: - clearlooks.Append (CCFLAGS = '-DGTKOSX') - -libclearlooks = clearlooks.SharedLibrary('clearlooks', libclearlooks_files) -usable_libclearlooks = clearlooks.Install ('engines', libclearlooks) - -if env['GTKOSX']: - # GTK looks only for foo.so, not foo.dylib - print ("GTKOSX part"); - really_usable_module = clearlooks.Command ('engines/libclearlooks.so', usable_libclearlooks, 'ln -s libclearlooks.dylib libclearlooks.so', chdir=1) - Default (really_usable_module) -else: - print ("non-GTKOSX part"); - Default (usable_libclearlooks) - -env.Alias('install', env.Install ( - os.path.join(install_prefix,env['LIBDIR'], 'ardour3', 'engines'), - libclearlooks)) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript', 'bits.c'] + - libclearlooks_files + - glob.glob('*.h') - )) diff --git a/libs/clearlooks-older/SConscript b/libs/clearlooks-older/SConscript deleted file mode 100644 index dedf40f351..0000000000 --- a/libs/clearlooks-older/SConscript +++ /dev/null @@ -1,36 +0,0 @@ -# -*- python -*- - -import os.path -import glob - -libclearlooks_files = [ - 'clearlooks_draw.c', - 'clearlooks_rc_style.c', - 'clearlooks_style.c', - 'clearlooks_theme_main.c', - 'support.c' ] - -Import ('env install_prefix') - -clearlooks = env.Clone() - -clearlooks.Replace(CCFLAGS = ' `pkg-config --cflags gtk+-2.0` ', - LINKFLAGS = ' `pkg-config --libs gtk+-2.0` ') - -if env['GTKOSX']: - clearlooks.Append (CCFLAGS = '-DGTKOSX') - -libclearlooks = clearlooks.SharedLibrary('clearlooks', libclearlooks_files) - -usable_libclearlooks = clearlooks.Install ('engines', libclearlooks) -Default (usable_libclearlooks) - -env.Alias('install', - env.Install(os.path.join(install_prefix,env['LIBDIR'], 'ardour3', 'engines'), - libclearlooks)) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript', 'bits.c'] + - libclearlooks_files + - glob.glob('*.h') - )) diff --git a/libs/evoral/SConscript b/libs/evoral/SConscript deleted file mode 100644 index 7aeac5a224..0000000000 --- a/libs/evoral/SConscript +++ /dev/null @@ -1,49 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -Import('env libraries install_prefix') - -evoral = env.Clone() -evoral.Merge([ - libraries['glib2'], - libraries['sigc2'], - libraries['glibmm2'], - libraries['xml'], - libraries['pbd'], - libraries['boost'], - libraries['smf'] - ]) - -if evoral['IS_OSX']: - evoral.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048") - -domain = 'evoral' - -evoral.Append(DOMAIN=domain, MAJOR=1, MINOR=0, MICRO=0) -evoral.Append(CXXFLAGS="-DEVORAL_MIDI_XML") - -sources = Split(""" -src/Control.cpp -src/ControlList.cpp -src/ControlSet.cpp -src/Curve.cpp -src/Event.cpp -src/MIDIEvent.cpp -src/Note.cpp -src/SMF.cpp -src/SMFReader.cpp -src/Sequence.cpp -""") - -libevoral = evoral.SharedLibrary('evoral', [ sources ]) - -Default(libevoral) - -env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libevoral)) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript' ] + sources + - glob.glob('midi++/*.h'))) diff --git a/libs/evoral/src/libsmf/SConscript b/libs/evoral/src/libsmf/SConscript deleted file mode 100644 index 54b4ccee70..0000000000 --- a/libs/evoral/src/libsmf/SConscript +++ /dev/null @@ -1,37 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -Import('env libraries install_prefix') - -subdirs = ['src/libsmf'] - -smf = env.Clone() -smf.Merge([ - libraries['glib2'] - ]) - -if smf['IS_OSX']: - smf.Append (LINKFLAGS="-Xlinker -headerpad -Xlinker 2048") - -domain = 'smf' - -smf.Append(DOMAIN=domain, MAJOR=1, MINOR=2, MICRO=0) - -sources = Split(""" -smf.c -smf_decode.c -smf_load.c -smf_save.c -smf_tempo.c -""") - -smf.Append(CFLAGS = '-DSMF_VERSION=\\\"1.2\\\"') - -libsmf = smf.SharedLibrary('smf', [ sources ]) - -Default(libsmf) - -env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libsmf)) diff --git a/libs/fst/SConscript b/libs/fst/SConscript deleted file mode 100644 index a543d72a50..0000000000 --- a/libs/fst/SConscript +++ /dev/null @@ -1,70 +0,0 @@ -# -*- python -*- - -import os -import os.path -import sys -import glob - -fst_src = glob.glob('*.c') - -Import('env install_prefix libraries') -fst = env.Clone() -fst.Append (CPPPATH=".") -fst.Merge ([ - libraries['jack'], - libraries['glib2'] - ]) - -# -# See if JACK supports jack_set_thread_creator() -# - -jack_test_source_file = """ -#include -#include -int -my_pthread_create (pthread_t* thread_id, const pthread_attr_t* attr, void *(*function)(void*), void* arg) -{ - return 0; -} -int main(int argc, char **argv) -{ - jack_set_thread_creator (my_pthread_create); - return 0; -} -""" -def CheckJackSetThreadCreator(context): - context.Message('Checking for jack_set_thread_creator()...') - result = context.TryLink(jack_test_source_file, '.c') - context.Result(result) - return result - - -conf = Configure(fst, custom_tests = { - 'CheckJackSetThreadCreator' : CheckJackSetThreadCreator, -}) - -if conf.CheckJackSetThreadCreator(): - fst.Append(CCFLAGS="-DHAVE_JACK_SET_THREAD_CREATOR") - -fst = conf.Finish () - -if fst['VST']: - fst.Replace(CC = ("winegcc")) - a = fst.Object ('fst', 'fst.c') - b = fst.Object ('fstinfofile', 'fstinfofile.c') - c = fst.Object ('vstwin', 'vstwin.c') - d = fst.Object ('vsti', 'vsti.c') - e = fst.Object ('thread', 'thread.c') - Default([a,b,c,d,e]) - -vestige_headers = glob.glob ('vestige/*.h') - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - fst_src + vestige_headers + - ['SConscript', - 'fst.h', - 'jackvst.h', - ] - )) - diff --git a/libs/glibmm2/AUTHORS b/libs/glibmm2/AUTHORS deleted file mode 100644 index 35ef03fe26..0000000000 --- a/libs/glibmm2/AUTHORS +++ /dev/null @@ -1,20 +0,0 @@ -Please use the mailing list (gtkmm-list@gnome.org) instead of emailing developers directly. -See the ChangeLog for up-to-date information. - -Murray Cumming -Daniel Elstner - -Some former contributors: - -Karl Nelson -Tero Pulkkinen -Elliot Lee -Phil Dawes -Erik Andersen -Bibek Sahu -Mirko Streckenbach -Havoc Pennington -Guillaume Laurent -Todd Dukes -Peter Lerner -Herbert Valerio Riedel diff --git a/libs/glibmm2/CHANGES b/libs/glibmm2/CHANGES deleted file mode 100644 index 36571a78e0..0000000000 --- a/libs/glibmm2/CHANGES +++ /dev/null @@ -1,33 +0,0 @@ -Changes between glibmm 2.2 (previously part of gtkmm) and glibmm 2.4: - -* glibmm is now a separate module, for use with non-GUI software. - (Note that glibmm 2.4 and gtkmm 2.4 install in parallel with - gtkmm 2.2 - so you can install and use both simultaneously and - port to 2.4 whenever you are ready.) -* glibmm now uses libsigc++ 2 rather than libsigc++ 1.2. - There is a libsigc++ compatibility header. The new, undeprecated, API - is slightly improved. - - Connecting signal handlers: - signal_something().connect( SigC::slot(*this, &Something::on_something) ); - should become - signal_something().connect( sigc::mem_fun(*this, &Something::on_something) ); - or, for non-member methods: - signal_something().connect( sigc::ptr_fun(&Something::on_something) ); - - Binding extra parameters: - SigC::bind(...) - should become - sigc::bind(...) - - Declaring signals: - SigC::Signal1 - should become - sigc::signal - - Declaring slots: - SigC::Slot1 - should become - sigc::slot - - Inheriting from the libsigc++ base class: - class Something : public SigC::Object - should become - class Something : public sigc::trackable - - diff --git a/libs/glibmm2/COPYING b/libs/glibmm2/COPYING deleted file mode 100644 index c4792dd27a..0000000000 --- a/libs/glibmm2/COPYING +++ /dev/null @@ -1,515 +0,0 @@ - - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations -below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. -^L - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it -becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. -^L - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control -compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. -^L - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. -^L - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. -^L - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. -^L - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply, and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License -may add an explicit geographical distribution limitation excluding those -countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. -^L - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS -^L - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms -of the ordinary General Public License). - - To apply these terms, attach the following notices to the library. -It is safest to attach them to the start of each source file to most -effectively convey the exclusion of warranty; and each file should -have at least the "copyright" line and a pointer to where the full -notice is found. - - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper -mail. - -You should also get your employer (if you work as a programmer) or -your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James -Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/libs/glibmm2/COPYING.tools b/libs/glibmm2/COPYING.tools deleted file mode 100644 index d511905c16..0000000000 --- a/libs/glibmm2/COPYING.tools +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/libs/glibmm2/ChangeLog b/libs/glibmm2/ChangeLog deleted file mode 100644 index e8c08846ed..0000000000 --- a/libs/glibmm2/ChangeLog +++ /dev/null @@ -1,4214 +0,0 @@ -2.18.2: - -2009-03-23 Daniel Elstner - - * glib/src/keyfile.{ccg,hg}: Conditionalize all exception-handling - code in order to fix the build with --disable-api-exceptions. - * glib/src/regex.hg: ditto, - * gio/src/appinfo.ccg: ditto, - * gio/src/file.{ccg,hg}: ditto, - * gio/src/outputstream.ccg: ditto, - * examples/keyfile/main.cc: ditto, - * examples/regex/main.cc: ditto, - * tests/giomm_ioerror/main.cc: ditto, - * tests/giomm_simple/main.cc: ditto. - -2009-03-19 José Alburquerque - - * tools/m4/class_gobject.m4: Added _CUSTOM_CTOR_CAST to _CLASS_GOBJECT - for classes that need to include custom code in their cast and - construct_params constructors as is done with _CLASS_GTKOBJECT. - Bug #574861. - -2009-03-18 José Alburquerque - - * tools/m4/base.m4: Modified _GET_TYPE_FUNC() to properly work with - types like GtkFOOBar producing, for example, gtk_foo_bar_get_type() - instead of gtk_fo_obar_get_type(). - Bug #575870. - -2009-03-09 Daniel Elstner - - * tools/extra_defs_gen/generate_extra_defs.cc (get_properties): - Replace nested double quotes in the docs string by single quotes - to ease the parsing pain of gmmproc. - -2009-01-19 Tao Wang - - * glib/src/nodetree.hg: Do not use a non-ASCII dash character, to - avoid the MSVC++ warning C4819 with Visual Studio 2008. - Bug #568072 - -2009-01-11 José Alburquerque - - * tools/extra_defs_gen/generate_extra_defs.cc: - * tools/extra_defs_gen/generate_extra_defs.h: Undid patch from bug - #562810 (José Alburquerque). All the confusion about gstreamermm - packaging (see bug #565454) led to suggested patch which will really - probably never be used. - -2009-01-06 Jonathon Jongsma - - * glib/src/uriutils.ccg: fix a memory leak in the uri utility functions - caused by not freeing the returned C string. Bug #566845 (Jason Kasper) - -2008-12-16 José Alburquerque - - * tools/extra_defs_gen/generate_extra_defs.cc: - * tools/extra_defs_gen/generate_extra_defs.h: Modify extra defs - generation utility to accept custom defined function to determine if - GType is a pointer. - Bug #562810. - -2008-12-10 Przemysław Grzegorczyk - - * Cleaned up glib includes since in the future, only glib.h (and - glib-object.h, etc) will be allowed to be included directly. - Bug #563987 - -2008-12-01 Hubert Figuiere - - * glib/src/markup.ccg: Change the way unused variables - are marked. Bug #562716 - -2008-11-29 Hubert Figuiere - - * glib/src/nodetree.hg: Fix -Wshadow warnings. Bug #555743. - -2.18.1: - -2008-10-20 Jonathon Jongsma - - * NEWS: - * configure.in: bump version to 2.18.1, prepare NEWS for release - -2008-10-20 Jonathon Jongsma - - * Makefile.am: updated the release-announce template - -2008-10-16 Armin Burgmeier - - * glib/glibmm/ustring.h: Fixed the const char* specialization for - Stringify<> by making the string_ member a const Glib::ustring instead - of a const Glib::ustring&. Also enabled the char[N] specialization for - string literals. - - * tests/glibmm_ustring_compose/main.cc: Enabled the test for the - specialization for string literals. - Bug #506410 (Szilárd Pfeiffer) - -2008-10-15 José Alburquerque - - * tools/extra_defs_gen/generate_extra_defs.cc: Modify signal and props - generation tool to generate interface signals. - -2008-10-15 Armin Burgmeier - - * gio/src/fileenumerator.hg: - * gio/src/fileenumerator.ccg: Made FileEnumerator::next_file not add - an additional reference to the return value, because the C version - creates a new object. Also, changed ownership of the list returned by - FileEnumerator::next_files_finish to be deep instead of shallow. Bug - #556387. - -2008-10-09 Armin Burgmeier - - * gio/src/fileinfo.hg: Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN - because the former is a #define on Windows in winbase.h, included from - windows.h. Keep FILE_TYPE_UNKNOWN for compatibility if it is not - already defined. - -2008-10-09 Armin Burgmeier - - * MSVC_Net2008/Makefile.am: Removed README from EXTRA_DIST to fix - `make dist'. - -2008-10-08 Armin Burgmeier - - * MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj: - * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj: - * MSVC_Net2005/examples/options/options.vcproj: - * MSVC_Net2005/examples/thread/thread.vcproj: - * MSVC_Net2005/examples/thread_pool/thread_pool.vcproj: - * MSVC_Net2005/giomm/giomm.vcproj: - * MSVC_Net2005/glibmm/glibmm.vcproj: Adapt to the new MSVC++ DLL - naming convention. - - * MSVC_Net2008/: Added MSVC 2008 project files. - - * configure.in: - * Makefile.am: Add the new files to the build. - -2008-10-04 Jonathon Jongsma - - * gio/src/error.hg: add a workaround for the HOST_NOT_FOUND symbol - conflicts, as suggested by Szilárd Pfeiffer in Bug #529496 - * tests/giomm_ioerror/main.cc: add a test for this - -2008-09-19 Armin Burgmeier - - * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Keep @param and - @throws intact, so these can be used in *_docs_override_xml. Bug - #539891. - -2008-09-22 Armin Burgmeier - - * MSVC_Net2005/glibmm/glibmm.vcproj: Added uriutils.cc and nodetree.cc - to the project. - -2008-09-22 Armin Burgmeier - - * MSVC_Net2005/examples/dispatcher2/dispatcher2.vcproj: - * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj: - * MSVC_Net2005/examples/markup/markup.vcproj: - * MSVC_Net2005/examples/options/options.vcproj: - * MSVC_Net2005/examples/thread/thread.vcproj: - * MSVC_Net2005/examples/thread_pool/thread_pool.vcproj: - * MSVC_Net2005/giomm/giomm.vcproj: - * MSVC_Net2005/glibmm/glibmm.vcproj: - * MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj: - * MSVC_Net2005/tests/glibmm_value/glibmm_value.vcproj: Fixed the MSVC - build of the examples and tests if configure did not run before. - -=== 2.18.0 === - -2008-09-21 Jonathon Jongsma - - * Makefile.am: fix a minor issue in the release target - -2008-09-21 Jonathon Jongsma - - * NEWS: Add news for 2.18 release - * configure.in: bump version number for release - * Makefile.am: update release mail template slightly - -2008-09-08 Murray Cumming - - * COPYING.tools: - * Makefile.am: Added COPYING.tools with the GPL because the tools/*.cc - file is GPL. Bug #550789. - -=== 2.17.3 === - -2008-09-03 Jonathon Jongsma - - * NEWS: update for release - * configure.in: bump version for release - -2008-08-26 Szilárd Pfeiffer - - * glib/src/nodetree.hg: Implemented clone function to merge the - constructors into that and fixed clear function the operator= - function. - * tests/glibmm_nodetree/main.cc: Simplified the test case. - Bug #547901. - -2008-08-27 Armin Burgmeier - - * MSVC_Net2005/glibmm/glibmm.rc.in: - * MSVC_Net2005/giomm/giomm.rc.in: Replaced #include "afxres.h" by - #include which does the job equally well, and allows - compilation with the freely available Visual Studio Express compiler. - -2008-08-27 Armin Burgmeier - - * glib/glibmm/ustring.cc: Only include config.h when HAVE_CONFIG_H is - defined, to allow building glibmm with MSVC without having generated - config.h before. The only thing config.h is used for is the - SIZEOF_WCHAR_T define anyway, and this is not needed for a MSVC build. - Bug #549343. - -2008-08-26 Murray Cumming - - * tests/glibmm_nodetree/main.cc: Actually use the copy constructor (or operator=), - instead of just copying the pointer. - -2008-08-26 Murray Cumming - - * glib/src/nodetree.hg: Added an operator=() because we have a copy constructor. - Moved some code into a private clear() method so we can reuse it. - -2008-08-26 Szilárd Pfeiffer - - * glib/src/nodetree.hg: Added a copy constructor. Therefore, take - store the data by value instead of reference, taking it by const reference. - * tests/glibmm_nodetree/main.cc: Test the copy constructor. - Bug #547909. - -2008-08-15 Szilárd Pfeiffer - - * glib/src/nodetree.hg: Fixed pointer handling problem in find_child. - Bug #547909. - -2008-08-15 Szilárd Pfeiffer - - * tests/glibmm_nodetree/main.cc: Implement the C++ version of GNode test - case. - Bug #547889 - -2008-07-29 Szilárd Pfeiffer - - * glib/src/nodetree.hg: Use const_cast<> in the necessary const member - functions instead of gobj() to fix the compilation when using these. - Bug #546485. - -2008-08-08 Armin Burgmeier - - * MSVC_Net2005/: Moved from MSVC_Net2003 - - * MSVC_Net2005/glibmm.sln: - * MSVC_Net2005/glibmm/glibmm.vcproj: - * MSVC_Net2005/examples/dispatcher/dispatcher.vcproj: Converted to - project files for Visual Studio 2005. - - * MSVC_Net2005/glibmm/glibmm.rc.in: Removed the #include "resource.h" - since there is no resource.h in the project, and the resource still - seems to compile. - - * MSVC_Net2005/giomm/giomm.rc.in: - * MSVC_Net2005/giomm/giomm.vcproj: - * MSVC_Net2005/giomm/Makefile.am: Added giomm to the MSVC project. - - * MSVC_Net2005/tests/giomm_simple/giomm_simple.vcproj: - * MSVC_Net2005/tests/giomm_simple/Makefile.am: Added giomm_simple to - the MSVC project. - - * MSVC_Net2005/tests/Makefile.am: - * MSVC_Net2005/Makefile.am: - * Makefile.am: - * configure.in: Adapted build files. - -=== 2.17.2 === - -2008-08-06 Jonathon Jongsma - - * NEWS: update for 2.17.2 - * configure.in: bump version - -2008-08-06 Murray Cumming - - * configure.in: - * tests/Makefile.am: - * tests/glibmm_ustring_compose/main.cc: Added a test case. - * glib/glibmm/ustring.h: Added a ustring::Stringify<> - template specialization so that ustring::compose() works with - const char* arguments, though it still needs to be fixed to - work for string literals. - Bug #506410 (Szilárd Pfeiffer). - -2008-08-06 Murray Cumming - - * glib/src/nodetree.hg: Make gobject_ and data_ private, - to remove them from protected API. Patch from Szilárd Pfeiffer. - Bug #546485. - Make gobj() inline. - -2008-08-04 Murray Cumming - - * glib/glibmm/propertyproxy.h: Added some API documentation - about the need to register a new GType when adding properties. - Bug #523043 (Moritz Ulrich). - -2008-08-02 Murray Cumming - - * docs/reference/glibmm_header.html_fragment: Change the Main - Page link to link to gtkmm.org/documentation.shtml - -2008-07-29 Murray Cumming - - * glib/glibmm/Makefile.am: Remove the mention of tree.cc here to - fix the build. Generated files should never be menioned there. - -2008-07-29 Murray Cumming - - * glib/src/nodetree.hg: Hand-code the TraverseType enum, to add - a prefix to the values. - * tests/glibmm_nodetree/main.cc: Adapted. - -2008-07-29 Murray Cumming - - * glib/src/nodetree.hg: find(), find_child(), traverse(), foreach(): - Rearrange the parameters so we can have default values. - * tests/glibmm_nodetree/main.cc: Adapted. - -2008-07-29 Murray Cumming - - * glib/src/nodetree.hg: Move the TraverseFlags enum into - the class, and hand-code it to avoid problems with _WRAP_ENUM(). - * tests/glibmm_nodetree/main.cc: Adapted. - Bug #545050 (Szilárd Pfeiffer). - -2008-07-29 Murray Cumming - - * configure.in: - * glib/glibmm.h: - * glib/src/Makefile_list_of_hg.am_fragment: - * glib/src/nodetree.hg: - * glib/src/tree.hg: Renamed to nodetree.hg - * tests/Makefile.am: - * tests/glibmm_tree/Makefile.am: - * tests/glibmm_tree/main.cc: Renamed to glibmm_nodetree/ - -2008-07-29 Murray Cumming - - * glib/src/tree.hg: Renamed Glib::Tree to Glib::NodeTree to avoid - confusion with GTree, because we actually wrap GNode, but do not like - that name. As discussed in bug #520778. - * tests/glibmm_tree/main.cc: Adapted. - -2008-07-29 Murray Cumming - - * Makefile.am: Build the docs at the end, after the tests, to - save time when testing API changes. - - * glib/src/tree.hg: Const corrections: Add const and non-const versions - of many methods, instead of returning non-const objects from const methods. - find(). - Changed max_height() to get_max_height() for consistency. - * tests/glibmm_tree/main.cc: Adapted to changed API. - -2008-07-29 Szilárd Pfeiffer - - * glib/src/tree.hg: Make the callbacks take a Tree<> instead of just - the data, so they can use methods on the tree (which can be a node - in the tree). - gobject_: Make this protected. - Provide the this pointer as data to g_node_new() so we can retrieve - it later. - Removed children_ and parent_ because we don't need a separate store now that - we can get the C++ instance from the gobject instance. - owns_gobject_: Removed because it is was always true, so the gobject was - always destroyed (and still is). - * tests/glibmm_tree/main.cc: Updated for the changed API. - Bug #520778. - -2008-07-25 Murray Cumming - - * gio/src/volumemonitor.hg: Added the drive_eject_button signal. - -2008-07-25 Murray Cumming - - * gio/src/gio_enums.defs: Hacked in a replacement - enum for Gio::Error::HOST_NOT_FOUND as - Gio::Error::HOST_WAS_NOT_FOUND, to avoid a clash with - a netdb.h define. - Bug #529496. - * configure.in: - * tests/Makefile.am: - * tests/giomm_ioerror/Makefile.am: - * tests/giomm_ioerror/main.cc: Added a test to make sure - that our hacked-in enum value stays hacked in. - -2008-07-25 Murray Cumming - - * gio/src/gio_enums.defs: - * gio/src/gio_methods.defs: - * gio/src/gio_signals.defs: Regenerated. - * gio/src/mount.hg: Corrected an _IGNORE(). - * gio/giomm/contenttype.cc: - * gio/giomm/contenttype.h: Added content_type_guess_for_tree(). - -2008-07-23 Damien Carbery - - * scripts/macros.m4: Change grep to use -i when checking for GNU m4. - This fixes the test on Solaris. Bug #423990. - -=== 2.17.1 === - -2008-07-16 Jonathon Jongsma - - * NEWS: update for new release - -2008-07-16 Jonathon Jongsma - - * configure.in: bump version and min required glib version - -2008-07-16 Jens Georg - - * MSVC_Net2003/glibmm/glibmm.vcproj: Mention new source files - for regex and keyfile. - Bug #543292. - -2008-07-16 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: Added make_directory_with_parents(), - query_file_type(), monitor(). - * gio/src/fileenumerator.ccg: - * gio/src/fileenumerator.hg: Added get_container(). - * gio/src/mount.hg: Added guess_content_type() and - guess_content_type_finish(). - * gio/src/themedicon.hg: Added prepend_name(). - * gio/src/volume.hg: Added get_activation_root(). - * tools/m4/convert_gio.m4: Added a necessary conversion. - -2008-07-15 Murray Cumming - - * gio/src/gio_methods.defs: - * glib/src/glib_functions.defs: Regenerated with h2def.py - * glib/src/checksum.hg: Added reset(). - -2008-07-15 Murray Cumming - - * gio/src/appinfo.ccg: - * gio/src/appinfo.hg: Avoid a circular include to fix the build. - -2008-07-15 Benjamin Herr - - * gio/src/volumemonitor.hg: Removed some unnecessary ; characters, - to avoid warnings. - Bug #542929. - -2008-07-14 Murray Cumming, - - * tools/m4/convert_gio.m4: - * gio/src/appinfo.hg: get_display(), get_startup_notify_id(): - Take a list of Gio::File, not filepath string. Now that the C API is - properly documented we know that this is correct. It's an API break - but this function could nothave worked before. - - * glib/src/glib_docs.xml: Regenerate. - * glib/src/glib_docs_override.xml: Add overrides for - g_key_file_load_from_file() and g_key_file_get_value() to mention - exceptions. - -2008-06-30 Johannes Schmid - - * glib/glibmm/containerhandle_shared.h: - Improve documentation of Glib::OwnershipType (#540875) - -2008-07-02 Armin Burgmeier - - * gio/src/file.ccg: Pass NULL to the underlying C function for the - etags parameter in the various replace_contents functions. Also bug - #540656. - -2008-06-28 Armin Burgmeier - - * gio/src/file.ccg: Pass NULL to the underlying C function for the - etags parameter in various *_replace functions. Otherwise, existing - files are not overwritten. Bug #540656. - -2008-06-23 Murray Cumming - - * configure.in: - * examples/Makefile.am: - * examples/keyfile/Makefile.am: - * examples/keyfile/example.ini: - * examples/keyfile/main.cc: Added a little KeyFile example. I am - surprised that we do not seem to have one somewhere already. - I need to move all these glibmm examples into gtkmm-documentation some - time. - -2008-06-19 Murray Cumming - - * glib/src/tree.hg: Some whitespace changes. And more use of typedefs - to simplify the code. - -2008-06-19 Levi Bard - - * glib/src/tree.hg: Some minor changes to deal with TODOs. - Bug #538803. - -2008-06-17 Chris Vine - - * glib/src/thread.hg: document that the slot object passed to - Glib::Thread::create() should not represent a non-static method of - a class derived from sigc::trackable. - See bug #512348. - -=== 2.17.0 === - -2008-06-16 Jonathon Jongsma - - * NEWS: - * configure.in: update for new release - -2008-06-13 Levi Bard - - * glib/glibmm.h: - * glib/glibmm/Makefile.am: - * glib/src/Makefile_list_of_hg.am_fragment: - * glib/src/tree.ccg: - * glib/src/tree.hg: Added Glib::Tree, a wrapper for GNode, providing - an N-ary tree container, more or less like a standard C++ container. - * configure.in: - * tests/Makefile.am: Added some test code for this new API. - Bug #520778 - -2008-06-13 Murray Cumming - - * glib/src/date.hg: Used @newin2p18 on the new API and made some - slight corrections to the new reference documentation comments. - -2008-06-11 José Alburquerque - - * tests/glibmm_date/Makefile.am: Contents of files in - tests/glibmm_date/ (main.cc and Makefile.am) were duplicated when I - applied patch in bug #536721 to already existing files before 6/9 - commit. Fixed main.cc already, so now repaired Makefile.am. - -2008-06-10 José Alburquerque - - * tests/glibmm_date/main.cc: Removed duplicate code so test can - compile. - -2008-06-09 José Alburquerque - - * glib/src/date.ccg: - * glib/src/date.hg: Added copy constructor and assignment operator; - Made GDate constructor visible. - - * configure.in: - * tests/Makefile.am: - * tests/glibmm_date/Makefile.am: - * tests/glibmm_date/main.cc: Added simple test to test Glib::Date. - -This is svn trunk for new API, wrapping glib 2.17/18. See also the glibmm-2-16 branch. - -2008-04-25 Jonathon Jongsma - - * gio/src/drive.hg: - * gio/src/volume.hg: add TypeTraits implementations for Drive and Volume - similar to the one added for Mount. - -2008-04-23 Jonathon Jongsma - - * gio/src/mount.hg: Add a TypeTraits implementation for - Glib::RefPtr so that we can wrap implementor types that don't - have a wrapper (e.g. GHalMount in gvfs). Fixes bug #529533 - -2008-04-24 Jonathon Jongsma - - * glib/glibmm/wrap.cc: Improve the error message when failing to wrap a - particular type of object to give a hint about initializing the library - since we get so many questions about this (bug #529648) - -2.16.2: - -2008-04-18 Jonathon Jongsma - - * NEWS: - * configure.in: bump to 2.16.2 for release - -2008-04-16 Murray Cumming - - * glib/src/spawn.hg: Moved the enum back out of the doxygen group, - because that results in the enums group being inside the spawn group. - -2008-04-16 Murray Cumming - - * glib/src/spawn.hg: Addded doxygen documentation based on the - C documentation. - Bug #528271 (Jonathon Jongsma) - -2008-04-13 Murray Cumming - - * glib/src/optionentry.ccg: set_long_name(): Do not use NULL for an - empty string, because "" has a special meaning to GOptionEntry - it - is the definition of G_OPTION_REMANING. - * examples/options/main.cc: Add an entry with the long name - G_OPTION_REMAINING, to list additional non-named arguments. More - explicit API should be added for this. - Bug #526831 (Christian Lundgren). - -2008-04-13 Murray Cumming - - * glib/glibmm/ustring.cc erase(): Create an end iterator and use it, - instead of just using the std::string(iterator) erase implementation, - because that only removes one byte, which can make the whole string - invalid UTF-8. - Bug #527687 (Jarro). - -2008-04-11 Murray Cumming - - * glib/src/optionentry.ccg: - * glib/src/optionentry.hg: Hand-code set_description(), - set_arg_description() and set_long_name(), to free any existing string, - to maybe fix a (possible) leak found by valgrind. - -2008-03-29 Jonathon Jongsma - - * Makefile.am: add some more convenience targets for making releases - -2.16.1: - -2008-03-28 Tim Retout - - * glib/glibmm/helperlist.h (operator[]): Add a newline before - the semicolon at the end of the 'for' loop. Fixes g++ 4.3 warning. - -2008-03-29 Jonathon Jongsma - - * NEWS: updated - * configure.in: bump to 2.16.1 - -2008-03-29 Murray Cumming - - * gio/src/file.hg: - * gio/src/file.ccg: query_default_handler(), set_display_name(), - query_info(), query_filesystem_info(): Do not take an extre reference, - because the C functions all provide new objects with an initial - reference. I checked. - -2008-03-28 Murray Cumming - - * gio/src/file.ccg: create(), replace(): Do not take an extra reference, - because the C function has given us a new instance with an initial - reference. The leak stopped the stream from really replacing the file, - because that only happens when it is closed. - -2008-03-28 Murray Cumming - - * gio/src/file.hg: - * gio/src/outputstream.hg: Documentation: Remove/fix mentions of 0 when - we mean something else. - -2008-03-24 Jonathon Jongsma - - * gio/src/desktopappinfo.hg: - * gio/src/unixinputstream.hg: - * gio/src/unixmount.hg: - * gio/src/unixoutputstream.hg: don't wrap these unix-specific types when - building on MS Windows (bug #524126) - -2008-03-18 Murray Cumming - - * gio/src/file.hg: Include giomm/error.h Because Gio::Error is thrown - by some of these methods and it is annoying to have to include it - separately just to catch that. - -2.16.0: - -2008-03-10 Tim Mooney - - * glib/glibmm/object.cc: Include string.h to fix the build with - SUN CC. - Bug #498438. - -2008-03-07 Jonathon Jongsma - - * glib/glibmm.h: add an include for checksum.h which was added in the 2.15.x - series. - -2008-03-05 Murray Cumming - - * MAINTAINERS: Added Jonathon Jongsma as co-maintainer. - -2008-03-05 Murray Cumming - - * tools/m4/convert_gio.m4: Use __CONVERT_CONST_REFPTR_TO_P_SUN() instead - of __CONVERT_REFPTR_TO_P() to maybe fix the build with Sun CC. - (Simon Zheng) - -2008-03-04 Jonathon Jongsma - - * Makefile.am: updated the 'release' target to give a bit more helpful error - messages - -2008-03-04 Murray Cumming - - * gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py. - * gio/src/gio_docs_override.xml: Overrode g_file_query_exists() to - mention an exception instead of an error. G_IO_ERROR_* now does not - appear in any of our documentation. - -2.15.8: - -2008-03-03 Murray Cumming - - * gio/src/bufferedinputstream.hg: - * gio/src/bufferedoutputstream.hg: - * gio/src/datainputstream.hg: - * gio/src/dataoutputstream.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/filterinputstream.hg: - * gio/src/filteroutputstream.hg: - * gio/src/inputstream.hg: - * gio/src/memoryinputstream.hg: - * gio/src/mount.hg: - * gio/src/outputstream.hg: - * gio/src/seekable.hg: - * gio/src/unixinputstream.hg: - * gio/src/unixoutputstream.hg: Put these in a Streams doxygen group. - We should think of some more groups, maybe by looking at the C - documentation. - -2008-03-03 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: load_contents(), load_contents_finish(), - load_partial_contents_finish(): Use char*& instead of char** for contents, - though that is not that great either. Use std::string& instead of char** - for etag_out. Added method overloads without cancellable. - We might want other method overloads in future. - -2008-02-29 Jonathon Jongsma - - * Makefile.am: added 'release' target which will run distcheck, tag the - repository with the current version and upload the tarball to - master.gnome.org - -2008-02-27 Murray Cumming - - * gio/src/asyncresult.hg: - * gio/src/file.hg: - * gio/src/fileenumerator.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/gio_docs_override.xml: - * gio/src/inputstream.hg: - * gio/src/outputstream.hg: Correct hand-coded documentation, - to talk about throwing exceptions rather than setting or returning - errors. - * gio/src/mount.hg: Add class documentation based on the C documentation. - -2008-02-27 Murray Cumming - - * gio/src/gio_docs.xml: Regenerated with docextract_to_xml.py. - * gio/src/gio_docs_override.xml: Override some documentation that - mentions the GCancellable being optional, or that talks about setting - errors instead of throwing them. - -2.15.7: - -2008-02-26 Murray Cumming - - * gio/src/gio_methods.defs: Regenerated. - * gio/src/file.ccg: - * gio/src/file.hg: Added query_filesystem_info_async() and - query_filesystem_info_finish() because these were added to the C API. - * gio/src/themedicon.hg: Added append_name() because this was added to - the C API. - -2008-02-25 Jonathon Jongsma - - * docs/reference/Doxyfile.in: 'upgraded' the doxygen config file since - doxygen was complaining about obsolete options - * gio/giomm/contenttype.h: - * gio/src/bufferedinputstream.hg: - * gio/src/file.hg: - * gio/src/fileoutputstream.hg: - * gio/src/outputstream.hg: - * glib/src/checksum.hg: - * glib/src/keyfile.hg: fixed a bunch of minor doxygen warnings - -2008-02-25 Jonathon Jongsma - - * docs/reference/doxygen_to_devhelp.xsl: add path separators between the - reference prefix and the link filenames - * docs/reference/Makefile.am: remove trailing slash from the reference - prefix (fixes bug #518673) - -2008-02-25 Wouter Bolsterlee - - * gio/src/file.hg: - * gio/src/gio_docs.xml: - * gio/src/gio_methods.defs: - * gio/src/gio_vfuncs.defs: - - Initial work for another API change: - g_file_contains_file() has been renamed to - g_file_has_prefix() (with the parameter order swapped!) - -2008-02-25 Wouter Bolsterlee - - * glib/src/uriutils.ccg: - * glib/src/uriutils.hg: - - g_uri_get_scheme has been renamed to g_uri_parse_scheme - in GLib trunk. Updated accordingly. - -2008-02-24 Jonathon Jongsma - - * docs/reference/Makefile.am: dist xml/index.xml to satisfy build-deps for - building the devhelp book from the tarball. Fixes distcheck. - -2.15.6: - -2008-02-24 Marko Anastasov - - * gio/src/inputstream.hg: Updated the todo regarding read(). - -2008-02-22 Murray Cumming - - * gio/src/fileattributeinfolist.hg: Added dup(). - * gio/src/gio_others.defs: Added signals for GMount and GVolume. - This deals with the gmmproc warnings. - -2008-02-21 Murray Cumming - - * gio/src/desktopappinfo.hg: Revert the change from José which removed - use of _WRAP_CTOR() and _WRAP_CREATE(). We really do want to use these - so we instantiate derived GTypes. - -2008-02-21 Marko Anastasov - - * gio/src/desktopappinfo.hg: Made is_hidden() const. - -2008-02-21 José Alburquerque - - * gio/src/desktopappinfo.hg: Used _WRAP_METHOD instead of _WRAP_CREATE - for create() to allow docs from C API to be used - -2008-02-21 José Alburquerque - - * gio/src/desktopappinfo.hg: Renamed new_from_file() to - create_from_file() - -2008-02-21 José Alburquerque - - * gio/src/desktopappinfo.hg: Added create(), create_from_file() - is_hidden() and set_desktop_env() - * tools/m4/convert_gio.m4: Added DesktopAppInfo conversion - -2008-02-21 Murray Cumming - - * gio/src/gio_methods.defs: Regenerated with h2defs.py - - * gio/src/gio_signals.defs: Corrected the GMountOperation::ask-question - definition. - * gio/src/mountoperation.hg: Wrapped the ask-question signal, though - I wonder if it really works. - - * gio/src/memoryinputstream.ccg: - * gio/src/memoryinputstream.hg: - Added add_data(const void* data, gssize len). - - * gio/src/gio_others.defs: Added g_themed_icon_get_names() - because h2defs.py cannot seem to parse it. - * gio/src/Makefile.am: Mention gio_methods.defs. - * gio/src/themedicon.hg: Attempted to wrap get_names(), but I get a - gmmproc error. - -2008-02-20 Marko Anastasov - - * gio/src/desktopappinfo.hg: Removed a todo regarding - DesktopAppInfoLookup. We will not wrap it as it is an interface - that is used by backends. - -2008-02-20 Jonathon Jongsma - - * docs/reference/Makefile.am: updated some build dependencies that were - causing issues after adding the xml/devhelp build rules. Also removed some - cruft that was supposedly setting the doxygen image path for gtk stock icons - (presumably copied from the gtkmm build rules). Should Fix Bug #517423 - -2008-02-20 Murray Cumming - - * gio/src/appinfo.hg: - * gio/src/bufferedinputstream.hg: - * gio/src/drive.hg: - * gio/src/file.hg: - * gio/src/filemonitor.hg: - * gio/src/icon.hg: - * gio/src/seekable.hg: - * gio/src/volume.hg: - * gio/src/volumemonitor.hg: Comment out _WRAP_VFUNC() lines because - we decided that they are not useful (people will not create new - implementations with giomm) and are a potential source of errors. - -2008-02-20 Murray Cumming - - * tools/m4/convert_gio.m4: - * gio/src/file.hg: equal(), get_relative_file(), contains_file(): Take - const File parameters. - -2008-02-15 Jonathon Jongsma - - * docs/reference/Makefile.am: I should have tested this more thoroughly -- - we apparently need to use relative paths in the reference_prefix variable. - Also add the devhelp file to the all-local target so it gets built by - default on a simple 'make' and not just on 'make install' - -2008-02-15 Jonathon Jongsma - - * docs/reference/Makefile.am: install the stylesheet in the gmmproc dir - instead of the documentation directory. This allows other libraries to get - a path to the stylesheet by querying the just-added gmmprocdir variable. - Also, it doesn't really belong in the documentation directory since it's not - technically documentation. - -2008-02-15 Jonathon Jongsma - - * docs/reference/doxygen_to_devhelp.xsl: make this more general instead of - hard-coding the name and title and reference path into the stylesheet -- - instead pass them as parameters on the commandline - * docs/reference/Makefile.am: use new GMMPROC_DIR variable. Also install - the doxygen_to_devhelp.xsl stylesheet so that other libraries can use the - installed version instead of having everybody copy the file into their own - library if they want to generate a devhelp book - -2008-02-15 Jonathon Jongsma - - * configure.in: add a GMMPROC_DIR variable so the individual - Makefile.am files don't need to duplicate the information about where - gmmproc is to be installed - * glib/glibmm-2.4.pc.in: add new gmmprocdir variable so that interested - libraries can query it with `pkg-config --variable gmmprocdir glibmm-2.4` - * tools/Makefile.am: - * tools/m4/Makefile.am: - * tools/pm/Makefile.am: use the new GMMPROC_DIR variable - -2008-02-14 Marko Anastasov - - * gio/src/dataoutputstream.hg: Removed get/set_newline_type(), - which doesn't exist in the C API. - -2008-02-13 Jonathon Jongsma - - * docs/reference/Doxyfile.in: - * docs/reference/Makefile.am: - * docs/reference/doxygen_to_devhelp.xsl: generate and install a devhelp book - for glibmm like we do for gtkmm. It would be nice to make the xsl - stylesheet general and shared between gtkmm and glibmm (and eventually other - libraries as well), but for now I just duplicated it here - -2008-02-12 Marko Anastasov - - * gio/src/gio_methods.defs: Regenerated with h2defs.py. - - * gio/src/unixinputstream.hg: - * gio/src/unixoutputstream.hg: Made wrapped constructors protected. - - * gio/src/bufferedinputstream.hg: - * gio/src/datainputstream.hg: - * gio/src/dataoutputstream.hg: Ditto for Data*Streams, - and marked some hand-wrapped functions to ignore. - - * gio/src/mountoperation.hg: Wrote a note about ask_question signal, - still to be wrapped. - - * gio/src/volume.hg: Added should_automount(). - - * gio/giomm: Updated svn:ignore properties. - -2.15.5: - -2008-02-11 Jonathon Jongsma - - * gio/src/file.ccg: - * gio/src/file.hg: - * gio/src/gio_enums.defs: - * gio/src/gio_vfuncs.defs: - * gio/src/mount.ccg: - * gio/src/mount.hg: - * gio/src/volume.ccg: - * gio/src/volume.hg: - * tools/m4/convert_gio.m4: update to match new gio API which adds a - GMountMountFlags argument to all mount operations - -2008-02-11 Jonathon Jongsma - - * configure.in: bump glib requirement to 2.15.5 (bug #515727) - -2008-02-09 Murray Cumming - - * gio/src/gio_vfuncs.defs: Added hand-written vfunc .defs for - GVolume and GVolumeMonitor. - * gio/src/volume.hg: - * gio/src/volumemonitor.hg: Added vfuncs, though not using all C++ types - yet. I am not really sure that these will ever be useful (if anyone will - ever want to implement them in C++). - -2008-02-09 Murray Cumming, - - * gio/giomm.h: - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/simpleasyncresult.ccg: - * gio/src/simpleasyncresult.hg: removed SimpleAsyncResult because I - do not believe it is really public API. If we are wrong then we - can resurrect it from svn later. - -2008-02-09 Takao Fujiwara - - * glib/glibmm/Makefile.am: - * glib/glibmm/i18n-lib.h: Actually install this header, - and make the header guards unique. - Bug #515133 - -2.15.4: - -2008-02-07 Murray Cumming - - * glib/glibmm/Makefile.am: - * glib/glibmm/main.h: Moved the Priorities enum into - * glib/glibmm/priorities.h: - Though all the giomm stuff seems to already include main.h anyway. - It probably shouldn't, and then we can include priorities.h only. - - * gio/src/bufferedinputstream.hg: - * gio/src/file.hg: - * gio/src/fileenumerator.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/gio_methods.defs: - * gio/src/inputstream.hg: - * gio/src/outputstream.hg: Use Glib::PRIORITY_DEFAULT instead of - G_PRIORITY_DEFAULT. - - * glib/src/iochannel.ccg: Add some ifdefs to avoid unused parameter - warnings when exceptions are disabled, because our current trick for - that is now causing another warning instead. - -2008-02-06 Jonathon Jongsma - - * gio/src/datainputstream.ccg: - * gio/src/datainputstream.hg: change the read_line() and read_until() APIs - so that they are actually useable. These functions now return a boolean - value to indicate that the end of the stream was reached and return the - string data via reference argument. See bug #514097 for more information - -2008-02-06 Murray Cumming - - * gio/src/gio_methods.defs: Regenerated with h2defs.py - - * configure.in: Depend on gio-unix-2.0 when not on win32. - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/unixinputstream.ccg: - * gio/src/unixinputstream.hg: - * gio/src/unixoutputstream.ccg: Mentioned this as unix-specific files - so they are built. - - * gio/src/bufferedoutputstream.hg: Fixed a parameter type to fix the - build, after a change in gio. - -2008-02-05 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: Added an overload of query_default_handler() - without the cancellable. - -2008-02-05 Murray Cumming - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/vfs.ccg: - * gio/src/vfs.hg: Remove these because they are not API - they - are declarations of entry points for dynamically-loadable modules. - -2008-02-04 Marko Anastasov - - * gio/src/file.ccg: - * gio/src/file.hg: Added copy_async(), with overloads without - slot_progress (which is optional and would run in the main loop), - with documentation. Wrapped copy_finish(), query_default_handler(). - -2008-02-04 José Alburquerque - - * gio/src/desktopappinfo.ccg: - * gio/src/desktopappinfo.hg: Added DesktopAppInfo but not to - Makefile_list_of_hg.am_fragment yet (need to use gio-unix-2.0.pc to - compile correctly) - -2008-02-04 José Alburquerque - - * gio/src/bufferedoutputstream.ccg: Changed size param of - create_sized() to type gsize (in agreement with declaration) to fix - compilation - -2008-02-04 Murray Cumming - - * tools/m4/class_interface.m4: Allow _CLASS_INTERFACE() to take two - extra optional paremeters to specify the base class, so that appropriate - code is generated when we derive from another Interface - which seems - appropriate when the GInterface has a prerequisite. - * gio/src/loadableicon.ccg: - * gio/src/loadableicon.hg: Derive from Icon, because it is a prerequisite - of this interface. Use the extra _CLASS_INTERFACE() parameters. - * gio/src/fileicon.hg: Do not derive from Icon because that happens - through LoadableIcon now. But do use _IMPLEMENTS_INTERFACE(Icon) here, - because only a Glib::Object can actually implement an interface. - -2008-02-04 Jonathon Jongsma - - * gio/src/file.hg: remove an obsolete TODO - * gio/src/gio_vfuncs.defs: add LoadableIcon vfunc definitions - * gio/src/loadableicon.ccg: - * gio/src/loadableicon.hg: wrap some methods of LoadableIcon. Some vfuncs - need to be wrapped yet - -2008-02-04 Jonathon Jongsma - - * gio/src/bufferedoutputstream.hg: switch back create_sized() size parameter - to gsize since glib switched their declaration due to bug #514013. - -2008-02-03 José Alburquerque - - * gio/src/unixinputstream.ccg: - * gio/src/unixinputstream.hg: - * gio/src/unixmount.ccg: - * gio/src/unixmount.hg: - * gio/src/unixoutputstream.ccg: - * gio/src/unixoutputstream.hg: Added these, but not to - Makefile_list_of_hg.am_fragment to avoid compile errors (need - gio-unix-2.0.pc to compile correctly) - * gio/src/vfs.hg: Moved forward decs to top (was between class doc and - declaration) - -2008-02-03 José Alburquerque - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/vfs.ccg: - * gio/src/vfs.hg: - * tools/m4/convert_gio.m4: Added Vfs - -2008-02-04 Murray Cumming - - * tools/extra_defs_gen/generate_defs_gio.cc: Added types. - * gio/src/gio_signals.defs: Regenerated. - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/filenamecompleter.hg: - * gio/src/themedicon.hg: Added FilenameCompleter and ThemedIcon. - -2008-02-03 José Alburquerque - - * gio/src/bufferedoutputstream.ccg: changed size param of - create_sized() to type guint (in agreement with declaration) - * gio/src/file.ccg: - * gio/src/file.hg: added non-cancellable set_attribute_string(), - set_attribute_byte_string(), set_attribute_{uint32, int32, uint64, - int64} - -2008-02-03 Murray Cumming - - * tools/extra_defs_gen/generate_defs_gio.cc: Added types. - * gio/src/gio_signals.defs: Regenerated. - - * tools/m4/convert_gio.m4: - * gio/src/drive.hg: - * gio/src/filterinputstream.hg: - * gio/src/filteroutputstream.hg: - * gio/src/mount.hg: - * gio/src/mountoperation.hg: - * gio/src/volume.hg: - * gio/src/volumemonitor.hg: Added signals and properties. - - * gio/src/file.ccg: - * gio/src/file.hg: Added query_filesystem_info() without a cancellable. - -2008-02-03 Murray Cumming - - * gio/src/filemonitor.hg: Add class documentation, now that there is - some in gio. - * gio/src/volumemonitor.hg: Add class documentation. - Remove _DO_NOT_DERIVE_GTYPE because gio no longer abuses the type - system - see bug #511814. - -2008-02-02 Jonathon Jongsma - - * gio/giomm.h: - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/memoryinputstream.ccg: - * gio/src/memoryinputstream.hg: add MemoryInputStream class - -2008-02-02 Jonathon Jongsma - - * gio/src/dataoutputstream.ccg: fix copy/paste error - -2008-02-02 Jonathon Jongsma - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/datainputstream.hg: - * gio/src/dataoutputstream.hg: add DataOutputStream class - * gio/src/dataoutputstream.ccg: - * gio/src/enums.ccg: - * gio/src/enums.hg: moved the DataStream enums to a common enums header - since they're needed by both the input and output data streams. - * gio/giomm.h: add new headers - -2008-02-02 Jonathon Jongsma - - * gio/src/bufferedoutputstream.ccg: - * gio/src/bufferedoutputstream.hg: add BufferedOutputStream class - -2008-02-02 Jonathon Jongsma - - * gio/giomm.h: - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/filteroutputstream.ccg: - * gio/src/filteroutputstream.hg: - * tools/m4/convert_gio.m4: add FilterOutputStream class - -2008-02-03 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: find_enclosing_mout(), append_to(): Reordered - parameters and added overload without cancellable. Removed superfluous - monitor_file() overload. - -2008-02-03 Murray Cumming - - * tools/m4/convert_gio.m4: - * gio/src/bufferedinputstream.hg: Move a signal-specific conversion - here, because these conversions are unusual and shouldn't be used by - mistake elsewhere, and when they are next to the signal then it is - more obvious why they take a reference (also fixed). - -2008-02-02 Jonathon Jongsma - - * gio/giomm.h: add new header files to the main include - * gio/src/datainputstream.hg: add FIXME note about not being able to tell - error conditions from empty strings on read_line() / read_until() - -2008-02-02 Jonathon Jongsma - - * gio/giomm/Makefile.am: add slot_async.h private header to EXTRA_DIST so - that it gets distributed. I didn't add it to the - sublib_files_extra_general_h variable, since then it would get installed - -2008-02-02 Jonathon Jongsma - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/datainputstream.ccg: - * gio/src/datainputstream.hg: - * tools/m4/convert_gio.m4: add DataInputStream class - -2008-02-02 Jonathon Jongsma - - * gio/src/gio_vfuncs.defs: - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/bufferedinputstream.ccg: - * gio/src/bufferedinputstream.hg: add BufferedInputStream class - * gio/giomm/slot_async.cc: - * gio/giomm/slot_async.h: split out the SlotProxy_async_callback so it - doesn't have to be implemented in every file - * gio/src/drive.ccg: - * gio/src/file.ccg: - * gio/src/file.hg: - * gio/src/fileenumerator.ccg: - * gio/src/fileinputstream.ccg: - * gio/src/fileoutputstream.ccg: - * gio/src/inputstream.ccg: - * gio/src/mount.ccg: - * gio/src/outputstream.ccg: - * gio/src/volume.ccg: use the common SlotProxy_async_callback function in - all of these files - * tools/m4/convert_gio.m4: add conversion for Cancellable - * gio/giomm/Makefile.am: indenting changes - -2008-02-02 Marko Anastasov - - * gio/src/volumemonitor.hg: Removed VolumeMonitorEvent enum def, - which does not exist any more in the C API. - * gio/src/volume.hg: Added get_identifier(), enumerate_identifiers(). - -2008-02-02 Marko Anastasov - - * gio/src/volume.hg: Added get_mount(). - * gio/src/gio_enums.defs: Regenerated with enums.pl. - * gio/src/gio_methods.defs: Regenerated with h2defs.py. - -2008-02-02 Kjartan Maraas - - * tests/giomm_simple/main.cc: Fix compile with GCC 4.3. - -2008-02-02 Murray Cumming - - * build_shared/Makefile_gensrc.am_fragment: Use the local .pm files - for gmmproc instead of installed ones. This was a regression that I - introduced when I added gio to the build. - * tools/pm/DocsParser.pm: append_parameter_docs(): Ignore error - parameters because they are almost always wrapped as exceptions. - -2008-02-01 Jonathon Jongsma - - * gio/src/Makefile.am: - * gio/src/appinfo.hg: - * gio/src/gio_vfuncs.defs: - * tools/m4/convert_gio.m4: - * tools/m4/convert_glib.m4: Add Gio::AppInfo vfuncs - -2008-02-02 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: Added overloads of create_file(), remove(), trash(), - make_directory(), make_symbolic_link(), query_settable_attributes(), - and query_writable_namespaces() without cancellable parameters. - The set_attribute_*() methods still need this to be done. - -2008-02-02 Murray Cumming - - * gio/src/cancellable.hg: Added the signal. - * gio/src/file.ccg: - * gio/src/file.hg: Added copy_attributes(), added mount_enclosing_volume() - mount_enclosing_volume_finish(), find_enclosing_mount(), and - find_enclosing_mount_finish(). - Added a mount_mountable() overload with no parameters. - set_attributes_from_info(): Reordered parameters so we can have default - values. - -2008-02-02 Murray Cumming - - * gio/giomm/contenttype.cc: - * gio/giomm/contenttype.h: Use convert_return_gchar_ptr_to_ustring() - because it releases the gchar* and checks for NULL. - Removed the ontent_type_guess() that takes a basic_string - because I doubt anybody would use that. Added one that takes a - gchar* and size, and one that takes a std::string (for when the data is - a string). - -2008-01-31 Jonathon Jongsma - - * gio/giomm/contenttype.cc: put content_type functions in the Gio namespace - which was accidentally omitted. - -2008-01-31 Jonathon Jongsma - - * gio/giomm.h: forgot to add new contenttype.h header - * gio/giomm/Makefile.am: forgot to install contenttype.h header - -2008-01-31 Jonathon Jongsma - - * gio/giomm/Makefile.am: - * gio/giomm/contenttype.cc: - * gio/giomm/contenttype.h: wrap content_type_* functions - -2008-01-29 Murray Cumming - - * gio/src/file.hg: get_child_for_display_name(): - Change the display_name parameter to a ustring because - the C documentation says it should be UTF-8. - * gio/src/fileinfo.hg: Add get_attribute_as_string(), which - returns a UTF-8 string. - (Note that no other gio documentation mentions UTF-8.) - Thanks to Iain Nicol. - -2.15.3: - -2008-01-27 Murray Cumming - - * gio/src/fileattribute.ccg: - * gio/src/fileattribute.hg: Split into - * gio/src/fileattributeinfo.ccg: - * gio/src/fileattributeinfo.hg: and - * gio/src/fileattributeinfolist.ccg: - * gio/src/fileattributeinfolist.hg - - * gio/giomm.h: - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/file.hg: - * gio/src/fileinfo.hg: - * gio/src/outputstream.hg: - * gio/src/seekable.hg: - * glib/src/optionentry.hg: Adapted. - - * tools/pm/DocsParser.pm: substitute_identifiers(): - Tried (unsuccessfully) to remove G:: prefixes in generated documentation. - -2008-01-27 Murray Cumming - - * gio/src/appinfo.hg: - * gio/src/asyncresult.hg: - * gio/src/cancellable.hg: - * gio/src/drive.hg: - * gio/src/error.hg: - * gio/src/file.hg: - * gio/src/fileattribute.hg: - * gio/src/fileenumerator.hg: - * gio/src/fileicon.hg: - * gio/src/fileinfo.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/filterinputstream.hg: - * gio/src/icon.hg: - * gio/src/inputstream.hg: - * gio/src/loadableicon.hg: - * gio/src/mount.hg: - * gio/src/mountoperation.hg: - * gio/src/outputstream.hg: - * gio/src/seekable.hg: - * gio/src/simpleasyncresult.hg: - * gio/src/volume.hg: Do not include gio.h from our public headers, to - avoid polluting the namespace. - -2008-01-27 Murray Cumming - - * gio/src/appinfo.ccg: - * gio/src/appinfo.hg: Make equal() non virtual - equal_vfunc() is instead. - * gio/src/file.ccg: - * gio/src/file.hg: Make equal() non virtual - equal_vfunc() is instead. - replace_contents(), replace_contents_async(), replace_contents_finish(): - Reordered parameters to allow default values, and added method overloads. - -2008-01-25 Murray Cumming - - * tools/m4/convert_gio.m4: - * gio/src/filterinputstream.hg: Added the _CLASS_* macro so this type - is really wrapped. - -2008-01-25 Murray Cumming - - * tools/m4/class_shared.m4: Added _DO_NOT_DERIVE_GTYPE for use in .hg - files when we do not want to derive a new GType, meaning of course that - we cannot have default signal handlers or vfuncs. - * gio/src/volumemonitor.hg: Use _DO_NOT_DERIVE_GTYPE, because - gio tries to call every type that derives from G_TYPE_VOLUME_MONITOR, - which seems unwise to me - bug #511814. - This makes gtkmm-documentation/examples/book/volumes not crash. - -2008-01-24 Jonathon Jongsma - - * gio/giomm.h: add missing headers to the main include header - -2008-01-23 Murray Cumming - - * gio/src/error.hg: Renamed Gio::IOError to - Gio::Error. - * gio/src/fileenumerator.ccg: - * gio/src/fileenumerator.hg: Added method overloads of close() and - next_file() without the cancellable parameter. - -2008-01-23 Murray Cumming - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/error.ccg: - * gio/src/error.hg: Wrapped GIOErrorEnum as Gio::Error exception. - (This is registered in wrap_init()), so that the correct exception - is thrown. - * gio/giomm.h: Include error.h - -2008-01-23 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: Added a read() method overload with no - cancellable parameter. - * tests/giomm_simple/main.cc: Try loading the contents of a file. - Seems to work, though there is an unknown GError domain when the file - does not exist. - -2.15.2: - -2008-01-21 Murray Cumming - - * gio/src/gio_methods.defs: Regenerated. - * gio/src/file.ccg: - * gio/src/file.hg: - * gio/src/fileinputstream.ccg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.ccg: - * gio/src/fileoutputstream.hg: More overloads, parameter reordering, - and documentation. - -2008-01-21 Murray Cumming - - * gio/src/inputstream.ccg: - * gio/src/inputstream.hg: Added method overloads and documentation. - -2008-01-20 Murray Cumming - - * gio/src/fileinputstream.ccg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.ccg: - * gio/src/fileoutputstream.hg: Ignore functions that are just - duplicates of the ones in Seekable, and mention Seekable more in - the documentation. - * gio/src/seekable.hg: Expand the class documentation. - * gio/src/outputstream.ccg: - * gio/src/outputstream.hg: Added method overloads and documentation. - -2008-01-20 Murray Cumming - - * glib/glibmm/objectbase.cc: - * glib/glibmm/objectbase.h: Added connect_property_changed_with_return() - because connect_property_changed() does not return a sigc::connection. - Bug #433984 (Philip Langdale, Kalle Vahlman). - -2008-01-20 Murray Cumming - - * glib/src/checksum.ccg: - * glib/src/checksum.hg: Added class documentation. Corrected constructor - documentation and added operator bool() to check for a failure in the - constructor. - -2008-01-20 Marko Anastasov - - * tools/enum.pl: Handle possible parenthesis when matching enum - values declared as shifted ones. Bug #498621. - -2008-01-20 Naveen Verma - - * glib/src/checksum.[hg|ccg]: - * glib/src/Makefile_list_of_hg.am_fragment: - Added Checksum, wrapping GChecksum Bug #510235. - -2008-01-20 Murray Cumming - - * gio/src/inputstream.hg: Ignore g_input_stream_clear_pending() as well as - the other implementation functions. - * gio/src/outputstream.hg: Ignore the equivalent functions here, - assuming that they are also only for implementations. - -2008-01-20 Murray Cumming - - * gio/src/fileinfo.hg: FileAttributeMatcher::create(): Add a default - value and documentation. - * gio/src/file.ccg: - * gio/src/file.hg: - * gio/src/mount.ccg: - * gio/src/mount.hg: const corrections for Slot* and Cancellable - parameters. - -2008-01-20 Murray Cumming - - * gio/src/file.hg: - * gio/src/file.ccg: enumerate_children(), enumerate_children_async(), - query_info(), query_info_async(), query_exists(): Reorder parameters to - add default values, add documentation, make const. - -2008-01-18 Murray Cumming - - * gio/src/mount.ccg: - * gio/src/mount.hg: Added unmount(), remount(), and - eject(), based on code from José Alburquerque in bug #510080. - * gio/src/volume.hg: Added documentation. - -2008-01-18 Murray Cumming - - * gio/src/drive.ccg: - * gio/src/drive.hg: poll_for_media(): Added documentation. - Wrapped 2 vfuncs (though the .defs still need to be written). - * gio/src/file.ccg: - * gio/src/file.hg: move(), copy(), replace(): Rearranged the parameters so we - can have default values, and added some documentation. - set_display_name(), set_display_name_async(): Take a ustring instead - of a std::string. Added documentation. - - * gio/src/fileattribute.ccg: - * gio/src/fileattribute.hg: Added FileAttributeInfoList::add(). - Added FileAttributeInfoList::empty(). - - * tools/m4/convert_gio.m4: - * gio/src/appinfo.hg: - * gio/src/fileenumerator.hg: Move the ListHandle conversions to the - .hg files because the ownership is specific to each use. - -2008-01-18 Murray Cumming - - * gio/src/drive.hg: - * gio/src/volumemonitor.hg: Wrapped functions that reurn GLists. - -2008-01-18 Murray Cumming - - * gio/src/appinfo.hg: - * gio/src/icon.hg: Removed operator= and operator!= for these RefPtr<> - specializations, because they are unobvious and conflict with the generic - ones. - -2008-01-17 Marko Anastasov - - * gio/src/inputstream.ccg: - * gio/src/inputstream.hg: Fixed const-ness of Cancellables. - * gio/src/fileinputstream.ccg: - * gio/src/fileinputstream.ccg: - * gio/src/fileoutputstream.ccg: - * gio/src/fileoutputstream.hg: Added an overload of query_info_async(), - * gio/src/outputstream.ccg: - * gio/src/outputstream.hg: write_async(), splice_async() without - the Cancellable. - - Patch from José Alburquerque, bug #510080. - -2008-01-17 Murray Cumming - - * gio/src/file.hg: - * gio/src/drive.ccg: - * gio/src/drive.hg: eject(), - * gio/src/volume.ccg: - * gio/src/volume.hg: eject(), - * tools/m4/convert_gio.m4: Wrapped GMountUnmountFlags enum as - MountUnmountFlags, and used it. - - * gio/src/file.ccg: - * gio/src/file.hg: unmount_mountable(), eject(): Reorder the - parameters and add a default flag value. - -2008-01-17 Marko Anastasov - - * gio/src/filterinputstream.ccg: - * gio/src/filterinputstream.hg: - * gio/src/Makefile_list_of_hg.am_fragment: Added FilterInputStream. - - Updated svn:ignore properties. - -2008-01-16 Murray Cumming - - * tools/extra_defs_gen/generate_defs_gio.cc: Added Mount and - VolumeMonitor. - * gio/src/gio_signals.defs: Regenerated. - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/mount.ccg: - * gio/src/mount.hg: Added Mount - * gio/src/volumemonitor.hg: - * gio/src/volumemonitor.ccg: Added VolumeMonitor. - - * tools/m4/convert_gio.m4: Added necessary conversions. - -2008-01-16 Murray Cumming - - * gio/src/Makefile_list_of_hg.am_fragment: - * tools/m4/convert_gio.m4: - * gio/src/filemonitor.hg: - * gio/src/filemonitor.hg: Added FileMonitor. - * gio/src/file.hg: Tried to wrap monitor_file() and - monitor_directory but there is a problem with the GError in - the generated code. - - * tools/extra_defs_gen/generate_defs_gio.cc: Added GFileMonitor. - -2008-01-16 Murray Cumming - - * gio/src/seekable.ccg: - * gio/src/seekable.hg: Added methods and vfuncs (though the .defs - do not exist for the vfuncs yet.) - -2008-01-16 Murray Cumming - - * gio/src/file.hg: Added query_file_exists(). - * glib/src/uriutils.hg:uri_unescape_string(), uri_escape_string(): - Change the illegal_characters and reserved_chars_allowed parameters - to std::string, because they may not be UTF-8 - See bug #508773. - -2008-01-15 Murray Cumming - - * gio/src/drive.ccg: - * gio/src/drive.hg: eject(), poll_for_media() - * gio/src/volume.ccg: - * gio/src/volume.hg: mount(), eject(): - Add method overloads that take no slot. - - * glib/src/uriutils.hg: Fix a typo to fix the build. - -2008-01-15 Murray Cumming - - * glib/src/uriutils.hg: Improved the documentation for uri_unescape_string(), - based on the improved C documentation. - -2008-01-15 Murray Cumming - - * gio/src/drive.ccg: - * gio/src/drive.hg: - * gio/src/file.ccg: - * gio/src/file.hg: - * gio/src/fileenumerator.ccg: - * gio/src/fileenumerator.hg: - * gio/src/fileinputstream.ccg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.ccg: - * gio/src/fileoutputstream.hg: - * gio/src/inputstream.ccg: - * gio/src/inputstream.hg: - * gio/src/outputstream.ccg: - * gio/src/outputstream.hg: - * gio/src/volume.ccg: - * gio/src/volume.hg: *_async() functions: Rearrange the parameters, - so the (optional) cancellable is always after the slot, - and so flags and io_priority are always at the end, so they can have - default values. - -2008-01-15 Murray Cumming - - * tools/m4/Makefile_list_of_sources.am_fragment: - * tools/m4/convert_gio.m4: - * tools/m4/convert_glib.m4: - * tools/m4/convert_gtkmm.m4: Moved the gio conversions into - their own .m4 file, to make it easier to find them. - - * gio/src/cancellable.ccg: - * gio/src/cancellable.hg: Use _WRAP_METHOD() for get_current(), - which also fixes the refcounting. - * glib/src/uriutils.hg: Added documentation and default parameter - values. - -2.15.1: - -2008-01-12 Murray Cumming - - * glib/glibmm.h: Added uriutils.h - * glib/glibmm/private/Makefile.am: Renamed some variables to - avoid clashes with the build_shared/ variables, which caused - a dist failure involving wrap_init.h - -2008-01-11 Murray Cumming - - * gio/src/appinfo.hg: Added class documentation. - * gio/src/asyncresult.hg: - * gio/src/cancellable.hg: - * gio/src/drive.hg: - * gio/src/file.hg: - * gio/src/fileattribute.hg: - * gio/src/fileenumerator.hg: - * gio/src/fileicon.hg: - * gio/src/fileinfo.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/icon.hg: - * gio/src/inputstream.hg: - * gio/src/loadableicon.hg: - * gio/src/mountoperation.hg: - * gio/src/outputstream.hg: - * gio/src/seekable.hg: - * gio/src/simpleasyncresult.hg: - * gio/src/volume.hg: Added @newin2p16 to - the documentation. - - * glib/src/Makefile_list_of_hg.am_fragment: - * glib/src/uriutils.ccg: - * glib/src/uriutils.hg: Added wrappers of (some) of - these new g_uri_* functions. Not yet documented. - -2008-01-11 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: Rename create() to create_file(), - create_async() to create_file_async() and - create_finish() to create_file_finish() to slightly - reduce confusion with the static create*() methods. - -2008-01-11 Murray Cumming - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/seekable.ccg: - * gio/src/seekable.hg: Added the Seekable interface, though it - has not methods yet. - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: Derive/implement Seekable. - * gio/src/icon.hg: - * gio/src/inputstream.hg: - * gio/src/loadableicon.hg: - * gio/src/mountoperation.hg: - * gio/src/outputstream.hg: - * gio/src/simpleasyncresult.hg: - * gio/src/volume.hg: Added class documentation, based on the C - documentation. - -2008-01-10 Marko Anastasov - - * gio/src/appinfo.ccg: - * gio/src/appinfo.hg: Wrapped AppInfo and AppLaunchContext, without - the vfuncs. - * tools/m4/convert_glib.m4: New conversions. - The previous comment on build was not valid. - -2008-01-10 Marko Anastasov - - * gio/src/appinfo.ccg: - * gio/src/appinfo.hg: - * gio/src/Makefile_list_of_hg.am_fragment: - Added AppInfo, with only two methods before we see why it - doesn't get included in the build. - -2008-01-10 Marko Anastasov - - * gio/src/drive.hg: - * gio/src/drive.ccg: Added poll_for_media, poll_for_media_finish. - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/inputstream.hg: - * gio/src/volume.hg: Modified *_finish functions to take a const - AsyncResult. - -2008-01-10 Marko Anastasov - - * gio/src/drive.hg: Added missing capability checking functions. - * gio/giomm: Updated svn:ignore properties. - -2008-01-10 Jonathon Jongsma - - * gio/src/mountoperation.hg: api change in reply() virtual function and - addition of MountOperationResult enumeration - * tools/m4/convert_glib.m4: add MountOperationResult enum conversion - * gio/src/gio_enums.defs: re-generate enums - * gio/src/gio_methods.defs: re-generate methods - -2008-01-10 Murray Cumming - - * Makefile.am: - * build_shared/Makefile_build.am_fragment: - * build_shared/Makefile_build_extra.am_fragment: - * build_shared/Makefile_build_gensrc.am_fragment: - * build_shared/Makefile_gensrc.am_fragment: - * build_shared/Makefile_gensrc_platform.am_fragment: - Copy (and very slightly adjust) the build_shared/ files from - gtkmm, which has had multiple sub-libraries for a long time. - * gio/giomm/Makefile.am: - * gio/src/Makefile.am: - * gio/src/Makefile_list_of_hg.am_fragment: - * glib/glibmm/Makefile.am: - * glib/glibmm/private/Makefile.am: - * glib/src/Makefile.am: - * glib/src/Makefile_list_of_hg.am_fragment: - Adapt to the structure (variable names, mostly) needed by the - newer build_shared/ files, so that the giomm library is actually - built. - - * tools/m4/convert_glib.m4: - * gio/giomm/init.cc: - * gio/giomm/init.h: - * gio/src/asyncresult.ccg: - * gio/src/drive.ccg: - * gio/src/drive.hg: - * gio/src/file.ccg: - * gio/src/file.hg: - * gio/src/fileattribute.ccg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/volume.ccg: - * gio/src/volume.hg: Various build fixes, including adding a flags - parameter to unmount and eject methods. - -2008-01-10 Murray Cumming - - * gio/giomm.h: Correct an include. - * gio/src/asyncresult.hg: - * gio/src/cancellable.hg: - * gio/src/drive.hg: - * gio/src/file.hg: - * gio/src/fileattribute.hg: - * gio/src/fileenumerator.hg: - * gio/src/fileicon.hg: - * gio/src/fileinfo.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/outputstream.hg: - * gio/src/simpleasyncresult.hg: - * gio/src/volume.ccg: - * gio/src/volume.hg: Correct several includes to use giomm/ instead of - glibmm/. - - * configure.in: - * examples/Makefile.am_fragment: - * tests/Makefile.am_fragment: Include/Link giomm too. - - * tests/Makefile.am: - * tests/giomm_simple/Makefile.am: - * tests/giomm_simple/giomm_simple.cc: - Added a little test, which shows that the library is not being built - properly - we get undefined symbols. - -2008-01-10 Murray Cumming - - * tools/extra_defs_gen/generate_defs_gio.cc: Added some types used so - far. There are probably more that should be added here. - * tools/extra_defs_gen/generate_extra_defs.cc: get_properties(): - Added warnings and a check to avoid a crash when - g_object_interface_list_properties() returns a NULL paramspec, but a - non-null properties count, as is happening with GVolume. - * gio/src/gio_signals.defs: Generated this from generate_defs_gio. - -2008-01-09 Murray Cumming - - * gio/src/Makefile_list_of_hg.am_fragment: - * gio/src/loadableicon.ccg: - * gio/src/loadableicon.hg: Added this, though no methods or vfuncs are - wrapped yet. - * tools/m4/convert_glib.m4: - * gio/src/fileicon.hg: - * gio/src/fileinfo.hg: Derive from LoadableIcon and implement it. - set_modification_time(): Take a const TimeVal. - * gio/src/fileinputstream.ccg: - * gio/src/fileinputstream.hg: Added documentation and a version of - seek() without the cancellable parameter. - * gio/src/gio_docs.xml: Generated from docextract_to_xml.py so we get - documentation for methods created by _WRAP_METHOD(). - -2008-01-09 Murray Cumming - - * gio/src/file.ccg: - * gio/src/file.hg: Added method documentation for most *_async methods. - See also GTK+ bug #508297. - Removed one superfluous load_partial_contents_async() method overload. - * gio/src/fileenumerator.hg: Corrected documentation for close_async(). - -2008-01-08 Murray Cumming - - * configure.in: Uncomment GTKMM_DOXYGEN_INPUT_SUBDIRS to fix the - reference documentation build (no idea when this happened) and add - gio to the list of directories. - - * glib/src/optioncontext.ccg: - * glib/src/optioncontext.hg: Added get_help(). - - * gio/src/gio_enums.defs: Regenerated with enums.pl - * gio/src/gio_methods.defs: Regenerated with h2defs.py. - - * tools/m4/convert_glib.m4: - * gio/src/fileattribute.hg: Renamed FileAttributeFlags to - FileAttributeInfoFlags, as it is in gio. - - * gio/src/fileenumerator.hg: - * gio/src/asyncresult.hg: - * gio/src/cancellable.hg: - * gio/src/drive.hg: - * gio/src/file.hg: Added class documentation, and some method - documentation, based on the C documentation. - Many giomm classes still need documentation. - -2008-01-08 Murray Cumming - - * gio/src/asyncresult.hg: - * gio/src/cancellable.hg: - * gio/src/fileattribute.hg: - * gio/src/fileenumerator.hg: - * gio/src/fileinputstream.hg: - * gio/src/fileoutputstream.hg: - * gio/src/icon.hg: - * gio/src/inputstream.hg: - * gio/src/mountoperation.hg: - * gio/src/outputstream.hg: - * gio/src/simpleasyncresult.hg: - Made some whitespace more consistent with the rest of glibmm. - In particular, white space alignment in .hg files will often be even worse - when seen in the generated .h files. - - * gio/src/drive.hg: get_icon(), - * gio/src/file.hg: read(), - * gio/src/fileicon.hg: get_file(), - * gio/src/fileinfo.hg: get_icon(), - * gio/src/volume.hg: get_drive(), get_icon(): - For the const versions, actually return a const RefPtr. - -2.15.0: - -2007-12-28 Marko Anastasov - - * tools/extra_defs_gen/generate_defs_gio.cc: - * tools/extra_defs_gen/Makefile.am: Build a separate extra defs - generating program for gio. Currently the program would crash - with get_defs() calls with gio types. - * configure.in: Define GIOMM_CFLAGS and GIOMM_LIBS. - -2007-12-28 Marko Anastasov - - * gio/src/gio_enums.defs: - * gio/src/gio_methods.defs: Regenerated with enums.pl and h2defs.py. - -2007-12-28 Marko Anastasov - - * gio/src/icon.ccg: - * gio/src/icon.hg: - * gio/src/inputstream.ccg: - * gio/src/inputstream.hg: - * gio/src/Makefile_list_of_hg.am_fragment: Added files missing from - the import. - - Set svn:ignore properties for gio. - -2007-12-28 Murray Cumming - - * configure.in: Mention the new gio/giommconfig.h in AM_CONFIG_HEADER(). - * gio/Makefile.am: Change references to the giomm-2.0.pc to giomm-2.4.pc. - * gio/src/Makefile_list_of_hg.am_fragment: Remove icon.hg and inputstream.hg - because they do not exist in svn. - * gio/src/outputstream.hg: Comment out set_pending() because gmmproc complains - about the wrong number of parameters. - - This fixes the build, though I don't know yet if everything is working properly. - -2007-12-28 Marko Anastasov - - * configure.in: Fixed typo. - -2007-12-28 Marko Anastasov - - * gio/*: - * configure.in: - * Makefile.am: - * tools/m4/convert_glib.m4: Checked in sources from giomm. Build - needs to be fixed to work with scripts in build_shared/. - -2007-12-28 Murray Cumming - - * glib/glibmm/ustring.h: Added @newin2p16 to compose() and format() - documentation. - * glib/src/keyfile.ccg: - * glib/src/keyfile.hg: set_double_list(): Make the ArrayHandle argument const. - This could not have been used before. - -2007-12-28 Murray Cumming - - * glib/src/keyfile.hg: Add class documentation from the glibmm-2-14 branch. - -2007-12-28 Murray Cumming - - * tools/m4/class_gobject.m4: - * tools/m4/ctor.m4: - _INITIALLY_UNOWNED_SINK: Rename from INITIALLY_UNOWNED_SINK, - for consistency, because this could be used directly from .ccg files - that use _CONSTRUCT(). - Remove the debug code for the else case. - -2007-12-28 Murray Cumming - - * tools/m4/class_gobject.m4: - * tools/m4/ctor.m4: - Added the _DERIVES_INITIALLY_UNOWNED macro, for use - after _CLASS_GOBJECT(), if the C type derives - from GInitiallyUnowned rather than just GObject. - (Not for use with GtkObject-derived classes). - This does g_object_ref_sink() so that we get a normally-behaved - GObject. - -2007-12-28 Murray Cumming - - * scripts/c_std.m4: Added this, to fix the build. I forgot to - add this when merging the change from glibmm-2-14 on 2007-10-22. - -2007-12-28 Murray Cumming - - * glib/glibmm/refptr.h: Use @newin2p16 in the reset() documentation. - -2007-12-28 Murray Cumming - - * glib/glibmm/refptr.h: Deprecate clear(), replacing it with - reset(), because people often do treemodel.clear() when they - mean treemodel->clear(). reset() is consistent with std::auto_ptr<>. - -2007-12-28 Daniel Elstner - - * tools/pm/Output.pm (output_wrap_property): Refuse to generate - a wrapper for a construct-only property which is also write-only, - and display an error message accordingly. (#436789) - -2007-12-28 Murray Cumming - - * glib/glibmm/error.cc: - * glib/glibmm/exception.cc: - * glib/src/convert.ccg: - * glib/src/date.ccg: Include glib.h instead of gmessages.h or - gtestutils.h so this builds with all versions of glib. - -2007-12-17 Marko Anastasov - - * glib/glibmm/exception.cc: - * glib/glibmm/error.cc: - * glib/src/date.ccg: - * glib/src/convert.ccg: Include gtestutils.h instead of gmessages.h - for g_assert* adapting to glib head. - -2007-11-20 Sebastien Bacher - - * glib/glibmm/object.cc: fix build issue when using gcc4.3 (#498438) - -2007-10-22 Murray Cumming - - * Merged this change from 2007-03-03 from the glibmm-2-12 branch, which was - missing from this branch: - * configure.in: - * glib/glibmmconfig.h.in: - * glib/src/date.ccg: - * glib/src/date.hg: - * scripts/Makefile.am: - * scripts/c_std.m4: Added a test for the case that time_t is equivalent to - guint32, as seems to be the case on NetBSD-4.99.6/amd64, so we can ifdef-out - the (deprecated, anyway) Glib::Date::set_time(GTime) method when necessary, because - GTime is also equivalent to guint32. - Bug #386990. - -2007-10-12 Armin Burgmeier - - * tools/m4/base.m4: Added a new section called SECTION_HEADER_FIRST - that within the header file that is before any generated code (apart - from the include guards) and a _CONFIGINCLUDE macro that includes a - file within this section. This is intended to be used with - g*mmconfig.h so the *_DISABLE_DEPRECATED define is set for deprecated - classes also when included from other code. - -2007-10-05 Philipp Kerling - - * tools/extra_defs_gen/generate_extra_defs.cc: - Also create defs for interfaces, by refing and unrefing them - temporarily. - -2007-09-29 Rémi Cardona - - * configure.in: - increase the minimum glib requirements. - Bug #481566. - -2007-10-02 Murray Cumming - - * glib/glibmm/wrap.cc: - * glib/glibmm/wrap.h: Replaced wrap_create_new_wrapper() - (introduced by the last commit) with wrap_create_new_wrapper(), - allowing us to check that the parent GType actually implements - the interface. This allows us to return a parent known type - if it implements the wanted interface. - -2007-09-25 Murray Cumming - - * glib/glibmm/wrap.cc: - * glib/glibmm/wrap.h: Added wrap_auto_interface<>(), which should - be used by wrap() specializations for interfaces, so we create - instances of the interface even if the derived C type is unknown to - us. - * glib/glibmm/signalproxy_connectionnode.h: Do not wrap.h from here - unnecessarily, to allow us to include objectbase.h in wrap.h, - needed by the new templated method. - * tools/m4/class_interface.m4: Use wrap_auto_interface<>() - instead of wrap_auto() for interfaces. - -2007-09-06 Daniel Elstner - - * glib/src/regex.{ccg,hg} (Regex): Some cosmetic cleanup. Also - replace C-style casts in default argument values with static_cast<>. - (escape_string): Wrap missing function. - (match_full): Rename to and add as overloads of match(). - (match_all_full): Rename to and add as overloads of match_all(). - (split_full): Rename to and add as overloads of split(). - -2007-09-03 Daniel Elstner - - * glib/glibmm/ustring.cc (ustring::FormatStream::FormatStream): Use - the global C++ locale instead of forcing the environment's locale - onto the formatting stream. This lifts an unnecessary restriction - at the cost of requiring users to call std::locale::global(). - * glib/glibmm/ustring.h (ustring): Advertise the new compose and - format API in the class documentation. - (ustring::format): Correct a couple of cut'n'paste mistakes -- ouch. - Also add two more overloads so that format() now takes up to eight - arguments. Extent the method documentation, too. - (ustring::Stringify): Explicitly declare the class as noncopyable. - (ustring::compose): Qualify calls to method ustring::compose_argv() - in order to avoid surprising name lookup results in the context of - the template instantiation. - - * docs/reference/Doxyfile.in (PREDEFINED): Add GLIBMM_HAVE_WIDESTREAM - so that the wide stream I/O operators show up in the documentation. - -2007-08-16 Jonathon Jongsma - - * docs/reference/glibmm_footer.html_fragment, - docs/reference/glibmm_header.html_fragment: added
to doxygen header - and footer to make it easier to integrate with library.gnome.org, per a - request by Frederic Peters - -2007-08-15 Daniel Elstner - - * glib/glibmm/ustring.{cc,h} (ustring::compose_argv): Rename - "format" argument to "fmt" to avoid name clashes with the method - of the same name. - (ustring::compose): Make the type of each substitution parameter - a template argument, and invoke ustring::format() implicitly for - non-string arguments. Explicit invocation of ustring::format() is - still necessary in order to apply I/O manipulators to an argument. - (ustring::Stringify): New auxiliary template class used in the - implementation of ustring::compose(). - - * examples/compose/main.cc (show_examples): Omit explicit calls - to ustring::format() where possible. - -2007-08-12 Daniel Elstner - - * examples/compose: New example demonstrating the message - compose and format features. - * examples/compose/main.cc: New file. - * examples/compose/Makefile.am: New file. - - * examples/Makefile.am (example_dirs): Add compose directory. - * configure.in (AC_CONFIG_FILES): Add examples/compose/Makefile. - -2007-08-12 Daniel Elstner - - * build_shared/Makefile_build.am_fragment (all_includes): Add - -I$(top_builddir) in order to allow to be included. - - * glib/glibmm/ustring.{cc,h}: Include for the - definition of SIZEOF_WCHAR_T. - (ustring::FormatStream::stream): Replace accessor with template - method that passes its argument onto the stream. Add overload - for "const char*" to enable the use of UTF-8 string literals as - arguments to ustring::format(). - (ustring::FormatStream::FormatStream): Handle exceptions on - failure to initialize the locale gracefully. - (ustring::format): Adapt to the modified stream() method. - (operator<<): Add missing call to ustring::raw() to get the - number of bytes instead of code points. Oops. - -2007-08-12 Daniel Elstner - - * glib/glibmm/ustring.{cc,h}: Add preliminary implementation of - a message compose and format API (bug #399216). The API design - is not final and still open for discussion. - (ustring::compose): New set of static methods for composing - internationalized text messages by substituting placeholders - in a template string. - (ustring::format): New set of static methods for locale-dependent - formatting of numbers and other streamable objects to strings. - (ustring::compose_argv): New static method which implements the - common functionality of the compose() overloads. - (ustring::FormatStream): New helper class which implements the - type-independent functionality of the format() templates. - (operator>>): New operator overload for std::wistream. - (operator<<): New operator overload for std::wostream. - -2007-08-12 Daniel Elstner - - * scripts/dk-feature.m4: New file, defining M4 utility macros for - feature testing. These macros are part of my personal autoconf - library and are not specific to glibmm, as indicated by the "DK_" - namespace prefix. - - * configure.in (AC_INIT): Switch to the non-deprecated usage of - AC_INIT() by passing project name and version number as arguments. - This is necessary to define a couple of auxiliary macros. - (AC_PREREQ): Bump Autoconf version requirement to 2.58. - (AC_CONFIG_SRCDIR): Point to project-specific source file. - (AC_CONFIG_MACRO_DIR): Declare scripts/ as M4 directory. - (AM_INIT_AUTOMAKE): Switch to non-deprecated usage. - (AC_CHECK_SIZEOF): Use to determine the size of wchar_t. - (DK_CHECK_FEATURE): Use new feature test macro to check for - support of wide-character streams. - - * config.h.in (SIZEOF_WCHAR_T): Add #undef template. - * glib/glibmmconfig.h.in (GLIBMM_HAVE_WIDE_STREAM): Likewise. - -2007-08-04 Daniel Elstner - - * containerhandle_shared.h (TypeTraits): Rewrite completely - broken type adapter (bug #406960). - * src/keyfile.{ccg,hg}: Fix the implementation to correctly use - ArrayHandle<>. Fix compilation with the new ArrayHandle - code. - -2.13.9: - -2007-07-28 Murray Cumming - - * glib/src/keyfile.hg: - * glib/src/keyfile.ccg: Added a set_double() without the group_name - parameter, because the C function can take NULL. - * glib/src/glib_docs_override.xml: Corrected the documnentation for - g_keyfile_set/get_double() to mention 2.14, instead of 2.12, - because we only added these to glibmm in 2.14. - * glib/src/regex.hg: Correct the since documentation to be 2.14 - not 2.12. - * glib/src/iochannel.hg: read(): Corrected a parameter name to - match the generated documentation. - * glib/glibmm/miscutils.h: Fixed typos in the use of newin2p14. - -2007-07-28 Murray Cumming - - * docs/Makefile_web.am_fragment: Corrected the rsync options, to - match those used by gtkmm, to fix the examples upload. - * glib/src/glib_docs.xml: Regenerated from the C documentation. - -2007-07-14 Murray Cumming - - * glib/src/keyfile.ccg: - * glib/src/keyfile.hg: Added get_double(), set_double(), get_double_list() - and set_double_list(). - -2.13.8: - -2007-07-07 Jonathon Jongsma - - * glib/src/optioncontext.ccg: - * glib/src/optioncontext.hg: add some new API that was added in glib 2.12, - including get/set_summary(), get/set_description(), set_translation_domain(), - and set_translate_func(). - * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py - * glib/src/glib_docs_override.xml: override docs for the new functions so - that they say that they were introduced in glibmm 2.14 instead of 2.12 - -2007-07-02 Johannes Schmid - - * glib/src/regex.hg: - Added class documentation - -2007-07-02 Murray Cumming - - * tools/pm/DocsParser.pm: convert_tags_to_doxygen(): - Handle newin markers for 2.12 and a few after that. - * docs/reference/Doxyfile.in: Added ALIASES for newin2p12 and - a few more. - -2.13.7: - -2007-06-22 Murray Cumming - - * glib/glibmm/main.cc: - * glib/glibmm/main.h: Added SignalTimeout::connect_seconds() - as an equivalent for g_timeout_add_seconds() and took the improved - documentation from glib. - - * glib/glibmm/miscutils.cc: - * glib/glibmm/miscutils.h: Added get_user_special_dir(), though we - should maybe wrap the enum. - Reimplemented many of the functions with the - convert_return_gchar_ptr_to_stdstring() and - convert_const_gchar_ptr_to_stdstring() functions to simplify them - and make them handle NULLs properly. - -2007-06-22 Murray Cumming - - * glib/src/regex.ccg: - * glib/src/regex.hg: Added a create() method, and added some - more default parameter values to the methods. - - * configure.in: - * examples/Makefile.am: - * examples/regex/main.cc: Added a very simple example. - - * glib/glibmm/value_custom.h: Put header guards around this, though - this should never be included directly anyway. - -2.13.6: - -2007-06-17 Murray Cumming - - * glib/src/regex.hg: - * glib/src/matchinfo.hg: Removed API that uses GMatchInfo, until we - wrap this properly, probably as a C++ iterator. This will avoid this - API accidentally being released as stable sometime. - -2007-06-12 Murray Cumming - - * glib/src/glib_enums.defs: Regenerated with enums.pl - * glib/src/glib_functions.defs: Regenerated with h2defs.py - - * glib/src/Makefile_list_of_hg.am_fragment: - * tools/m4/convert_glib.m4: - * glib/src/matchinfo.ccg: - * glib/src/matchinfo.hg: - * glib/src/regex.ccg: - * glib/src/regex.hg: Added the RegEx and MatchInfo classes. - These need some examples to test them. The MatchInfo class is - probably particularly broken at the moment. See the TODO comments. - - * glib/glibmm.h: Added regex.h - -2007-05-14 Murray Cumming - - * tools/m4/class_boxedtype.m4: - * tools/m4/class_gobject.m4: - * tools/m4/class_gtkobject.m4: - * tools/m4/class_interface.m4: - * tools/m4/class_opaque_copyable.m4: - * tools/m4/class_opaque_refcounted.m4: Explicitly mention Glib::wrap() - in the documentation for generated Glib::wrap() functions, because doxygen - does not show their namespace. - -2007-05-04 Murray Cumming - - * tools/pm/Function.pm: When generating example prototypes for - signal handlers, prefix them with on_my_, to avoid confusion with - similarly named functions and with on_*() default signal handlers. - -2.13.5: - -2007-04-30 Johannes Schmid - - * tools/generate_wrap_init.pl.in: - * tools/m4/class_gtkobject.m4: - Use _IS_DEPRECATED instead of _CLASS_DEPRECATED because - the latter confuses gmmproc. - We cannot just use _DEPRECATED because it will result - in incorrect handling of for example - #ifndef GTKMM_DISABLE_DEPRECATED - -2007-04-24 Yselkowitz - - * scripts/macros.m4: Check for both m4 and M4 in the GNU m4 output, - to fix the build on some platforms. - Bug #423990 - -2.13.4: - -2007-04-11 Armin Burgmeier - - * tools/pm/WrapParser.pm: Added peek_token() function which only - returns the next token without removing it from the tokens array. - Parse '/**' as a separate token and handle it in a special way so that - when the final '*/' is encountered and _WRAP_SIGNAL follows, the - comment is not terminated but continued by that automatically - generated doxygen comment. - - * tools/pm/Output.pm: Added a merge_doxygen_comment_with_previous - parameter in output_wrap_sig_decl(). If it is nonzero, the function - assumes that there is already a comment open and continues to use it - instead of opening a new comment by removing the leading '/**' from - what get_refdoc_comment() returns. Bug #378810. - -2007-04-06 Johannes Schmid - - * tools/generate_wrap_init.pl.in: - Use _CLASS_DEPRECATE instead of just _DEPRECATE to - known whether a whole class should be avoided in wrap_init. - Otherwise every .hg file containing deprecated methods - might get ignored. (Fixes Gtk::TextBuffer bug in maemo) - -2007-03-19 Bradley Bell - - * glib/glibmm/helperlist.h: Change variable name to avoid - warnings about a shadowed member. - Bug #420316. - -2007-03-19 Bradley Bell - - * glib/glibmm/utility.h: remove g_free prototype, include gmem.h - instead, to avoid a warning about a redundant declaration. - Bug #420339. - -2007-03-17 Armin Burgmeier - - * tools/m4/signal.m4: - * tools/m4/vfunc.m4: - Use static_cast in vfuncs and signal handlers to cast the - wrapper object to ObjectBase*. This is enough to check whether the object is - from a derived type or not. A slow dynamic_cast has only to be performed if it - is derived, and the C++ vfunc needs to be called. - * glib/glibmm/objectbase.h: This requires ObjectBase::is_derived_ to be public, - because it is called on a ObjectBase* rather than the actual type. - This causes a slight speed up of vfuncs and default signal handler invokation. - - Also added commented-out inline versions of ObjectBase::_get_current_wrapper() and - ObjectBase::is_derived(), which could be used in the generated code if we find - that this has significant performance benefits. Note that these methods must be - additional to the non-inline methods, because inline methods are not usually exported in the - shared library. - -2007-02-10 Murray Cumming - - * examples/options/main.cc: Use a default value, to show that it - can be done. - (This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006) - -2007-02-10 Armin Burgmeier - - * glib/src/optiongroup.ccg: default_c_arg(): Set the initial - value of the C argument to the value the C++ argument has, to avoid - that glibmm resets arguments to zero that were not given on the - command line. - (This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006) - -2007-01-28 Daniel Elstner - - * tools/m4/ctor.m4: If the argument list is empty, call the non- - varargs overload of the Glib::ConstructParams constructor instead - of using an empty varargs list. This mistake was exposed thanks - to the recent addition of G_GNUC_NULL_TERMINATED to the varargs - constructor declaration. Fortunately it was harmless in this case. - Also use the opportunity to clean up the M4 code and prefix builtin - M4 macros with m4_, so that we may get rid of the unprefixed macros - altogether some day. - -Thu, 25 Jan 2007 23:13:05 +0100 Dodji Seketeli - - * tools/m4/base.m4: - prefix the builting mkstemp with 'm4' because otherwise, - m4 1.4.8 recognizes it as a builtin macro and expands it, leading - to compilation errors on some distros. - This should fix #397167. Thanks to Daniel Elstner for spotting this. - -2007-01-20 Daniel Elstner - - * glib/glibmm/dispatcher.{cc,h}: Early spring cleaning. Also add - a paragraph about Dispatcher on win32 to the documentation. - (DispatchNotifyData): Remove the 'tag' member from the struct that - was always set to 0xdeadbeef in order to detect memory corruption. - This is pointless, as we already check the DispatchNotifier pointer - sent across the pipe, which is a far better indicator of corruption - anyway. - (warn_failed_pipe_io): Remove the err_no parameter and retrieve - errno respectively GetLastError() within the function instead. - (DispatchNotifier::conn_io_handler_): Remove, as we now inherit - from sigc::trackable. I verified that this doesn't cause problems - with threading in this particular case. - (DispatchNotifier::DispatchNotifier): If creating the pipe failed - and exceptions are disabled, call at least warn_failed_pipe_io() - instead of doing nothing at all. - (DispatchNotifier::*): Rework the win32 implementation so that it - matches more closely the Dispatcher semantics on Unix. This still - needs testing by someone on win32, though. So far I only verified - that it compiles with dummy definitions of the win32 API. Also, - I accidentally located the real cause of the race condition Cedric - experienced in bug #109966. It was a bug in my patch, rather than - in the example code. - - * examples/thread/dispatcher.cc: Cleanup. In particular, get rid - of the Glib::RefPtr<> abuse with non-Glib::Object types. I don't - believe we endorse such usage officially, so it shouldn't be in - the examples. - -2007-01-20 Daniel Elstner - - * glib/glibmm/miscutils.cc: Clean up the code a bit. - (get_application_name): Remove the code that checked the string for - valid UTF-8, and attempted conversion if not valid. I must have - been on crack when I wrote this, as the combination of conditions - that would cause the string to be invalid UTF-8 is quite unlikely. - If this is a valid concern at all, it should be filed as a GLib bug - and not worked around in glibmm. - (build_filename(const std::string&, const std::string&)): Just call - the plain g_build_filename() instead of building a temporary array - and passing that via ArrayHandle to the build_filename() overload - for containers. - (build_path): Remove the already deactivated custom implementation - from the time before g_build_pathv() was added to GLib. - - * glib/glibmm/object.{cc,h}: Improve/fix a couple of comments. - (ConstructParams::ConstructParams): Add G_GNUC_NULL_TERMINATED - function attribute to make the compiler complain if the variadic - argument list is not terminated by a NULL pointer. - - * glib/glibmm/ustring.{cc,h} (utf8_find_last_of): Avoid applying - bitwise logical operators directly to (possibly signed) operands - of char type. In order to avoid relying on implementation-defined - behavior, make sure that the operands are of unsigned integer type. - (ustring::is_ascii): Likewise, - (ustring_Iterator::operator--): Likewise. - (get_unichar_from_std_iterator): De-obfuscate this highly optimized - piece of code, as the current stable release of GCC (4.1.2-pre on - my system) generates better assembler output without the voodoo. - -2.13.3: - -2006-11-28 Daniel Elstner - - * tools/pm/GtkDefs.pm (read_defs): Allow an empty pair of - parentheses in the innermost match. This fixes the problem of - gmmproc choking on "()" in the documentation strings. This would - still break on unmatched parentheses, though. Of course the - parser should just skip over quoted strings, but I wasn't able - to get that to work. - * glib/src/glib_enums.defs (GNormalizeMode): Manually fix the - improperly parsed value of G_NORMALIZE_NFD. Fortunately this - doesn't change anything since the "#error" token was interpreted - as zero, which happens to be the right value. - * glib/src/glib_functions.defs (g_iconv): Manually convert to - a function definition, as it was improperly parsed as a method - with a zero-length name (!) of object GIConv. This fixes the - annoying gmmproc warning about an allegedly unwrapped method. - -2006-11-28 Murray Cumming - - * glib/glibmm/propertyproxy_base.cc: Don't ifdef out - PropertyProxy_Base when properties are disabled. It is needed - for connect_property_changed(). - -2006-11-27 Daniel Elstner - - * tools/enum.pl (parse): Ignore whitespace in front of an enum - typedef. This fixes parsing of HildonTelephoneEditorFormat in - hildon-libs. - * tools/pm/Enum.pm (parse_values): Check whether the enumeration - constants actually have a common module prefix before attempting - to remove it. This fixes the incorrect parsing of inconsistently - named enums in hildon-libs. - -2006-11-27 Daniel Elstner - - * tools/enum.pl (form_names): Break the loop if the length of the - common prefix reaches zero. This fixes the infinite loop when - processing the inconsistently named enumeration constants of the - Hildon libraries. - -2006-11-20 Murray Cumming - - * docs/reference/libstdc++.tag.xml: Updated from the libstdc++ site. - Note that the original does not have an .xml extension. This is is - lots bigger, but that should mean there is more documentation now. - -2006-11-22 Oliver Nittka - - * glib/src/value_basictypes.cc.m4: When registering float parameters, - use -G_MAXFLOAT instead of G_MINFLOAT. Since we first implemented this, - the glib documentation has been updated to make it cleare that this is - the real minimum and G_MINFLOAT is the minimum positive value. - Do the same for doubles too. - -2006-11-10 Murray Cumming - - * tools/Makefile.am: Add enum.pl to the dist, so that it is in - tarballs. Someone saw it mentioned in the appendix, but could not - find it in the tarball. - -2006-11-10 Murray Cumming - - * docs/reference/Doxyfile.in: Add PREDEFINES for the optional API, - so that the documentation shows the regular API. - -2006-11-10 Murray Cumming - - * glib/glibmm/objectbase.cc: - * glib/glibmm/objectbase.h: Added connect_property_changed(), - as an alternative to use when the property proxies are not - available because GLIBMM_PROPERTIES_ENABLED is not defined. - SignalProxyProperty::connect(): Use notify::propertyname instead of - just notify, so do not have to check the property name later. This - should be more efficient (when this is used, rarely). - * glib/glibmm/propertyproxy_base.cc: - * glib/glibmm/propertyproxy_base.h: Move PropertyProxyConnectionNode - into the header, so we can reuse it for connect_property_changed(). - -2006-10-04 Murray Cumming - - * glib/glibmm/class.cc: - * glib/src/iochannel.ccg: - * glib/src/markup.ccg: Add a silly line to avoid unused parameters - when GLIBMM_EXCEPTIONS_ENABLED is not set. - * glib/glibmm/error.h: Do not use G_GNU_NO_RETURN on the version - of throw_exception() that returns, to avoid a warning. - -2006-10-01 Murray Cumming - - * Makefile.am: - * docs/Makefile.am: - * docs/Makefile_web.am_fragment: - * docs/images/Makefile.am: - * docs/reference/Makefile.am: - * docs/reference/README: - * examples/Makefile.am: Upload to the new hoster instead of to sourceforge. - Abstracted the host and path names into docs/Makefile_web.am_fragment to - avoid duplication. - -2.13.2: - -2006-09-28 Cedric Gustin - - * MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray from list of - source and header files. - -2006-09-26 Murray Cumming - - * glib/glibmmconfig.h.in: For win32, define - GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS to 1, - instead of just defining it to nothing. - * scripts/reduced.m4: In the AC_ARG_ENABLE() to - define (or not) GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS, - use api-default-signal-handlers as the first parameter - instead of api-exceptions (a copy/paste error), though it does - not seem to make any difference. - Bug #357830. - -2006-09-23 Jonathon Jongsma - - * glib/src/keyfile.ccg, glib/src/keyfile.hg: added new files that were - missed from an earlier commit - -2.13.1: - -2006-09-19 Ralf Stephan - - * glib/glibmm/ustring.h: - ustring(const ustring& src, size_type i, size_type n=npos) - and - ustring(const char* src, size_type n) constructors: - In the reference documentation, mention explicitly that - n is the number of _UTF-8_ characters, rather than - ASCII characters (bytes). - -2006-02-20 Rob Page - - Wraps GKeyFile (Bug #330535) - * glib/glibmm.h: Added include of keyfile.h - * glib/glibmm/Makefile.am: Added keyfile.h - * glib/glibmm/containerhandle_shared.h: Added a TypeTraits - specialization for converting between bool and gboolean*. - * glib/src/Makefile_list_of_hg.am_fragment: Added keyfile.hg - to files_general_hg. - * glib/src/keyfile.hg: KeyFile header - * glib/src/keyfile.ccg: KeyFile implementation - * tools/m4/convert_glib.m4: Added a conversion for KeyFileFlags - -2006-09-14 Johannes Schmid - - * tools/m4/class_shared.m4: Change _IMPLEMENTS_INTERFACE to - _IMPLEMENTS_INTERFACE_CC so we can have more control over it, - by generating the _IMPLEMENTS_INTERFACE_CC from the WrapParser.pm. - * tools/m4/method.m4: - * tools/m4/signal.m4: - * tools/m4/vfunc.m4: Added optional parameters that result in - #ifdefs around methods, signals, vfuncs, etc. - * tools/pm/Output.pm: Addef ifdef() and endif(). - output_wrap_vfunc_h(), output_wrap_vfunc_cc(), - output_wrap_default_signal_handler_h(), - output_wrap_default_signal_handler_cc(), - output_wrap_meth(), - output_wrap_create(), - output_wrap_sig_decl(): Support optional ifdefs around - declarations and implementations, by calling ifdef() and endif(), - or by passing the extra argument to the m4 macros. - * tools/pm/WrapParser.pm: parse_and_build_output(): - Parse _IMPLEMENTS_INTERFACE, and call the new on_implements_interface() - method, which uses the new output_implements_interface() method, - so it can have an optional ifdef parameter. - on_wrap_method(), on_wrap_create(), on_wrap_vfunc(), output_wrap_signal(), - output_wrap_vfunc(): Handle the optional ifdef (with a parameter) option - for the _WRAP*() macros. - - This adds support for disabling certain features by using the new - "ifdef" argument for methods, vfuncs, signals and interfaces. - -2006-09-05 Jonathon Jongsma - - * docs/reference/Makefile.am: rebuild docs when a .h files changes in - glib/glibmm - * glib/glibmm/miscutils.cc: - * glib/glibmm/miscutils.h: wrap g_get_user_data_dir(), - g_get_user_config_dir(), and g_get_user_cache_dir() - -This is the HEAD branch, for new API. There is also a glib-2-12 branch for -maintenance of the stable API. - -2006-08-18 Cedric Gustin - - * MSVC_Net2003/*.vcproj: Updated for glibmm-2.12. - -2.12.0: - -2.11.3: - -2006-04-25 Murray Cumming - - * configure.in: - * glib/glibmmconfig.h.in: - * scripts/reduced.m4: Added a --enable-api-default-signal-handlers option. This defines - GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED, which is used to #ifdef default signal handlers. - This saves on library code size (less code and API symbols) and application code size and - loading time (less virtual methods, which must be imported and resolved at load time) and - per-object memory size (smaller object sizes because of less virtual methods.) - * tools/m4/class_interface.m4: - * tools/m4/class_shared.m4: Put default signal handler code in #ifdefs. - -2.11.2: - -2006-07-17 Murray Cumming - - * configure.in: Reverted the previous patch slightly to unbreak glibmmconfig.h. - -2.11.1: - -2006-07-16 Murray Cumming - - * configure.in: Quote GLIBMM_*_VERSION to avoid m4 warnings. Patch from - Bug #347076 from Kevin McBride. - * scripts/sun.m4: Quote GLIBMM_PROG_CXX_SUN to avoid an m4 warning. - Patch from Bug #347077 from Kevin McBride. - -2006-07-16 Jonathon Jongsma - - * glib/src/date.ccg: fix implementation of Glib::Date::set_time_current() so - that it doesn't set the date to Dec 31, 1969. - -2006-06-19 Murray Cumming - - * glib/glibmm/object.h: Check whether DestroyNotify is defined, so we can warn about - including X11/Xlib.h before this header, which will break things. - Bug #316726 from Mert Tugcu and Javeed Shaikh. - -2006-06-09 Cedric Gustin - - * glib/glibmm/objectbase.h : Inline the set_property and - get_property methods. This is required by mingw32-gcc as - ObjectBase is explicitly dllexported. - -2006-06-05 Murray Cumming - - * glib/src/convert.ccg: When using --enable-api-exception=no, only try to get the Glib::Error - when the GError is not null. - -2006-05-18 Murray Cumming - - * tools/m4/method.m4: _METHOD(): When using errthrow, actually print the function call even if - the return type is 0. - -2006-05-16 Murray Cumming - - * tools/m4/method.m4: _METHOD(), _STATIC_METHOD(): Remove spaces before dnl statements, - to avoid unwanted indentation in .cc files. - -2006-05-16 Murray Cumming - - * tools/m4/convert_base.m4: _CONVERT(): If the return type is void, use the unconverted - statement, not no statement. This prevents some void methods from being totally empty. - This was a (very bad) regression introduced by the optional API changed. - Bug #341895 from Philip Langdale. - * tools/m4/method.m4: _METHOD(), _STATIC_METHOD(): Attempt to remove unnecessary newlines, - though some indenting spaces slipped in instead. Must fix that. - -2006-05-14 Murray Cumming - - * glib/glibmm/value.cc: - * glib/glibmm/value.h: Restored the init(GValue*) method that was lost when - merging changes from the glibmm-2-10 branch. - -2006-05-09 Murray Cumming - - * glib/glibmm/ustring.cc: - * glib/src/date.ccg: - * glib/src/convert.ccg: - * glib/src/convert.hg: Added #ifdefed versions for the case that - exceptions are disabled. - -2006-05-10 Murray Cumming - - * configure.in: - * scripts/reduced.m4: Moved --enable-deprecated-api macro into scripts/reduced.m4. - Added the --enable-api-exceptions macro that was missing from my last commit. - -2006-04-05 Murray Cumming - - * configure.in: - * scripts/reduced.m4: Added --enable-api-exceptions option. When this - is used, methods that would normally throw an exception will now take - an extra std::auto_ptr argument that should be checked with - auto_ptr::get(). - * glib/glibmmconfig.h.in: Undef the GLIBMM_EXCEPTIONS_ENABLED, - so it will be defined. - * tools/m4/gerror.m4: throw_func() returns an auto_ptr of a - Glib::Error when exceptions are disabled. - * tools/m4/method.m4: - * tools/pm/Output.pm: on_wrap_method(): Added alternative API with - #ifdefs - * tools/m4/signal.m4: - * tools/m4/signalproxy_custom.m4: - * tools/m4/vfunc.m4: Put #ifdefs around the exception re-throwing - try/catch blocks. - * glib/glibmm/dispatcher.cc: - * glib/glibmm/dispatcher.h: - * glib/glibmm/error.cc: - * glib/glibmm/error.h: - * glib/glibmm/exceptionhandler.cc: - * glib/glibmm/exceptionhandler.h: - * glib/glibmm/main.cc: - * glib/glibmm/signalproxy.cc: - * glib/glibmm/streamiochannel.cc: - * glib/glibmm/stringutils.cc: - * glib/glibmm/threadpool.cc: - * glib/src/iochannel.ccg: - * glib/src/iochannel.hg: - * glib/src/markup.ccg: - * glib/src/spawn.ccg: - * glib/src/thread.ccg: Put #ifdefs around try/catch blocks, and - use alternative API when appropriate. - * examples/iochannel_stream/fdstream.cc: - * examples/markup/parser.cc: - * examples/options/main.cc: Adapted examples to - the alternative API, with #ifdefs - * tools/m4/convert_base.m4: Avoid any conversion if the result is - void, to allow _WRAP_METHOD() to ignore bool results, so we can - generate some methods that are currently hand-coded. - -2006-05-09 Murray Cumming - - * glib/glibmm/value.cc: - * glib/glibmm/value.h: Added init(const GValue*), so that we can copy GValue instances - of any type at runtime. Needed by libgdamm, which returns const GValue* instances. - -This is the HEAD branch, for API additions. See also the glibmm-2-10 branch. - -2.10.1: - -2006-04-12 Murray Cumming - - * tools/m4/signalproxy_custom.m4: Remove this file because it is not installed and - does not seem to be used. - -2006-04-12 Murray Cumming - - * tools/m4/signal.m4: Mark the (private) signal info callback functions as - static, to save on code size. - -2006-04-12 Murray Cumming - - * tools/pm/WrapParser.pm: Parse a new optional constversion parameter for - _WRAP_METHOD(), to save on code size by just calling the non-const overload - instead of generating almost identical code. - * tools/m4/method.m4: _METHOD(): Take extra parameters for use when constversion is used. - * tools/pm/Output.pm: Send the extra parameters to _METHOD(). - * docs/internal/using_gmmproc.txt: Documented the new constversion option. - -2006-04-12 Murray Cumming - - * glib/glibmm/main.cc: - * glib/glibmm/objectbase.cc: - * glib/glibmm/property.cc: - * glib/glibmm/ustring.cc: - * glib/glibmm/value_custom.cc: - * glib/src/spawn.ccg: Mark private functions as - static, to stop them being exported in the API, to reduce the - library code size slightly. - * tools/m4/signal.m4: Make generated callback functions static, for - the same reasons. - -2006-04-07 Cedric Gustin - - * README.win32: Updated for Mingw-4.1. - -2006-04-06 Cedric Gustin - - * MSVC_Net2003/*.vcproj: Embed the manifest file into executables - in the case of the Debug target. - * README.win32: Fixed a few typos. - * build_shared/Makefile_build.am_fragment: Add -DGLIBMM_BUILD to - the extra_defines compiler flags (switch between - dllexport/dllimport on win32). - * glib/glibmmconfig.h.in: Define GLIBMM_DLL when building with - mingw32/cygwin. This makes the GLIBMM_API tag (and GTKMM_API for - gtkmm) active with these two platforms, as required by bug - #309030. - * glib/glibmm/object.h, glib/glibmm/objectbase.h : Tag the Object - and ObjectBase classes with GLIBMM_API to make Visual Studio happy. - -2.10.0: - -2006-02-25 Murray Cumming - - * tools/pm/DocsParser.pm: looklookup_documentation(): Put the - @deprecated text immediately after the main description, before - the parameters, so that Doxygen actually uses it. - -2006-02-25 Murray Cumming - - * tools/pm/DocsParser.pm: looklookup_documentation(): Accept an - extra deprecated_documentation parameter, to be appended to the - Doxygen documentation. - * tools/pm/Output.pm: output_wrap_meth(): Put the documentation - inside the deprecation #ifdef, for neatness. - * tools/pm/WrapParser.pm: on_wrap_method(): Read an optional string - after the optional deprecated parameter, used to say why the - method is deprecated, in case it was not deprecated by the C API, - in which case it would already have documentation for this. - -2006-02-27 Cedric Gustin - - * README.win32: Updated for glibmm-2.8 (MS Visual Studio 2005). - * glib/glibmm/ustring.h: Tag npos with GLIBMM_API, in order to - dllexport it on win32. Bug #332438. - * MSVC_Net2003/*.vcproj: Updated for Visual Studio 2005. Added the - /vd2 compiler flag (Bug #158040). - * MSVC_Net2003/glibmm.sln: Updated for Visual Studio 2005. - * MSVC_Net2003/gendef/gendef.cc: Redirect output of dumpbin to a - file. - * glib/glibmmconfig.h.in: Undefined - GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS for MSVC. - -2006-02-03 Murray Cumming - - * docs/internal/using_gmmproc.txt: Section about regenerating .defs: - Repeat the hint about extra_defs_gen here. - -2006-02-27 Cedric Gustin - - * glib/glibmm/ustring.h: Tag npos with GLIBMM_API, in order to - dllexport it on win32. Bug #332438. - -2006-02-07 Rob Page - - * glib/glibmm/ustring.h: fix a typo in the documentation for uppercase() - -2.9.1: - -2006-01-28 Murray Cumming - - * glib/src/optiongroup.ccg: add_entry_with_wrapper(): Copy the - CppOptionEntry into the map _after_ setting entry_ so that we - really delete it in release_c_arg(), to avoid a memory leak. - -2006-01-28 Rob Page - - * docs/reference/glibmm_header.html_fragment: Fix the link - to the Main page. Bug #328299. - -2006-01-27 Murray Cumming - - * glib/src/optionentry.ccg: Constructor: Avoid memory - leak caused by double instantiation of gobject_. - -2005-12-16 Murray Cumming - - * glib/glibmm/object.h: - * glib/glibmm/objectbase.h: Hide some internal stuff - from Doxygen. Add/Improve the Doxygen documentation. - * glib/src/convert.hg: Correct the declaration of - filename_display_name() to match the implementation. - Previously this would have been unusable due to a linker - error. - -2005-11-30 Murray Cumming - - * docs/reference/Doxyfile.in: Define the @newin aliases, - as in gtkmm. - * tools/pm/DocsParser.pm: Convert Since: in gtk-doc - text to @newin for our doxygen docs. - -2005-11-29 Murray Cumming - - * build_shared/Makefile_build.am_fragment: - * configure.in: Added --enable-use-deprecations, - defaulting to no (do not check for them), so that - the tarball will still build when newer versions - of glib deprecate some API. - * examples/Makefile.am_fragment: Use the - deprecation, if wanted. - -2005-11-29 Murray Cumming - - * build_shared/Makefile_build.am_fragment: - * configure.in: Added --enable-deprecated-api - option. When set to disabled, it does not build - deprecated API. This reduces the size of the library, - and might be useful for embedded devices. - * glib/src/date.ccg: - * glib/src/date.hg: Use _DEPRECATE_IFDEF_START/END - around the deprecated set_time() method. - -2005-11-29 Murray Cumming - - * tools/m4/base.m4: Add - _DEPRECATE_IFDEF_START and _DEPRECATE_IFDEF_END - macros, to #ifdef-out generated methods. - Added _DEPRECATE_IFDEF_CLASS_START and - _DEPRECATE_IFDEF_CLASS_END for whole classes. - Put _DEPRECATE_IFDEF_CLASS* around all generated - code. It does nothing if the class is not deprecated. - * tools/m4/class_gtkobject.m4: Add _DEPRECATED macro, - used to mark a class as deprecated. - * tools/m4/method.m4: Take an extra parameter, to - optionally mark the method as deprecated, to add - #ifdefs around the code, with - _DEPRECATE_IFDEF_START/END - * tools/pm/Output.pm: _DEPRECATE_IFDEF_START/END - around the declarations of deprecated methods. - * tools/pm/WrapParser.pm: Check for an optional - deprecated parameter to _WRAP_METHOD(). - * tools/m4/member.m4: Allow optional deprecated - method for _MEMBER_GET/SET*() to ifdef the code - out. - * tools/generate_wrap_init.pl.in: Put an #ifdef - around use of deprecated classes. - -2005-11-23 Murray Cumming - - * configure.in: Depend on glib 2.9, which - has new API. - * glib/src/date.ccg: - * glib/src/date.hg: Wrap glib_date_set_time_t() - and glib_date_set_time_val(). Deprecate - set_time(GTime) in favour of the new method - overloads. Added set_time_current(), wrapping the - case that the time_t is 0. - -This is the HEAD branch, for new API, targetting glib 2.9. See also the -glibmm-2-8 branch. - -2.8.2: - -2005-11-23 Murray Cumming - - * glib/glibmm/containers.h: Do not use g_assert() in - a header, because g++ sometimes warns that it has - no effect. - -2005-10-29 Murray Cumming - - * scripts/macros.m4: AL_PROG_GNU_MAKE(): - Use $MAKE-make instead of $ac_make, which - apparently fixes a build problem on some - Solaris systems. Thanks to Mark Rouchal in - bug #307480. - -2.8.1: - -2005-10-19 Murray Cumming - - * configure.in: Check for glib 2.8. Bug #317913. - -2.8.0: - -Updated NEWS and increased version to 2.8.0. - -2.7.3: - -2005-08-17 Murray Cumming - - * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py - * glib/src/glib_enums.defs: Regenerated with enums.pl - * glib/src/glib_functions.defs: Regenerated with h2defs.py - -2.7.2: - -2005-07-16 Murray Cumming ::get_value(), - PropertyProxy_WriteOnly<>::set_value(): Add implementations - instead of casting to unrelated PropertyProxy() and calling it - there. The AIX compiler did not like this hack. Bug #301610 - -2005-06-07 Cedric Gustin - - * glib/glibmm/miscutils.cc: In get_home_dir, return an empty - string when HOME is not defined (Win9x). Bug #306310 from Michael - Hofmann. - * glib/glibmm/miscutils.h: Updated docstring for the get_home_dir - method. - -2005-04-27 Murray Cumming - - * examples/child_watch/main.cc: - * examples/thread/dispatcher.cc: - * examples/thread/thread.cc: - * glib/glibmm/dispatcher.cc: Inherit signal handler objects from - sigc::trackable. This is necessary with some libsigc++ patches, - though not currently necessary with regular libsigc++. - -2005-04-22 Murray Cumming - - * glib/src/gmodule_enums.defs: Regenerate with enums.pl - * glib/src/gmodule_functions.defs: Regenerate with h2defs.py - This adds the BIND_LOCAL enum value. Bug #172748 from - Phillip Neiswanger. - -2005-04-05 Murray Cumming - - * tool/pm/Output.pm: output_wrap_property(): Do not add the - const read-only method override if the property can not be read. Be - careful because this removes a little API from generated code. You - should hand-code the wrongly-generated methods and mark them as - deprecated. - * glib/glibmm/refptr.h: Added cast_const<>, like the existing - cast_dynamic<> and cast_static. - -2005-03-31 Murray Cumming - - * glib/src/glib_functions.defs: Updated with - h2defs.py. - -2005-03-13 Yair Hershkovitz - - * glib/glibmm/main.h, - glib/glibmm/main.cc: Added MainContext::signal_child_watch() - * examples/: Added child_watch/ example - -2005-03-11 Yair Hershkovitz - - * glib/glibmm/main.h, glib/glibmm/main.cc: - Add Glib::SignalChildWatch class, Glib::signal_child_watch() - -This is the HEAD branch, for new API. Bug fixes that do not change or add -API should also be applied to the glibmm-2-6 branch. - -2005-03-09 Cedric Gustin - - * MSVC_Net2003/Makefile.am: Add blank.cpp to EXTRA_DIST. - * MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray.cc from the - list of source files. - * MSVC_Net2003/examples/*/*.vcproj, - MSVC_Net2003/tests/glibmm_value/glibmmvalue.vcproj: Change name of - PDB file to $(OutDir)/$(TargetName).pdb. - -2.6.1: - -2005-03-07 Murray Cumming - - * glib/glibmm/interface.cc: Disable the new check for pre-existing - interface implementations, because it checks all base gtypes and - not just the current gtype. Bug #169442 by Bryan Forbes. - -2.6.0: - -2.5.6: - -2005-02-18 Murray Cumming - - * glib/glibmm/interface.cc: Interface_Class:add_interface(), used by - add_interface() methods of Interfaces: Do not add interfaces that - have been added before, to avoid the warning from glib. This - allows application code to be simpler. - -2005-02-18 Murray Cumming - - * tools/pm/Output.pm: Add the documentation to the const property() - accessor as well as the non-const one. - -2005-02-13 Murray Cumming - - * tools/extra_defs_gen/generate_extra_defs.cc: Use - g_param_spec_get_blurb() to output the documentation for the - properties in the .defs file. - * tools/m4/property.m4: Take an extra docs argument, and put it in the - doxygen docs. - * tools/pm/Output.pm: Add the extra docs argument when calling the - property m4 macro. - * tools/pm/Property.pm: Read in the new docs part of the .defs, and - add a period at the end if neccessary. - -2005-02-01 Murray Cumming - - * examples/threadpool.cc, dispatcher.cc, dispatcher2.cc: Removed the - #ifdef for AIX, because sigc::bind now works on AIX. - -2005-01-27 Cedric Gustin - - * MSVC_Net2003/glibmm/glibmm.rc.in: Reverted to 2.4 for the - library version number. - -2.5.5: - -2005-01-26 Cedric Gustin - - * MSVC_Net2003/glibmm/glibmm.vcproj: Reverted to 2.4 for the - library version number. - -2005-01-24 Cedric Gustin - - * Makefile.am, configure.in: Added MSVC_Net2003 directory. - * config.h.in: Added mkfifo #define (for mingw32). - * glib/glibmmconfig.h.in: Added new #define's to MSVC section. - * examples/iochannel_stream/Makefile.am: Do not build on win32 - with mingw32 (mkfifo not available). - * scripts/cxx_std.m4: Fixed typo in AC_DEFINE macros. - * build_shared/Makefile_build.am_fragment: Removed - $(sublib_name)_COMPILATION variable (is useless now on - cygwin/mingw as all symbols are dll exported). - * MSVC_Net2003/*: Initial commit imported from glibmm-2-4 branch. - * MSVC_Net2003/glibmm/Makefile.am: Rewrote rule for local copy of - glibmmconfig.h (required for 'make distcheck'). - -2005-01-21 Murray Cumming - - * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new - compiler tests to see whether extern "C" functions are put in the - global namespace, even when we use extern "C" inside a namespace - declaration. The AIX xlC compiler does this, but allows us to - redeclare the namespace inside the extern "C" block. - * glib/glibmm/property.h: Use the new - #ifdef GLIBMM_MUST_REDECLARE_NAMESPACES_INSIDE_EXTERNC and redeclare - the namespace when necessary. - * examples/thread/dispatcher.cc, dispatcher2.cc: Use sigc::bind<1> - instead of just sigc::bind<> because the AIX xlC compiler needs the - extra hint. However, the linker then fails, so the use of sigc::bind - is ifdefed out for _AIX. See the comments in the code. - -2005-01-21 Murray Cumming - - * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new - compiler tests. - 1. To see whether it allows use of non extern C functions - as extern C callbacks, because the Tru64 compiler does not - allow this, when using strict_ansi. We do not actually use this yet. - 2. To see whether it allows us to define a template that uses an - undefined type, even if we do not use it before defining the type. - Tru64 does not allow this. That's probably correct. - * glib/glibmm/container.h: #ifdef out a dynamic_cast that Tru64 - does not allow, and which I can not think of a better place to put. - See the comment in the code. - * glib/glibmm/containerhandler_helpers.h: When the compiler does not - alllow the GObject and GtkObject (dynamic_cast of) specializations - here, then put them in glib/glibmm/object.h and - gtkmm/gtk/src/object.hg instead.- needed by Tru64 compiler. - * glib/glibmm/value.h, value_custom.[h|cc]: Conditionally moved - the RefPtr Value specialization into object.h, as above. - * glib/src/ optiongroup.ccg, spawn.ccg, thread.ccg: Make C callacks - separate extern "C". - * glib/src/optiongroup.ccg: Do not use the StringArrayHandle, - because the Tru64 compiler has problems with it - see comments - in code. - * glib/src/optionentry.hg: Remove the include of value.h, because - it is not used and it causes a Tru64 compile error in - optioncontext.cc because its templates are included before the - types that the template uses. - -2005-01-19 Murray Cumming - - * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added a - compiler test, because the IRIX MipsPro compiler does not allow the - inline initialization of ustring::npos. - * glib/glibmm/ustring.[h|cc]: When the compiler does not support the - inline initialization of npos, initialize it in the .cc file. - Declare partial specializations of the SequenceString inner class - inside the class - needed by IRIX MipsPro compiler. - -2005-01-18 Murray Cumming - - * glibmm/src/optiongroup.[hg|ccg]: CppOptionEntry::convert_c_to_cpp(): - Copy the strings to the vector in a loop, instead of using the - ArrayHandle constructor, because that does not seem to work with the - SUN Forte compiler. - -2.5.4: - -2005-01-10 Murray Cumming - - * glibmm/src/optiongroup.[hg|ccg]: Added a castitem constructor - that always takes ownership, needed by Gtk::Main. Added the new - FLAG_REVERSE flag value. Added reference documentation. - -2.5.3: - -2005-01-09 Murray Cumming - - * glib/glibmm/misc_utils.[h|cc]: Added setenv() and unsetenv(), - wrapping new functions added in glib 2.4. - * glib/src/convert.[hg|ccg]: Added filename_display_name() and - filename_display_basename(). - -2005-01-09 Murray Cumming - - * glib/src/optionentry.ccg: Copy constructor: Copy the short name - form the src, not from itself. Bug #16331 from Daniel Holbach. - -2005-01-09 Murray Cumming - - * glib/src/optionentry.[hg|cc]: Add add_entry(entry, bool&), to wrap - use of G_OPTION_ARG_NONE. Bug #163325 from Daniel Holbach. - * examples/options/main.cc: Use the new add_entry() overload. - -2005-01-06 Benoît Dejean - - * glib/glibmm/dispatcher.cc: - * glib/glibmm/error.cc: - * glib/glibmm/exceptionhandler.cc: - * glib/glibmm/main.cc: - * glib/glibmm/threadpool.cc: - * glib/glibmm/ustring.cc: - * glib/glibmm/wrap.cc: Don't export private API. - Closes #163031. - -2005-01-04 Chris Vine - - * examples/iochannel_stream/: Provide a means of obtaining - Glib::IOChannel error information from the streambuffer. Remove - the code conversion option from the fdstream/fdstreambuf - constructors and add comments in fdstream.h about code conversion - and other matters. Add a detach() function and a destructor to - fdstreambuf. Correct an error in fdstreambuf::xsgetn(). Include - missing header file in main.cc. - -2.5.2: - -2004-12-19 Murray Cumming - - * examples/: Adapted and added iochannel_stream example from - Chris Vine in bug #138259. - -2004-12-19 Murray Cumming - - * glib/src/: Added glib_docs.xml, generated with docsextract_to_xml.py - and glib_docs_override.xml, to generate some API reference from - the C docs. - * glib/src/Makefile.am: Mention the new files. - -2004-12-19 Murray Cumming - - * docs/reference/: Added a copy of the libstdc++ doxygen tags file, - but it still does not seem to work, for example with std::vector<> - and std::string. - -2004-12-19 Murray Cumming - - * docs/reference/Doxyfile.in: Use the libstdc++ TAG files, so that - references to std:: classes take people to their docs. - * glib/src/: Added glib_docs.xml and glib_docs_override.xml, and - mentioned them in Makefile.am. - -2004-12-19 Murray Cumming - - * glib/src/date.hg, glib/glibmm/main.h, - glib/glibmm/signalproxy_connectionnode.h: Deal with some doxygen - warnings about undocumented parameters. - * glib/glibmm/ustring.h: Added documentation for the size() and - bytes() methods. - -2004-11-21 Murray Cumming - - * glib/src/optionentry.[hg|ccg]: Removed OptionEntry enum and - set_arg_data(), because they are not needed any more. - -2.5.1: - -2004-11-01 Murray Cumming - - * glib/src/optiongroup.[hg|ccg]: Added add_entry() for vector - and add_entry_filename() for std::string and vector. - * examples/options/main.cc: Test these new methods. - -2004-10-30 Murray Cumming - - * glib/src/optiongroup.[hg|ccg]: Added gobj_give_ownership(). - * glib/src/optioncontext.[hg|ccg]: add_group(), set_main_group(): Use - gobj_give_ownership() because GOptionContext deletes the GOptionGroups - that we give it. - -2004-10-26 Murray Cumming - - * glib/src/optionentry.hg: Remove accessors for arg and arg_data. - * glib/src/optiongroup.[hg|ccg]: add_entry(): Remove arg_type parameter - and instead add overrides which take specific C++ value types. - Add CppOptionEntry inner class to hold information about each entry - and its dynamically allocated C value. - Add map_entries_ map to store them, so we can iterate over them during - post_parse. - -2004-10-21 Murray Cumming - - * build_shared/Makefile_build.am_fragment: Patch from Roger Leigh in - bug # 15589 to use PLATFORM_WIN32 rather than OS_WIN32 to enable - -no-undefined. This allows glibmm to build in a cgwin environment, - apparently. - -2.5.0: - -2004-10-17 Murray Cumming - - * glib/src/optioncontext.[hg|ccg]: add_entry(): Fixed crash by - creating a temporary array, with a nulled last item, which is what the - C function wants. In callbacks, ignore the group parameter because our - option group in the data parameter is the same, and does not require - construction of a second C++ wrapper instance for the same C instance. - * glib/src/optiongroup.[hg|ccg]: Removed the cast constructor, because - it is not needed anymore, and there is no clear way to implement it. - -2004-10-14 Murray Cumming - - * tools/pm/WrapParser.pm: on_wrap_property(): Convert property name to - canonical form, so that we can recognise notifications of property - value changes. Bug #152764. - -2004-10-07 Philip Langdale - - * glib/glibmm/signalproxy_connectionnode.cc: Remove unnecessary warning - when notify() is called after destroy_notify_handler(). (bug #154498) - -2004-10-01 Murray Cumming - - * glib/src/option*.[hg|ccg], examples/options/main.cc: Rethought the - structure now that I see how the parts work together. Rearranged the - example to show how the parsing can fill values in member variables - of a derived OptionGroup class. However, 1. it crashes now, 2. we need - extra code to map the GOption C types to suitable C++ types, probably - by doing pre and post parsing to create temporary C types for the C++ - types. - -2004-09-27 Murray Cumming - - * glib/src/option*.[hg|ccg]: Wrapped more methods, but I have still not - finished. - * examples/options/: Started an example. - -2004-09-26 Murray Cumming - - * glib/src/glib_functions.defs: Regenerated with h2defs.py - * glib/src/: Added optionentry.[hg|ccg], optiongroup.[hg|ccg], - optioncontext.[hg|ccg]. - -2004-09-19 Murray Cumming - - * This is the HEAD branch. - -2004-09-13 Cedric Gustin - - * examples/thread/dispatcher.cc: Fixed a race condition on win32 - that involved the combined use of auto_ptr and multithreading (bug - #109966). - -2.4.4: - -2004-07-23 Martin Schulze - - * glib/glibmm/main.cc: Move deletion of SourceConnectionNode object - into destroy_notify_callback() exclusively; do not delete from - notify(). - (bug #144420) - -2004-07-10 Murray Cumming - - * glib/glibmm/signalproxy_connectionnode.cc: notify(): Do not delete - the connection after disconnecting it, because disconnecting it - always causes disconnect_notify to be called, so just delete it there. - This prevents double deletes and reading of deleting memory, found in - bug #145571. - -2004-07-09 Murray Cumming - - * glib/glibmm/signalproxy.h.m4: Added some documentation. - -2004-06-20 Daniel Elstner - - * glib/glibmm/objectbase.cc: Spring cleaning. - * glib/glibmm/object.cc: ditto. - -2.4.3: - -2004-06-18 Daniel Elstner - - * scripts/macros.m4 (GTKMM_ARG_ENABLE_WARNINGS): Add - -Wno-long-long to the list of tried warning flags. - -2004-06-16 Daniel Elstner - - * glib/glibmm/dispatcher.cc (DispatchNotifier::create_pipe): There - is no point in calling g_file_error_from_errno() on win32 since we - have no real errno. Also fix the error text to say "event" rather - than "pipe". - -2004-06-14 Daniel Elstner - - * scripts/cxx.m4: Add a couple of casts to void in order to suppress - warnings about unused variables. I still have no idea as to why the - hardcore warning flags are remembered when running make distcheck... - -2004-06-14 Daniel Elstner - - * examples/thread/dispatcher.cc: Explicitely join all threads. - Hopefully that'll fix the crash on win32 (see bug #109966). - -2004-06-13 Daniel Elstner - - * examples/thread/dispatcher*.cc (main): Remove unused parameter - names to fix building with -Werror. - -2004-06-13 Daniel Elstner - - * configure.in (GTKMM_ENABLE_DEBUG_REFCOUNTING): s/^GTK/GLIB/ - -2004-06-08 Daniel Elstner - - * build_shared/Makefile_build.am_fragment (all_includes): Remove - left-over include paths for pango, atk, gdk and gtk. - -2004-06-07 Daniel Elstner - - * glib/glibmm/stringutils.h: Replace a couple of double quotes with - " to prevent doxygen from escaping the enclosed HTML entities. - -2004-06-04 Daniel Elstner - - * glib/glibmm/ustring.h: Use /*! instead of /** to introduce - doxygen comments in order to avoid cluttering the long method list - of class Glib::ustring. Replace a few double quotes with " - to prevent doxygen from escaping the enclosed HTML entities. - -2.4.2: - -2004-06-03 Daniel Elstner - - * scripts/Makefile.am (EXTRA_DIST): Remove mkinstalldirs, because - automake-1.8 doesn't use it anymore and prior versions should pick - it up automatically anyway. - -2004-06-03 Daniel Elstner - - * glib/glibmm/dispatcher.cc: Complete overhaul of the Win32 - implementation of Glib::Dispatcher. That is, mutex locking is - done correctly now and dynamic memory allocation is no longer - used, plus a few other cleanups. See reopened bug #109966. - -2004-06-03 Daniel Elstner - - * glib/glibmm/signalproxy_connectionnode.cc - (SignalProxyConnectionNode::SignalProxyConnectionNode): - Reorder the initializer list to match the declaration order. - - (SignalProxyConnectionNode::notify): Add missing return 0. - -2004-05-26 Daniel Elstner - - * glib/glibmm/ustring.{cc,h}: Globally apply some minor code - cleanup and optimization tweaks. - - (get_unichar_from_std_iterator): Replace implementation with a - hand-optimized and profiled variant that has been lurking in my - local tree for quite some time, thus should be well tested. - Also add the G_GNUC_PURE() attribute. - - (operator+): Explicitely instantiate and return a temporary string, - instead of accessing the reference ustring::operator+=() returns. - This quite often allows the compiler to eliminate the additional - copy constructor invocation. - -2004-05-25 Murray Cumming - - * configure.in, Makefile.am: Removed the glibmm.spec files, because - it is broken and nobody has volunteered to fix it. - -2004-05-20 Daniel Elstner - - * examples/thread/dispatcher.cc: Revert last commit because it's - silly. To make the code truly exception-safe it would be necessary - to either join all threads or to notify them, which is way beyond - the scope of this example. - -2004-05-20 Daniel Elstner - - * examples/thread/dispatcher.cc: Set a good example and - be paranoid about possible memory leaks due to exeptions. - -2004-05-20 Daniel Elstner - - * examples/thread/dispatcher.cc: Code cleanup. Most importantly, - get rid of the locking around std::cout since it obfuscates the - purpose of using Glib::Dispatcher. - -2004-05-13 Daniel Elstner - - * glib/glibmm/object.{cc,h} (ConstructParams::ConstructParams): - Implement the copy constructor in a way that actually works if used. - Relying on the compiler to optimize it away is a bad idea. (#132300) - -2004-05-04 Murray Cumming - - * glib/glibmm/ustring.h: Documented the constructors, based on - the libstdc++ documentation, to make it clear that sizes are in - characters rather than bytes. - -2004-05-01 Murray Cumming - - * configure.in: Increase glib dependency to 2.4.0. - -2004-04-30 Murray Cumming - - * tools/m4/gobject.m4: Allow use of _CUSTOM_DTOR(), needed by - Gnome::Gda::Connection. - -2.4.1: - -2004-04-17 Murray Cumming - - * docs/reference/Makefile.am: Make the generated html depend on the - beautify_docs.pl.in source instead of the generated beautify_docs.pl, - so that the html is not rebuilt from tarballs. - -2004-04-17 Murray Cumming - - * glib/glibmm/container_handle.h: Reimplemented more of the - to_cpp_type() methods without using dependent methods, so that they - work with g++ 3.4 (cvs versions). - -2.4.0: - -2004-04-11 Murray Cumming - - * tools/pm/WrapParser.pm, Output.pm, m4/signal.m4: Allow _WRAP_SIGNAL() - to take an refreturn argument, so that Gtk::Widget::on_get_accessible() - can do an extra ref before returning the Atk::Object. - -2004-04-09 Murray Cumming - - * tools/pm/Output.pm: output_wrap_property(): Provide the actual - property name as well as one with - replace with _, so we can - test for the correct value in notification signal handler. - * tools/m4/property.m4: Use the actual property name when calling - C functions. - -2.3.8: - -2004-03-24 Murray Cumming - - * scripts/cxx.m4: Corrected parentheses, which cause the docs to be - written into config.h. Thanks to Alexander Nedotsukov. - -2004-03-23 Murray Cumming - - * scripts/cxx.m4: Corrected the ambiguous const template test, which - failed on all platforms because it generated bad code. - -2004-03-20 Martin Schulze - - * glibmm/main.cc: Bug fix in SourceConnectionNode::notify() (#137030). - -2004-03-18 Murray Cumming - - * tools/generate_wrap_init.pl: Change a regex so that files are - included without full path. Apparently this helps when building outside - of the source directory, though I'm sceptical. By Victor Zverovich in - bug #137530. - -2.3.7: - -2004-03-14 Murray Cumming - - * scripts/sun.m4: Set the correct variable, so it is actually set in - glibmmconfig. - -2004-03-14 Murray Cumming - * glib/glibmm/containerhandle_shared.h value.h: Used ifdef - GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS to avoid - problems with the SUN Forte compiler. - -2004-03-14 Murray Cumming - - * scripts/cxx.m4: Added CAN_DISAMBIGUATE_CONST_TEMPLATE_SPECIALIZATIONS - m4 macro to use in configure.in, to check for the SUN Forte problem - - see the comments in cxx.m4. - * scripts/sun.m4: Moved some brackets around to make the define - actually work. - -2004-03-13 Murray Cumming - - * glib/glibmm/containerhandle_shared.h: TypeTraits to_cpp_type() - specializations: Use wrap_auto() directly instead of a specific - wrap() overload that would be dependent. Needed for g++ 3.4. - * glib/glibmm/containers.h: Same again. - -2004-03-13 Murray Cumming - - * tools/m4/class_shared.m4: Remove the parent get_type() call from - the Class::init() function, because it is optimised away, and g++ 3.4 - actually complains that it does nothing. - * glib/glibmm/object.[h|cc]: Add a public ConstructParams copy - constructor, needed by g++ 3.4. See comments in the code. - * tests/glibmm_value/glibmm_value.cc: Instantiate instances of - value types, to fix the g++ 3.4 build. I don't know what the code - was meant to do before anyway. - -2004-03-11 Murray Cumming - - * scripts/: Added sun.m4, copied from libsigc++-1.2/scripts and - modified, so we can detect the SUN Forte compiler. - * configure.in: Used the m4 macro. - * glibmm/glibmm-config.h: Undef the GLIBMM_COMPILER_SUN_FORTE macro - so that it will be defined if configure sets it. - -2004-03-09 Murray Cumming - - * Some, but not all, SUN Forte build fixes: - * tools/m4/convert_gdk.m4, convert_glib.m4: Use existing - sun-specific conversion when converting from any - RefPtr to *Something. - -2004-04-08 Hagen Moebius - - * tools/pm/DocsParser.pm: Another change to give better warnings and - errors at gmmproc-runtime. Further improvment of parsing parameter names - to strip traling underscres. This not only for reference text, but for - the parameter list also. - -2004-04-07 Hagen Moebius - - * tools/pm/DocsParser.pm: Allow overrides to only override - part of the docs. Add a tag to associate non-prefixed - functions with classes. Improve parsing of parameter names so they - can now have numbers in the names. - -2.3.6: - -2004-03-03 Murray Cumming - - * Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends - for internationalization. See the comments in the header - you must - include things in the right order. - * glib/src/spawn.[hg|ccg]: Added spawn_close_id() as wrapper for - g_spawn_close_id(). - * glib/glibmm/main.[h|cc]: Added MainLoop::depth() as wrapper for - g_main_depth(). - - 2004-03-02 Murray Cumming - - * tools/pm/Function.pm: parse_param(): Only parse const as an - individual part of the type name if it is followed by a space, so - that we can have const const_iterator& types. - -2004-02-27 Martin Schulze - - * CHANGES: Fix typo reported by Chris Vine. - -2004-02-13 Martin Schulze - - * documentation fixes and corrections in the comments reflecting - the shift to libsigc++ 2. - * make all source files in example thread use libsigc++ 2 instead - of libsigc++ 1.2. - -2.3.5: - -2004-02-10 Murray Cumming - - * glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug - #125061 for more details. We must update CHANGES later. - -2.3.4: - -2004-02-02 Murray Cumming - - * glib/glibmm/containerhandle_shared.h: Traits: Added - const_cast, needed by TreeView::get_columns() const: bug #126721. - -2004-01-29 Murray Cumming - - * tools/pm/Parser.pm, Output.pm, tools/m4/signal.m4: Add an optional - custom_c_callback parameter to _WRAP_SIGNAL to allow special code - for the SelectionData& output parameter in Gtk::Widget signals. - Hopefully we won't need too many more of these hacks - the m4 is - becoming very hard to read, with all these nested ifelse() statements. - -2004-01-27 Cedric Gustin - - * build_shared/Makefile_build.am_fragment: Added win32-specific - --export-all-symbols to linker flags. This is backported from - gtkmm-2.2. - * README.win32: Updated text for glibmm-2.4. - * tools/generate_wrap_init.pl.in: Replaced GTKMM_WIN32 by the - standard G_OS_WIN32. - -2.3.3: - -2004-01-22 Murray Cumming - - * glib/date.[hg|ccg]: Added clamp_min() and clamp_max() to wrap the - case where g_date_clamp() takes null values. - -2004-01-18 Alberto Paro - - * glib/src/date.hg: documentated Glib::Date functions. - * glib/glibmm/main.h: documentated Glib::MainLoop,Glib::MainContext - and Glib::Source functions. - -2004-01-18 Murray Cumming - - * tools/pm/Output.pm, tools/m4/property.m4: When the property is not - read-only, add a second read-only propertyproxy for the same property, - with a const accessor. This allows setting of properties in const - methods. Make all read-only propertyproxies have const accessors. - * glib/glibmm/propertyproxy.h: Added class documentation. - * tools/pm/Output.pm: Declare _vfuncs as virtual methods - fixing - an error in my last change. - -2004-01-16 Murray Cumming - - * tools/pm/Output.pm, tools/m4/vfunc.m4: - - Generate const vfuncs when requested with _WRAP_VFUNC(). - - Put the *_vfunc() decleraration directly into the header, where - the _WRAP_VFUNC() macro appears, instead of in a separate section. - This allows us to add doxygen documentation before the _WRAP_VFUNC() - in the .hg file. However, we must check that all of our _WRAP_VFUNC() - macros are in protected: sections. - -2004-01-12 Murray Cumming - - * glib/glibmm/object.cc: Object::Object() default constructor. - Remove the warning because we really need this to implement a custom - TreeModel. Derive a new GType, as in the - Object::Object(ConstructParams) constructor. Like that constructor, - the default one also assumes that you have called a suitable - ObjectBase constructor, such as ObejctBase(typeid(MyCustomClass)). - -2004-01-09 Murray Cumming - - * tools/pm/Output.pm: output_wrap_property(): Allow construct-only - properties to be wrapped, as read-only properties. - -2004-01-03 Murray Cumming - - * tools/gmmproc.in, pm/WrapParser.pm, DocsParser.pm: Removed the - mergecdocs option - because we always want to merge C docs, to avoid - accidental upload of half-complete docs. - -2003-12-29 Murray Cumming - - * Makefile.am: Add scripts and tests directories to SUBDIRS instead of - DIST_SUBDIRS, so that their Makefile.am files are actually used. - * scripts/macros.m4: renamed GTKMM_CHECK_PERL() to GLIBMM_CHECK_PERL() - and install it as glibmm_check_perl.m4, so that other *mm projects - can use it. They need the PERL_PATH for Doxygen. - -2003-12-22 Murray Cumming - - * docs/reference: generate beautify_docs.pl from beautify_docs.pl.in, - so it can have the perl path in it. Install it, so other *mm - modules can use it. - -2003-12-13 Murray Cumming - - * tools/m4/*.m4: Added fuller Doxygen documentation to all gobj() and - wrap() methods. Doxygen should not emit warnings about these now. - -2.3.2: - -2003-11-29 Murray Cumming - - * tools/m4/signal.m4: Add spaces inside signal_proxy template types, - to avoid << and >> when using templated types. - -2003-11-27 Murray Cumming - - * tools/pm/WrapParser.pm, Output.pm: Added WRAP_METHOD_DOCS_ONLY() - macro. - * docs/internal/using_gmmproc.txt: Explained the new macro. - -2003-11-02 Murray Cumming - - * glib/glibmm/: Added init.[h|cc] with Glib::init() so that the - gnomemm init() methods do not need to initialize gtkmm. - * tools/m4/class_gobject.m4, class_gtkobject.m4: Added - _GMMPROC_PROTECTED_GCLASS macro, needed by libgnomecanvasmm. This - was not previously properly merged from gtkmm2. - * tools/m4/property.m4: Re-added PropertyProxy reference documentation - that did not survive a previous merge from gtkmm2. - -2003-11-01 Murray Cumming - - * glib/glibmm/propertyproxy.h, propertyproxy_base.[h|cc]: Now uses - ObjectBase instead of Object, because glib can now have properties - on interfaces. This is needed, for instance, by the GtkFileChooser - interface wrapper in gtkmm. - * glib/glibmm/object.h: Moved get/set_property() methods into - ObjectBase, for the same reason. - * tools/pm/WrapParser.pm, Output.pm: Added optional no_default_handler - parameter to gmmproc _WRAP_SIGNAL() macro, for signals whose - default signal handler is not in the klass struct and therefore - can not be overridden. - -2003-10-31 Murray Cumming - - * docs/Makefile_web.am_fragment: Corrected install location, - so that links from the gtkmm docs work when they are installed. - -2003-10-30 Murray Cumming - - * docs: Added images directory, copied from gtkmm, for the reference - html docs. - * configure.in: Mention docs/images/Makefile. - * docs/reference/Doxyfile.in: Genereate glibmm_doxygen_tags instead - of gtkmm_doxygen_tags. - * docs/reference/Makefile.am: dist glibmm_doxygen_tags. - * docs/reference: gtkmm*.html_fragment are now glibmm*.html_fragment. - -2.3.1: - -2003-10-23 Murray Cumming - - * tools/pm/Output.pm: output_wrap_create(): Used - args_types_and_names_with_default_values() intead of - args_types_and_names(), so that create() functions .in .h files have - the default values as specified in _WRAP_CREATE() in .hg files. - * tools/pm/WrapParser.pm: on_ignore_signals(): Strip the quotes, to - make _IGNORE_SIGNAL() really work in .hg files. - -2003-10-02 J. Abelardo Gutierrez - - * examples/threads/dispatcher.cc - examples/threads/dispatcher2.cc: fixed to cast out all gktmm code, - now they only need glimm. - * configure.in: Added examples/threads because they don't use gtkmm - anymore. Now all examples/threads compiles and run just fine. - -2.3.0: - -2003-09-30 Murray Cumming - - * configure.in: Removed examples/threads because we don't build or - distribute it, because it doesn't build, because it uses gtkmm. - -2003-09-30 Murray Cumming - - * glib/glibmm/object_base.h: ObjectBase inherits virtually from - Sigc::Object. See bug #116280. - -2003-09-27 Cedric Gustin - - * glib/glibmm/threadpool.cc: Removed - _GTKMMPROC_SIGNAL_H_AND_CC(#ifndef G_OS_WIN32) restrictions. These - functions are now implemented in the latest (2.2.4) GTK+ on win32. - * README.win32 : Updated list of unsupported functions. - -2003-08-20 Frank Naumann - - * glib/src/thread.hg, - glib/src/unicode.hg: Warning bugfix for VisualStudio .NET 2003; - made wrapper functions returning bool from glib functions - returning int (C lacks builtin type bool) explicit by adding - an != 0 check. Otherwise VisualStudio .NET warn about implicit - int -> bool cast. - -2003-07-26 Murray Cumming - - * glib/glibmm/dispatcher.cc: Added #include , needed - by MSVC++, as suggested by Frank Naumann in bug #118215. - -2003-05-31 Murray Cumming - - * tools/gmmproc.in: Corrected location of installed .pm files. They - are now in a glibmm-2.3 folder instead of a glibmm-2.4 folder. - -2003-05-14 Murray Cumming - - * Applied some of MSVC++ .NET 2003 changes from jburris. For instance, - use of Gtk:: prefix with manage, because MSVC++ can not guess it. Also - corrected the out-of-sync protected/private modifiers in the private - gtype classes and their prototypes. - -2003-05-09 Cedric Gustin - - * glib/glibmm/dispatcher.cc: small typo in G_OS_WIN32 condition. - -2003-05-07 Murray Cumming - - * scripts/macros.m4: Made the --enable-debug-refcounting configure - option set GLIBMM_* instead of GTKMM_*. - -2003-05-02 Murray Cumming - - * tools/m4/*.m4: Added doxygen comments to gobj() methods. - * examples/markup/parser.cc: Commented-out a std::right that gcc 2.93 - does not like. - -2003-04-23 Andrew Makeev - - * glib/glibmm/dispatcher.cc: Added some #ifdefed code to implement - Glib::Dispatcher on WIN32. See comments with the code. - -2003-04-22 Murray Cumming - - * Install headers in a glibmm-2.3 directory instead of glibmm-2.4, - to be consistent with gtkmm 2.4. - -2003-04-21 Murray Cumming - - * arrayhandle.h, listhandle, slisthandle.h: - Glib::ListHandle, Glib::ListHandle, Glib::SListHandle: Added - reference docs explaining that people can use STL containers. - -2003-04-21 Murray Cumming - - * Removed examples/idle: It's now updated and in gtkmm/examples/book. - -2003-04-19 Murray Cumming - - * tools/pm/GtkDefs.pm: get_unwrapped(): Changed some & to && to - avoid warnings and because that is probably what they should be. - - * tools/m4/extra_defs_gen/generate_defs_glib.cc: Removed parameter - names from main(), because they are not used. Avoid warning. - -2003-03-26 Ross Burton - - * glib/src/module.hg: Added API documentation. - -2003-03-18 Enrico Scholz - - * scripts/*.m4, configure.in: - Added description to several AC_DEFINE statements to make 'autoheader' - happy - * Makefile.am: - Added ACLOCAL_AMFLAGS to make 'autoreconf' work - -2003-03-18 Cedric Gustin - - * Makefile.am : removed examples from DIST_SUBDIRS - -2003-03-18 Enrico Scholz - - * examples/Makefile.am_fragment: Added DESTDIR-support. - -2003-03-14 Cedric Gustin - - * Install examples. The are built by default too. Patch adapted for - glibmm 2.4 by Murray Cumming. - -2003-03-04 Cedric Gustin - - * configure.in : Removed libstdc++ in LDFLAGS on win32. Latest - libtool is taking care of it. - * build_shared/Makefile_build.am_fragment, - tools/extra_defs_gen/Makefile.am : Added - --export-all-symbols linker flag on win32 (required by latest - libtool to build DLLs). - * build_shared/Makefile_gensrc.am_fragment : Modifiy rule that - builds wrap_init.cc. wrap_init.cc now contains reference to all - objects, event on win32. #ifdefs are included when needed. - * README.win32 : updated for version 2.2. Added list of missing - methods and signals on win32 - * tools/m4/base.m4 : Added _GTKMMPROC_SIGNAL_H_AND_CC macro. - - -2003-03-14 Martin Schulze - - * docs/internal/using_gtkmmproc.txt: Correct name of - [...]signals.defs generation utiliy. - -2003-01-30 Rick L Vinyard Jr - - * glib/src/thread.hg Cond: Add documentation - -2003-01-27 Murray Cumming - - * glib/glibmm/refptr.h: Removed RefPtr<>::is_null() to encourage use - of more pointer-like operator bool() instead. Wanted to remove clear() - too, but there is no =0 equivalent yet. - * tools/gmmproc.in: Change harcoded gtkmm-2.0/m4 path to glibmm-2.4/m4. - -2003-01-22 Murray Cumming - - * GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_ - -2003-01-21 Murray Cumming - - * tests/Makefile.am_fragment, examples/Makefile.am_fragment: - Corrected LIBS and CFLAGS. Not all of these build because they - use gtkmm stuff too. They need to be reduced to glibmm-only code. - -2003-01-21 Murray Cumming - - * glib/Makefile.am, glib/glibmm/Makefile.am: Install headers in - glibmm-2.4 directory rather than gtkmm-2.4 - -2003-01-21 Murray Cumming - - * configure.in: Use GLIBMM_* instead of GTKMM_* to avoid config.h - clashes with gtkmm 2.4. - * glib/glibmm-2.4.pc.in: Correct cflags - report 2.4 instead of 2.0. - -2003-01-21 Murray Cumming - - * tools/extra_defs_gen/Makefile.am: Changed extra_defs library name - from 2.4 to 2.3, so it can be unstable. - -2003-01-09 Daniel Elstner - - * glib/glibmm/utility.h (GLIBMM_INITIALIZE_STRUCT): Replace - __builtin_bzero() with __builtin_memset() because the former is - deprecated. Also, it looks like GCC is able to optimize the 0 case - so we don't lose anything here. - -2003-01-09 Daniel Elstner - - * glib/glibmm/miscutils.cc (Glib::build_path): Reserve 256 bytes - in advance to improve performance. - -2003-01-09 Daniel Elstner - - * glib/glibmm/miscutils.{cc,h} (Glib::build_path): Fix to make it - behave exactly like g_build_path(). (#102885, Jarek Dukat) - - (Glib::build_filename(const std::string&, const std::string&)): - Implement in terms of Glib::build_path(). - -2003-01-21 Murray Cumming - - * Renamed gtkmmproc to gmmproc. - -2003-01-08 Murray Cumming - - * glib/glibmm/refptr.h: Removed the operator=(CppObject*), as - suggested in the TODO comment. - -2003-01-08 Murray Cumming - - * make distcheck works. - -2003-01-08 Murray Cumming - - * It now builds, though I haven' tried installing it. The - library names and header directories should now all have 2.4 - instead of 2.0 in their name. - -glibmm was previously part of gtkmm2. - diff --git a/libs/glibmm2/INSTALL b/libs/glibmm2/INSTALL deleted file mode 100644 index d3c5b40a94..0000000000 --- a/libs/glibmm2/INSTALL +++ /dev/null @@ -1,237 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007 Free Software Foundation, Inc. - -This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - -Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. - - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 6. Often, you can also type `make uninstall' to remove the installed - files again. - -Compilers and Options -===================== - -Some systems require unusual options for compilation or linking that the -`configure' script does not know about. Run `./configure --help' for -details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - -You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - -Installation Names -================== - -By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - -Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - -There may be some features `configure' cannot figure out automatically, -but needs to determine by the type of machine the package will run on. -Usually, assuming the package is built to be run on the _same_ -architectures, `configure' can figure that out, but if it prints a -message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - -Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: - - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - -`configure' recognizes the following options to control how it operates. - -`--help' -`-h' - Print a summary of the options to `configure', and exit. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/libs/glibmm2/Makefile.am b/libs/glibmm2/Makefile.am deleted file mode 100644 index 76f3d648ed..0000000000 --- a/libs/glibmm2/Makefile.am +++ /dev/null @@ -1,95 +0,0 @@ -ACLOCAL_AMFLAGS = -I scripts - -SUBDIRS = tools glib gio scripts -DIST_SUBDIRS = $(SUBDIRS) - -EXTRA_DIST = build_shared/Makefile_build.am_fragment \ - build_shared/Makefile_build_gensrc.am_fragment \ - build_shared/Makefile_gensrc.am_fragment \ - build_shared/Makefile_conditional.am_fragment \ - README.win32 \ - COPYING COPYING.tools - - -all-local: - @echo "*** Everything completed ***" - -dist-hook: - @echo; echo; \ - echo "**********************************************************"; \ - echo "* IMPORTANT NOTICE: *"; \ - echo "* *"; \ - echo "* Be sure you have done a complete build before running *"; \ - echo "* 'make dist' or 'make distcheck', because otherwise *"; \ - echo "* the tarball will _not_ contain the dependency rules *"; \ - echo "* generated by the compiler. *"; \ - echo "**********************************************************"; \ - echo; echo - - -SVN_REV=`svnversion -n` -URL_KEY=URL: -SVN_PATH=`svn info |grep "$(URL_KEY)" |sed -e "s/$(URL_KEY)\s*//"` -ROOT_KEY=Repository Root: -SVN_ROOT=`svn info |grep "$(ROOT_KEY)" |sed -e "s/$(ROOT_KEY)\s*//"` - -tag-release: distcheck - @svn cp -r$(SVN_REV) -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION) \ - || (echo "Tagging failed. Do you have local changes that are not committed?" \ - && echo "Try running 'svn update'." && false) - @echo "Release Tagged." - -upload-release: tag-release - scp $(DIST_ARCHIVES) master.gnome.org: - @echo "Tarball uploaded. Now run install-module on master.gnome.org" - @echo "[hint: make install-module]" - -RELEASE_ANNOUNCE_LIST = gnome-announce-list@gnome.org, gtkmm-list@gnome.org -release-announce: - @echo "Please send the following announcement to:" - @echo "$(RELEASE_ANNOUNCE_LIST)" - @echo "" - @echo "Subject: ANNOUNCE: $(PACKAGE) $(VERSION) released" - @echo "" - @echo "============================== CUT HERE ==============================" - @echo "* ABOUT $(PACKAGE) *" - @echo "" - @echo " $(PACKAGE) is a C++ API for glib and gio. It is useful on its own " - @echo " and is a dependency of gtkmm, the C++ API for GTK+." - @echo "" - @echo " $(PACKAGE) $(GLIBMM_RELEASE) wraps new API in glib $(GLIBMM_RELEASE), including the gio library, " - @echo " and is API/ABI-compatibile with older versions of glibmm back to " - @echo " version 2.4. It is a version of the glibmm-2.4 API." - @echo "" - @echo " For more information, please visit http://gtkmm.org/" - @echo "" - @echo "* DOWNLOAD *" - @echo "" - @echo " Source packages for $(PACKAGE) (as well as API-stable bindings for the " - @echo " rest of the GNOME platform) can be downloaded from:" - @echo "" - @echo " http://www.gtkmm.org/download.shtml" - @echo "" - @echo "* DEVELOPMENT *" - @echo "" - @echo " There is active discussion on the mailing list: " - @echo " http://www.gtkmm.org/mailinglist.shtml" - @echo " and in the #c++ channel on irc.gnome.org" - @echo "" - @echo " gtkmm and $(PACKAGE) stay in-sync with GTK+ by following the official " - @echo " GNOME release schedule:" - @echo "" - @echo " http://www.gnome.org/start/unstable/" - @echo "" - @echo "* CHANGES *" - @echo "" - @echo " --- INSERT NEWS HERE ---" - @echo "============================== CUT HERE ==============================" - -install-module: - ssh master.gnome.org install-module $(DIST_ARCHIVES) - -release: upload-release release-announce - -.PHONY: post-html post-html-local post-html-recursive release tag-release upload-release release-announce install-module - diff --git a/libs/glibmm2/NEWS b/libs/glibmm2/NEWS deleted file mode 100644 index 397e9c7c75..0000000000 --- a/libs/glibmm2/NEWS +++ /dev/null @@ -1,888 +0,0 @@ -2.18.2 (stable): - - * uri_*(): Fix a memory leak. (Jonathon Jongsma) Bug #566845 (Jason Kasper) - * gmmproc: - - CLASS_GOBJECT(): Added _CUSTOM_CTOR_CAST for classes that need to - include custom code in their cast and construct_params constructors as - already seen in _CLASS_GTKOBJECT. Bug #574861. - - enum handling of unusually-capitalized names: For example, - gtk_foo_bar_get_type() instead of gtk_fo_obar_get_type(). Bug #575870. - (José Alburquerque) - * Build: - - Fix the build with --disable-api-exceptions. (Daniel Elstner) - - Fix -Wshadow warnings in NodeTree. (Hubert Figuiere) Bug #555743 - - Fix ununused variables warnings. (Hubert Figuiere) Bug #562716 - - Use single glib includes. (Przemysław Grzegorczyk) Bug #563987 - - Do not use a non-ASCII dash character, to avoid the MSVC++ warning C4819. - (Tao Wang) Bug #568072 - -2.18.1 (stable): - - * Many windows build improvements - * Bugs fixed: - * 506410 - Call of overloaded Stringify is ambiguous - * 529496 - Gio::Error::HOST_NOT_FOUND clashes with a netdb.h #define - * 539891 - Can't use doxygen commands in *_override.xml - * 555576 - name clash in fileinfo.h with winbase.h from VS2005 - * 556315 - Extra defs generation utility forgets to generate signals for inter... - * 556387 - FileEnumerator::next_file reference counting problems - * Thanks to contributions from Armin Burgmeier, Jonathon Jongsma, José - Alburquerque, Murray Cumming, and Szilárd Pfeiffer - -2.18.0 (stable): - - * Bug #550789: Fixed a licensing issue with some of the tools distributed with - the source tarball (Murray Cumming) - -2.17.3 (unstable): - - * More Glib::NodeTree improvements (Szilárd Pfeiffer, Murray Cumming) - * Windows build fixes (Armin Burgmeier) - -2.17.2 (unstable): - - * Changes to API that was added in this unstable series: - * Glib::Tree (wrapper around GNode) renamed to Glib::NodeTree to avoid - confusion with GTree - * pass the node to the traversal the callback (Szilárd Pfeiffer) - * Move TraverseFlags inside the NodeTree class (Murray Cumming) - * New API: - * Added the drive_eject_button signal (Murray Cumming) - * Bug Fixes: - * #423990: glibmm et al don't recognize new GNU m4 (Damien Carbery) - * #529496: Gio::Error::HOST_NOT_FOUND clashes with a netdb.h #define (Murray - Cumming) - * #523043: Initialization of Glib::ObjectBase for derived types should be - mentioned in documentation (Moritz Ulrich) - * #506410: Call of overloaded Stringify is ambiguous (Szilárd Pfeiffer, - Murray Cumming) - -2.17.1 (unstable): - - * New API: (Murray Cumming) - * Gio::File: make_directory_with_parents(), query_file_type(), monitor(). - * Gio::FileEnumerator: get_container(). - * Gio::Mount: guess_content_type() and guess_content_type_finish(). - * Gio:ThemedIcon: prepend_name(). - * Gio::Volume: get_activation_root(). - * Bug Fixes: - * #512348: provide documentation about threadsafety of - Glib::Thread::create() when the slot object is of type sigc::trackable (Chris Vine) - * #538803: minor fixes to Glib::Tree (Levi Bard) - * #540656: Pass NULL in a couple functions instead of an empty string allow - files to be overwritten (Armin Burgmeier) - * #540875: add documentation for Glib::OwnershipType (Johannes Schmid) - * #542929: Fix some compiler warnings (Benjamin Herr) - * Fix AppLaunchContext::get_display(), - AppLaunchContext::get_startup_notify_id() to use a list of Gio::File, not - filepath string. properly documented we know that this is correct. It's an - API break but this function could nothave worked before. (Murray) - * Bug #543292: Fix visual studio project file (Jens Georg) - * Added Keyfile example (Murray Cumming) - -2.17.0 (unstable): - - * Added copy constructor and assignment operator, made GDate constructor visible (José - Alburquerque) - * Added Glib::Tree, a wrapper for GNode, providing an N-ary tree container, more or - less like a standard C++ container (Levi Bard) - * Bug #529648 - give helpful warning message when library user forgets to initialize the - library (Jonathon Jongsma) - * Bug #529533 - Fix bug that prevented for Gio::Mount, Gio::Drive, and Gio::Volume from - being wrapped for some backend implementations (Jonathon Jongsma) - -2.16.2 (stable): - - * Bug 526831 – G_OPTION_REMAINING no longer works with OptionEntry (Murray - Cumming) - * Bug 527687 – ustring::erase(iterator) incorrect for non ascii character - (Murray Cumming) - * add API documentation for spawn_* functions (Murray Cumming) - * fix possible memory leak in OptionEntr (Murray Cumming) - -2.16.1 (stable): - -* Reference-counting bugfix in Gio::File::create() and Gio::File::replace() - (Murray Cumming) -* Include Gio::Error header in headers that have API that can throw this - exception (Murray Cumming) -* Improve documentation (Murray Cumming) -* Build fixes for giomm on win32 (Jonathon Jongsma) -* fix warning with g++ 4.3 (Tim Retout) - -2.16.0 (stable): - -Changes compared to glibmm 2.14: - -* New Gio API. Check for giomm-2.4 with pkg-config to use this. - (Marko Anastasov, Jonathon Jongsma, José Alburquerque, Murray Cumming) -* New Glib::Checksum class. - (Naveen Verma, Murray Cumming) -* New uri helper functions: uri_unescape_string(), uri_parse_scheme(), - uri_escape_string(). - (Murray Cumming) - -2.15.8 (unstable): - -* File: load_contents(), load_contents_finish(), load_partial_contents_finish(): - Use char*& instead of char** for contents. - Use std::string& instead of char** for etag_out. - Added method overloads without cancellable. - (Murray Cumming) -* Improved documentation: Mention exceptions instead of errors. - -2.15.7 (unstable): - -* File: - - Added query_filesystem_info_async() and - query_filesystem_info_finish() because these were added to the C API. - (Murray Cumming) - - Renamed contains_file() to file_has_prefix() because this was changed in the - C API. - (Wouter Bolsterlee) -* ThemedIcon: Added append_name() because this was added to the C API. - (Murray Cumming) - -Glib: -* Renamed uri_get_scheme() to uri_parse_scheme() because this was changed - in the C API. - (Wouter Bolsterlee) - -Documentation: -* Corrections to the .devhelp file generation. - (Jonathon Jongsma. Bug #518673) - - -2.15.6 (unstable): - -Gio: -* Removed most vfuncs, because they are not useful to application developers, - and are a likely source of errors. (Murray Cumming) -* DesktopAppInfo: - - Added Added create(), create_from_file(), - is_hidden() and set_desktop_env() - Renamed new_from_file() to create_from_file(). - (José Alburquerque) -* File: equal(), get_relative_file(), contains_file(): Take const File - parameters. -* FileAttributeInfoList: Added dup(). -* MemoryInputStream: Added add_data(const void* data, gssize len). -* Mount: Really added signals. -* MountOperation: Wrapped the ask-question signal. - (Murray Cumming) -* Volume: - - Added should_automount(). - (Marko Anastasov) - - Really added signals. - (Murray Cumming) -* UnixOutputStream, DataOutputStream, DataInputStream: Made constructors - protected. - (Marko Anastasov) - - -Documentation: -* Install a devhelp file like the existing gtkmm one. - (Jonathon Jongsma) - -2.15.5 (unstable) - -Gio: -* File, Mount, Volume: - Updated for latest gio API changes, adding a MountFlags parameter to some - methods. - (Jonathon Jongsma) -* Volume, VolumeMonitor, Added some vfuncs, though we might remove these - later as they seem useless and likely to be sources of problems. - (Murray Cumming) - -Glib: -* Actually install gi18n-lib.h - (Takao Fujiwara. Bug #515133) - -2.15.4 (unstable): - -Glib: - -* AppInfo: Added vfuncs. - (Jonathon Jongsma) -* Added BufferedOutputStream, DataInputStream and DataOutputStream, and - FilterOutputStream. - (Jonathon Jongsma) -* Cancellable: Added the signal. - (Murray Cumming) -* Added ContentType functions. - (Jonathon Jongsma) -* File: - - Added overloads of create_file(), remove(), trash(), - make_directory(), make_symbolic_link(), query_settable_attributes(), - query_writable_namespaces(), query_filesystem_info(), - query_default_handler() and mount_mountable(() without cancellable - parameters. - (Murray Cumming) - - Added copy_attributes(), added mount_enclosing_volume(), - mount_enclosing_volume_finish(), find_enclosing_mount(), and - find_enclosing_mount_finish(). - (Murray Cumming) - - set_attributes_from_info(): Reordered parameters so we can have default - values. - (Murray Cumming) - - Added copy_async(), with overloads without slot_progress. copy_finish(), - query_default_handler(). - (Marko Anastasov) - - find_enclosing_mount(), append_to(): Reordered parameters and added - overloads without cancellable. - (Murray Cumming) - - Added non-cancellable set_attribute_string(), set_attribute_byte_string(), - set_attribute_{uint32, int32, uint64, int64}. - (José Alburquerque) -* Added FilenameCompleter. - (Murray Cumming) -* LoadableIcon: - - Derive from Icon, and no longer derive FileIcon from Icon directly. - (Murray Cumming) - - Wrapped some vfuncs and some extra methods. - (Jonathon Jongsma) -* Added MemoryInputStream. - (Jonathon Jongsma) -* Added ThemedIcon - (Murray Cumming) -* Added UnixInputStream, UnixOutputStream, and DesktopAppInfo, available only - on Unix/Linux. - (José Alburquerque, Murray Cumming) -* Volume: Added get_mount(), get_identifier(), enumerate_identifiers(). - (Marko Anastasov) -* VolumeMonitor: Added signals and properties. - (Murray Cumming) - -Build: -* Use local gmmproc files again, instead of only installed ones. - (Murray Cumming) -* Fix compile with GCC 4.3. - (Kjartan Maraas) - - -2.15.3 (unstable): - -Gio: -* FilterInputStream: Really wrap this. -* VolumeMonitor: Workaround a crash in gio due to the - eccentric use of the GType system to discover GVolumeMonitor - implementations. See gio bug #511814. -* Added Gio::Error exception. -* Added more method overloads without optional parameters, and - reordered more parameters to allow default values. - (Murray Cumming) -* giomm.h: Added includes. - (Jonathan Jongsma) - -* Note that there are some examples in the gtkmm-documentation module. - - -2.15.2 (unstable): - -Glib: - -* Checksum: New class, wrapping GChecksum. - (Naveen Verma. Bug #510235) -* ObjectBase: Added connect_property_changed_with_return() - because connect_property_changed() does not return a sigc::connection. - Bug #433984 (Philip Langdale, Kalle Vahlman). -* enums.pl .defs generator: Handle parantheses. - (Marko Anastasov. Bug #498621) - -Gio: -* Added FilterInputStream, Mount, FileMonitor, VolumeMonitor. - (Marko Anastasov, Murray Cumming) -* Many methods' parameters have been reordered so we can - add default parameter values. -* Many methods now have overloads with less parameters. - (Murray Cumming, José Alburquerque, Marko Anastasov) - - -2.15.1 (unstable): - -Gio: -* Actually build the giomm library. -* Added API reference documentation. - (Murray Cumming) -* Added AppInfo and AppLaunchContext. -* Drive: - - Added poll_for_media() and poll_for_media_finish(). - - Added capability-checking functions. - (Marko Anastasov) -* File: Renamed create() to create_file(), - create_async() to create_file_async() and - create_finish() to create_file_finish() to slightly - reduce confusion with the static create*() methods. -* FileInputStream, FileOutputStream: Derive from Seekable. - (Murray Cumming) -* FileInputStream, InputStream, Volume: Modified *_finish - functions to take a const AsyncResult. - (Marko Anastasov) -* Added LoadableIcon. - (Murray Cumming) -* MountOperation: Added MountOperationResult enumeration and make - reply() take this instead of a bool. - (Jonathon Jongsma) - - (Murray Cumming) - -Glib: -* Added uri_unescape_string(), uri_get_scheme() and uri_escape_string(). - (Murray Cumming - - -2.15.0 (unstable): - -* New giomm library (check for giomm-2.4 with pkg-config) - in the glibmm tarball. This wraps the new gio API in glib 2.15/16. - However, this API could change considerably before the stable - glibmm 2.16 is released. - (Marko Anastasov) -* ustring: - - Added compose() to substitute placeholders in a format string, as an - equivalent to sprintf(), to help internationalization/translation. - - Added format() to simplify the common task of converting a value - (such as a number) to a string, with optional stream formatting - parmatters. This uses the regular C++ stream API in its implementation. - (Daniel Elstner, Openismus) -* Glib::RefPtr: Deprecate clear(), replacing it with - reset(), because people often do treemodel.clear() when they - mean treemodel->clear(). reset() is consistent with std::auto_ptr<>. - But the method is still there so the compiler still can't help - you to avoid the mistake. - (Murray Cumming) -* KeyFile: set_integer_list(), set_boolean_list(), set_double_list() - actually work now without crashing. - (Daniel Elstner, Openismus) -* gmmproc: - - Refuse to generate a wrapper for a construct-only - property which is also write-only, and display a warning. - (Daniel Elstner, bug #436789) - - Added _DERIVES_INITIALLY_UNOWNED to sink floating - references in constructor of classes that wrap - GInitiallyUnowned-derived GTypes. Plus _INITIALLY_UNOWNED_SINK - for hand-written constructors. - (Murray Cumming) -* Build: -- Fix build for glib 2.15 by including - gtestutils.h instead of gmessages.h to get g_assert(), - though I am angry that this API break has been allowed. - (Murray Cumming) -- Fix build for pre-releases of gcc 4.3 - also an include - issue. (Sebastien Bacher, #498438) - -2.14.2: - -* Build: Hopefully fix the build on NetBSD-4.99.6/amd64. - Bug #386990. (was already in 2.12.7) (Murray Cumming) -* gmmproc: Added support for the new _CONFIGINCLUDE() macro. - (Armin Burgmeier) - -2.14.1: - -* Glib::wrap(): Don't fail when wrapping an interface that - is implemented by an unrecognized type. - gmmproc-generated code now uses the new wrap_auto_interface(), - so newly-generated source code will require this latest glibmm - version. -* Increase version number check for glib. - (Rémi Cardona) - -2.14: - -Changes sinze 2.12: - -* New Regex class, allowing string searching with regular expressions. - (Murray Cumming, Daniel Elstner) -* New KeyFile class. - (Rob Page, Jonathan Jongsma, Murray Cumming) -* Main: Added SignalTimeout::connect_seconds(). - (Murray Cumming) -* OptionContext: Added get/set_summary(), get/set_description(), - set_translation_domain() and set_translate_func(). - (Jonathan Jongsma) -* Added Glib::get_user_special_dir(), get_user_data_dir(), - get_user_config_dir(), and get_user_cache_dir(). - (Jonathan Jongsma, Murray Cumming) -* Improved documentation. - (Johannes Schmid, Jonathan Jongsma, Ralf Stephan) - -2.14.0: - -* Regex: - - Add escape_string(). - - match_full(): Rename to match(). - - match_all_full(): Rename to match_all(). - - split_full(): Rename to split(). - -2.13.9: - -* KeyFile: Added Added get_double(), set_double(), get_double_list() - and set_double_list(). - (Murray Cumming) - -2.13.8: - -* OptionContext: Added get/set_summary(), get/set_description(), set_translation_domain(), - and set_translate_func(). - (Jonathon Jongsma) -* Documenation: - Added RegEx class documentation. (Johannes Schmid) - Show new API in 2.14. - -2.13.7: - -* Regex: Added a create() method and added default parameter values. - Added a simple example. -* Added SignalTimeout::connect_seconds(), in addition to the existing - SignalTimeout::connect(), as a wrapper of g_timeout_add_seconds(). - Improveed the documentation. -* Added get_user_special_dir(). - (Murray Cumming) - -2.13.6: - -* Added Glib::Regex, an API for doing regular expression search/matching. - This is not fully wrapped yet, but the simple versions of the API are there. - We need to write an example for this. - (Murray Cumming) - -2.13.5: - -* Correctly ifdef-out initialization of deprecated classes. - (Johannes Schmid, Openismus) -* Build: Cope with newer m4 versions. (Yselkowitz) - -2.13.4: - -* Correct initialization when using --disable-deprecated for reduced code-size - on embedded devices. (Johannes Schmid, Openismus) -* Glib::ObjectBase::is_derived_() is now public, though it is still only for - internal use. This allows us to do some optimization of default signal handlers and - vfuncs. - (Armin Burgmeier, Openismus) -* Options: Don't overwrite default arguments. This change was lost in - March 2006, but now it is back. - (Armin Burgmeier) -* Dispatcher: Several minor implementation improvements. (Daniel Elstner) -* ustring: Minor improvements. (Daniel Elstner) -* Documentation: Actually use the signals documentation again. - (Armin Burgmeier, Openismus) -* Build: - - Fix code generation when using the latest m4, and functions named - mkstemp, as experienced on Ubuntu Feisty. - Bug #397167 (Dodji Seketeli, Daniel Elstner) - - helperlist.h: Avoid warnings about a shadowed member. - Bug #420316 from Bradley Bell. - - utility.h: Avoid a warning about a redundant declaration. - Bug #420339 from Bradley Bell. - -2.13.3: - - -* Glib::ObjectBase::is_derived_() is now public, though it is still only for - internal use. This allows us to do some optimization of default signal handlers and - vfuncs. - (Armin Burgmeier, Openismus) -* Build: - - helperlist.h: Avoid warnings about a shadowed member. - Bug #420316 from Bradley Bell. - - utility.h: Avoid a warning about a redundant declaration. - Bug #420339 from Bradley Bell. -* gmmproc improvements: - - gmmproc: Allow () in property and signal docuemntation. - - gmmproc: Do not try to remove a common prefix from the - C enam values, if there is no common prefix. - - enum.pl: Allow whitespace in front of an enum typedef. - (Daniel Elstner) - - enum.pl: Fix an infinite loop. -* ObjectBase: Added connect_property_changed(), - as an alternative to use when the property proxies are not - available because GLIBMM_PROPERTIES_ENABLED is not defined. - (Murray Cumming) -* Value: When registering float parameters, use - G_MAXFLOAT as the minimum, instead of G_MINFLOAT. - Likewise for doubles. - (Oliver Nittka) - -2.13.2: - -*Build: - - Fix for api-default-signal-handlers option. - Bug #357830 (Matt Hoosier) - - win32: Remove unused source file from Visual Studio project. - (Cedric Gustin) - -2.13.1: - -* KeyFile class added, wrapping GKeyFile, - for parsing of .ini-style files. - (Rob Page) -* Added get_user_data_dir(), get_user_config_dir(), and - get_user_cache_dir(). - (Jonathon Jongsma) -* Support optional ifdef parameters in the .hg macros, - to allow, for instance the --enable-atk=no option, - to disable the build and use of the atkmm API, - for use in embedded environments. - (Johannes Schimd, Murray Cuming, Openismus) -* Documentation: - - Small ustring reference documentation improvement. - (Ralf Stephan) - -2.12.0: - -Changes sinze 2.10: -* Added the --enable-api-default-signal-handlers option, for use in - embedded environments that have reduced resources. See configure --help - for the other subsets. -* Value: Added init(const GValue*), so we can copy GValue instances - of any type at runtime. Needed by the new branch of libgdamm. - -2.11.3: - -* Build: Added the --enable-api-default-signal-handlers option, for use in - embedded environments that have reduced resources. See configure --help - for the other subsets. - -2.11.2: - -* Date: Fix implementation of Glib::Date::set_time_current() so - that it doesn't set the date to Dec 31, 1969. - (Jonathon Jongsma) -* Value: Added init(const GValue*), so we can copy GValue instances - of any type at runtime. Needed by the new branch of libgdamm. - (Murray Cumming) -* Added a #warning to warn about including X11/Xlib.h before a glibmm header, - which would break things. Bug #316726 from Mert Tugcu and Javeed Shaikh. - (Murray Cumming) -* Build: - - Quote some m4 macros to avoid warnings. Bugs (with patches) #347076 - and #347077 - (Kevin McBride). - - Fix exporting of get/set_property() on mingw32-gcc. - (Cedric Gustin) - - - - -2.10.1 - -* Windows Build: - - Define GLIBMM_DLL when building with mingw32 or cygwin, - because it is needed by gtkmm. Bug #309030 - (Cedric Gustin) -* OptionGroup: Allow default values, by not initializing them all. - (Armin Burgmeier) -* Slight code size reduction by marking private functions as static. - (Murray Cumming) - -2.10.0: - -* Windows Build: - - ustring.h: Tag npos with GLIBMM_API, in order to - dllexport it on win32. Bug #332438. - - Updated MSVC++ build files and README, for MS Visual Studio 2005. - (Cedric Gustin) -* gmmproc code generator: - - WRAP_METHOD() Take an extra optional argument: deprecated deprecationtext - - so that we can insert the appropriate doxygen tag in the documentation, where - the C documentation does not do it for us. - -2.9.1: - -* Date: - - Added set_time(time_t), set_time(GTimeVal), and deprecated - set_time(GTime) - - Added set_time_current(). - (Murray Cumming) -* Build: Added --enable-deprecated-api option. When set to disabled, - it does not build deprecated API. This reduces the size of the - library, and might be useful for embedded devices. - (Murray Cumming) - -2.8.2: - -* Solaris build fix: Correct the detection - of make. (Mark Rouchal) - -2.8.1: - -* Build: Check for glib 2.8. - -2.8.0: - -API additions since glibmm 2.6: - -* GModule: Add BIND_LOCAL enum value. - (Bug #172748 from Phillip Neiswanger). -* MainContext Added signal_child_watch() - and examples/child_watch. - (Yair Hershkovitz) -* OptionEntry: Added FLAG_NO_ARG, FLAG_FILENAME, - FLAG_OPTIONAL_ARG, and FLAG_NOALIAS enum values. - (Murray Cumming) - -2.7.3: - -* Updated reference documentation from glib documentation. - -2.7.2: - -* OptionEntry: Added FLAG_NO_ARG, FLAG_FILENAME, - FLAG_OPTIONAL_ARG, and FLAG_NOALIAS enum values. -* build_filename() and build_path(): Now use the implementation - from glib. - -2.7.1: - -* GModule: Add BIND_LOCAL enum value. - (Bug #172748 from Phillip Neiswanger). -* MainContext Added signal_child_watch() - and examples/child_watch. - (Yair Hershkovitz) -* Fixes from 2.6.2. - -2.6.1: - -* Interface::add_interface(): Disabled the check for a second call, - introduced in 2.6.0, for now, because it stops some valid uses. - (Bryan Forbes) - -2.6.0: - -New stable version. Changes compare to glibmm 2.4.x: - -* Added Option, OptionContext, OptionGroup for parsing of command-line arguments. -* Added filename_display_basename() and filename_display_name(). -* Added setenv() and unsetenv(). -* add_interface() methods will no longer give warnings if you - call them twice. -* gmmproc: - - Now reuses C properties documentation. - -2.5.6: - -* add_interface() methods will no longer give warnings if you -call them twice. -* gmmproc: Output properties documentation taken from the .defs. -* examples now build on AIX. - (Murray Cumming) -* MSVC++ .Net 2003 build fix. (Cedric Gustin) - -2.5.5: - -* Now builds with the following compilers, in addition to -the existing GNU g++, and Intel compilers: -- SUN Forte CC 5.5 -- IBM AIX xlC v7 -- Tru64 C++ V6.5-042 -- IRIX MIPSpro 7.4.2m - (Older versions of all these compilers might also work.) - (Murray Cumming, www.thewrittenword.com) -* Now builds with MSVC++ .Net 2003 (gtkmm 2.4 already did). - (Cedric Gustin) - -2.5.4: - -Options: -* Added Option(GOptionGroup* cast_item) constructor, - needed by Gtk::Main. -* Added reference documentation. -(Murray Cumming) - -2.5.3: - -* Options: - - Allow parsing of boolean arguments (arguments with no value). - - Really use the short names. - (Daniel Holbach, Murray Cumming) -* Added filename_display_basename() and filename_display_name(). - (Murray Cumming) -* Added setenv() and unsetenv(). (Murray Cumming) -* Use static keyword to prevent exporting private API. - (Benoît Dejean) -* input example: Improvements and simplification. (Chris Vine) - -2.5.2: - -* OptionEntry: Remove useless enum. (Murray Cumming) -* Documentation: - - examples: Added iochannel_stream example. (Chris Vine) - - reference: Generate more reference API from the C documentation, and - try to use the libstdc++ doxygen tags file to link to their - documentation. (Murray Cumming) - -2.5.1: - -* OptionContext, OptionGroup, OptionEntry: Made the add_entry() methods - type-safe and fixed several problems memory-management problems. This - API is now worth looking at. - -2.5.0: - -* Added OptionContext, OptionGroup, and OptionEntry classes, for - parsing of command-line options. See examples/options/ - -2.4.4: - -* Signals: Avoid crashes when disconnecting a signal when handling that signal. - (Murray Cumming, Martin Schulze) -* -2.4.3: - -* Minor improvements to reference documentation. (Daniel Elstner) -* Minor Glib::Dispatcher improvements (Daniel Elstner) - -2.4.2: - -* Glib::Dispatcher: win32 implementation rewritten, and hopefully, improved. - (Daniel Elstner) -* Glib::ustring: - - Optimization and code-cleanup. (Daniel Elstner) - - Added reference documentation for constuctors. (Murray Cumming) -* Fixed some compiler warnings. - (Daniel Elstner) -* gmmproc: Some improvements for libgdamm. (Murray Cumming) - - -2.4.1: - -* Build fixes for gcc 3.4.0. -* Doxygen not required when building from tarballs. - (Murray Cumming) - - -2.4.0: - -Changes since 2.2.0: - -* Now separate from gtkmm, so you can use things like Glib::ustring without depending on gtkmm. This glibmm 2.4 API installs in parallel with gtkmm 2.0/2.2, so you can install applications which use either. -* When using pkg-config, you should check for "glibmm-2.4". -* Glib::ObjectBase inherits virtually from SigC::Object, allowing multiple inheritance with other classes that inherit from SigC::Object. -* RefPtr: - - is_null() was removed, to encourage you to use "== 0" instead. - - operator=(CppObject*) was removed. -* The gtkmmproc code-generator is now gmmproc, and has several improvements to support gtkmm 2.4. -* Now uses improved libsigc++ 2.0 API. -* Added i18n.h and i18n-lib.h, which include the relevant - glib headers, which declare internationalization - macros such as _(). -* New methods: - Glib::spawn_close_id(), Glib::MainLoop::depth(), - Glib::Date::clamp_min(), Glib::Date::clamp_max(). -* Improved documentation. - - -2.3.8: - -* Fix crash when using Glib::Main signals. - (Martin Schulze) -* Corrected the configure-time SUN compiler check. - (Murray Cumming, Alexander Nedotsukov) - -2.3.7: - -* Added configure macros to detect SUN compiler oddities. -* Various SUN Forte C+ and g++ 3.4 (cvs) build fixes. - (Murray Cumming) -* gmmproc: Improved parsing of C docs. - (Hagen Moebius) - -2.3.6: - -* Added i18n.h and i18n-lib.h, which include the relevant - glib headers, which declare internationalization - macros such as _(). (Murray Cumming) -* Added Glib::spawn_close_id(). (Murray Cumming) -* Added Glib::MainLoop::depth(). (Murray Cumming) -* Documentation: corrections to CHANGES (Martin Schulze). -* gmmproc: Can now handle "const const_iterator& iter" - parameter names without getting confused by 2 consts. - (Murray Cumming) - -2.3.5: - -* glibmm now uses libsigc++ 2 rather than libsigc++ 1.2. - -2.3.4: - -* ListHandle/SListHandle (intermediate container types): - - Added a const_cast<> to allow lists of const elements. -* gmmproc: _WRAP_SIGNAL(): Added optional custom_c_callback - parameter. - (Murray Cumming) -* WIN32: Build fixes, mostly merged from the 2.2 branch. - (Cedric Gustin) - -2.3.3: - -* gmmproc (code generator) - - properties: Make read-only properties have const accessors, - and add a second read-only const accessor for normal - properties. Wrap construct-only properties as read-only, - instead of ignoring them. - - vfuncs: Really generate const vfuncs when requested. Put - the method declaration directly into the .h file, so that - the doxygen documentation can be next to it. - - documentation: - - Remove mergecdocs configure option - always - merge the C docs, to avoid any risk of uploading or - releasing empty documentation. Just delete the *_docs.xml - files to make building from cvs faster. - - Install a GLIBMM_CHECK_PERL() macro, for use by gtkmm - and other *mm projects, to get the perl path needed by - doxygen. - - Install beautify_docs.pl so it can be reused in gtkmm - and other *mm projects, instead of having lots of copies. -* Glib::ObjectBase: The default constructor, never before used, - now generates a custom GType, for use when creating new - implementations of Glib::Interfaces - for instance, see the - new custom tree model example in gtkmm. -* Glib::Date: Added clamp_min() and clamp_max(). - (Murray Cumming) - -* Documentation: - - Added reference documentation for MainLoop, MainContext, - Source, and Date. (Alberto Paro) - -2.3.2: - -* gmmproc (code generator): - - signal proxies have extra space to avoid << with templates. - - Added WRAP_METHOD_DOCS_ONLY() for reusing documentation even - when the method is hand-coded. - - _WRAP_SIGNAL(): Added optional no_default_handler parameter, - because some of the new GTK+ signals have no public default - handler vfunc. -* Added Glib::init(), for use by non-GUI apps which need to - use Glib::wrap(). -* PropertyProxy: Can now be used with Interfaces. -* Documentation improvements, so that gtkmm docs link to glibmm - docs. - (Murray Cumming) - -2.3.1: - -* gmmproc changes needed by gtkmm 2.3.0 - (Murray Cumming) -* examples updated and buildable and working, - without gtkmm code. - (J. Abelardo Gutierrez) - -Changes in glibmm 2.3.0: - -* Now separate from gtkmm, so you can use things like Glib::ustring without depending on gtkmm. - This glibmm 2.4 API installs in parallel with gtkmm 2.0/2.2, so you can install this unstable library - without the risk of breaking existing application. -* This does not yet require glib 2.3 because there has been no tarball release of that yet. For now, you - can use glibmm 2.3.0 with glib 2.2.x. -* When using pkg-config, you should check for "glibmm-2.4". -* Glib::ObjectBase inherits virtually from SigC::Object, allowing multiple inheritance with other - classes that inherit from SigC::Object. -* RefPtr: - - is_null() was removed, to encourage you to use "== 0" instead. - - operator=(CppObject*) was removed. -* gtkmmproc is now gmmproc. -* All the glibmm bugfixes in gtkmm 2.2.x. diff --git a/libs/glibmm2/README b/libs/glibmm2/README deleted file mode 100644 index 341c67e439..0000000000 --- a/libs/glibmm2/README +++ /dev/null @@ -1,4 +0,0 @@ -This is glibmm, a C++ API for parts of glib that are useful for C++. -See http://www.gtkmm.org - - diff --git a/libs/glibmm2/README.win32 b/libs/glibmm2/README.win32 deleted file mode 100644 index 9fb2921bed..0000000000 --- a/libs/glibmm2/README.win32 +++ /dev/null @@ -1,65 +0,0 @@ -Building glibmm on Win32 -=========================== - -Currently, both the mingw (native win32) gcc compiler and MS Visual -Studio 2005 are supported. glibmm can be built with mingw32-gcc using -the gnu autotools (automake, autoconf, libtool). As explicitly stated -in the gtk+ for win32 distribution (http://www.gimp.org/win32/), the -gcc compiler provided by the cygwin distribution should not be used to -build glib/glibmm libraries and/or applications (see the README.win32 -that comes with the gtk+ DLLs). This MIGHT cause conflicts between the -cygwin and msvcrt runtime environments. - -1. Mingw - -The mingw distribution which has been tested with this release is the -following : - -* MinGW-4.1 as the base distribution. - -The bare mingw distribution does not provide the necessary tools (sh, perl, m4 -, autoconf, automake, ..) to run the provided configure script "as is". One -(currently non supported) solution is to use mingw in conjunction with msys, -which is readily available on the mingw website (http://www.mingw.org/). - -The preferred method is to combine the cygwin distribution (for the unix tools -that were mentioned above) with mingw by making sure that the mingw -tools (gcc, ld, dlltool, ..) are called first. - -First, make sure that you have working distribution of the native port -of both libsigc++-2.0.x and glib-2.0 on win32 (see -http://www.gimp.org/win32). If you can't compile a simple glib example -using gcc and `pkg-config --cflags --libs`, you should not even think -about trying to compile glibmm, let alone using precompiled libglibmm -DLLs to port your glibmm application ! - -The configure script can then be called using (as an example) the -following options - -./configure --prefix=/target --build=i386-pc-mingw32 --disable-static - -then - -make -make check -make install - -2. MS Visual Studio 2005 - -Open the glibmm.sln solution file in the MSVC_Net2003 directory. In -the Tools/Options panel, add the appropriate GTK+ include and lib -directories to the Projects and Solutions/VC++ directories. Build the -solution. - -Important NOTE : to circumvent the C++ compiler bug described in this -bugzilla entry (http://bugzilla.gnome.org/show_bug.cgi?id=158040), it -is necessary to add '/vd2' to the list of compiler options when -building and/or using glibmm with Visual Studio 2005. - -glibmm-2.8 will probably not work correctly with Visual Studio 7.1 or -below because of the aforementioned bug. - -3. Glibmm methods and signals not available on win32 - -All glibmm methods and signals are available on win32. - diff --git a/libs/glibmm2/SConscript b/libs/glibmm2/SConscript deleted file mode 100644 index e82a772c46..0000000000 --- a/libs/glibmm2/SConscript +++ /dev/null @@ -1,72 +0,0 @@ -# -*- python -*- - -import os -import os.path -import glob - -glibmm2_files = glob.glob('glib/glibmm/*.cc') -giomm_files = glob.glob('gio/giomm/*.cc') - -Import('env libraries install_prefix') - -glibmm2 = env.Clone() -glibmm2.Merge([libraries['sigc2'], libraries['glib2']]) -glibmm2.Append(LIBPATH='#libs/glibmm2', - CPPPATH='#libs/glibmm2/glib') - -giomm = env.Clone() -giomm.Merge([libraries['sigc2'], libraries['glib2'], libraries['gio']]) -giomm.Append(LIBPATH='#libs/glibmm2', - CPPPATH='#libs/glibmm2/gio') -giomm.Append(CPPPATH='#libs/glibmm2/glib') - -glibmm2.Append(CXXFLAGS=['-DHAVE_CONFIG_H', '-DGLIBMM_EXCEPTIONS_ENABLED', '-DGLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED', '-DGLIBMM_PROPERTIES_ENABLED']) -giomm.Append(CXXFLAGS='-DG_DISABLE_DEPRECATED') -glibmm2.Append(CXXFLAGS='-DG_LOG_DOMAIN=\\\"glibmm\\\"') - -giomm.Append(CXXFLAGS=['-DHAVE_CONFIG_H', '-DGLIBMM_EXCEPTIONS_ENABLED', '-DGLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED', '-DGLIBMM_PROPERTIES_ENABLED']) -giomm.Append(CXXFLAGS='-DG_LOG_DOMAIN=\\\"giomm\\\"') - -libglibmm2 = glibmm2.SharedLibrary('glibmm2', glibmm2_files) -libgiomm = giomm.SharedLibrary('giomm', giomm_files) - -if os.access ('autogen.sh', os.F_OK) : - # - # note that this should also build the giomm config.h and other files - # - glibmm2_configure_script = glibmm2.Command ('configure', 'configure.in', 'cd libs/glibmm2; ./autogen.sh; cd -', ENV=os.environ) - glibmm2_config_h = glibmm2.Command('glib/glibmmconfig.h', [glibmm2_configure_script, 'glib/glibmmconfig.h.in'], - 'cd libs/glibmm2; ./configure || exit 1; cd -', ENV=os.environ) -else : - glibmm2_config_h = glibmm2.Command('glib/glibmmconfig.h', ['configure', 'glib/glibmmconfig.h.in'], - 'cd libs/glibmm2; ./configure || exit 1; cd -', ENV=os.environ) - -Default([glibmm2_config_h, libglibmm2, libgiomm]) - -env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libglibmm2)) -env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libgiomm)) - -env.Alias('tarball', env.Distribute (env['DISTTREE'], - [ 'SConscript', - 'configure', - 'Makefile.in', - 'glib/glibmm.h', - 'glib/glibmmconfig.h', - 'glib/glibmmconfig.h.in', - 'glib/glibmm-2.4.pc.in', - 'glib/glibmm/Makefile.in', - 'scripts', - 'build_shared', - 'gio/giommconfig.h', - 'gio/giommconfig.h.in', - 'gio/giomm.h', - 'gio/Makefile.in', - ] + - glibmm2_files + - giomm_files + - glob.glob('glib/glibmm/*.h') + - glob.glob('glib/glibmm/private/*.h') + - glob.glob('gio/giomm/*.h') + - glob.glob('gio/giomm/private/*.h') - )) - diff --git a/libs/glibmm2/autogen.sh b/libs/glibmm2/autogen.sh deleted file mode 100755 index a9e02cb78a..0000000000 --- a/libs/glibmm2/autogen.sh +++ /dev/null @@ -1,79 +0,0 @@ -#! /bin/sh - -PKG_NAME=glibmm - -srcdir=`dirname $0` -test "x$srcdir" = x && srcdir=. - -origdir=`pwd` - -if test -f "$srcdir/configure.in" && \ - test -d "$srcdir/glib/src" && \ - test -d "$srcdir/glib/glibmm" -then :; else - echo "** Error **: Directory \`${srcdir}\' does not look like" - echo "the top-level ${PKG_NAME} directory." - exit 1 -fi - -MAKE=`which gnumake` -test -x "$MAKE" || MAKE=`which gmake` -test -x "$MAKE" || MAKE=`which make` - -if "$MAKE" --version 2>/dev/null | grep "Free Software Foundation" >/dev/null 2>&1 -then :; else - echo "** Error **: You need GNU make to build gtkmm from CVS." - echo "${MAKE} is not GNU make." - exit 1 -fi - -echo "Found GNU make at ${MAKE}... good." - -cd "$srcdir" - -echo "Adding libtools." -libtoolize --automake || exit 1 - -echo "Building macros." -aclocal -I "$srcdir/scripts" $ACLOCAL_FLAGS || exit 1 - -#echo "Building config header." -#autoheader - -echo "Building makefiles." -automake --add-missing || exit 1 - -echo "Building configure." - -autoconf || exit 1 - - -enable_warnings= - -case "$*" in - *--enable-warnings*|*--disable-warnings*) - ;; - *) # enable -Werror by default when building with gcc3 - ${CXX:-"g++"} --version 2>/dev/null | grep '(GCC) 3\.[0-9]\+\.[0-9]' >/dev/null 2>&1 \ - && enable_warnings='--enable-warnings=hardcore' - ;; -esac - -cd "$origdir" -rm -f config.cache - -if test -z "$AUTOGEN_SUBDIR_MODE" -then - echo "Running $srcdir/configure --enable-maintainer-mode" $enable_warnings "$@" - "$srcdir/configure" --enable-maintainer-mode $enable_warnings "$@" || exit 1 - echo - echo 'run "make"' - echo -else - echo - echo 'run "./configure ; make"' - echo -fi - -exit 0 - diff --git a/libs/glibmm2/build_shared/Makefile_build.am_fragment b/libs/glibmm2/build_shared/Makefile_build.am_fragment deleted file mode 100644 index 2707becfaa..0000000000 --- a/libs/glibmm2/build_shared/Makefile_build.am_fragment +++ /dev/null @@ -1,50 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. -## -## **** Common rules for inclusion in Makefile.am **** -## Included by Makefile_build_gensrc.am_fragment -## - -include $(srcdir)/../src/Makefile_list_of_hg.am_fragment - -# Support for DLL on mingw using libtool > 1.4 -# When creating DLLs on win32, we need to explicitly add a few extra -# libraries at link time to resolve symbols (remember a dll is like an -# executable). -if PLATFORM_WIN32 -extra_win32_defines = \ - -D$(shell echo $(sublib_name) | tr [:lower:] [:upper:])_BUILD -no_undefined = -no-undefined -Wl,--export-all-symbols -win32_dlls_extra_libs = $(sublib_win32_dlls_libs) -else -extra_win32_defines = -no_undefined = -win32_dlls_extra_libs = -endif - -common_ldflags = -version-info $(sublib_libversion) $(no_undefined) - -# All modules can include all other modules, -# for instance, so that gdkmm can use headers in pangomm. -all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \ - -I$(top_builddir)/glib -I$(top_srcdir)/glib -I$(top_builddir) \ - -I$(top_builddir)/gio -I$(top_srcdir)/gio \ - $(sublib_cflags) $(GTHREAD_CFLAGS) - -dist_sources = $(files_all_built_cc) $(files_all_extra_cc) $(files_all_built_h) $(files_all_extra_h) -DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST) - - -DEFS = @DEFS@ -DG_LOG_DOMAIN=\"$(sublib_name)\" $(extra_win32_defines) -DEFAULT_INCLUDES = - -# DISABLE_DEPRECATED_CFLAGS and DISABLE_DEPRECATED_API_CFLAGS are empty unless the appropriate --enable-*=no options are specified to configure: -INCLUDES = $(strip $(all_includes)) $(DISABLE_DEPRECATED_CFLAGS) $(DISABLE_DEPRECATED_API_CFLAGS) - -sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name) -sublib_include_HEADERS = $(files_all_built_h) $(files_all_extra_h) - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_all_built_cc) $(files_all_built_h)) - - diff --git a/libs/glibmm2/build_shared/Makefile_build_extra.am_fragment b/libs/glibmm2/build_shared/Makefile_build_extra.am_fragment deleted file mode 100644 index b2a2c2e98f..0000000000 --- a/libs/glibmm2/build_shared/Makefile_build_extra.am_fragment +++ /dev/null @@ -1,40 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. -## -## **** Common rules for inclusion in Makefile.am **** -## -## -## Used variable: Example content: -## -## sublib_name = gtkmm -## sublib_cflags = $(GTKMM_CFLAGS) -## sublib_files_extra_*_cc = stock_id.cc -## sublib_files_extra_*_h = stock_id.h -## -## Returned variable: Usage example: -## -## files_extra_cc libgtkmm_la_SOURCES = $(files_all_cc) -## files_extra_h libgtkmm_la_SOURCES = $(files_all_general_cc) -## files_extra_all_cc libgtkmm_la_SOURCES = $(files_all_posix_cc) -## files_extra_all_h libgtkmm_la_SOURCES = $(files_all_win32_cc) - -## The temporary sublib_ variables are needed to workaround -## a nasty automake problem with escaped newlines and +=. - -if OS_WIN32 -files_extra_cc_tmp = $(sublib_files_extra_general_cc) $(sublib_files_extra_win32_cc) -files_extra_h_tmp = $(sublib_files_extra_general_h) $(sublib_files_extra_win32_h) -else -files_extra_cc_tmp = $(sublib_files_extra_general_cc) $(sublib_files_extra_posix_cc) -files_extra_h_tmp = $(sublib_files_extra_general_h) $(sublib_files_extra_posix_h) -endif - -files_extra_cc = $(files_extra_cc_tmp) -files_extra_h = $(files_extra_h_tmp) - -files_extra_all_cc = $(sublib_files_extra_general_cc) $(sublib_files_extra_posix_cc) $(sublib_files_extra_win32_cc) -files_extra_all_h = $(sublib_files_extra_general_h) $(sublib_files_extra_posix_h) $(sublib_files_extra_win32_h) - -files_extra_h += wrap_init.h -files_extra_all_h += wrap_init.h - diff --git a/libs/glibmm2/build_shared/Makefile_build_gensrc.am_fragment b/libs/glibmm2/build_shared/Makefile_build_gensrc.am_fragment deleted file mode 100644 index 22ee8c45f5..0000000000 --- a/libs/glibmm2/build_shared/Makefile_build_gensrc.am_fragment +++ /dev/null @@ -1,86 +0,0 @@ -## Copyright (c) 2001-2004 -## The gtkmm development team. -## -## Included by src/Makefile_list_of_hg.am_fragment -## -## This Makefile.am helper transforms lists of source files that are -## specific to a sublibrary (atkmm, pangomm, gdkmm or gtkmm) into more -## generic lists. These lists of files are processed by the automake -## rules contained in Makefile_build.am_fragment (sublib/sublibmm -## directory) and Makefile_gensrc.am_fragment (sublib/src directory). -## -## The input variables are: -## * defined in sublib/src/Makefile_list_of_hg.am_fragment: -## files_posix_hg, files_win32_hg, files_general_hg, -## files_general_deprecated_hg. -## * defined sublib/sublibmm/Makefile.am: -## sublib_files_extra_posix_[cc|h], -## sublib_files_extra_win32_[cc|h], -## sublib_files_extra_general_[cc|h], -## sublib_files_extra_general_deprecated_[cc|h] -## -## The output variables are: -## files_all_hg: all .hg files (general, all platforms, deprecated) -## files_hg: general and platform-specific .hg files -## files_built_cc, files_built_h: generated source files that -## will be compiled on the target platform -## + corresponding headers. -## files_all_built_cc, files_all_built_h: all generated source -## files + corresponding headers. -## files_extra_cc, files_extra_h : general and platform-specific -## source files and corresponding headers -## files_all_extra_cc, files_all_extra_h: all extra source files -## and corresponding headers. -## !!! deprecated files not included !!! - -# Built files - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -if OS_WIN32 -files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -else -files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -endif - -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) - -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files - -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = \ - $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) \ - $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) -files_all_extra_h += wrap_init.h - -if OS_WIN32 -files_extra_cc = \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) -files_extra_h = \ - $(sublib_files_extra_win32_h) \ - $(sublib_files_extra_general_h) -else -files_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_general_cc) -files_extra_h = \ - $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_general_h) -endif -files_extra_h += wrap_init.h diff --git a/libs/glibmm2/build_shared/Makefile_conditional.am_fragment b/libs/glibmm2/build_shared/Makefile_conditional.am_fragment deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/libs/glibmm2/build_shared/Makefile_gensrc.am_fragment b/libs/glibmm2/build_shared/Makefile_gensrc.am_fragment deleted file mode 100644 index 6302b37f13..0000000000 --- a/libs/glibmm2/build_shared/Makefile_gensrc.am_fragment +++ /dev/null @@ -1,70 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. -## -## **** Common rules for inclusion in Makefile.am **** -## Included from something/src/Makefile.am -## -## Used variable: Example content: -## -## sublib_name = gdkmm -## sublib_namespace = Gdk - -## files_defs = gdk.defs gdk_pixbuf.defs - - -tools_dir = $(top_srcdir)/tools -tools_dir_m4= $(top_srcdir)/tools/m4 -tools_dir_pm= $(top_srcdir)/tools/pm - -gensrc_destdir = $(srcdir)/../$(sublib_name) -stamp_dir = $(srcdir)/.stamps - -include $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment -tools_m4 = $(files_tools_m4:%.m4=$(tools_dir_m4)/%.m4) -# tools_pm = $(files_tools_pm:%.pm=$(tools_dir_pm)/%.pm) - -include $(srcdir)/../src/Makefile_list_of_hg.am_fragment -files_all_ccg = $(files_all_hg:%.hg=%.ccg) -files_h = $(files_all_hg:%.hg=$(gensrc_destdir)/%.h) -files_cc = $(files_all_hg:%.hg=$(gensrc_destdir)/%.cc) -files_stamp = $(files_all_hg:%.hg=$(stamp_dir)/stamp-%) - -#The gmmproc from this glibmm: -gmmproc_in = $(top_srcdir)/tools/gmmproc.in -gmmproc_path = $(top_builddir)/tools/gmmproc - - -# We use our own m4 and pm files as well as the ones installed by gtkmm: -# Our override m4 include seems to need to be before the default one. -gmmproc_args = -I $(tools_dir_m4) --defs $(srcdir) -run_gmmproc = $(PERL_PATH) -I$(tools_dir_pm) $(gmmproc_path) $(gmmproc_args) - - -gen_wrap_init_in = $(top_srcdir)/tools/generate_wrap_init.pl.in -gen_wrap_init_path = $(top_builddir)/tools/generate_wrap_init.pl -gen_wrap_init_args = --namespace=$(sublib_namespace) --parent_dir=$(sublib_parentdir) -run_gen_wrap_init = $(PERL_PATH) $(gen_wrap_init_path) $(gen_wrap_init_args) - -EXTRA_DIST = Makefile_list_of_hg.am_fragment \ - $(files_defs) $(files_all_hg) $(files_all_ccg) - - -$(stamp_dir)/stamp-%: %.hg %.ccg $(tools_m4) $(files_defs) - $(run_gmmproc) $(notdir $*) $(srcdir) $(gensrc_destdir) - @echo 'timestamp' > $@ - -sublib_srcdir = $(srcdir)/../src -files_hg_with_path = $(patsubst %.hg,$(sublib_srcdir)/%.hg,$(files_all_hg)) - -$(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path) - $(run_gen_wrap_init) $(files_all_hg:%.hg=$(srcdir)/%.hg) >$@ - -create-stamp-dir: - @(test -d $(stamp_dir) || mkdir $(stamp_dir)) - -if MAINTAINER_MODE -all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc -endif - -maintainer-clean-local: - rm -rf $(stamp_dir) diff --git a/libs/glibmm2/build_shared/Makefile_gensrc_platform.am_fragment b/libs/glibmm2/build_shared/Makefile_gensrc_platform.am_fragment deleted file mode 100644 index 71c9cc4bcc..0000000000 --- a/libs/glibmm2/build_shared/Makefile_gensrc_platform.am_fragment +++ /dev/null @@ -1,25 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. -## -## **** Common rules for inclusion in Makefile.am **** -## -## -## Used variable: Example content: -## -## files_general_hg = button.hg -## files_posix_hg = socket.hg -## -## Returned variable: Usage example: -## -## files_all_hg EXTRA_DIST = $(files_all_hg) -## files_hg files_built_h = $(files_hg:.hg=_p.h) - - -files_all_hg = $(files_general_hg) $(files_posix_hg) $(files_win32_hg) - -if OS_WIN32 -files_hg = $(files_general_hg) $(files_win32_hg) -else -files_hg = $(files_general_hg) $(files_posix_hg) -endif - diff --git a/libs/glibmm2/config.h.in b/libs/glibmm2/config.h.in deleted file mode 100644 index 20390c5eee..0000000000 --- a/libs/glibmm2/config.h.in +++ /dev/null @@ -1,6 +0,0 @@ - -#undef HAVE_FLOCKFILE -#undef HAVE_FUNLOCKFILE -#undef GETC_UNLOCKED -#undef HAVE_MKFIFO -#undef SIZEOF_WCHAR_T diff --git a/libs/glibmm2/configure.in b/libs/glibmm2/configure.in deleted file mode 100644 index 782ca3a24d..0000000000 --- a/libs/glibmm2/configure.in +++ /dev/null @@ -1,267 +0,0 @@ -# Configure.in -# -# This file tests for various compiler features needed to configure -# the gtkmm package. Original skeleton was provided by Stephan Kulow. -# All tests were written by Tero Pulkkinen, Mirko Streckenbach, and -# Karl Nelson. -# -# NOTE! IF YOU DO CHANGES HERE, CHECK IF YOU NEED TO MODIFY .m4 TOO!!! -# -# Copyright 2001 Free Software Foundation -# Copyright 1999 gtkmm Development Team -# Copyright 1998 Stephan Kulow -# -AC_INIT(glib/glibmmconfig.h.in) -AC_PREREQ(2.50) - -######################################################################### -# Version and initialization -######################################################################### -GLIBMM_MAJOR_VERSION=2 -GLIBMM_MINOR_VERSION=14 -GLIBMM_MICRO_VERSION=2 -GLIBMM_VERSION=$GLIBMM_MAJOR_VERSION.$GLIBMM_MINOR_VERSION.$GLIBMM_MICRO_VERSION -GLIBMM_RELEASE=$GLIBMM_MAJOR_VERSION.$GLIBMM_MINOR_VERSION -AC_DEFINE_UNQUOTED([GLIBMM_MAJOR_VERSION], $GLIBMM_MAJOR_VERSION, [Major Version]) -AC_DEFINE_UNQUOTED([GLIBMM_MINOR_VERSION], $GLIBMM_MINOR_VERSION, [Minor Version]) -AC_DEFINE_UNQUOTED([GLIBMM_MICRO_VERSION], $GLIBMM_MICRO_VERSION, [Micro Version]) -AC_SUBST(GLIBMM_MAJOR_VERSION) -AC_SUBST(GLIBMM_MINOR_VERSION) -AC_SUBST(GLIBMM_MICRO_VERSION) -AC_SUBST(GLIBMM_VERSION) -AC_SUBST(GLIBMM_RELEASE) - -# -# +1 : ? : +1 == new interface that does not break old one -# +1 : ? : 0 == new interface that breaks old one -# ? : ? : 0 == no new interfaces, but breaks apps -# ? :+1 : ? == just some internal changes, nothing breaks but might work -# better -# CURRENT : REVISION : AGE -LIBGLIBMM_SO_VERSION=1:24:0 -AC_SUBST(LIBGLIBMM_SO_VERSION) - -AC_CONFIG_AUX_DIR(scripts) - -dnl For automake. -VERSION=$GLIBMM_VERSION -PACKAGE=glibmm - -dnl Initialize automake stuff -AM_INIT_AUTOMAKE($PACKAGE, $VERSION) - -dnl Specify a configuration file (no autoheader) -AM_CONFIG_HEADER(config.h glib/glibmmconfig.h) -AM_MAINTAINER_MODE -AL_ACLOCAL_INCLUDE(scripts) - - -######################################################################### -# Configure arguments -######################################################################### - -######################################################################### -# Environment Checks -######################################################################### -AC_PROG_CC -AC_PROG_CPP -AC_PROG_MAKE_SET -AC_CANONICAL_BUILD -AC_CANONICAL_HOST - -dnl Used for enabling the "-no-undefined" flag while generating DLLs -dnl Copied from the official gtk+-2 configure.in -AC_MSG_CHECKING([for some Win32 platform]) -case "$host" in - *-*-mingw*|*-*-cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -AC_MSG_RESULT([$platform_win32]) -AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") - -AC_MSG_CHECKING([for native Win32]) -case "$host" in - *-*-mingw*) - os_win32=yes - ;; - *) - os_win32=no - ;; -esac -AC_MSG_RESULT([$os_win32]) -AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes") - -AC_DISABLE_STATIC -AC_LIBTOOL_WIN32_DLL -AC_PROG_LIBTOOL - -AL_PROG_GNU_M4(AC_MSG_ERROR([dnl -SUN m4 does not work for building gtkmm. -Please install GNU m4.])) - -AL_PROG_GNU_MAKE(AC_MSG_ERROR([dnl -SUN make does not work for building gtkmm. -Please install GNU make.])) - -GLIBMM_CHECK_PERL([5.6.0]) - -######################################################################### -# Function checks -######################################################################### - -# functions used in demos/gtk-demo. Undefined in config.h ! -AC_CHECK_FUNCS([flockfile funlockfile getc_unlocked mkfifo]) - -######################################################################### -# Dependancy checks -######################################################################### -gtkmm_min_sigc_version=2.0.0 -gtkmm_min_glib_version=2.14.0 - -# -# -# !!! Ardour note: we don't need to look for sigc++ -# because it is inside our tree and handled by SCons. -# We do, however, need to check on glib -# -# -#PKG_CHECK_MODULES(GLIBMM, sigc++-2.0 >= ${gtkmm_min_sigc_version} glib-2.0 >= ${gtkmm_min_glib_version} gobject-2.0 >= ${gtkmm_min_glib_version} gmodule-2.0 >= ${gtkmm_min_glib_version}) -#AC_SUBST(GLIBMM_CFLAGS) -#AC_SUBST(GLIBMM_LIBS) - -PKG_CHECK_MODULES(GLIBMM, glib-2.0 >= ${gtkmm_min_glib_version} gobject-2.0 >= ${gtkmm_min_glib_version} gmodule-2.0 >= ${gtkmm_min_glib_version}) -AC_SUBST(GLIBMM_CFLAGS) -AC_SUBST(GLIBMM_LIBS) - -# gthread isn't a requirement, but we should use its CFLAGS if available. -PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= ${gtkmm_min_glib_version},[],[GTHREAD_CFLAGS=''; GTHREAD_LIBS='']) -AC_SUBST(GTHREAD_CFLAGS) -AC_SUBST(GTHREAD_LIBS) - - -######################################################################### -# C++ checks -######################################################################### -AC_PROG_CXX - -# Check for the SUN Forte compiler, and define GLIBMM_COMPILER_SUN_FORTE in the header. -GLIBMM_PROG_CXX_SUN - -# Ensure MSVC-compatible struct packing convention is used when -# compiling for Win32 with gcc. -# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while -# gcc2 uses "-fnative-struct". -if test x"$os_win32" = xyes; then - if test x"$GCC" = xyes -a x"$GXX" = xyes; then - msnative_struct='' - AC_MSG_CHECKING([how to get MSVC-compatible struct packing]) - if test -z "$ac_cv_prog_CC"; then - our_gcc="$CC" - else - our_gcc="$ac_cv_prog_CC" - fi - case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in - 2.) - if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then - msnative_struct='-fnative-struct' - fi - ;; - *) - if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then - msnative_struct='-mms-bitfields' - fi - ;; - esac - if test x"$msnative_struct" = x ; then - AC_MSG_RESULT([no way]) - AC_MSG_WARN([produced libraries might be incompatible with MSVC-compiled code]) - else - CXXFLAGS="$CXXFLAGS $msnative_struct" - AC_MSG_RESULT([${msnative_struct}]) - fi - fi -fi - -AC_LANG_CPLUSPLUS - -AC_CXX_BOOL(,config_error=yes) -AC_CXX_NAMESPACES(,config_error=yes) -AC_CXX_MUTABLE(,config_error=yes) - -AC_MSG_CHECKING(if C++ environment provides all required features) -if test "x$config_error" = xyes ; then - AC_MSG_RESULT([no]) - AC_MSG_ERROR([Your compiler is not powerful enough to compile gtkmm. If it should be, see config.log for more information of why it failed.]) -fi -AC_MSG_RESULT([yes]) - -GLIBMM_CXX_HAS_NAMESPACE_STD() -GLIBMM_CXX_HAS_STD_ITERATOR_TRAITS() -GLIBMM_CXX_HAS_SUN_REVERSE_ITERATOR() -GLIBMM_CXX_HAS_TEMPLATE_SEQUENCE_CTORS() -GLIBMM_CXX_MEMBER_FUNCTIONS_MEMBER_TEMPLATES() -GLIBMM_CXX_CAN_DISAMBIGUATE_CONST_TEMPLATE_SPECIALIZATIONS() -GLIBMM_CXX_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION() -GLIBMM_CXX_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS() -GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC() -GLIBMM_CXX_ALLOWS_STATIC_INLINE_NPOS() -GLIBMM_C_STD_TIME_T_IS_NOT_INT32() - - -# Create a list of input directories for Doxygen. -GTKMM_DOXYGEN_INPUT_SUBDIRS([glib]) - -# Check whether to build the full docs into the generated source. -# This will be much slower. -GTKMM_ARG_ENABLE_FULLDOCS() - -# Check whether --enable-debug-refcounting was given. -GLIBMM_ARG_ENABLE_DEBUG_REFCOUNTING() - -# Evaluate the --enable-warnings=level option. -GTKMM_ARG_ENABLE_WARNINGS() - -# Add an --enable-use-deprecations configure option: -AC_ARG_ENABLE(deprecations, - [AC_HELP_STRING([--enable-use-deprecations], - [warn about deprecated usages [default=no]])],, - [enable_deprecations=no]) - -if test "x$enable_use_deprecations" = "xyes"; then - DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED" - AC_SUBST(DISABLE_DEPRECATED_CFLAGS) -fi - -#Offer the ability to omit some API from the library, -#to reduce the code size: -GLIBMM_ARG_ENABLE_API_DEPRECATED() -GLIBMM_ARG_ENABLE_API_EXCEPTIONS() -GLIBMM_ARG_ENABLE_API_PROPERTIES() -GLIBMM_ARG_ENABLE_API_VFUNCS() - -# Offer the ability to omit some API from the library, -# to reduce the code size: -GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS() - -# Dummy conditional just to make automake-1.4 happy. -# We need an always-false condition in docs/Makefile.am. -AM_CONDITIONAL(GTKMM_FALSE,[false]) - -# HACK: Assign a dummy in order to prevent execution of autoheader by the -# maintainer-mode rules. That would fail since we aren't using autoheader. -AUTOHEADER=':' - - -AC_CONFIG_FILES([ - Makefile - - glib/Makefile - glib/glibmm-2.4.pc -]) - -AC_OUTPUT() - diff --git a/libs/glibmm2/gio/Makefile b/libs/glibmm2/gio/Makefile deleted file mode 100644 index 07467e2ac9..0000000000 --- a/libs/glibmm2/gio/Makefile +++ /dev/null @@ -1,614 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# gio/Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - - -pkgdatadir = $(datadir)/glibmm -pkglibdir = $(libdir)/glibmm -pkgincludedir = $(includedir)/glibmm -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = x86_64-unknown-linux-gnu -host_triplet = x86_64-unknown-linux-gnu -subdir = gio -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/giomm-2.4.pc.in $(srcdir)/giommconfig.h.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h giommconfig.h -CONFIG_CLEAN_FILES = giomm-2.4.pc -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(gtkmm_configdir)" \ - "$(DESTDIR)$(gtkmm_includedir)" "$(DESTDIR)$(pkgconfigdir)" -gtkmm_configDATA_INSTALL = $(INSTALL_DATA) -gtkmm_includeDATA_INSTALL = $(INSTALL_DATA) -pkgconfigDATA_INSTALL = $(INSTALL_DATA) -DATA = $(gtkmm_config_DATA) $(gtkmm_include_DATA) $(pkgconfig_DATA) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run aclocal-1.10 -I ./scripts -AMTAR = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run tar -AR = ar -AS = as -AUTOCONF = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run autoconf -AUTOHEADER = : -AUTOMAKE = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run automake-1.10 -AWK = gawk -CC = gcc -CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -CXX = g++ -CXXCPP = g++ -E -CXXDEPMODE = depmode=gcc3 -CXXFLAGS = -g -O2 -Wall -Wno-long-long -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DEPDIR = .deps -DISABLE_DEPRECATED_API_CFLAGS = -DISABLE_DEPRECATED_CFLAGS = -DLLTOOL = dlltool -DSYMUTIL = -ECHO = echo -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = -F77 = gfortran -FFLAGS = -g -O2 -GIOMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -GIOMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GLIBMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_MAJOR_VERSION = 2 -GLIBMM_MICRO_VERSION = 2 -GLIBMM_MINOR_VERSION = 18 -GLIBMM_RELEASE = 2.18 -GLIBMM_VERSION = 2.18.2 -GMMPROC_DIR = ${exec_prefix}/lib/glibmm-2.4/proc -GREP = /bin/grep -GTHREAD_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GTHREAD_LIBS = -pthread -lgthread-2.0 -lrt -lglib-2.0 -GTKMMPROC_MERGECDOCS = -GTKMM_DOXYGEN_INPUT = /tmp/glibmm-2.18.2/glib/glibmm/ /tmp/glibmm-2.18.2/gio/giomm/ -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -LIBGLIBMM_SO_VERSION = 3:0:2 -LIBOBJS = -LIBS = -LIBTOOL = $(SHELL) $(top_builddir)/libtool -LN_S = ln -s -LTLIBOBJS = -M4 = m4 -MAINT = # -MAKEINFO = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -NMEDIT = -OBJDUMP = objdump -OBJEXT = o -PACKAGE = glibmm -PACKAGE_BUGREPORT = gtkmm-list@gnome.org -PACKAGE_NAME = glibmm -PACKAGE_STRING = glibmm 2.18.2 -PACKAGE_TARNAME = glibmm -PACKAGE_VERSION = 2.18.2 -PATH_SEPARATOR = : -PERL_PATH = /usr/bin/perl -PKG_CONFIG = /usr/bin/pkg-config -RANLIB = ranlib -SED = /bin/sed -SET_MAKE = -SHELL = /bin/sh -STRIP = strip -VERSION = 2.18.2 -abs_builddir = /tmp/glibmm-2.18.2/gio -abs_srcdir = /tmp/glibmm-2.18.2/gio -abs_top_builddir = /tmp/glibmm-2.18.2 -abs_top_srcdir = /tmp/glibmm-2.18.2 -ac_ct_CC = gcc -ac_ct_CXX = g++ -ac_ct_F77 = gfortran -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -bindir = ${exec_prefix}/bin -build = x86_64-unknown-linux-gnu -build_alias = -build_cpu = x86_64 -build_os = linux-gnu -build_vendor = unknown -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} -dvidir = ${docdir} -exec_prefix = ${prefix} -host = x86_64-unknown-linux-gnu -host_alias = -host_cpu = x86_64 -host_os = linux-gnu -host_vendor = unknown -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = $(SHELL) /tmp/glibmm-2.18.2/scripts/install-sh -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = ../ -top_builddir = .. -top_srcdir = .. -SUBDIRS = src giomm -EXTRA_DIST = README giommconfig.h.in giomm-2.4.pc.in giomm.h -gtkmm_includedir = $(includedir)/giomm-2.4 -gtkmm_include_DATA = giomm.h -gtkmm_configdir = $(libdir)/giomm-2.4/include -gtkmm_config_DATA = giommconfig.h -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = giomm-2.4.pc -all: giommconfig.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: # $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): # $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -giommconfig.h: stamp-h3 - @if test ! -f $@; then \ - rm -f stamp-h3; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h3; \ - else :; fi - -stamp-h3: $(srcdir)/giommconfig.h.in $(top_builddir)/config.status - @rm -f stamp-h3 - cd $(top_builddir) && $(SHELL) ./config.status gio/giommconfig.h -$(srcdir)/giommconfig.h.in: # $(am__configure_deps) - cd $(top_srcdir) && $(AUTOHEADER) - rm -f stamp-h3 - touch $@ - -distclean-hdr: - -rm -f giommconfig.h stamp-h3 -giomm-2.4.pc: $(top_builddir)/config.status $(srcdir)/giomm-2.4.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-gtkmm_configDATA: $(gtkmm_config_DATA) - @$(NORMAL_INSTALL) - test -z "$(gtkmm_configdir)" || $(MKDIR_P) "$(DESTDIR)$(gtkmm_configdir)" - @list='$(gtkmm_config_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(gtkmm_configDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gtkmm_configdir)/$$f'"; \ - $(gtkmm_configDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gtkmm_configdir)/$$f"; \ - done - -uninstall-gtkmm_configDATA: - @$(NORMAL_UNINSTALL) - @list='$(gtkmm_config_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(gtkmm_configdir)/$$f'"; \ - rm -f "$(DESTDIR)$(gtkmm_configdir)/$$f"; \ - done -install-gtkmm_includeDATA: $(gtkmm_include_DATA) - @$(NORMAL_INSTALL) - test -z "$(gtkmm_includedir)" || $(MKDIR_P) "$(DESTDIR)$(gtkmm_includedir)" - @list='$(gtkmm_include_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(gtkmm_includeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gtkmm_includedir)/$$f'"; \ - $(gtkmm_includeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gtkmm_includedir)/$$f"; \ - done - -uninstall-gtkmm_includeDATA: - @$(NORMAL_UNINSTALL) - @list='$(gtkmm_include_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(gtkmm_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(gtkmm_includedir)/$$f"; \ - done -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ - $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ - rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) giommconfig.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) giommconfig.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) giommconfig.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) giommconfig.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(DATA) giommconfig.h -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(gtkmm_configdir)" "$(DESTDIR)$(gtkmm_includedir)" "$(DESTDIR)$(pkgconfigdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-hdr distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-gtkmm_configDATA install-gtkmm_includeDATA \ - install-pkgconfigDATA - -install-dvi: install-dvi-recursive - -install-exec-am: - -install-html: install-html-recursive - -install-info: install-info-recursive - -install-man: - -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-gtkmm_configDATA uninstall-gtkmm_includeDATA \ - uninstall-pkgconfigDATA - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic clean-libtool \ - ctags ctags-recursive distclean distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-gtkmm_configDATA \ - install-gtkmm_includeDATA install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-gtkmm_configDATA uninstall-gtkmm_includeDATA \ - uninstall-pkgconfigDATA - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/Makefile.am b/libs/glibmm2/gio/Makefile.am deleted file mode 100644 index 2beeeef055..0000000000 --- a/libs/glibmm2/gio/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -SUBDIRS = src giomm - -EXTRA_DIST = README giommconfig.h.in giomm-2.4.pc.in giomm.h - -gtkmm_includedir = $(includedir)/giomm-2.4 -gtkmm_include_DATA = giomm.h - -gtkmm_configdir = $(libdir)/giomm-2.4/include -gtkmm_config_DATA = giommconfig.h - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = giomm-2.4.pc - diff --git a/libs/glibmm2/gio/Makefile.in b/libs/glibmm2/gio/Makefile.in deleted file mode 100644 index 11f6e702ee..0000000000 --- a/libs/glibmm2/gio/Makefile.in +++ /dev/null @@ -1,614 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = gio -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/giomm-2.4.pc.in $(srcdir)/giommconfig.h.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h giommconfig.h -CONFIG_CLEAN_FILES = giomm-2.4.pc -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(gtkmm_configdir)" \ - "$(DESTDIR)$(gtkmm_includedir)" "$(DESTDIR)$(pkgconfigdir)" -gtkmm_configDATA_INSTALL = $(INSTALL_DATA) -gtkmm_includeDATA_INSTALL = $(INSTALL_DATA) -pkgconfigDATA_INSTALL = $(INSTALL_DATA) -DATA = $(gtkmm_config_DATA) $(gtkmm_include_DATA) $(pkgconfig_DATA) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SUBDIRS = src giomm -EXTRA_DIST = README giommconfig.h.in giomm-2.4.pc.in giomm.h -gtkmm_includedir = $(includedir)/giomm-2.4 -gtkmm_include_DATA = giomm.h -gtkmm_configdir = $(libdir)/giomm-2.4/include -gtkmm_config_DATA = giommconfig.h -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = giomm-2.4.pc -all: giommconfig.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -giommconfig.h: stamp-h3 - @if test ! -f $@; then \ - rm -f stamp-h3; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h3; \ - else :; fi - -stamp-h3: $(srcdir)/giommconfig.h.in $(top_builddir)/config.status - @rm -f stamp-h3 - cd $(top_builddir) && $(SHELL) ./config.status gio/giommconfig.h -$(srcdir)/giommconfig.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_srcdir) && $(AUTOHEADER) - rm -f stamp-h3 - touch $@ - -distclean-hdr: - -rm -f giommconfig.h stamp-h3 -giomm-2.4.pc: $(top_builddir)/config.status $(srcdir)/giomm-2.4.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-gtkmm_configDATA: $(gtkmm_config_DATA) - @$(NORMAL_INSTALL) - test -z "$(gtkmm_configdir)" || $(MKDIR_P) "$(DESTDIR)$(gtkmm_configdir)" - @list='$(gtkmm_config_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(gtkmm_configDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gtkmm_configdir)/$$f'"; \ - $(gtkmm_configDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gtkmm_configdir)/$$f"; \ - done - -uninstall-gtkmm_configDATA: - @$(NORMAL_UNINSTALL) - @list='$(gtkmm_config_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(gtkmm_configdir)/$$f'"; \ - rm -f "$(DESTDIR)$(gtkmm_configdir)/$$f"; \ - done -install-gtkmm_includeDATA: $(gtkmm_include_DATA) - @$(NORMAL_INSTALL) - test -z "$(gtkmm_includedir)" || $(MKDIR_P) "$(DESTDIR)$(gtkmm_includedir)" - @list='$(gtkmm_include_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(gtkmm_includeDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(gtkmm_includedir)/$$f'"; \ - $(gtkmm_includeDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(gtkmm_includedir)/$$f"; \ - done - -uninstall-gtkmm_includeDATA: - @$(NORMAL_UNINSTALL) - @list='$(gtkmm_include_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(gtkmm_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(gtkmm_includedir)/$$f"; \ - done -install-pkgconfigDATA: $(pkgconfig_DATA) - @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ - $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ - done - -uninstall-pkgconfigDATA: - @$(NORMAL_UNINSTALL) - @list='$(pkgconfig_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ - rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) giommconfig.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) giommconfig.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) giommconfig.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) giommconfig.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(DATA) giommconfig.h -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(gtkmm_configdir)" "$(DESTDIR)$(gtkmm_includedir)" "$(DESTDIR)$(pkgconfigdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-hdr distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-gtkmm_configDATA install-gtkmm_includeDATA \ - install-pkgconfigDATA - -install-dvi: install-dvi-recursive - -install-exec-am: - -install-html: install-html-recursive - -install-info: install-info-recursive - -install-man: - -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-gtkmm_configDATA uninstall-gtkmm_includeDATA \ - uninstall-pkgconfigDATA - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic clean-libtool \ - ctags ctags-recursive distclean distclean-generic \ - distclean-hdr distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-gtkmm_configDATA \ - install-gtkmm_includeDATA install-html install-html-am \ - install-info install-info-am install-man install-pdf \ - install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-gtkmm_configDATA uninstall-gtkmm_includeDATA \ - uninstall-pkgconfigDATA - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/README b/libs/glibmm2/gio/README deleted file mode 100644 index 7a5f408044..0000000000 --- a/libs/glibmm2/gio/README +++ /dev/null @@ -1,7 +0,0 @@ -Base directory for giomm. - -Here is the layout: - - src - actual sources used to build - giomm - built sources (do not edit) - diff --git a/libs/glibmm2/gio/giomm-2.4.pc b/libs/glibmm2/gio/giomm-2.4.pc deleted file mode 100644 index ded8ffb1e7..0000000000 --- a/libs/glibmm2/gio/giomm-2.4.pc +++ /dev/null @@ -1,11 +0,0 @@ -prefix=/usr/local -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: giomm -Description: C++ wrapper for gio-standalone -Requires: gio-2.0 glibmm-2.4 -Version: 2.18.2 -Libs: -L${libdir} -lgiomm-2.4 -Cflags: -I${includedir}/giomm-2.4 -I${libdir}/giomm-2.4/include diff --git a/libs/glibmm2/gio/giomm-2.4.pc.in b/libs/glibmm2/gio/giomm-2.4.pc.in deleted file mode 100644 index ac7d2e6627..0000000000 --- a/libs/glibmm2/gio/giomm-2.4.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: giomm -Description: C++ wrapper for gio-standalone -Requires: gio-2.0 glibmm-2.4 -Version: @VERSION@ -Libs: -L${libdir} -lgiomm-2.4 -Cflags: -I${includedir}/giomm-2.4 -I${libdir}/giomm-2.4/include diff --git a/libs/glibmm2/gio/giomm.h b/libs/glibmm2/gio/giomm.h deleted file mode 100644 index 9bba8135ee..0000000000 --- a/libs/glibmm2/gio/giomm.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef _GIOMM_H -#define _GIOMM_H - -/* - * Copyright (C) 2007 The giomm Development Team - * - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif /* #ifndef _GIOMM_H */ - diff --git a/libs/glibmm2/gio/giomm/.deps/appinfo.Plo b/libs/glibmm2/gio/giomm/.deps/appinfo.Plo deleted file mode 100644 index 06cdd6d77e..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/appinfo.Plo +++ /dev/null @@ -1,1076 +0,0 @@ -appinfo.lo: appinfo.cc ../../gio/giomm/appinfo.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/icon.h \ - ../../gio/giomm/private/appinfo_p.h \ - ../../glib/glibmm/private/interface_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/file.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h ../../gio/giomm/fileenumerator.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/fileinfo.h \ - ../../gio/giomm/fileinputstream.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/seekable.h ../../gio/giomm/filemonitor.h \ - ../../gio/giomm/fileoutputstream.h ../../gio/giomm/outputstream.h \ - ../../gio/giomm/mountoperation.h ../../gio/giomm/error.h - -../../gio/giomm/appinfo.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/private/appinfo_p.h: - -../../glib/glibmm/private/interface_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/file.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: diff --git a/libs/glibmm2/gio/giomm/.deps/asyncresult.Plo b/libs/glibmm2/gio/giomm/.deps/asyncresult.Plo deleted file mode 100644 index b33284f905..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/asyncresult.Plo +++ /dev/null @@ -1,1033 +0,0 @@ -asyncresult.lo: asyncresult.cc ../../gio/giomm/asyncresult.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/private/asyncresult_p.h \ - ../../glib/glibmm/private/interface_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/asyncresult.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/asyncresult_p.h: - -../../glib/glibmm/private/interface_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/bufferedinputstream.Plo b/libs/glibmm2/gio/giomm/.deps/bufferedinputstream.Plo deleted file mode 100644 index d7fcb0f31b..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/bufferedinputstream.Plo +++ /dev/null @@ -1,1053 +0,0 @@ -bufferedinputstream.lo: bufferedinputstream.cc \ - ../../gio/giomm/bufferedinputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/filterinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h \ - ../../gio/giomm/private/bufferedinputstream_p.h \ - ../../gio/giomm/private/filterinputstream_p.h \ - ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - slot_async.h - -../../gio/giomm/bufferedinputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/filterinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/private/bufferedinputstream_p.h: - -../../gio/giomm/private/filterinputstream_p.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/bufferedoutputstream.Plo b/libs/glibmm2/gio/giomm/.deps/bufferedoutputstream.Plo deleted file mode 100644 index 6ae1676c50..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/bufferedoutputstream.Plo +++ /dev/null @@ -1,1055 +0,0 @@ -bufferedoutputstream.lo: bufferedoutputstream.cc \ - ../../gio/giomm/bufferedoutputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/filteroutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/private/bufferedoutputstream_p.h \ - ../../gio/giomm/private/filteroutputstream_p.h \ - ../../gio/giomm/private/outputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - slot_async.h - -../../gio/giomm/bufferedoutputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/filteroutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/private/bufferedoutputstream_p.h: - -../../gio/giomm/private/filteroutputstream_p.h: - -../../gio/giomm/private/outputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/cancellable.Plo b/libs/glibmm2/gio/giomm/.deps/cancellable.Plo deleted file mode 100644 index 2e89c61621..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/cancellable.Plo +++ /dev/null @@ -1,1033 +0,0 @@ -cancellable.lo: cancellable.cc ../../gio/giomm/cancellable.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/private/cancellable_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/cancellable.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/cancellable_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/contenttype.Plo b/libs/glibmm2/gio/giomm/.deps/contenttype.Plo deleted file mode 100644 index 3fc621b19e..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/contenttype.Plo +++ /dev/null @@ -1,1069 +0,0 @@ -contenttype.lo: contenttype.cc ../../gio/giomm/contenttype.h \ - ../../glib/glibmm/ustring.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/include/bits/stdio_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \ - /usr/include/bits/sigset.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/bits/signum.h \ - /usr/include/time.h /usr/include/bits/siginfo.h \ - /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ - /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ - /usr/include/bits/pthreadtypes.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h /usr/include/bits/time.h \ - /usr/include/xlocale.h /usr/include/glib-2.0/glib/gcache.h \ - /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \ - /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/include/ctype.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/wchar.h /usr/include/stdio.h /usr/include/bits/wchar.h \ - /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmmconfig.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h /usr/include/bits/waitflags.h \ - /usr/include/bits/waitstatus.h /usr/include/sys/types.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/sys/sysmacros.h /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../gio/giomm/icon.h ../../glib/glibmm.h \ - ../../glib/glibmm/arrayhandle.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h - -../../gio/giomm/contenttype.h: - -../../glib/glibmm/ustring.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/include/bits/stdio_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/signal.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/bits/signum.h: - -/usr/include/time.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/bits/time.h: - -/usr/include/xlocale.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/include/ctype.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/sys/types.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../gio/giomm/icon.h: - -../../glib/glibmm.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: diff --git a/libs/glibmm2/gio/giomm/.deps/datainputstream.Plo b/libs/glibmm2/gio/giomm/.deps/datainputstream.Plo deleted file mode 100644 index 06f98b0175..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/datainputstream.Plo +++ /dev/null @@ -1,1060 +0,0 @@ -datainputstream.lo: datainputstream.cc ../../gio/giomm/datainputstream.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/bufferedinputstream.h \ - ../../gio/giomm/filterinputstream.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/enums.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/private/datainputstream_p.h \ - ../../gio/giomm/private/bufferedinputstream_p.h \ - ../../gio/giomm/private/filterinputstream_p.h \ - ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h slot_async.h - -../../gio/giomm/datainputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/bufferedinputstream.h: - -../../gio/giomm/filterinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/enums.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/private/datainputstream_p.h: - -../../gio/giomm/private/bufferedinputstream_p.h: - -../../gio/giomm/private/filterinputstream_p.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/dataoutputstream.Plo b/libs/glibmm2/gio/giomm/.deps/dataoutputstream.Plo deleted file mode 100644 index 143757cc25..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/dataoutputstream.Plo +++ /dev/null @@ -1,1060 +0,0 @@ -dataoutputstream.lo: dataoutputstream.cc \ - ../../gio/giomm/dataoutputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/bufferedoutputstream.h \ - ../../gio/giomm/filteroutputstream.h ../../gio/giomm/outputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/enums.h \ - /usr/include/glib-2.0/gio/gio.h /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/private/dataoutputstream_p.h \ - ../../gio/giomm/private/bufferedoutputstream_p.h \ - ../../gio/giomm/private/filteroutputstream_p.h \ - ../../gio/giomm/private/outputstream_p.h \ - ../../glib/glibmm/private/object_p.h - -../../gio/giomm/dataoutputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/bufferedoutputstream.h: - -../../gio/giomm/filteroutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/enums.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/private/dataoutputstream_p.h: - -../../gio/giomm/private/bufferedoutputstream_p.h: - -../../gio/giomm/private/filteroutputstream_p.h: - -../../gio/giomm/private/outputstream_p.h: - -../../glib/glibmm/private/object_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/desktopappinfo.Plo b/libs/glibmm2/gio/giomm/.deps/desktopappinfo.Plo deleted file mode 100644 index 145901f8ec..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/desktopappinfo.Plo +++ /dev/null @@ -1,1041 +0,0 @@ -desktopappinfo.lo: desktopappinfo.cc ../../gio/giomm/desktopappinfo.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/appinfo.h \ - ../../gio/giomm/icon.h ../../gio/giomm/private/desktopappinfo_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - /usr/include/gio-unix-2.0/gio/gdesktopappinfo.h - -../../gio/giomm/desktopappinfo.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/private/desktopappinfo_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -/usr/include/gio-unix-2.0/gio/gdesktopappinfo.h: diff --git a/libs/glibmm2/gio/giomm/.deps/drive.Plo b/libs/glibmm2/gio/giomm/.deps/drive.Plo deleted file mode 100644 index a003a95c1a..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/drive.Plo +++ /dev/null @@ -1,1082 +0,0 @@ -drive.lo: drive.cc ../../gio/giomm/drive.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/mount.h \ - ../../gio/giomm/file.h ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/volume.h \ - ../../gio/giomm/private/drive_p.h \ - ../../glib/glibmm/private/interface_p.h slot_async.h - -../../gio/giomm/drive.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/mount.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/volume.h: - -../../gio/giomm/private/drive_p.h: - -../../glib/glibmm/private/interface_p.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/enums.Plo b/libs/glibmm2/gio/giomm/.deps/enums.Plo deleted file mode 100644 index d5214099f8..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/enums.Plo +++ /dev/null @@ -1,1030 +0,0 @@ -enums.lo: enums.cc ../../gio/giomm/enums.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/private/enums_p.h - -../../gio/giomm/enums.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/private/enums_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/error.Plo b/libs/glibmm2/gio/giomm/.deps/error.Plo deleted file mode 100644 index 83892f31cc..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/error.Plo +++ /dev/null @@ -1,1032 +0,0 @@ -error.lo: error.cc ../../gio/giomm/error.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/private/error_p.h \ - ../../glib/glibmm/private/interface_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/error.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/error_p.h: - -../../glib/glibmm/private/interface_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/file.Plo b/libs/glibmm2/gio/giomm/.deps/file.Plo deleted file mode 100644 index e2aa1951ad..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/file.Plo +++ /dev/null @@ -1,1087 +0,0 @@ -file.lo: file.cc ../../gio/giomm/file.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/appinfo.h \ - ../../gio/giomm/icon.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/private/file_p.h \ - ../../glib/glibmm/private/interface_p.h ../../gio/giomm/mount.h \ - ../../gio/giomm/volume.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/utility \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_relops.h \ - slot_async.h - -../../gio/giomm/file.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/private/file_p.h: - -../../glib/glibmm/private/interface_p.h: - -../../gio/giomm/mount.h: - -../../gio/giomm/volume.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/utility: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_relops.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileattributeinfo.Plo b/libs/glibmm2/gio/giomm/.deps/fileattributeinfo.Plo deleted file mode 100644 index 8951c4c763..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileattributeinfo.Plo +++ /dev/null @@ -1,1031 +0,0 @@ -fileattributeinfo.lo: fileattributeinfo.cc \ - ../../gio/giomm/fileattributeinfo.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/private/fileattributeinfo_p.h - -../../gio/giomm/fileattributeinfo.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/private/fileattributeinfo_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileattributeinfolist.Plo b/libs/glibmm2/gio/giomm/.deps/fileattributeinfolist.Plo deleted file mode 100644 index 9f12523660..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileattributeinfolist.Plo +++ /dev/null @@ -1,1033 +0,0 @@ -fileattributeinfolist.lo: fileattributeinfolist.cc \ - ../../gio/giomm/fileattributeinfolist.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/fileattributeinfo.h \ - /usr/include/glib-2.0/gio/gio.h /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/private/fileattributeinfolist_p.h - -../../gio/giomm/fileattributeinfolist.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/private/fileattributeinfolist_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileenumerator.Plo b/libs/glibmm2/gio/giomm/.deps/fileenumerator.Plo deleted file mode 100644 index d43396e2a5..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileenumerator.Plo +++ /dev/null @@ -1,1076 +0,0 @@ -fileenumerator.lo: fileenumerator.cc ../../gio/giomm/fileenumerator.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/fileinfo.h \ - ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/icon.h ../../gio/giomm/private/fileenumerator_p.h \ - ../../glib/glibmm/private/object_p.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h slot_async.h - -../../gio/giomm/fileenumerator.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/private/fileenumerator_p.h: - -../../glib/glibmm/private/object_p.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileicon.Plo b/libs/glibmm2/gio/giomm/.deps/fileicon.Plo deleted file mode 100644 index 5ddc6649fe..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileicon.Plo +++ /dev/null @@ -1,1078 +0,0 @@ -fileicon.lo: fileicon.cc ../../gio/giomm/fileicon.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/loadableicon.h \ - ../../gio/giomm/private/fileicon_p.h \ - ../../glib/glibmm/private/object_p.h - -../../gio/giomm/fileicon.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/loadableicon.h: - -../../gio/giomm/private/fileicon_p.h: - -../../glib/glibmm/private/object_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileinfo.Plo b/libs/glibmm2/gio/giomm/.deps/fileinfo.Plo deleted file mode 100644 index c653a3b846..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileinfo.Plo +++ /dev/null @@ -1,1040 +0,0 @@ -fileinfo.lo: fileinfo.cc ../../gio/giomm/fileinfo.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/icon.h ../../gio/giomm/private/fileinfo_p.h \ - ../../glib/glibmm/private/object_p.h - -../../gio/giomm/fileinfo.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/private/fileinfo_p.h: - -../../glib/glibmm/private/object_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileinputstream.Plo b/libs/glibmm2/gio/giomm/.deps/fileinputstream.Plo deleted file mode 100644 index 26082adb7b..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileinputstream.Plo +++ /dev/null @@ -1,1059 +0,0 @@ -fileinputstream.lo: fileinputstream.cc ../../gio/giomm/fileinputstream.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/fileinfo.h \ - ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/icon.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/seekable.h ../../gio/giomm/private/fileinputstream_p.h \ - ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h slot_async.h - -../../gio/giomm/fileinputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/private/fileinputstream_p.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/filemonitor.Plo b/libs/glibmm2/gio/giomm/.deps/filemonitor.Plo deleted file mode 100644 index 13330911b3..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/filemonitor.Plo +++ /dev/null @@ -1,1073 +0,0 @@ -filemonitor.lo: filemonitor.cc ../../gio/giomm/filemonitor.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/private/filemonitor_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/file.h ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h ../../gio/giomm/fileenumerator.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/fileinfo.h \ - ../../gio/giomm/fileinputstream.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/seekable.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h - -../../gio/giomm/filemonitor.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/filemonitor_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: diff --git a/libs/glibmm2/gio/giomm/.deps/filenamecompleter.Plo b/libs/glibmm2/gio/giomm/.deps/filenamecompleter.Plo deleted file mode 100644 index 0b9d98f3c7..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/filenamecompleter.Plo +++ /dev/null @@ -1,1076 +0,0 @@ -filenamecompleter.lo: filenamecompleter.cc \ - ../../gio/giomm/filenamecompleter.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h \ - ../../gio/giomm/private/filenamecompleter_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/file.h ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h ../../gio/giomm/fileenumerator.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/fileinfo.h \ - ../../gio/giomm/fileinputstream.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/seekable.h ../../gio/giomm/filemonitor.h \ - ../../gio/giomm/fileoutputstream.h ../../gio/giomm/outputstream.h \ - ../../gio/giomm/mountoperation.h ../../gio/giomm/error.h - -../../gio/giomm/filenamecompleter.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/filenamecompleter_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: diff --git a/libs/glibmm2/gio/giomm/.deps/fileoutputstream.Plo b/libs/glibmm2/gio/giomm/.deps/fileoutputstream.Plo deleted file mode 100644 index 524ace5685..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/fileoutputstream.Plo +++ /dev/null @@ -1,1061 +0,0 @@ -fileoutputstream.lo: fileoutputstream.cc \ - ../../gio/giomm/fileoutputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/outputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/icon.h ../../gio/giomm/private/fileoutputstream_p.h \ - ../../gio/giomm/private/outputstream_p.h \ - ../../glib/glibmm/private/object_p.h slot_async.h - -../../gio/giomm/fileoutputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/private/fileoutputstream_p.h: - -../../gio/giomm/private/outputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/filterinputstream.Plo b/libs/glibmm2/gio/giomm/.deps/filterinputstream.Plo deleted file mode 100644 index 8f489ad37e..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/filterinputstream.Plo +++ /dev/null @@ -1,1044 +0,0 @@ -filterinputstream.lo: filterinputstream.cc \ - ../../gio/giomm/filterinputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/private/filterinputstream_p.h \ - ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/filterinputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/private/filterinputstream_p.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/filteroutputstream.Plo b/libs/glibmm2/gio/giomm/.deps/filteroutputstream.Plo deleted file mode 100644 index fba9e0da7c..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/filteroutputstream.Plo +++ /dev/null @@ -1,1047 +0,0 @@ -filteroutputstream.lo: filteroutputstream.cc \ - ../../gio/giomm/filteroutputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/outputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/inputstream.h \ - ../../gio/giomm/private/filteroutputstream_p.h \ - ../../gio/giomm/private/outputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/filteroutputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/private/filteroutputstream_p.h: - -../../gio/giomm/private/outputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/icon.Plo b/libs/glibmm2/gio/giomm/.deps/icon.Plo deleted file mode 100644 index 66eab16643..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/icon.Plo +++ /dev/null @@ -1,1032 +0,0 @@ -icon.lo: icon.cc ../../gio/giomm/icon.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/private/icon_p.h \ - ../../glib/glibmm/private/interface_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/icon.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/icon_p.h: - -../../glib/glibmm/private/interface_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/init.Plo b/libs/glibmm2/gio/giomm/.deps/init.Plo deleted file mode 100644 index 3a40eabca0..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/init.Plo +++ /dev/null @@ -1,898 +0,0 @@ -init.lo: init.cc init.h wrap_init.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h - -init.h: - -wrap_init.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: diff --git a/libs/glibmm2/gio/giomm/.deps/inputstream.Plo b/libs/glibmm2/gio/giomm/.deps/inputstream.Plo deleted file mode 100644 index c8284d6e05..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/inputstream.Plo +++ /dev/null @@ -1,1041 +0,0 @@ -inputstream.lo: inputstream.cc ../../gio/giomm/inputstream.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - slot_async.h - -../../gio/giomm/inputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/loadableicon.Plo b/libs/glibmm2/gio/giomm/.deps/loadableicon.Plo deleted file mode 100644 index a20ab61976..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/loadableicon.Plo +++ /dev/null @@ -1,1049 +0,0 @@ -loadableicon.lo: loadableicon.cc ../../gio/giomm/loadableicon.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/icon.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/private/loadableicon_p.h \ - ../../gio/giomm/private/icon_p.h \ - ../../glib/glibmm/private/interface_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - slot_async.h - -../../gio/giomm/loadableicon.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/private/loadableicon_p.h: - -../../gio/giomm/private/icon_p.h: - -../../glib/glibmm/private/interface_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/memoryinputstream.Plo b/libs/glibmm2/gio/giomm/.deps/memoryinputstream.Plo deleted file mode 100644 index af03e872db..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/memoryinputstream.Plo +++ /dev/null @@ -1,1047 +0,0 @@ -memoryinputstream.lo: memoryinputstream.cc \ - ../../gio/giomm/memoryinputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/seekable.h \ - ../../gio/giomm/private/memoryinputstream_p.h \ - ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/memoryinputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/private/memoryinputstream_p.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/mount.Plo b/libs/glibmm2/gio/giomm/.deps/mount.Plo deleted file mode 100644 index 8dc2dc441e..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/mount.Plo +++ /dev/null @@ -1,1083 +0,0 @@ -mount.lo: mount.cc ../../gio/giomm/mount.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/volume.h \ - ../../gio/giomm/private/mount_p.h \ - ../../glib/glibmm/private/interface_p.h ../../gio/giomm/drive.h \ - slot_async.h - -../../gio/giomm/mount.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/volume.h: - -../../gio/giomm/private/mount_p.h: - -../../glib/glibmm/private/interface_p.h: - -../../gio/giomm/drive.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/mountoperation.Plo b/libs/glibmm2/gio/giomm/.deps/mountoperation.Plo deleted file mode 100644 index dcc28e650d..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/mountoperation.Plo +++ /dev/null @@ -1,1033 +0,0 @@ -mountoperation.lo: mountoperation.cc ../../gio/giomm/mountoperation.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/private/mountoperation_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/mountoperation.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/private/mountoperation_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/outputstream.Plo b/libs/glibmm2/gio/giomm/.deps/outputstream.Plo deleted file mode 100644 index a4124eb73f..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/outputstream.Plo +++ /dev/null @@ -1,1044 +0,0 @@ -outputstream.lo: outputstream.cc ../../gio/giomm/outputstream.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/private/outputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - slot_async.h - -../../gio/giomm/outputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/private/outputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/seekable.Plo b/libs/glibmm2/gio/giomm/.deps/seekable.Plo deleted file mode 100644 index 1741612e8f..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/seekable.Plo +++ /dev/null @@ -1,1035 +0,0 @@ -seekable.lo: seekable.cc ../../gio/giomm/seekable.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/private/seekable_p.h \ - ../../glib/glibmm/private/interface_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h - -../../gio/giomm/seekable.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/private/seekable_p.h: - -../../glib/glibmm/private/interface_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: diff --git a/libs/glibmm2/gio/giomm/.deps/slot_async.Plo b/libs/glibmm2/gio/giomm/.deps/slot_async.Plo deleted file mode 100644 index bbe2f61699..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/slot_async.Plo +++ /dev/null @@ -1,1031 +0,0 @@ -slot_async.lo: slot_async.cc slot_async.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/include/bits/stdio_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \ - /usr/include/bits/sigset.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/bits/signum.h \ - /usr/include/time.h /usr/include/bits/siginfo.h \ - /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ - /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ - /usr/include/bits/pthreadtypes.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h /usr/include/bits/time.h \ - /usr/include/xlocale.h /usr/include/glib-2.0/glib/gcache.h \ - /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \ - /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/asyncresult.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h /usr/include/bits/waitflags.h \ - /usr/include/bits/waitstatus.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/types.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/sys/sysmacros.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h /usr/include/bits/wchar.h \ - /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - ../../glib/glibmm/refptr.h ../../glib/glibmm/ustring.h \ - ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h - -slot_async.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/include/bits/stdio_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/signal.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/bits/signum.h: - -/usr/include/time.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/bits/time.h: - -/usr/include/xlocale.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/asyncresult.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/types.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: diff --git a/libs/glibmm2/gio/giomm/.deps/themedicon.Plo b/libs/glibmm2/gio/giomm/.deps/themedicon.Plo deleted file mode 100644 index 90b667dab2..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/themedicon.Plo +++ /dev/null @@ -1,1079 +0,0 @@ -themedicon.lo: themedicon.cc ../../gio/giomm/themedicon.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/loadableicon.h \ - ../../gio/giomm/private/themedicon_p.h \ - ../../glib/glibmm/private/object_p.h - -../../gio/giomm/themedicon.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/loadableicon.h: - -../../gio/giomm/private/themedicon_p.h: - -../../glib/glibmm/private/object_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/unixinputstream.Plo b/libs/glibmm2/gio/giomm/.deps/unixinputstream.Plo deleted file mode 100644 index 78d510ac54..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/unixinputstream.Plo +++ /dev/null @@ -1,1047 +0,0 @@ -unixinputstream.lo: unixinputstream.cc ../../gio/giomm/unixinputstream.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/inputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/private/unixinputstream_p.h \ - ../../gio/giomm/private/inputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - /usr/include/gio-unix-2.0/gio/gunixinputstream.h - -../../gio/giomm/unixinputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/private/unixinputstream_p.h: - -../../gio/giomm/private/inputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -/usr/include/gio-unix-2.0/gio/gunixinputstream.h: diff --git a/libs/glibmm2/gio/giomm/.deps/unixoutputstream.Plo b/libs/glibmm2/gio/giomm/.deps/unixoutputstream.Plo deleted file mode 100644 index 2d13713534..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/unixoutputstream.Plo +++ /dev/null @@ -1,1050 +0,0 @@ -unixoutputstream.lo: unixoutputstream.cc \ - ../../gio/giomm/unixoutputstream.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/outputstream.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/inputstream.h \ - ../../gio/giomm/private/unixoutputstream_p.h \ - ../../gio/giomm/private/outputstream_p.h \ - ../../glib/glibmm/private/object_p.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - /usr/include/gio-unix-2.0/gio/gunixoutputstream.h - -../../gio/giomm/unixoutputstream.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/private/unixoutputstream_p.h: - -../../gio/giomm/private/outputstream_p.h: - -../../glib/glibmm/private/object_p.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -/usr/include/gio-unix-2.0/gio/gunixoutputstream.h: diff --git a/libs/glibmm2/gio/giomm/.deps/volume.Plo b/libs/glibmm2/gio/giomm/.deps/volume.Plo deleted file mode 100644 index 4f12d47dda..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/volume.Plo +++ /dev/null @@ -1,1082 +0,0 @@ -volume.lo: volume.cc ../../gio/giomm/volume.h ../../glib/glibmm.h \ - ../../glib/glibmmconfig.h ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/private/volume_p.h \ - ../../glib/glibmm/private/interface_p.h ../../gio/giomm/drive.h \ - ../../gio/giomm/mount.h slot_async.h - -../../gio/giomm/volume.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/private/volume_p.h: - -../../glib/glibmm/private/interface_p.h: - -../../gio/giomm/drive.h: - -../../gio/giomm/mount.h: - -slot_async.h: diff --git a/libs/glibmm2/gio/giomm/.deps/volumemonitor.Plo b/libs/glibmm2/gio/giomm/.deps/volumemonitor.Plo deleted file mode 100644 index d2e69f2fa1..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/volumemonitor.Plo +++ /dev/null @@ -1,1084 +0,0 @@ -volumemonitor.lo: volumemonitor.cc ../../gio/giomm/volumemonitor.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/include/bits/wordsize.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ - /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/bits/byteswap.h /usr/include/xlocale.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/time.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/bits/wchar.h /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/stdio_lim.h \ - /usr/include/bits/sys_errlist.h /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/bits/signum.h \ - /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ - /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ - /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h \ - /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \ - /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h ../../gio/giomm/drive.h \ - ../../gio/giomm/mount.h ../../gio/giomm/file.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h \ - ../../gio/giomm/asyncresult.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/cancellable.h \ - ../../gio/giomm/fileinfo.h ../../gio/giomm/fileinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/outputstream.h ../../gio/giomm/mountoperation.h \ - ../../gio/giomm/error.h ../../gio/giomm/volume.h \ - ../../gio/giomm/private/volumemonitor_p.h \ - ../../glib/glibmm/private/object_p.h - -../../gio/giomm/volumemonitor.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/include/bits/wordsize.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/xlocale.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/stdio_lim.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -../../gio/giomm/drive.h: - -../../gio/giomm/mount.h: - -../../gio/giomm/file.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/cancellable.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/outputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/volume.h: - -../../gio/giomm/private/volumemonitor_p.h: - -../../glib/glibmm/private/object_p.h: diff --git a/libs/glibmm2/gio/giomm/.deps/wrap_init.Plo b/libs/glibmm2/gio/giomm/.deps/wrap_init.Plo deleted file mode 100644 index 9c858cfbe0..0000000000 --- a/libs/glibmm2/gio/giomm/.deps/wrap_init.Plo +++ /dev/null @@ -1,1175 +0,0 @@ -wrap_init.lo: wrap_init.cc /usr/include/glib-2.0/glib.h \ - /usr/include/glib-2.0/glib/galloca.h \ - /usr/include/glib-2.0/glib/gtypes.h \ - /usr/lib64/glib-2.0/include/glibconfig.h \ - /usr/include/glib-2.0/glib/gmacros.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-64.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/include/bits/stdio_lim.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h \ - /usr/include/glib-2.0/glib/garray.h \ - /usr/include/glib-2.0/glib/gasyncqueue.h \ - /usr/include/glib-2.0/glib/gthread.h \ - /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \ - /usr/include/glib-2.0/glib/gutils.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h \ - /usr/include/glib-2.0/glib/gatomic.h \ - /usr/include/glib-2.0/glib/gbacktrace.h /usr/include/signal.h \ - /usr/include/bits/sigset.h /usr/include/bits/types.h \ - /usr/include/bits/typesizes.h /usr/include/bits/signum.h \ - /usr/include/time.h /usr/include/bits/siginfo.h \ - /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ - /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ - /usr/include/bits/pthreadtypes.h /usr/include/bits/sigthread.h \ - /usr/include/glib-2.0/glib/gbase64.h \ - /usr/include/glib-2.0/glib/gbookmarkfile.h /usr/include/bits/time.h \ - /usr/include/xlocale.h /usr/include/glib-2.0/glib/gcache.h \ - /usr/include/glib-2.0/glib/glist.h /usr/include/glib-2.0/glib/gmem.h \ - /usr/include/glib-2.0/glib/gslice.h \ - /usr/include/glib-2.0/glib/gchecksum.h \ - /usr/include/glib-2.0/glib/gcompletion.h \ - /usr/include/glib-2.0/glib/gconvert.h \ - /usr/include/glib-2.0/glib/gdataset.h \ - /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \ - /usr/include/glib-2.0/glib/gfileutils.h \ - /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \ - /usr/include/glib-2.0/glib/giochannel.h \ - /usr/include/glib-2.0/glib/gmain.h /usr/include/glib-2.0/glib/gslist.h \ - /usr/include/glib-2.0/glib/gstring.h \ - /usr/include/glib-2.0/glib/gunicode.h \ - /usr/include/glib-2.0/glib/gkeyfile.h \ - /usr/include/glib-2.0/glib/gmappedfile.h \ - /usr/include/glib-2.0/glib/gmarkup.h \ - /usr/include/glib-2.0/glib/gmessages.h \ - /usr/include/glib-2.0/glib/gnode.h /usr/include/glib-2.0/glib/goption.h \ - /usr/include/glib-2.0/glib/gpattern.h \ - /usr/include/glib-2.0/glib/gprimes.h \ - /usr/include/glib-2.0/glib/gqsort.h /usr/include/glib-2.0/glib/gqueue.h \ - /usr/include/glib-2.0/glib/grand.h /usr/include/glib-2.0/glib/grel.h \ - /usr/include/glib-2.0/glib/gregex.h \ - /usr/include/glib-2.0/glib/gscanner.h \ - /usr/include/glib-2.0/glib/gsequence.h \ - /usr/include/glib-2.0/glib/gshell.h /usr/include/glib-2.0/glib/gspawn.h \ - /usr/include/glib-2.0/glib/gstrfuncs.h \ - /usr/include/glib-2.0/glib/gtestutils.h \ - /usr/include/glib-2.0/glib/gthreadpool.h \ - /usr/include/glib-2.0/glib/gtimer.h /usr/include/glib-2.0/glib/gtree.h \ - /usr/include/glib-2.0/glib/gurifuncs.h ../../gio/giomm/wrap_init.h \ - ../../glib/glibmm.h ../../glib/glibmmconfig.h \ - ../../glib/glibmm/arrayhandle.h \ - ../../glib/glibmm/containerhandle_shared.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib \ - /usr/include/stdlib.h /usr/include/bits/waitflags.h \ - /usr/include/bits/waitstatus.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ - /usr/include/sys/types.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/sys/sysmacros.h \ - /usr/include/alloca.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar \ - /usr/include/wchar.h /usr/include/stdio.h /usr/include/bits/wchar.h \ - /usr/include/stdint.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/sys_errlist.h \ - /usr/include/bits/stdio.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc \ - /usr/include/glib-2.0/glib-object.h \ - /usr/include/glib-2.0/gobject/gboxed.h \ - /usr/include/glib-2.0/gobject/gtype.h \ - /usr/include/glib-2.0/gobject/genums.h \ - /usr/include/glib-2.0/gobject/gobject.h \ - /usr/include/glib-2.0/gobject/gvalue.h \ - /usr/include/glib-2.0/gobject/gparam.h \ - /usr/include/glib-2.0/gobject/gclosure.h \ - /usr/include/glib-2.0/gobject/gsignal.h \ - /usr/include/glib-2.0/gobject/gmarshal.h \ - /usr/include/glib-2.0/gobject/gparamspecs.h \ - /usr/include/glib-2.0/gobject/gsourceclosure.h \ - /usr/include/glib-2.0/gobject/gtypemodule.h \ - /usr/include/glib-2.0/gobject/gtypeplugin.h \ - /usr/include/glib-2.0/gobject/gvaluearray.h \ - /usr/include/glib-2.0/gobject/gvaluetypes.h ../../glib/glibmm/refptr.h \ - ../../glib/glibmm/ustring.h ../../glib/glibmm/unicode.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc \ - ../../glib/glibmm/wrap.h ../../glib/glibmm/objectbase.h \ - ../../glib/glibmm/signalproxy.h /usr/include/sigc++-2.0/sigc++/sigc++.h \ - /usr/include/sigc++-2.0/sigc++/signal.h \ - /usr/include/sigc++-2.0/sigc++/signal_base.h \ - /usr/lib64/sigc++-2.0/include/sigc++config.h \ - /usr/include/sigc++-2.0/sigc++/type_traits.h \ - /usr/include/sigc++-2.0/sigc++/trackable.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot.h \ - /usr/include/sigc++-2.0/sigc++/visit_each.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/functor_trait.h \ - /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h \ - /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h \ - /usr/include/sigc++-2.0/sigc++/limit_reference.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h \ - /usr/include/sigc++-2.0/sigc++/functors/slot_base.h \ - /usr/include/sigc++-2.0/sigc++/connection.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h \ - /usr/include/sigc++-2.0/sigc++/reference_wrapper.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/hide.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/retype.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/compose.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h \ - /usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h \ - /usr/include/sigc++-2.0/sigc++/functors/functors.h \ - ../../glib/glibmm/signalproxy_connectionnode.h \ - ../../glib/glibmm/propertyproxy.h \ - ../../glib/glibmm/propertyproxy_base.h ../../glib/glibmm/value.h \ - ../../glib/glibmm/value_custom.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo \ - ../../glib/glibmm/value_basictypes.h ../../glib/glibmm/quark.h \ - ../../glib/glibmm/debug.h ../../glib/glibmm/checksum.h \ - ../../glib/glibmm/class.h ../../glib/glibmm/convert.h \ - ../../glib/glibmm/error.h ../../glib/glibmm/exception.h \ - ../../glib/glibmm/date.h ../../glib/glibmm/dispatcher.h \ - ../../glib/glibmm/main.h ../../glib/glibmm/timeval.h \ - ../../glib/glibmm/priorities.h ../../glib/glibmm/exceptionhandler.h \ - ../../glib/glibmm/fileutils.h ../../glib/glibmm/helperlist.h \ - ../../glib/glibmm/containers.h ../../glib/glibmm/sarray.h \ - ../../glib/glibmm/interface.h ../../glib/glibmm/object.h \ - ../../glib/glibmm/utility.h ../../glib/glibmm/iochannel.h \ - ../../glib/glibmm/init.h ../../glib/glibmm/keyfile.h \ - ../../glib/glibmm/streamiochannel.h ../../glib/glibmm/listhandle.h \ - ../../glib/glibmm/markup.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h \ - ../../glib/glibmm/miscutils.h ../../glib/glibmm/module.h \ - ../../glib/glibmm/nodetree.h \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack \ - /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h \ - ../../glib/glibmm/optioncontext.h ../../glib/glibmm/optionentry.h \ - ../../glib/glibmm/optiongroup.h ../../glib/glibmm/pattern.h \ - ../../glib/glibmm/property.h ../../glib/glibmm/random.h \ - ../../glib/glibmm/regex.h ../../glib/glibmm/shell.h \ - ../../glib/glibmm/slisthandle.h ../../glib/glibmm/spawn.h \ - ../../glib/glibmm/stringutils.h ../../glib/glibmm/thread.h \ - ../../glib/glibmm/threadpool.h ../../glib/glibmm/timer.h \ - ../../glib/glibmm/uriutils.h unixinputstream.h \ - ../../gio/giomm/inputstream.h ../../gio/giomm/asyncresult.h \ - ../../gio/giomm/cancellable.h unixoutputstream.h \ - ../../gio/giomm/outputstream.h desktopappinfo.h \ - ../../gio/giomm/appinfo.h ../../gio/giomm/icon.h appinfo.h \ - asyncresult.h cancellable.h drive.h ../../gio/giomm/mount.h \ - ../../gio/giomm/file.h ../../gio/giomm/fileattributeinfolist.h \ - ../../gio/giomm/fileattributeinfo.h /usr/include/glib-2.0/gio/gio.h \ - /usr/include/glib-2.0/gio/giotypes.h \ - /usr/include/glib-2.0/gio/gioenums.h \ - /usr/include/glib-2.0/gio/gappinfo.h \ - /usr/include/glib-2.0/gio/gasyncresult.h \ - /usr/include/glib-2.0/gio/gbufferedinputstream.h \ - /usr/include/glib-2.0/gio/gfilterinputstream.h \ - /usr/include/glib-2.0/gio/ginputstream.h \ - /usr/include/glib-2.0/gio/gbufferedoutputstream.h \ - /usr/include/glib-2.0/gio/gfilteroutputstream.h \ - /usr/include/glib-2.0/gio/goutputstream.h \ - /usr/include/glib-2.0/gio/gcancellable.h \ - /usr/include/glib-2.0/gio/gcontenttype.h \ - /usr/include/glib-2.0/gio/gdatainputstream.h \ - /usr/include/glib-2.0/gio/gdataoutputstream.h \ - /usr/include/glib-2.0/gio/gdrive.h \ - /usr/include/glib-2.0/gio/gemblemedicon.h \ - /usr/include/glib-2.0/gio/gicon.h /usr/include/glib-2.0/gio/gemblem.h \ - /usr/include/glib-2.0/gio/gfile.h \ - /usr/include/glib-2.0/gio/gfileattribute.h \ - /usr/include/glib-2.0/gio/gfileenumerator.h \ - /usr/include/glib-2.0/gio/gfileicon.h \ - /usr/include/glib-2.0/gio/gfileinfo.h \ - /usr/include/glib-2.0/gio/gfileinputstream.h \ - /usr/include/glib-2.0/gio/gfilemonitor.h \ - /usr/include/glib-2.0/gio/gfilenamecompleter.h \ - /usr/include/glib-2.0/gio/gfileoutputstream.h \ - /usr/include/glib-2.0/gio/gioenumtypes.h \ - /usr/include/glib-2.0/gio/gioerror.h \ - /usr/include/glib-2.0/gio/giomodule.h /usr/include/glib-2.0/gmodule.h \ - /usr/include/glib-2.0/gio/gioscheduler.h \ - /usr/include/glib-2.0/gio/gloadableicon.h \ - /usr/include/glib-2.0/gio/gmemoryinputstream.h \ - /usr/include/glib-2.0/gio/gmemoryoutputstream.h \ - /usr/include/glib-2.0/gio/gmount.h \ - /usr/include/glib-2.0/gio/gmountoperation.h \ - /usr/include/glib-2.0/gio/gnativevolumemonitor.h \ - /usr/include/glib-2.0/gio/gvolumemonitor.h \ - /usr/include/glib-2.0/gio/gseekable.h \ - /usr/include/glib-2.0/gio/gsimpleasyncresult.h \ - /usr/include/glib-2.0/gio/gthemedicon.h \ - /usr/include/glib-2.0/gio/gvfs.h /usr/include/glib-2.0/gio/gvolume.h \ - ../../gio/giomm/fileenumerator.h ../../gio/giomm/fileinfo.h \ - ../../gio/giomm/fileinputstream.h ../../gio/giomm/seekable.h \ - ../../gio/giomm/filemonitor.h ../../gio/giomm/fileoutputstream.h \ - ../../gio/giomm/mountoperation.h ../../gio/giomm/error.h \ - ../../gio/giomm/volume.h error.h file.h fileattributeinfo.h \ - fileattributeinfolist.h fileenumerator.h fileicon.h \ - ../../gio/giomm/loadableicon.h fileinfo.h fileinputstream.h \ - fileoutputstream.h filemonitor.h filterinputstream.h \ - filteroutputstream.h filenamecompleter.h icon.h inputstream.h \ - loadableicon.h mount.h mountoperation.h outputstream.h seekable.h \ - volume.h volumemonitor.h ../../gio/giomm/drive.h bufferedinputstream.h \ - ../../gio/giomm/filterinputstream.h bufferedoutputstream.h \ - ../../gio/giomm/filteroutputstream.h datainputstream.h \ - ../../gio/giomm/bufferedinputstream.h ../../gio/giomm/enums.h \ - dataoutputstream.h ../../gio/giomm/bufferedoutputstream.h enums.h \ - memoryinputstream.h themedicon.h - -/usr/include/glib-2.0/glib.h: - -/usr/include/glib-2.0/glib/galloca.h: - -/usr/include/glib-2.0/glib/gtypes.h: - -/usr/lib64/glib-2.0/include/glibconfig.h: - -/usr/include/glib-2.0/glib/gmacros.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/limits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-64.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/include/bits/stdio_lim.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/float.h: - -/usr/include/glib-2.0/glib/garray.h: - -/usr/include/glib-2.0/glib/gasyncqueue.h: - -/usr/include/glib-2.0/glib/gthread.h: - -/usr/include/glib-2.0/glib/gerror.h: - -/usr/include/glib-2.0/glib/gquark.h: - -/usr/include/glib-2.0/glib/gutils.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stdarg.h: - -/usr/include/glib-2.0/glib/gatomic.h: - -/usr/include/glib-2.0/glib/gbacktrace.h: - -/usr/include/signal.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/bits/signum.h: - -/usr/include/time.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/bits/sigthread.h: - -/usr/include/glib-2.0/glib/gbase64.h: - -/usr/include/glib-2.0/glib/gbookmarkfile.h: - -/usr/include/bits/time.h: - -/usr/include/xlocale.h: - -/usr/include/glib-2.0/glib/gcache.h: - -/usr/include/glib-2.0/glib/glist.h: - -/usr/include/glib-2.0/glib/gmem.h: - -/usr/include/glib-2.0/glib/gslice.h: - -/usr/include/glib-2.0/glib/gchecksum.h: - -/usr/include/glib-2.0/glib/gcompletion.h: - -/usr/include/glib-2.0/glib/gconvert.h: - -/usr/include/glib-2.0/glib/gdataset.h: - -/usr/include/glib-2.0/glib/gdate.h: - -/usr/include/glib-2.0/glib/gdir.h: - -/usr/include/glib-2.0/glib/gfileutils.h: - -/usr/include/glib-2.0/glib/ghash.h: - -/usr/include/glib-2.0/glib/ghook.h: - -/usr/include/glib-2.0/glib/giochannel.h: - -/usr/include/glib-2.0/glib/gmain.h: - -/usr/include/glib-2.0/glib/gslist.h: - -/usr/include/glib-2.0/glib/gstring.h: - -/usr/include/glib-2.0/glib/gunicode.h: - -/usr/include/glib-2.0/glib/gkeyfile.h: - -/usr/include/glib-2.0/glib/gmappedfile.h: - -/usr/include/glib-2.0/glib/gmarkup.h: - -/usr/include/glib-2.0/glib/gmessages.h: - -/usr/include/glib-2.0/glib/gnode.h: - -/usr/include/glib-2.0/glib/goption.h: - -/usr/include/glib-2.0/glib/gpattern.h: - -/usr/include/glib-2.0/glib/gprimes.h: - -/usr/include/glib-2.0/glib/gqsort.h: - -/usr/include/glib-2.0/glib/gqueue.h: - -/usr/include/glib-2.0/glib/grand.h: - -/usr/include/glib-2.0/glib/grel.h: - -/usr/include/glib-2.0/glib/gregex.h: - -/usr/include/glib-2.0/glib/gscanner.h: - -/usr/include/glib-2.0/glib/gsequence.h: - -/usr/include/glib-2.0/glib/gshell.h: - -/usr/include/glib-2.0/glib/gspawn.h: - -/usr/include/glib-2.0/glib/gstrfuncs.h: - -/usr/include/glib-2.0/glib/gtestutils.h: - -/usr/include/glib-2.0/glib/gthreadpool.h: - -/usr/include/glib-2.0/glib/gtimer.h: - -/usr/include/glib-2.0/glib/gtree.h: - -/usr/include/glib-2.0/glib/gurifuncs.h: - -../../gio/giomm/wrap_init.h: - -../../glib/glibmm.h: - -../../glib/glibmmconfig.h: - -../../glib/glibmm/arrayhandle.h: - -../../glib/glibmm/containerhandle_shared.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstddef: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++config.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/os_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/cpu_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/include/stddef.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/algorithm: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/functexcept.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception_defines.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/type_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/numeric_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_pair.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_move.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/concept_check.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/debug/debug.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/bits/byteswap.h: - -/usr/include/sys/types.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/algorithmfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_construct.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/new: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/exception: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iterator: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ostream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ios: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/iosfwd: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stringfwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/postypes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwchar: - -/usr/include/wchar.h: - -/usr/include/stdio.h: - -/usr/include/bits/wchar.h: - -/usr/include/stdint.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/char_traits.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/sys_errlist.h: - -/usr/include/bits/stdio.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/localefwd.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ios_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/atomicity.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/atomic_word.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/string: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/c++allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/ext/new_allocator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream_insert.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cxxabi-forced.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_function.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/binders.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_string.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_classes.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/streambuf: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_base.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/bits/ctype_inline.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/locale_facets.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/basic_ios.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/ostream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/istream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/istream.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stream_iterator.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_vector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_bvector.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/vector.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/deque: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_deque.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/deque.tcc: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/list: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_list.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/list.tcc: - -/usr/include/glib-2.0/glib-object.h: - -/usr/include/glib-2.0/gobject/gboxed.h: - -/usr/include/glib-2.0/gobject/gtype.h: - -/usr/include/glib-2.0/gobject/genums.h: - -/usr/include/glib-2.0/gobject/gobject.h: - -/usr/include/glib-2.0/gobject/gvalue.h: - -/usr/include/glib-2.0/gobject/gparam.h: - -/usr/include/glib-2.0/gobject/gclosure.h: - -/usr/include/glib-2.0/gobject/gsignal.h: - -/usr/include/glib-2.0/gobject/gmarshal.h: - -/usr/include/glib-2.0/gobject/gparamspecs.h: - -/usr/include/glib-2.0/gobject/gsourceclosure.h: - -/usr/include/glib-2.0/gobject/gtypemodule.h: - -/usr/include/glib-2.0/gobject/gtypeplugin.h: - -/usr/include/glib-2.0/gobject/gvaluearray.h: - -/usr/include/glib-2.0/gobject/gvaluetypes.h: - -../../glib/glibmm/refptr.h: - -../../glib/glibmm/ustring.h: - -../../glib/glibmm/unicode.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/sstream: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/sstream.tcc: - -../../glib/glibmm/wrap.h: - -../../glib/glibmm/objectbase.h: - -../../glib/glibmm/signalproxy.h: - -/usr/include/sigc++-2.0/sigc++/sigc++.h: - -/usr/include/sigc++-2.0/sigc++/signal.h: - -/usr/include/sigc++-2.0/sigc++/signal_base.h: - -/usr/lib64/sigc++-2.0/include/sigc++config.h: - -/usr/include/sigc++-2.0/sigc++/type_traits.h: - -/usr/include/sigc++-2.0/sigc++/trackable.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot.h: - -/usr/include/sigc++-2.0/sigc++/visit_each.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/functor_trait.h: - -/usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h: - -/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h: - -/usr/include/sigc++-2.0/sigc++/limit_reference.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/deduce_result_type.h: - -/usr/include/sigc++-2.0/sigc++/functors/slot_base.h: - -/usr/include/sigc++-2.0/sigc++/connection.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/adaptors.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: - -/usr/include/sigc++-2.0/sigc++/reference_wrapper.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/bind_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/hide.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype_return.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/retype.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/compose.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/exception_catch.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/lambda.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/base.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/select.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/operator.h: - -/usr/include/sigc++-2.0/sigc++/adaptors/lambda/group.h: - -/usr/include/sigc++-2.0/sigc++/functors/functors.h: - -../../glib/glibmm/signalproxy_connectionnode.h: - -../../glib/glibmm/propertyproxy.h: - -../../glib/glibmm/propertyproxy_base.h: - -../../glib/glibmm/value.h: - -../../glib/glibmm/value_custom.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/typeinfo: - -../../glib/glibmm/value_basictypes.h: - -../../glib/glibmm/quark.h: - -../../glib/glibmm/debug.h: - -../../glib/glibmm/checksum.h: - -../../glib/glibmm/class.h: - -../../glib/glibmm/convert.h: - -../../glib/glibmm/error.h: - -../../glib/glibmm/exception.h: - -../../glib/glibmm/date.h: - -../../glib/glibmm/dispatcher.h: - -../../glib/glibmm/main.h: - -../../glib/glibmm/timeval.h: - -../../glib/glibmm/priorities.h: - -../../glib/glibmm/exceptionhandler.h: - -../../glib/glibmm/fileutils.h: - -../../glib/glibmm/helperlist.h: - -../../glib/glibmm/containers.h: - -../../glib/glibmm/sarray.h: - -../../glib/glibmm/interface.h: - -../../glib/glibmm/object.h: - -../../glib/glibmm/utility.h: - -../../glib/glibmm/iochannel.h: - -../../glib/glibmm/init.h: - -../../glib/glibmm/keyfile.h: - -../../glib/glibmm/streamiochannel.h: - -../../glib/glibmm/listhandle.h: - -../../glib/glibmm/markup.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/map: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_tree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_map.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_multimap.h: - -../../glib/glibmm/miscutils.h: - -../../glib/glibmm/module.h: - -../../glib/glibmm/nodetree.h: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/stack: - -/usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_stack.h: - -../../glib/glibmm/optioncontext.h: - -../../glib/glibmm/optionentry.h: - -../../glib/glibmm/optiongroup.h: - -../../glib/glibmm/pattern.h: - -../../glib/glibmm/property.h: - -../../glib/glibmm/random.h: - -../../glib/glibmm/regex.h: - -../../glib/glibmm/shell.h: - -../../glib/glibmm/slisthandle.h: - -../../glib/glibmm/spawn.h: - -../../glib/glibmm/stringutils.h: - -../../glib/glibmm/thread.h: - -../../glib/glibmm/threadpool.h: - -../../glib/glibmm/timer.h: - -../../glib/glibmm/uriutils.h: - -unixinputstream.h: - -../../gio/giomm/inputstream.h: - -../../gio/giomm/asyncresult.h: - -../../gio/giomm/cancellable.h: - -unixoutputstream.h: - -../../gio/giomm/outputstream.h: - -desktopappinfo.h: - -../../gio/giomm/appinfo.h: - -../../gio/giomm/icon.h: - -appinfo.h: - -asyncresult.h: - -cancellable.h: - -drive.h: - -../../gio/giomm/mount.h: - -../../gio/giomm/file.h: - -../../gio/giomm/fileattributeinfolist.h: - -../../gio/giomm/fileattributeinfo.h: - -/usr/include/glib-2.0/gio/gio.h: - -/usr/include/glib-2.0/gio/giotypes.h: - -/usr/include/glib-2.0/gio/gioenums.h: - -/usr/include/glib-2.0/gio/gappinfo.h: - -/usr/include/glib-2.0/gio/gasyncresult.h: - -/usr/include/glib-2.0/gio/gbufferedinputstream.h: - -/usr/include/glib-2.0/gio/gfilterinputstream.h: - -/usr/include/glib-2.0/gio/ginputstream.h: - -/usr/include/glib-2.0/gio/gbufferedoutputstream.h: - -/usr/include/glib-2.0/gio/gfilteroutputstream.h: - -/usr/include/glib-2.0/gio/goutputstream.h: - -/usr/include/glib-2.0/gio/gcancellable.h: - -/usr/include/glib-2.0/gio/gcontenttype.h: - -/usr/include/glib-2.0/gio/gdatainputstream.h: - -/usr/include/glib-2.0/gio/gdataoutputstream.h: - -/usr/include/glib-2.0/gio/gdrive.h: - -/usr/include/glib-2.0/gio/gemblemedicon.h: - -/usr/include/glib-2.0/gio/gicon.h: - -/usr/include/glib-2.0/gio/gemblem.h: - -/usr/include/glib-2.0/gio/gfile.h: - -/usr/include/glib-2.0/gio/gfileattribute.h: - -/usr/include/glib-2.0/gio/gfileenumerator.h: - -/usr/include/glib-2.0/gio/gfileicon.h: - -/usr/include/glib-2.0/gio/gfileinfo.h: - -/usr/include/glib-2.0/gio/gfileinputstream.h: - -/usr/include/glib-2.0/gio/gfilemonitor.h: - -/usr/include/glib-2.0/gio/gfilenamecompleter.h: - -/usr/include/glib-2.0/gio/gfileoutputstream.h: - -/usr/include/glib-2.0/gio/gioenumtypes.h: - -/usr/include/glib-2.0/gio/gioerror.h: - -/usr/include/glib-2.0/gio/giomodule.h: - -/usr/include/glib-2.0/gmodule.h: - -/usr/include/glib-2.0/gio/gioscheduler.h: - -/usr/include/glib-2.0/gio/gloadableicon.h: - -/usr/include/glib-2.0/gio/gmemoryinputstream.h: - -/usr/include/glib-2.0/gio/gmemoryoutputstream.h: - -/usr/include/glib-2.0/gio/gmount.h: - -/usr/include/glib-2.0/gio/gmountoperation.h: - -/usr/include/glib-2.0/gio/gnativevolumemonitor.h: - -/usr/include/glib-2.0/gio/gvolumemonitor.h: - -/usr/include/glib-2.0/gio/gseekable.h: - -/usr/include/glib-2.0/gio/gsimpleasyncresult.h: - -/usr/include/glib-2.0/gio/gthemedicon.h: - -/usr/include/glib-2.0/gio/gvfs.h: - -/usr/include/glib-2.0/gio/gvolume.h: - -../../gio/giomm/fileenumerator.h: - -../../gio/giomm/fileinfo.h: - -../../gio/giomm/fileinputstream.h: - -../../gio/giomm/seekable.h: - -../../gio/giomm/filemonitor.h: - -../../gio/giomm/fileoutputstream.h: - -../../gio/giomm/mountoperation.h: - -../../gio/giomm/error.h: - -../../gio/giomm/volume.h: - -error.h: - -file.h: - -fileattributeinfo.h: - -fileattributeinfolist.h: - -fileenumerator.h: - -fileicon.h: - -../../gio/giomm/loadableicon.h: - -fileinfo.h: - -fileinputstream.h: - -fileoutputstream.h: - -filemonitor.h: - -filterinputstream.h: - -filteroutputstream.h: - -filenamecompleter.h: - -icon.h: - -inputstream.h: - -loadableicon.h: - -mount.h: - -mountoperation.h: - -outputstream.h: - -seekable.h: - -volume.h: - -volumemonitor.h: - -../../gio/giomm/drive.h: - -bufferedinputstream.h: - -../../gio/giomm/filterinputstream.h: - -bufferedoutputstream.h: - -../../gio/giomm/filteroutputstream.h: - -datainputstream.h: - -../../gio/giomm/bufferedinputstream.h: - -../../gio/giomm/enums.h: - -dataoutputstream.h: - -../../gio/giomm/bufferedoutputstream.h: - -enums.h: - -memoryinputstream.h: - -themedicon.h: diff --git a/libs/glibmm2/gio/giomm/Makefile b/libs/glibmm2/gio/giomm/Makefile deleted file mode 100644 index 12e914e9ba..0000000000 --- a/libs/glibmm2/gio/giomm/Makefile +++ /dev/null @@ -1,813 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# gio/giomm/Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -# Built files - - - -pkgdatadir = $(datadir)/glibmm -pkglibdir = $(libdir)/glibmm -pkgincludedir = $(includedir)/glibmm -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = x86_64-unknown-linux-gnu -host_triplet = x86_64-unknown-linux-gnu -DIST_COMMON = $(srcdir)/../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(sublib_include_HEADERS) \ - $(top_srcdir)/build_shared/Makefile_build.am_fragment \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment -subdir = gio/giomm -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" \ - "$(DESTDIR)$(sublib_includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -am__DEPENDENCIES_1 = -libgiomm_2_4_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(top_builddir)/glib/glibmm/libglibmm-2.4.la -am__libgiomm_2_4_la_SOURCES_DIST = appinfo.cc asyncresult.cc \ - cancellable.cc drive.cc error.cc file.cc fileattributeinfo.cc \ - fileattributeinfolist.cc fileenumerator.cc fileicon.cc \ - fileinfo.cc fileinputstream.cc fileoutputstream.cc \ - filemonitor.cc filterinputstream.cc filteroutputstream.cc \ - filenamecompleter.cc icon.cc inputstream.cc loadableicon.cc \ - mount.cc mountoperation.cc outputstream.cc seekable.cc \ - volume.cc volumemonitor.cc bufferedinputstream.cc \ - bufferedoutputstream.cc datainputstream.cc dataoutputstream.cc \ - enums.cc memoryinputstream.cc themedicon.cc unixinputstream.cc \ - unixoutputstream.cc desktopappinfo.cc wrap_init.cc init.cc \ - contenttype.cc slot_async.cc -am__objects_1 = appinfo.lo asyncresult.lo cancellable.lo drive.lo \ - error.lo file.lo fileattributeinfo.lo fileattributeinfolist.lo \ - fileenumerator.lo fileicon.lo fileinfo.lo fileinputstream.lo \ - fileoutputstream.lo filemonitor.lo filterinputstream.lo \ - filteroutputstream.lo filenamecompleter.lo icon.lo \ - inputstream.lo loadableicon.lo mount.lo mountoperation.lo \ - outputstream.lo seekable.lo volume.lo volumemonitor.lo \ - bufferedinputstream.lo bufferedoutputstream.lo \ - datainputstream.lo dataoutputstream.lo enums.lo \ - memoryinputstream.lo themedicon.lo -am__objects_2 = unixinputstream.lo unixoutputstream.lo \ - desktopappinfo.lo -am__objects_3 = -am__objects_4 = $(am__objects_1) $(am__objects_2) -#am__objects_4 = $(am__objects_1) $(am__objects_3) -am__objects_5 = $(am__objects_4) wrap_init.lo -am__objects_6 = init.lo contenttype.lo slot_async.lo -am__objects_7 = $(am__objects_3) $(am__objects_6) -#am__objects_7 = $(am__objects_3) $(am__objects_6) -am_libgiomm_2_4_la_OBJECTS = $(am__objects_5) $(am__objects_7) -libgiomm_2_4_la_OBJECTS = $(am_libgiomm_2_4_la_OBJECTS) -libgiomm_2_4_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libgiomm_2_4_la_LDFLAGS) $(LDFLAGS) -o $@ -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libgiomm_2_4_la_SOURCES) -DIST_SOURCES = $(am__libgiomm_2_4_la_SOURCES_DIST) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -sublib_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(sublib_include_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -ACLOCAL = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run aclocal-1.10 -I ./scripts -AMTAR = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run tar -AR = ar -AS = as -AUTOCONF = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run autoconf -AUTOHEADER = : -AUTOMAKE = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run automake-1.10 -AWK = gawk -CC = gcc -CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -CXX = g++ -CXXCPP = g++ -E -CXXDEPMODE = depmode=gcc3 -CXXFLAGS = -g -O2 -Wall -Wno-long-long -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"$(sublib_name)\" $(extra_win32_defines) -DEPDIR = .deps -DISABLE_DEPRECATED_API_CFLAGS = -DISABLE_DEPRECATED_CFLAGS = -DLLTOOL = dlltool -DSYMUTIL = -ECHO = echo -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = -F77 = gfortran -FFLAGS = -g -O2 -GIOMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -GIOMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GLIBMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_MAJOR_VERSION = 2 -GLIBMM_MICRO_VERSION = 2 -GLIBMM_MINOR_VERSION = 18 -GLIBMM_RELEASE = 2.18 -GLIBMM_VERSION = 2.18.2 -GMMPROC_DIR = ${exec_prefix}/lib/glibmm-2.4/proc -GREP = /bin/grep -GTHREAD_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GTHREAD_LIBS = -pthread -lgthread-2.0 -lrt -lglib-2.0 -GTKMMPROC_MERGECDOCS = -GTKMM_DOXYGEN_INPUT = /tmp/glibmm-2.18.2/glib/glibmm/ /tmp/glibmm-2.18.2/gio/giomm/ -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -LIBGLIBMM_SO_VERSION = 3:0:2 -LIBOBJS = -LIBS = -LIBTOOL = $(SHELL) $(top_builddir)/libtool -LN_S = ln -s -LTLIBOBJS = -M4 = m4 -MAINT = # -MAKEINFO = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -NMEDIT = -OBJDUMP = objdump -OBJEXT = o -PACKAGE = glibmm -PACKAGE_BUGREPORT = gtkmm-list@gnome.org -PACKAGE_NAME = glibmm -PACKAGE_STRING = glibmm 2.18.2 -PACKAGE_TARNAME = glibmm -PACKAGE_VERSION = 2.18.2 -PATH_SEPARATOR = : -PERL_PATH = /usr/bin/perl -PKG_CONFIG = /usr/bin/pkg-config -RANLIB = ranlib -SED = /bin/sed -SET_MAKE = -SHELL = /bin/sh -STRIP = strip -VERSION = 2.18.2 -abs_builddir = /tmp/glibmm-2.18.2/gio/giomm -abs_srcdir = /tmp/glibmm-2.18.2/gio/giomm -abs_top_builddir = /tmp/glibmm-2.18.2 -abs_top_srcdir = /tmp/glibmm-2.18.2 -ac_ct_CC = gcc -ac_ct_CXX = g++ -ac_ct_F77 = gfortran -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -bindir = ${exec_prefix}/bin -build = x86_64-unknown-linux-gnu -build_alias = -build_cpu = x86_64 -build_os = linux-gnu -build_vendor = unknown -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} -dvidir = ${docdir} -exec_prefix = ${prefix} -host = x86_64-unknown-linux-gnu -host_alias = -host_cpu = x86_64 -host_os = linux-gnu -host_vendor = unknown -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = $(SHELL) /tmp/glibmm-2.18.2/scripts/install-sh -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = ../../ -top_builddir = ../.. -top_srcdir = ../.. -SUBDIRS = private -sublib_name = giomm -sublib_libname = giomm-2.4 -sublib_libversion = $(LIBGLIBMM_SO_VERSION) -sublib_namespace = Gio -sublib_cflags = $(GIOMM_CFLAGS) -sublib_topdir = gio -sublib_win32_dlls_libs = -sublib_files_extra_posix_cc = -sublib_files_extra_win32_cc = -sublib_files_extra_general_cc = init.cc contenttype.cc slot_async.cc -sublib_files_extra_general_deprecated_cc = -sublib_files_extra_posix_h = -sublib_files_extra_win32_h = -sublib_files_extra_general_h = init.h contenttype.h -sublib_files_extra_general_deprecated_h = -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -#files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -files_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_general_cc) - -#files_extra_cc = \ -# $(sublib_files_extra_win32_cc) \ -# $(sublib_files_extra_general_cc) - -files_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_general_h) wrap_init.h -#files_extra_h = $(sublib_files_extra_win32_h) \ -# $(sublib_files_extra_general_h) wrap_init.h -extra_win32_defines = - -# Support for DLL on mingw using libtool > 1.4 -# When creating DLLs on win32, we need to explicitly add a few extra -# libraries at link time to resolve symbols (remember a dll is like an -# executable). -#extra_win32_defines = \ -# -D$(shell echo $(sublib_name) | tr [:lower:] [:upper:])_BUILD - -no_undefined = -#no_undefined = -no-undefined -Wl,--export-all-symbols -win32_dlls_extra_libs = -#win32_dlls_extra_libs = $(sublib_win32_dlls_libs) -common_ldflags = -version-info $(sublib_libversion) $(no_undefined) - -# All modules can include all other modules, -# for instance, so that gdkmm can use headers in pangomm. -all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \ - -I$(top_builddir)/glib -I$(top_srcdir)/glib -I$(top_builddir) \ - -I$(top_builddir)/gio -I$(top_srcdir)/gio \ - $(sublib_cflags) $(GTHREAD_CFLAGS) - -dist_sources = $(files_all_built_cc) $(files_all_extra_cc) $(files_all_built_h) $(files_all_extra_h) -DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST) -DEFAULT_INCLUDES = - -# DISABLE_DEPRECATED_CFLAGS and DISABLE_DEPRECATED_API_CFLAGS are empty unless the appropriate --enable-*=no options are specified to configure: -INCLUDES = $(strip $(all_includes)) $(DISABLE_DEPRECATED_CFLAGS) $(DISABLE_DEPRECATED_API_CFLAGS) -sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name) -sublib_include_HEADERS = $(files_all_built_h) $(files_all_extra_h) -lib_LTLIBRARIES = libgiomm-2.4.la -libgiomm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc) -libgiomm_2_4_la_LDFLAGS = $(common_ldflags) -libgiomm_2_4_la_LIBADD = $(GIOMM_LIBS) \ - $(top_builddir)/glib/glibmm/libglibmm-2.4.la - - -# this header should be distributed, but not installed -EXTRA_DIST = slot_async.h -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cc .lo .o .obj -$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/build_shared/Makefile_build.am_fragment $(srcdir)/../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/giomm/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/giomm/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: # $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): # $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libgiomm-2.4.la: $(libgiomm_2_4_la_OBJECTS) $(libgiomm_2_4_la_DEPENDENCIES) - $(libgiomm_2_4_la_LINK) -rpath $(libdir) $(libgiomm_2_4_la_OBJECTS) $(libgiomm_2_4_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -include ./$(DEPDIR)/appinfo.Plo -include ./$(DEPDIR)/asyncresult.Plo -include ./$(DEPDIR)/bufferedinputstream.Plo -include ./$(DEPDIR)/bufferedoutputstream.Plo -include ./$(DEPDIR)/cancellable.Plo -include ./$(DEPDIR)/contenttype.Plo -include ./$(DEPDIR)/datainputstream.Plo -include ./$(DEPDIR)/dataoutputstream.Plo -include ./$(DEPDIR)/desktopappinfo.Plo -include ./$(DEPDIR)/drive.Plo -include ./$(DEPDIR)/enums.Plo -include ./$(DEPDIR)/error.Plo -include ./$(DEPDIR)/file.Plo -include ./$(DEPDIR)/fileattributeinfo.Plo -include ./$(DEPDIR)/fileattributeinfolist.Plo -include ./$(DEPDIR)/fileenumerator.Plo -include ./$(DEPDIR)/fileicon.Plo -include ./$(DEPDIR)/fileinfo.Plo -include ./$(DEPDIR)/fileinputstream.Plo -include ./$(DEPDIR)/filemonitor.Plo -include ./$(DEPDIR)/filenamecompleter.Plo -include ./$(DEPDIR)/fileoutputstream.Plo -include ./$(DEPDIR)/filterinputstream.Plo -include ./$(DEPDIR)/filteroutputstream.Plo -include ./$(DEPDIR)/icon.Plo -include ./$(DEPDIR)/init.Plo -include ./$(DEPDIR)/inputstream.Plo -include ./$(DEPDIR)/loadableicon.Plo -include ./$(DEPDIR)/memoryinputstream.Plo -include ./$(DEPDIR)/mount.Plo -include ./$(DEPDIR)/mountoperation.Plo -include ./$(DEPDIR)/outputstream.Plo -include ./$(DEPDIR)/seekable.Plo -include ./$(DEPDIR)/slot_async.Plo -include ./$(DEPDIR)/themedicon.Plo -include ./$(DEPDIR)/unixinputstream.Plo -include ./$(DEPDIR)/unixoutputstream.Plo -include ./$(DEPDIR)/volume.Plo -include ./$(DEPDIR)/volumemonitor.Plo -include ./$(DEPDIR)/wrap_init.Plo - -.cc.o: - $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -# source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -# $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: - $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -# source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: - $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -# source='$<' object='$@' libtool=yes \ -# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -# $(LTCXXCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-sublib_includeHEADERS: $(sublib_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(sublib_includedir)" || $(MKDIR_P) "$(DESTDIR)$(sublib_includedir)" - @list='$(sublib_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(sublib_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sublib_includedir)/$$f'"; \ - $(sublib_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sublib_includedir)/$$f"; \ - done - -uninstall-sublib_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(sublib_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(sublib_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(sublib_includedir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(LTLIBRARIES) $(HEADERS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sublib_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-sublib_includeHEADERS - -install-dvi: install-dvi-recursive - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-recursive - -install-info: install-info-recursive - -install-man: - -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-sublib_includeHEADERS - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-libLTLIBRARIES install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - install-sublib_includeHEADERS installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-local mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-libLTLIBRARIES uninstall-sublib_includeHEADERS - - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_all_built_cc) $(files_all_built_h)) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/giomm/Makefile.am b/libs/glibmm2/gio/giomm/Makefile.am deleted file mode 100644 index 4c931536c1..0000000000 --- a/libs/glibmm2/gio/giomm/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -## Copyright (c) 2007 -## The gtkmm development team. - -SUBDIRS = private - -sublib_name = giomm -sublib_libname = giomm-2.4 -sublib_libversion = $(LIBGLIBMM_SO_VERSION) -sublib_namespace = Gio -sublib_cflags = $(GIOMM_CFLAGS) -sublib_topdir = gio -sublib_win32_dlls_libs = - -sublib_files_extra_posix_cc = -sublib_files_extra_win32_cc = -sublib_files_extra_general_cc = init.cc contenttype.cc slot_async.cc -sublib_files_extra_general_deprecated_cc = - -sublib_files_extra_posix_h = -sublib_files_extra_win32_h = -sublib_files_extra_general_h = init.h contenttype.h -sublib_files_extra_general_deprecated_h = - -include $(top_srcdir)/build_shared/Makefile_build.am_fragment - -lib_LTLIBRARIES = libgiomm-2.4.la -libgiomm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc) -libgiomm_2_4_la_LDFLAGS = $(common_ldflags) -libgiomm_2_4_la_LIBADD = $(GIOMM_LIBS) \ - $(top_builddir)/glib/glibmm/libglibmm-2.4.la - -# this header should be distributed, but not installed -EXTRA_DIST=slot_async.h diff --git a/libs/glibmm2/gio/giomm/Makefile.in b/libs/glibmm2/gio/giomm/Makefile.in deleted file mode 100644 index b94f0542a7..0000000000 --- a/libs/glibmm2/gio/giomm/Makefile.in +++ /dev/null @@ -1,813 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Built files - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(srcdir)/../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(sublib_include_HEADERS) \ - $(top_srcdir)/build_shared/Makefile_build.am_fragment \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment -subdir = gio/giomm -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" \ - "$(DESTDIR)$(sublib_includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -am__DEPENDENCIES_1 = -libgiomm_2_4_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ - $(top_builddir)/glib/glibmm/libglibmm-2.4.la -am__libgiomm_2_4_la_SOURCES_DIST = appinfo.cc asyncresult.cc \ - cancellable.cc drive.cc error.cc file.cc fileattributeinfo.cc \ - fileattributeinfolist.cc fileenumerator.cc fileicon.cc \ - fileinfo.cc fileinputstream.cc fileoutputstream.cc \ - filemonitor.cc filterinputstream.cc filteroutputstream.cc \ - filenamecompleter.cc icon.cc inputstream.cc loadableicon.cc \ - mount.cc mountoperation.cc outputstream.cc seekable.cc \ - volume.cc volumemonitor.cc bufferedinputstream.cc \ - bufferedoutputstream.cc datainputstream.cc dataoutputstream.cc \ - enums.cc memoryinputstream.cc themedicon.cc unixinputstream.cc \ - unixoutputstream.cc desktopappinfo.cc wrap_init.cc init.cc \ - contenttype.cc slot_async.cc -am__objects_1 = appinfo.lo asyncresult.lo cancellable.lo drive.lo \ - error.lo file.lo fileattributeinfo.lo fileattributeinfolist.lo \ - fileenumerator.lo fileicon.lo fileinfo.lo fileinputstream.lo \ - fileoutputstream.lo filemonitor.lo filterinputstream.lo \ - filteroutputstream.lo filenamecompleter.lo icon.lo \ - inputstream.lo loadableicon.lo mount.lo mountoperation.lo \ - outputstream.lo seekable.lo volume.lo volumemonitor.lo \ - bufferedinputstream.lo bufferedoutputstream.lo \ - datainputstream.lo dataoutputstream.lo enums.lo \ - memoryinputstream.lo themedicon.lo -am__objects_2 = unixinputstream.lo unixoutputstream.lo \ - desktopappinfo.lo -am__objects_3 = -@OS_WIN32_FALSE@am__objects_4 = $(am__objects_1) $(am__objects_2) -@OS_WIN32_TRUE@am__objects_4 = $(am__objects_1) $(am__objects_3) -am__objects_5 = $(am__objects_4) wrap_init.lo -am__objects_6 = init.lo contenttype.lo slot_async.lo -@OS_WIN32_FALSE@am__objects_7 = $(am__objects_3) $(am__objects_6) -@OS_WIN32_TRUE@am__objects_7 = $(am__objects_3) $(am__objects_6) -am_libgiomm_2_4_la_OBJECTS = $(am__objects_5) $(am__objects_7) -libgiomm_2_4_la_OBJECTS = $(am_libgiomm_2_4_la_OBJECTS) -libgiomm_2_4_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libgiomm_2_4_la_LDFLAGS) $(LDFLAGS) -o $@ -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libgiomm_2_4_la_SOURCES) -DIST_SOURCES = $(am__libgiomm_2_4_la_SOURCES_DIST) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -sublib_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(sublib_include_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DG_LOG_DOMAIN=\"$(sublib_name)\" $(extra_win32_defines) -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SUBDIRS = private -sublib_name = giomm -sublib_libname = giomm-2.4 -sublib_libversion = $(LIBGLIBMM_SO_VERSION) -sublib_namespace = Gio -sublib_cflags = $(GIOMM_CFLAGS) -sublib_topdir = gio -sublib_win32_dlls_libs = -sublib_files_extra_posix_cc = -sublib_files_extra_win32_cc = -sublib_files_extra_general_cc = init.cc contenttype.cc slot_async.cc -sublib_files_extra_general_deprecated_cc = -sublib_files_extra_posix_h = -sublib_files_extra_win32_h = -sublib_files_extra_general_h = init.h contenttype.h -sublib_files_extra_general_deprecated_h = -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -@OS_WIN32_FALSE@files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -@OS_WIN32_TRUE@files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -@OS_WIN32_FALSE@files_extra_cc = \ -@OS_WIN32_FALSE@ $(sublib_files_extra_posix_cc) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_TRUE@files_extra_cc = \ -@OS_WIN32_TRUE@ $(sublib_files_extra_win32_cc) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_FALSE@files_extra_h = $(sublib_files_extra_posix_h) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_h) wrap_init.h -@OS_WIN32_TRUE@files_extra_h = $(sublib_files_extra_win32_h) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_h) wrap_init.h -@PLATFORM_WIN32_FALSE@extra_win32_defines = - -# Support for DLL on mingw using libtool > 1.4 -# When creating DLLs on win32, we need to explicitly add a few extra -# libraries at link time to resolve symbols (remember a dll is like an -# executable). -@PLATFORM_WIN32_TRUE@extra_win32_defines = \ -@PLATFORM_WIN32_TRUE@ -D$(shell echo $(sublib_name) | tr [:lower:] [:upper:])_BUILD - -@PLATFORM_WIN32_FALSE@no_undefined = -@PLATFORM_WIN32_TRUE@no_undefined = -no-undefined -Wl,--export-all-symbols -@PLATFORM_WIN32_FALSE@win32_dlls_extra_libs = -@PLATFORM_WIN32_TRUE@win32_dlls_extra_libs = $(sublib_win32_dlls_libs) -common_ldflags = -version-info $(sublib_libversion) $(no_undefined) - -# All modules can include all other modules, -# for instance, so that gdkmm can use headers in pangomm. -all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \ - -I$(top_builddir)/glib -I$(top_srcdir)/glib -I$(top_builddir) \ - -I$(top_builddir)/gio -I$(top_srcdir)/gio \ - $(sublib_cflags) $(GTHREAD_CFLAGS) - -dist_sources = $(files_all_built_cc) $(files_all_extra_cc) $(files_all_built_h) $(files_all_extra_h) -DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST) -DEFAULT_INCLUDES = - -# DISABLE_DEPRECATED_CFLAGS and DISABLE_DEPRECATED_API_CFLAGS are empty unless the appropriate --enable-*=no options are specified to configure: -INCLUDES = $(strip $(all_includes)) $(DISABLE_DEPRECATED_CFLAGS) $(DISABLE_DEPRECATED_API_CFLAGS) -sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name) -sublib_include_HEADERS = $(files_all_built_h) $(files_all_extra_h) -lib_LTLIBRARIES = libgiomm-2.4.la -libgiomm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc) -libgiomm_2_4_la_LDFLAGS = $(common_ldflags) -libgiomm_2_4_la_LIBADD = $(GIOMM_LIBS) \ - $(top_builddir)/glib/glibmm/libglibmm-2.4.la - - -# this header should be distributed, but not installed -EXTRA_DIST = slot_async.h -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cc .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build_shared/Makefile_build.am_fragment $(srcdir)/../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/giomm/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/giomm/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libgiomm-2.4.la: $(libgiomm_2_4_la_OBJECTS) $(libgiomm_2_4_la_DEPENDENCIES) - $(libgiomm_2_4_la_LINK) -rpath $(libdir) $(libgiomm_2_4_la_OBJECTS) $(libgiomm_2_4_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/appinfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asyncresult.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferedinputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferedoutputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cancellable.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/contenttype.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/datainputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dataoutputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/desktopappinfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drive.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enums.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileattributeinfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileattributeinfolist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileenumerator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileicon.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileinfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileinputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filemonitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filenamecompleter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileoutputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filterinputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filteroutputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icon.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loadableicon.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memoryinputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mount.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mountoperation.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/outputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seekable.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slot_async.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/themedicon.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unixinputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unixoutputstream.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/volume.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/volumemonitor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrap_init.Plo@am__quote@ - -.cc.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-sublib_includeHEADERS: $(sublib_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(sublib_includedir)" || $(MKDIR_P) "$(DESTDIR)$(sublib_includedir)" - @list='$(sublib_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(sublib_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sublib_includedir)/$$f'"; \ - $(sublib_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sublib_includedir)/$$f"; \ - done - -uninstall-sublib_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(sublib_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(sublib_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(sublib_includedir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(LTLIBRARIES) $(HEADERS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sublib_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-sublib_includeHEADERS - -install-dvi: install-dvi-recursive - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-recursive - -install-info: install-info-recursive - -install-man: - -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-sublib_includeHEADERS - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-libLTLIBRARIES install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - install-sublib_includeHEADERS installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-local mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-libLTLIBRARIES uninstall-sublib_includeHEADERS - - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_all_built_cc) $(files_all_built_h)) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/giomm/appinfo.cc b/libs/glibmm2/gio/giomm/appinfo.cc deleted file mode 100644 index 60548aab71..0000000000 --- a/libs/glibmm2/gio/giomm/appinfo.cc +++ /dev/null @@ -1,528 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr -AppInfo::create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags) -#else -Glib::RefPtr -AppInfo::create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags, - std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GAppInfo* capp_info = 0; - GError* gerror = 0; - - capp_info = g_app_info_create_from_commandline(commandline.c_str(), - application_name.c_str(), - static_cast(flags), - &gerror); - - if (gerror) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - ::Glib::Error::throw_exception(gerror); -#else - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return Glib::wrap(capp_info); -} - -Glib::ListHandle< Glib::RefPtr > AppInfo::get_all() -{ - return Glib::ListHandle< Glib::RefPtr >(g_app_info_get_all(), Glib::OWNERSHIP_SHALLOW); -} - -Glib::ListHandle< Glib::RefPtr > AppInfo::get_all_for_type(const std::string& content_type) -{ - return Glib::ListHandle< Glib::RefPtr >( - g_app_info_get_all_for_type(content_type.c_str()), Glib::OWNERSHIP_SHALLOW); -} - -Glib::RefPtr AppInfo::get_default_for_type(const std::string& content_type, - bool must_support_uris) -{ - GAppInfo* cinfo = 0; - cinfo = g_app_info_get_default_for_type(content_type.c_str(), - static_cast(must_support_uris)); - return Glib::wrap(cinfo); -} - -Glib::RefPtr AppInfo::get_default_for_uri_scheme(const std::string& uri_scheme) -{ - GAppInfo* cinfo = 0; - cinfo = g_app_info_get_default_for_uri_scheme(uri_scheme.c_str()); - return Glib::wrap(cinfo); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GAppLaunchContext* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& AppLaunchContext_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &AppLaunchContext_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_app_launch_context_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void AppLaunchContext_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* AppLaunchContext_Class::wrap_new(GObject* object) -{ - return new AppLaunchContext((GAppLaunchContext*)object); -} - - -/* The implementation: */ - -GAppLaunchContext* AppLaunchContext::gobj_copy() -{ - reference(); - return gobj(); -} - -AppLaunchContext::AppLaunchContext(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -AppLaunchContext::AppLaunchContext(GAppLaunchContext* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -AppLaunchContext::~AppLaunchContext() -{} - - -AppLaunchContext::CppClassType AppLaunchContext::applaunchcontext_class_; // initialize static member - -GType AppLaunchContext::get_type() -{ - return applaunchcontext_class_.init().get_type(); -} - -GType AppLaunchContext::get_base_type() -{ - return g_app_launch_context_get_type(); -} - - -AppLaunchContext::AppLaunchContext() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(applaunchcontext_class_.init())) -{ - - -} - -Glib::RefPtr AppLaunchContext::create() -{ - return Glib::RefPtr( new AppLaunchContext() ); -} -std::string AppLaunchContext::get_display(const Glib::RefPtr& info, const Glib::ListHandle< Glib::RefPtr >& files) -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_app_launch_context_get_display(gobj(), Glib::unwrap(info), files.data())); -} - -std::string AppLaunchContext::get_startup_notify_id(const Glib::RefPtr& info, const Glib::ListHandle< Glib::RefPtr >& files) -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_app_launch_context_get_startup_notify_id(gobj(), Glib::unwrap(info), files.data())); -} - -void AppLaunchContext::launch_failed(const std::string& startup_notify_id) -{ -g_app_launch_context_launch_failed(gobj(), startup_notify_id.c_str()); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - -namespace Glib -{ - -Glib::RefPtr wrap(GAppInfo* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& AppInfo_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &AppInfo_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_app_info_get_type(); - } - - return *this; -} - -void AppInfo_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* AppInfo_Class::wrap_new(GObject* object) -{ - return new AppInfo((GAppInfo*)(object)); -} - - -/* The implementation: */ - -AppInfo::AppInfo() -: - Glib::Interface(appinfo_class_.init()) -{} - -AppInfo::AppInfo(GAppInfo* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -AppInfo::AppInfo(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -AppInfo::~AppInfo() -{} - -// static -void AppInfo::add_interface(GType gtype_implementer) -{ - appinfo_class_.init().add_interface(gtype_implementer); -} - -AppInfo::CppClassType AppInfo::appinfo_class_; // initialize static member - -GType AppInfo::get_type() -{ - return appinfo_class_.init().get_type(); -} - -GType AppInfo::get_base_type() -{ - return g_app_info_get_type(); -} - -bool AppInfo::equal(const Glib::RefPtr& other) const -{ - return g_app_info_equal(const_cast(gobj()), Glib::unwrap(other)); -} - -std::string AppInfo::get_id() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_app_info_get_id(const_cast(gobj()))); -} - -std::string AppInfo::get_name() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_app_info_get_name(const_cast(gobj()))); -} - -std::string AppInfo::get_description() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_app_info_get_description(const_cast(gobj()))); -} - -std::string AppInfo::get_executable() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_app_info_get_executable(const_cast(gobj()))); -} - -Glib::RefPtr AppInfo::get_icon() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_app_info_get_icon(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -const Glib::RefPtr AppInfo::get_icon() const -{ - return const_cast(this)->get_icon(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool AppInfo::launch(const Glib::ListHandle& files, const Glib::RefPtr& launch_context) -#else -bool AppInfo::launch(const Glib::ListHandle& files, const Glib::RefPtr& launch_context, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_app_info_launch(gobj(), files.data(), Glib::unwrap(launch_context), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -bool AppInfo::supports_uris() const -{ - return g_app_info_supports_uris(const_cast(gobj())); -} - -bool AppInfo::supports_files() const -{ - return g_app_info_supports_files(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool AppInfo::launch_uris(const Glib::ListHandle& uris, GAppLaunchContext* launch_context) -#else -bool AppInfo::launch_uris(const Glib::ListHandle& uris, GAppLaunchContext* launch_context, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_app_info_launch_uris(gobj(), uris.data(), launch_context, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -bool AppInfo::should_show() const -{ - return g_app_info_should_show(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool AppInfo::set_as_default_for_type(const std::string& content_type) -#else -bool AppInfo::set_as_default_for_type(const std::string& content_type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_app_info_set_as_default_for_type(gobj(), content_type.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool AppInfo::set_as_default_for_extension(const std::string& extension) -#else -bool AppInfo::set_as_default_for_extension(const std::string& extension, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_app_info_set_as_default_for_extension(gobj(), extension.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool AppInfo::add_supports_type(const std::string& content_type) -#else -bool AppInfo::add_supports_type(const std::string& content_type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_app_info_add_supports_type(gobj(), content_type.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -bool AppInfo::can_remove_supports_type() const -{ - return g_app_info_can_remove_supports_type(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool AppInfo::remove_supports_type(const std::string& content_type) -#else -bool AppInfo::remove_supports_type(const std::string& content_type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_app_info_remove_supports_type(gobj(), content_type.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/appinfo.h b/libs/glibmm2/gio/giomm/appinfo.h deleted file mode 100644 index 067ba37ed0..0000000000 --- a/libs/glibmm2/gio/giomm/appinfo.h +++ /dev/null @@ -1,549 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_APPINFO_H -#define _GIOMM_APPINFO_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -#include -#endif - -#include - -#include -#include -//#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAppInfoIface GAppInfoIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAppLaunchContext GAppLaunchContext; -typedef struct _GAppLaunchContextClass GAppLaunchContextClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class AppLaunchContext_Class; } // namespace Gio -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAppInfo GAppInfo; -typedef struct _GAppInfoClass GAppInfoClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class AppInfo_Class; } // namespace Gio -namespace Gio -{ - -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %AppInfoCreateFlags operator|(AppInfoCreateFlags, AppInfoCreateFlags)
- * %AppInfoCreateFlags operator&(AppInfoCreateFlags, AppInfoCreateFlags)
- * %AppInfoCreateFlags operator^(AppInfoCreateFlags, AppInfoCreateFlags)
- * %AppInfoCreateFlags operator~(AppInfoCreateFlags)
- * %AppInfoCreateFlags& operator|=(AppInfoCreateFlags&, AppInfoCreateFlags)
- * %AppInfoCreateFlags& operator&=(AppInfoCreateFlags&, AppInfoCreateFlags)
- * %AppInfoCreateFlags& operator^=(AppInfoCreateFlags&, AppInfoCreateFlags)
- */ -enum AppInfoCreateFlags -{ - APP_INFO_CREATE_NONE = 0, - APP_INFO_CREATE_NEEDS_TERMINAL = 1 << 0, - APP_INFO_CREATE_SUPPORTS_URIS = 1 << 1 -}; - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags operator|(AppInfoCreateFlags lhs, AppInfoCreateFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags operator&(AppInfoCreateFlags lhs, AppInfoCreateFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags operator^(AppInfoCreateFlags lhs, AppInfoCreateFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags operator~(AppInfoCreateFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags& operator|=(AppInfoCreateFlags& lhs, AppInfoCreateFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags& operator&=(AppInfoCreateFlags& lhs, AppInfoCreateFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline AppInfoCreateFlags& operator^=(AppInfoCreateFlags& lhs, AppInfoCreateFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -class AppInfo; -class File; - -/** This is used to handle, for instance, startup notification and launching of the new application on the same screen as the launching window. - * See also AppInfo. - * - * @newin2p16 - */ - -class AppLaunchContext : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef AppLaunchContext CppObjectType; - typedef AppLaunchContext_Class CppClassType; - typedef GAppLaunchContext BaseObjectType; - typedef GAppLaunchContextClass BaseClassType; - -private: friend class AppLaunchContext_Class; - static CppClassType applaunchcontext_class_; - -private: - // noncopyable - AppLaunchContext(const AppLaunchContext&); - AppLaunchContext& operator=(const AppLaunchContext&); - -protected: - explicit AppLaunchContext(const Glib::ConstructParams& construct_params); - explicit AppLaunchContext(GAppLaunchContext* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~AppLaunchContext(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GAppLaunchContext* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GAppLaunchContext* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GAppLaunchContext* gobj_copy(); - -private: - - -protected: - AppLaunchContext(); - -public: - - static Glib::RefPtr create(); - - - /** Gets the display string for the display. This is used to ensure new - * applications are started on the same display as the launching - * application. - * @param info A AppInfo. - * @param files A List of files. - * @return A display string for the display. - */ - std::string get_display(const Glib::RefPtr& info, const Glib::ListHandle< Glib::RefPtr >& files); - - - /** Initiates startup notification for the applicaiont and returns the - * DESKTOP_STARTUP_ID for the launched operation, if supported. - * - * Startup notification IDs are defined in the FreeDesktop.Org Startup - * Notifications standard, at - * . - * @param info A AppInfo. - * @param files A List of files. - * @return A startup notification ID for the application, or 0 if - * not supported. - */ - std::string get_startup_notify_id(const Glib::RefPtr& info, const Glib::ListHandle< Glib::RefPtr >& files); - - /** Called when an application has failed to launch, so that it can cancel - * the application startup notification started in g_app_launch_context_get_startup_notify_id(). - * @param startup_notify_id The startup notification id that was returned by g_app_launch_context_get_startup_notify_id(). - */ - void launch_failed(const std::string& startup_notify_id); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -/** Application information, to describe applications installed on the system, - * and launch them. - * See also AppLaunchContext. - * - * @newin2p16 - */ - -class AppInfo : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef AppInfo CppObjectType; - typedef AppInfo_Class CppClassType; - typedef GAppInfo BaseObjectType; - typedef GAppInfoIface BaseClassType; - -private: - friend class AppInfo_Class; - static CppClassType appinfo_class_; - - // noncopyable - AppInfo(const AppInfo&); - AppInfo& operator=(const AppInfo&); - -protected: - AppInfo(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit AppInfo(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit AppInfo(GAppInfo* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~AppInfo(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GAppInfo* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GAppInfo* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static Glib::RefPtr create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags); -#else - static Glib::RefPtr create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags, - std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - - - // Note that the implementation of equal() is virtual via equal_vfunc(). - - /** Checks if two AppInfos are equal. - * @param appinfo2 The second AppInfo. - * @return true if @a appinfo1 is equal to @a appinfo2. false otherwise. - */ - bool equal(const Glib::RefPtr& other) const; - - - /** Gets the ID of an application. An id is a string that - * identifies the application. The exact format of the id is - * platform dependent. For instance, on Unix this is the - * desktop file id from the xdg menu specification. - * - * Note that the returned ID may be 0, depending on how - * the @a appinfo has been constructed. - * @return A string containing the application's ID. - */ - std::string get_id() const; - - /** Gets the installed name of the application. - * @return The name of the application for @a appinfo. - */ - std::string get_name() const; - - /** Gets a human-readable description of an installed application. - * @return A string containing a description of the - * application @a appinfo, or 0 if none. - */ - std::string get_description() const; - - /** Gets the executable's name for the installed application. - * @return A string containing the @a appinfo's application - * binary's name. - */ - std::string get_executable() const; - - - /** Gets the icon for the application. - * @return The default Icon for @a appinfo. - */ - Glib::RefPtr get_icon(); - - /** Gets the icon for the application. - * @return The default Icon for @a appinfo. - */ - const Glib::RefPtr get_icon() const; - - - /** Launches the application. Passes @a files to the launched application - * as arguments, using the optional @a launch_context to get information - * about the details of the launcher (like what screen it is on). - * On error, @a error will be set accordingly. - * - * To lauch the application without arguments pass a 0 @a files list. - * - * Note that even if the launch is successful the application launched - * can fail to start if it runs into problems during startup. There is - * no way to detect this. - * - * Some URIs can be changed when passed through a GFile (for instance - * unsupported uris with strange formats like mailto:), so if you have - * a textual uri you want to pass in as argument, consider using - * g_app_info_launch_uris() instead. - * @param files A List of File objects. - * @param launch_context A AppLaunchContext. - * @return true on successful launch, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool launch(const Glib::ListHandle& files, - const Glib::RefPtr& launch_context); -#else - bool launch(const Glib::ListHandle& files, const Glib::RefPtr& launch_context, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Checks if the application supports reading files and directories from URIs. - * @return true if the @a appinfo supports URIs. - */ - bool supports_uris() const; - - /** Checks if the application accepts files as arguments. - * @return true if the @a appinfo supports files. - */ - bool supports_files() const; - - /** Launches the application. Passes @a uris to the launched application - * as arguments, using the optional @a launch_context to get information - * about the details of the launcher (like what screen it is on). - * On error, @a error will be set accordingly. - * - * To lauch the application without arguments pass a 0 @a uris list. - * - * Note that even if the launch is successful the application launched - * can fail to start if it runs into problems during startup. There is - * no way to detect this. - * @param uris A List containing URIs to launch. - * @param launch_context A AppLaunchContext. - * @return true on successful launch, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool launch_uris(const Glib::ListHandle& uris, - GAppLaunchContext* launch_context); -#else - bool launch_uris(const Glib::ListHandle& uris, GAppLaunchContext* launch_context, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Checks if the application info should be shown in menus that - * list available applications. - * @return true if the @a appinfo should be shown, false otherwise. - */ - bool should_show() const; - - - /** Sets the application as the default handler for a given type. - * @param content_type The content type. - * @return true on success, false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_as_default_for_type(const std::string& content_type); -#else - bool set_as_default_for_type(const std::string& content_type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets the application as the default handler for the given file extention. - * @param extension A string containing the file extension (without the dot). - * @return true on success, false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_as_default_for_extension(const std::string& extension); -#else - bool set_as_default_for_extension(const std::string& extension, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Adds a content type to the application information to indicate the - * application is capable of opening files with the given content type. - * @param content_type A string. - * @return true on success, false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool add_supports_type(const std::string& content_type); -#else - bool add_supports_type(const std::string& content_type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Checks if a supported content type can be removed from an application. - * @return true if it is possible to remove supported - * content types from a given @a appinfo, false if not. - */ - bool can_remove_supports_type() const; - - /** Removes a supported type from an application, if possible. - * @param content_type A string. - * @return true on success, false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool remove_supports_type(const std::string& content_type); -#else - bool remove_supports_type(const std::string& content_type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - static Glib::ListHandle< Glib::RefPtr > get_all(); - - static Glib::ListHandle< Glib::RefPtr > get_all_for_type(const std::string& content_type); - - static Glib::RefPtr get_default_for_type(const std::string& content_type, bool must_support_uris = true); - - static Glib::RefPtr get_default_for_uri_scheme(const std::string& uri_scheme); - -protected: - //_WRAP_VFUNC(Glib::RefPtr dup(), "dup") - //_WRAP_VFUNC(bool equal(const Glib::RefPtr& appinfo2), "equal") - //_WRAP_VFUNC(std::string get_id() const, "get_id") - //_WRAP_VFUNC(std::string get_name() const, "get_name") - //_WRAP_VFUNC(std::string get_description() const, "get_description") - //_WRAP_VFUNC(std::string get_executable() const, "get_executable") - //_WRAP_VFUNC(Glib::RefPtr get_icon() const, "get_icon") - - - //_WRAP_VFUNC(bool launch(const Glib::ListHandle& filenames, const Glib::RefPtr& launch_context, GError** error), "launch") - //_WRAP_VFUNC(bool supports_uris() const, "supports_uris") - //_WRAP_VFUNC(bool supports_files() const, "supports_files") - //_WRAP_VFUNC(bool launch_uris(const Glib::ListHandle& uris, const Glib::RefPtr& launch_context, GError** error), "launch_uris") - //_WRAP_VFUNC(bool should_show() const, "should_show") - //_WRAP_VFUNC(bool set_as_default_for_type(const std::string& content_type, GError** error), "set_as_default_for_type") - //_WRAP_VFUNC(bool set_as_default_for_extension(const std::string& extension, GError** error), "set_as_default_for_extension") - //_WRAP_VFUNC(bool add_supports_type(const std::string& content_type, GError** error), "add_supports_type") - //_WRAP_VFUNC(bool can_remove_supports_type() const, "can_remove_supports_type") - //_WRAP_VFUNC(bool remove_supports_type(const std::string& content_type, GError** error), "remove_supports_type") - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::AppLaunchContext - */ - Glib::RefPtr wrap(GAppLaunchContext* object, bool take_copy = false); -} - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::AppInfo - */ - Glib::RefPtr wrap(GAppInfo* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_APPINFO_H */ - diff --git a/libs/glibmm2/gio/giomm/asyncresult.cc b/libs/glibmm2/gio/giomm/asyncresult.cc deleted file mode 100644 index 4a91b5aefc..0000000000 --- a/libs/glibmm2/gio/giomm/asyncresult.cc +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //We are not allowed to include individual headers. -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GAsyncResult* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& AsyncResult_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &AsyncResult_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_async_result_get_type(); - } - - return *this; -} - -void AsyncResult_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED - klass->get_source_object = &get_source_object_vfunc_callback; -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -GObject* AsyncResult_Class::get_source_object_vfunc_callback(GAsyncResult* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - return Glib::unwrap(obj->get_source_object_vfunc()); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(self), CppObjectType::get_type()) // Get the interface. -) ); - - // Call the original underlying C function: - if(base && base->get_source_object) - return (*base->get_source_object)(self); - - - typedef GObject* RType; - return RType(); -} -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* AsyncResult_Class::wrap_new(GObject* object) -{ - return new AsyncResult((GAsyncResult*)(object)); -} - - -/* The implementation: */ - -AsyncResult::AsyncResult() -: - Glib::Interface(asyncresult_class_.init()) -{} - -AsyncResult::AsyncResult(GAsyncResult* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -AsyncResult::AsyncResult(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -AsyncResult::~AsyncResult() -{} - -// static -void AsyncResult::add_interface(GType gtype_implementer) -{ - asyncresult_class_.init().add_interface(gtype_implementer); -} - -AsyncResult::CppClassType AsyncResult::asyncresult_class_; // initialize static member - -GType AsyncResult::get_type() -{ - return asyncresult_class_.init().get_type(); -} - -GType AsyncResult::get_base_type() -{ - return g_async_result_get_type(); -} - - -Glib::RefPtr AsyncResult::get_source_object() -{ - return Glib::wrap(g_async_result_get_source_object(gobj())); -} - -Glib::RefPtr AsyncResult::get_source_object() const -{ - return const_cast(this)->get_source_object(); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -Glib::RefPtr Gio::AsyncResult::get_source_object_vfunc() -{ - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(gobject_), CppObjectType::get_type()) // Get the interface. -) ); - - if(base && base->get_source_object) - return Glib::wrap((*base->get_source_object)(gobj())); - - typedef Glib::RefPtr RType; - return RType(); -} -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/asyncresult.h b/libs/glibmm2/gio/giomm/asyncresult.h deleted file mode 100644 index 0f1fffd13d..0000000000 --- a/libs/glibmm2/gio/giomm/asyncresult.h +++ /dev/null @@ -1,235 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ASYNCRESULT_H -#define _GIOMM_ASYNCRESULT_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAsyncResultIface GAsyncResultIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAsyncResult GAsyncResult; -typedef struct _GAsyncResultClass GAsyncResultClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class AsyncResult_Class; } // namespace Gio -namespace Gio -{ - -class AsyncResult; - -/** A function that will be called when an asynchronous operation within GIO has been completed. - * @param result The asynchronous function's results. - * - * For instance, - * @code - * void on_async_ready(Glib::RefPtr& result); - * @endcode - * - * @newin2p16 - */ -typedef sigc::slot& > SlotAsyncReady; - -/** Provides a base class for implementing asynchronous function results. - * Asynchronous operations are broken up into two separate operations which are chained together by a SlotAsyncReady. - * To begin an asynchronous operation, provide a SlotAsyncReady to the asynchronous function. This callback will be triggered - * when the operation has completed, and will be passed an AsyncResult instance filled with the details of the operation's success or - * failure, the object the asynchronous function was started for and any error codes returned. The asynchronous callback function is then - * expected to call the corresponding "_finish()" function with the object the function was called for, and the AsyncResult instance. - * - * The purpose of the "_finish()" function is to take the generic result of type AsyncResult and return the specific result that the operation - * in question yields (e.g. a FileEnumerator for an "enumerate children" operation). If the result or error status of the operation is not needed, - * there is no need to call the "_finish()" function and GIO will take care of cleaning up the result and error information after the - * SlotAsyncReady returns. You may also store the AsyncResult and call "_finish()" later. - * - * Example of a typical asynchronous operation flow: - * @code - * void _theoretical_frobnitz_async(const Glib::RefPtr& t, - * const SlotAsyncReady& slot); - * - * gboolean _theoretical_frobnitz_finish(const Glib::RefPtr& t, - * const Glib::RefPtr& result); - * - * static void - * on_frobnitz_result(Glib::RefPtr& result) - * { - * - * Glib::RefPtr source_object = result->get_source_object(); - * bool success = _theoretical_frobnitz_finish(source_object, res); - * - * if (success) - * std::cout << "Hurray" << std::endl; - * else - * std::cout << "Uh oh!" << std::endl; - * - * ... - * } - * - * int main (int argc, void *argv[]) - * { - * ... - * - * _theoretical_frobnitz_async (theoretical_data, - * sigc::ptr_fun(&on_frobnitz_result) ); - * - * ... - * } - * @endcode - * - * The async function could also take an optional Glib::Cancellable object, allowing the calling function to cancel the asynchronous operation. - * - * The callback for an asynchronous operation is called only once, and is always called, even in the case of a cancelled operation. - * On cancellation the result is a ERROR_CANCELLED error. - * - * Some ascynchronous operations are implemented using synchronous calls. These are run in a separate GThread, but otherwise they are sent - * to the Main Event Loop and processed in an idle function. So, if you truly need asynchronous operations, make sure to initialize GThread. - * - * @newin2p16 - */ - -class AsyncResult : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef AsyncResult CppObjectType; - typedef AsyncResult_Class CppClassType; - typedef GAsyncResult BaseObjectType; - typedef GAsyncResultIface BaseClassType; - -private: - friend class AsyncResult_Class; - static CppClassType asyncresult_class_; - - // noncopyable - AsyncResult(const AsyncResult&); - AsyncResult& operator=(const AsyncResult&); - -protected: - AsyncResult(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit AsyncResult(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit AsyncResult(GAsyncResult* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~AsyncResult(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GAsyncResult* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GAsyncResult* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: - - - //Note that this returns a reference, unlike most GTK+ get_*() functions, - //so we don't need to use refreturn. - - /** Gets the source object from a AsyncResult. - * @return The source object for the @a res. - */ - Glib::RefPtr get_source_object(); - - /** Gets the source object from a AsyncResult. - * @return The source object for the @a res. - */ - Glib::RefPtr get_source_object() const; - - #ifdef GLIBMM_VFUNCS_ENABLED - virtual Glib::RefPtr get_source_object_vfunc(); -#endif //GLIBMM_VFUNCS_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::AsyncResult - */ - Glib::RefPtr wrap(GAsyncResult* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_ASYNCRESULT_H */ - diff --git a/libs/glibmm2/gio/giomm/bufferedinputstream.cc b/libs/glibmm2/gio/giomm/bufferedinputstream.cc deleted file mode 100644 index b24660251b..0000000000 --- a/libs/glibmm2/gio/giomm/bufferedinputstream.cc +++ /dev/null @@ -1,339 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" - -namespace Gio -{ -Glib::RefPtr BufferedInputStream::create_sized(const Glib::RefPtr& base_stream, gsize size) -{ - return Glib::RefPtr(new BufferedInputStream(base_stream, size)); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize BufferedInputStream::fill(gssize count) -#else -gssize BufferedInputStream::fill(gssize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_buffered_input_stream_fill(const_cast(gobj()), count, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void BufferedInputStream::fill_async(const SlotAsyncReady& slot, - gssize count, - const Glib::RefPtr& cancellable, - int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_buffered_input_stream_fill_async(gobj(), - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void BufferedInputStream::fill_async(const SlotAsyncReady& slot, - gssize count, - int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_buffered_input_stream_fill_async(gobj(), - count, - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -int BufferedInputStream::read_byte() -#else -int BufferedInputStream::read_byte(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - int retvalue = g_buffered_input_stream_read_byte(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GBufferedInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& BufferedInputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &BufferedInputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_buffered_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void BufferedInputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* BufferedInputStream_Class::wrap_new(GObject* object) -{ - return new BufferedInputStream((GBufferedInputStream*)object); -} - - -/* The implementation: */ - -GBufferedInputStream* BufferedInputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -BufferedInputStream::BufferedInputStream(const Glib::ConstructParams& construct_params) -: - Gio::FilterInputStream(construct_params) -{ - -} - -BufferedInputStream::BufferedInputStream(GBufferedInputStream* castitem) -: - Gio::FilterInputStream((GFilterInputStream*)(castitem)) -{} - - -BufferedInputStream::~BufferedInputStream() -{} - - -BufferedInputStream::CppClassType BufferedInputStream::bufferedinputstream_class_; // initialize static member - -GType BufferedInputStream::get_type() -{ - return bufferedinputstream_class_.init().get_type(); -} - -GType BufferedInputStream::get_base_type() -{ - return g_buffered_input_stream_get_type(); -} - - -BufferedInputStream::BufferedInputStream(const Glib::RefPtr& base_stream) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::FilterInputStream(Glib::ConstructParams(bufferedinputstream_class_.init(), "base_stream", const_cast(Glib::unwrap(base_stream)), static_cast(0))) -{ - - -} - -BufferedInputStream::BufferedInputStream(const Glib::RefPtr& base_stream, gsize size) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::FilterInputStream(Glib::ConstructParams(bufferedinputstream_class_.init(), "base_stream", const_cast(Glib::unwrap(base_stream)), "size", size, static_cast(0))) -{ - - -} - -Glib::RefPtr BufferedInputStream::create(const Glib::RefPtr& base_stream) -{ - return Glib::RefPtr( new BufferedInputStream(base_stream) ); -} -gsize BufferedInputStream::get_buffer_size() const -{ - return g_buffered_input_stream_get_buffer_size(const_cast(gobj())); -} - -void BufferedInputStream::set_buffer_size(gsize size) -{ -g_buffered_input_stream_set_buffer_size(gobj(), size); -} - -gsize BufferedInputStream::get_available() const -{ - return g_buffered_input_stream_get_available(const_cast(gobj())); -} - -gsize BufferedInputStream::peek(void* buffer, gsize offset, gsize count) const -{ - return g_buffered_input_stream_peek(const_cast(gobj()), buffer, offset, count); -} - -const void* BufferedInputStream::peek_buffer(gsize& count) const -{ - return g_buffered_input_stream_peek_buffer(const_cast(gobj()), &(count)); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize BufferedInputStream::fill(gssize count, const Glib::RefPtr& cancellable) -#else -gssize BufferedInputStream::fill(gssize count, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_buffered_input_stream_fill(gobj(), count, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize BufferedInputStream::fill_finish(const Glib::RefPtr& result) -#else -gssize BufferedInputStream::fill_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_buffered_input_stream_fill_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -int BufferedInputStream::read_byte(const Glib::RefPtr& cancellable) -#else -int BufferedInputStream::read_byte(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - int retvalue = g_buffered_input_stream_read_byte(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/bufferedinputstream.h b/libs/glibmm2/gio/giomm/bufferedinputstream.h deleted file mode 100644 index c5310f4380..0000000000 --- a/libs/glibmm2/gio/giomm/bufferedinputstream.h +++ /dev/null @@ -1,298 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_BUFFEREDINPUTSTREAM_H -#define _GIOMM_BUFFEREDINPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GBufferedInputStream GBufferedInputStream; -typedef struct _GBufferedInputStreamClass GBufferedInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class BufferedInputStream_Class; } // namespace Gio -namespace Gio -{ - -/** @defgroup Streams Stream Classes - * - */ - -/** The buffered input stream implements FilterInputStream and provides for buffered reads. - * By default, BufferedInputStream's buffer size is set at 4 kilobytes, but you can specify - * this to the constructor. - * - * To get the size of a buffer within a buffered input stream, use get_buffer_size(). - * To change the size of a buffered input stream's buffer, use set_buffer_size(). - * Note that the buffer's size cannot be reduced below the size of the data within the buffer. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class BufferedInputStream : public Gio::FilterInputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef BufferedInputStream CppObjectType; - typedef BufferedInputStream_Class CppClassType; - typedef GBufferedInputStream BaseObjectType; - typedef GBufferedInputStreamClass BaseClassType; - -private: friend class BufferedInputStream_Class; - static CppClassType bufferedinputstream_class_; - -private: - // noncopyable - BufferedInputStream(const BufferedInputStream&); - BufferedInputStream& operator=(const BufferedInputStream&); - -protected: - explicit BufferedInputStream(const Glib::ConstructParams& construct_params); - explicit BufferedInputStream(GBufferedInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~BufferedInputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GBufferedInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GBufferedInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GBufferedInputStream* gobj_copy(); - -private: - -protected: - explicit BufferedInputStream(const Glib::RefPtr& base_stream); - explicit BufferedInputStream(const Glib::RefPtr& base_stream, gsize size); -public: - - static Glib::RefPtr create(const Glib::RefPtr& base_stream); - - static Glib::RefPtr create_sized(const Glib::RefPtr& base_stream, gsize size); - - - /** Gets the size of the input buffer. - * @return The current buffer size. - */ - gsize get_buffer_size() const; - - /** Sets the size of the internal buffer of @a stream to @a size, or to the - * size of the contents of the buffer. The buffer can never be resized - * smaller than its current contents. - * @param size A #gsize. - */ - void set_buffer_size(gsize size); - - /** Gets the size of the available data within the stream. - * @return Size of the available stream. - */ - gsize get_available() const; - - /** Peeks in the buffer, copying data of size @a count into @a buffer, - * offset @a offset bytes. - * @param buffer A pointer to an allocated chunk of memory. - * @param offset A #gsize. - * @param count A #gsize. - * @return A #gsize of the number of bytes peeked, or %-1 on error. - */ - gsize peek(void* buffer, gsize offset, gsize count) const; - - /** Returns: read-only buffer - * @param count A #gsize to get the number of bytes available in the buffer. - * @return Read-only buffer. - */ - const void* peek_buffer(gsize& count) const; - - /** Tries to read @a count bytes from the stream into the buffer. - * Will block during this read. - * - * If @a count is zero, returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error to be thrown, with INVALID_ARGUMENT. - * - * On success, the number of bytes read into the buffer is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. If an - * operation was partially finished when the operation was cancelled the - * partial result will be returned, without an error. - * - * - * - * For the asynchronous, non-blocking, version of this function, see - * g_buffered_input_stream_fill_async(). - * @param count The number of bytes that will be read from the stream. - * @param cancellable Cancellable object. - * @return The number of bytes read into @a stream's buffer, up to @a count, - * or -1 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize fill(gssize count, const Glib::RefPtr& cancellable); -#else - gssize fill(gssize count, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of fill() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize fill(gssize count); -#else - gssize fill(gssize count, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads data into the stream's buffer asynchronously, up to @a count size. - * @a io_priority can be used to prioritize reads. For the synchronous version of - * this function, see fill(). - * - * @param slot A AsyncReadyCallback. - * @param count The number of bytes to read. - * @param cancellable Cancellable object. - * @param io_priority the I/O priority of the request. - */ - void fill_async(const SlotAsyncReady& slot, - gssize count, - const Glib::RefPtr& cancellable, - int io_priority = Glib::PRIORITY_DEFAULT); - - /** Reads data into the stream's buffer asynchronously, up to @a count size. - * @a io_priority can be used to prioritize reads. For the synchronous version of - * this function, see fill(). - * - * @param slot A AsyncReadyCallback. - * @param count The number of bytes to read. - * @param io_priority the I/O priority of the request. - */ - void fill_async(const SlotAsyncReady& slot, - gssize count, - int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous read. - * @param result A AsyncResult. - * @return A #gssize of the read stream, or %-1 on an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize fill_finish(const Glib::RefPtr& result); -#else - gssize fill_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to read a single byte from the stream or the buffer. Will block - * during this read. - * - * On success, the byte read from the stream is returned. On end of stream - * -1 is returned but it's not an exceptional error and @a error is not set. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. If an - * operation was partially finished when the operation was cancelled the - * partial result will be returned, without an error. - * @param cancellable Cancellable object. - * @return The byte read from the @a stream, or -1 on end of stream or error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - int read_byte(const Glib::RefPtr& cancellable); -#else - int read_byte(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Non-cancellable version of read_byte. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - int read_byte(); -#else - int read_byte(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -protected: - - - //_WRAP_VFUNC(gssize fill(gssize count, const Glib::RefPtr& cancellable, GError** error), "fill") - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::BufferedInputStream - */ - Glib::RefPtr wrap(GBufferedInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_BUFFEREDINPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/bufferedoutputstream.cc b/libs/glibmm2/gio/giomm/bufferedoutputstream.cc deleted file mode 100644 index 22799d646a..0000000000 --- a/libs/glibmm2/gio/giomm/bufferedoutputstream.cc +++ /dev/null @@ -1,199 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" - -namespace Gio -{ -Glib::RefPtr BufferedOutputStream::create_sized(const Glib::RefPtr& base_stream, gsize size) -{ - return Glib::RefPtr(new BufferedOutputStream(base_stream, size)); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GBufferedOutputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& BufferedOutputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &BufferedOutputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_buffered_output_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void BufferedOutputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* BufferedOutputStream_Class::wrap_new(GObject* object) -{ - return new BufferedOutputStream((GBufferedOutputStream*)object); -} - - -/* The implementation: */ - -GBufferedOutputStream* BufferedOutputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -BufferedOutputStream::BufferedOutputStream(const Glib::ConstructParams& construct_params) -: - Gio::FilterOutputStream(construct_params) -{ - -} - -BufferedOutputStream::BufferedOutputStream(GBufferedOutputStream* castitem) -: - Gio::FilterOutputStream((GFilterOutputStream*)(castitem)) -{} - - -BufferedOutputStream::~BufferedOutputStream() -{} - - -BufferedOutputStream::CppClassType BufferedOutputStream::bufferedoutputstream_class_; // initialize static member - -GType BufferedOutputStream::get_type() -{ - return bufferedoutputstream_class_.init().get_type(); -} - -GType BufferedOutputStream::get_base_type() -{ - return g_buffered_output_stream_get_type(); -} - - -BufferedOutputStream::BufferedOutputStream(const Glib::RefPtr& base_stream) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::FilterOutputStream(Glib::ConstructParams(bufferedoutputstream_class_.init(), "base_stream", const_cast(Glib::unwrap(base_stream)), static_cast(0))) -{ - - -} - -BufferedOutputStream::BufferedOutputStream(const Glib::RefPtr& base_stream, gsize size) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::FilterOutputStream(Glib::ConstructParams(bufferedoutputstream_class_.init(), "base_stream", const_cast(Glib::unwrap(base_stream)), "size", size, static_cast(0))) -{ - - -} - -Glib::RefPtr BufferedOutputStream::create(const Glib::RefPtr& base_stream) -{ - return Glib::RefPtr( new BufferedOutputStream(base_stream) ); -} -gsize BufferedOutputStream::get_buffer_size() const -{ - return g_buffered_output_stream_get_buffer_size(const_cast(gobj())); -} - -void BufferedOutputStream::set_buffer_size(gsize size) -{ -g_buffered_output_stream_set_buffer_size(gobj(), size); -} - -void BufferedOutputStream::set_auto_grow(bool auto_grow) -{ -g_buffered_output_stream_set_auto_grow(gobj(), static_cast(auto_grow)); -} - -bool BufferedOutputStream::get_auto_grow() const -{ - return g_buffered_output_stream_get_auto_grow(const_cast(gobj())); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/bufferedoutputstream.h b/libs/glibmm2/gio/giomm/bufferedoutputstream.h deleted file mode 100644 index bde53e257e..0000000000 --- a/libs/glibmm2/gio/giomm/bufferedoutputstream.h +++ /dev/null @@ -1,173 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_BUFFEREDOUTPUTSTREAM_H -#define _GIOMM_BUFFEREDOUTPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GBufferedOutputStream GBufferedOutputStream; -typedef struct _GBufferedOutputStreamClass GBufferedOutputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class BufferedOutputStream_Class; } // namespace Gio -namespace Gio -{ - -/** The buffered output stream implements FilterOutputStream and provides for buffered writes. - * By default, BufferedOutputStream's buffer size is set at 4 kilobytes, but you - * can specify this to the constructor. - * - * To get the size of a buffer within a buffered input stream, use get_buffer_size(). - * To change the size of a buffered output stream's buffer, use set_buffer_size(). - * Note that the buffer's size cannot be reduced below the size of the data within the buffer. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class BufferedOutputStream : public Gio::FilterOutputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef BufferedOutputStream CppObjectType; - typedef BufferedOutputStream_Class CppClassType; - typedef GBufferedOutputStream BaseObjectType; - typedef GBufferedOutputStreamClass BaseClassType; - -private: friend class BufferedOutputStream_Class; - static CppClassType bufferedoutputstream_class_; - -private: - // noncopyable - BufferedOutputStream(const BufferedOutputStream&); - BufferedOutputStream& operator=(const BufferedOutputStream&); - -protected: - explicit BufferedOutputStream(const Glib::ConstructParams& construct_params); - explicit BufferedOutputStream(GBufferedOutputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~BufferedOutputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GBufferedOutputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GBufferedOutputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GBufferedOutputStream* gobj_copy(); - -private: - -protected: - explicit BufferedOutputStream(const Glib::RefPtr& base_stream); - explicit BufferedOutputStream(const Glib::RefPtr& base_stream, gsize size); -public: - - static Glib::RefPtr create(const Glib::RefPtr& base_stream); - - static Glib::RefPtr create_sized(const Glib::RefPtr& base_stream, gsize size); - - - /** Gets the size of the buffer in the @a stream. - * @return The current size of the buffer. - */ - gsize get_buffer_size() const; - - /** Sets the size of the internal buffer to @a size. - * @param size A #gsize. - */ - void set_buffer_size(gsize size); - - - /** Sets whether or not the @a stream's buffer should automatically grow. - * If @a auto_grow is true, then each write will just make the buffer - * larger, and you must manually flush the buffer to actually write out - * the data to the underlying stream. - * @param auto_grow A bool. - */ - void set_auto_grow(bool auto_grow=true); - - /** Checks if the buffer automatically grows as data is added. - * @return true if the @a stream's buffer automatically grows, - * false otherwise. - */ - bool get_auto_grow() const; - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::BufferedOutputStream - */ - Glib::RefPtr wrap(GBufferedOutputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_BUFFEREDOUTPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/cancellable.cc b/libs/glibmm2/gio/giomm/cancellable.cc deleted file mode 100644 index e3222f65f9..0000000000 --- a/libs/glibmm2/gio/giomm/cancellable.cc +++ /dev/null @@ -1,271 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - - -} // namespace Gio - -namespace -{ - - -static const Glib::SignalProxyInfo Cancellable_signal_cancelled_info = -{ - "cancelled", - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GCancellable* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& Cancellable_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &Cancellable_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_cancellable_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void Cancellable_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->cancelled = &cancelled_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Cancellable_Class::cancelled_callback(GCancellable* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_cancelled(); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->cancelled) - (*base->cancelled)(self); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* Cancellable_Class::wrap_new(GObject* object) -{ - return new Cancellable((GCancellable*)object); -} - - -/* The implementation: */ - -GCancellable* Cancellable::gobj_copy() -{ - reference(); - return gobj(); -} - -Cancellable::Cancellable(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -Cancellable::Cancellable(GCancellable* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -Cancellable::~Cancellable() -{} - - -Cancellable::CppClassType Cancellable::cancellable_class_; // initialize static member - -GType Cancellable::get_type() -{ - return cancellable_class_.init().get_type(); -} - -GType Cancellable::get_base_type() -{ - return g_cancellable_get_type(); -} - - -Cancellable::Cancellable() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(cancellable_class_.init())) -{ - - -} - -Glib::RefPtr Cancellable::create() -{ - return Glib::RefPtr( new Cancellable() ); -} -bool Cancellable::is_cancelled() const -{ - return g_cancellable_is_cancelled(const_cast(gobj())); -} - -int Cancellable::get_fd() const -{ - return g_cancellable_get_fd(const_cast(gobj())); -} - -void Cancellable::cancel() -{ -g_cancellable_cancel(gobj()); -} - -Glib::RefPtr Cancellable::get_current() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_cancellable_get_current()); - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; -} - - -void Cancellable::push_current() -{ -g_cancellable_push_current(gobj()); -} - -void Cancellable::pop_current() -{ -g_cancellable_pop_current(gobj()); -} - -void Cancellable::reset() -{ -g_cancellable_reset(gobj()); -} - - -Glib::SignalProxy0< void > Cancellable::signal_cancelled() -{ - return Glib::SignalProxy0< void >(this, &Cancellable_signal_cancelled_info); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::Cancellable::on_cancelled() -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->cancelled) - (*base->cancelled)(gobj()); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/cancellable.h b/libs/glibmm2/gio/giomm/cancellable.h deleted file mode 100644 index f459ec4b6e..0000000000 --- a/libs/glibmm2/gio/giomm/cancellable.h +++ /dev/null @@ -1,205 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_CANCELLABLE_H -#define _GIOMM_CANCELLABLE_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GCancellable GCancellable; -typedef struct _GCancellableClass GCancellableClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class Cancellable_Class; } // namespace Gio -namespace Gio -{ - -/** Allows actions to be cancelled. - * Cancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations. - * - * @newin2p16 - */ - -class Cancellable : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef Cancellable CppObjectType; - typedef Cancellable_Class CppClassType; - typedef GCancellable BaseObjectType; - typedef GCancellableClass BaseClassType; - -private: friend class Cancellable_Class; - static CppClassType cancellable_class_; - -private: - // noncopyable - Cancellable(const Cancellable&); - Cancellable& operator=(const Cancellable&); - -protected: - explicit Cancellable(const Glib::ConstructParams& construct_params); - explicit Cancellable(GCancellable* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~Cancellable(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GCancellable* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GCancellable* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GCancellable* gobj_copy(); - -private: - - -protected: - Cancellable(); - -public: - - static Glib::RefPtr create(); - - - /** Checks if a cancellable job has been cancelled. - * @return true if @a cancellable is cancelled, - * false if called with 0 or if item is not cancelled. - */ - bool is_cancelled() const; - - - //May return -1 if fds not supported, or on errors . - - /** Gets the file descriptor for a cancellable job. This can be used to - * implement cancellable operations on Unix systems. The returned fd will - * turn readable when @a cancellable is cancelled. - * @return A valid file descriptor. %-1 if the file descriptor - * is not supported, or on errors. - */ - int get_fd() const; - - //This is safe to call from another thread. - - /** Will set @a cancellable to cancelled, and will emit the CANCELLED - * signal. - * - * This function is thread-safe. In other words, you can safely call it from - * another thread than the one running an operation that was passed - * the @a cancellable. - */ - void cancel(); - - - /** Gets the top cancellable from the stack. - * @return A Cancellable from the top of the stack, or 0 - * if the stack is empty. - */ - static Glib::RefPtr get_current(); - - - /** Pushes @a cancellable onto the cancellable stack. The current - * cancllable can then be recieved using g_cancellable_get_current(). - * - * This is useful when implementing cancellable operations in - * code that does not allow you to pass down the cancellable object. - * - * This is typically called automatically by e.g. File operations, - * so you rarely have to call this yourself. - */ - void push_current(); - - /** Pops @a cancellable off the cancellable stack (verifying that @a cancellable - * is on the top of the stack). - */ - void pop_current(); - - /** Resets @a cancellable to its uncancelled state. - */ - void reset(); - - - /** - * @par Prototype: - * void on_my_%cancelled() - */ - - Glib::SignalProxy0< void > signal_cancelled(); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_cancelled(); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::Cancellable - */ - Glib::RefPtr wrap(GCancellable* object, bool take_copy = false); -} - - -#endif /* _GIOMM_CANCELLABLE_H */ - diff --git a/libs/glibmm2/gio/giomm/contenttype.cc b/libs/glibmm2/gio/giomm/contenttype.cc deleted file mode 100644 index 86a5900e5f..0000000000 --- a/libs/glibmm2/gio/giomm/contenttype.cc +++ /dev/null @@ -1,105 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio -{ - -bool content_type_equals(const Glib::ustring& type1, const Glib::ustring& type2) -{ - return g_content_type_equals(type1.c_str(), type2.c_str()); -} - -bool content_type_is_a(const Glib::ustring& type, const Glib::ustring& supertype) -{ - return g_content_type_is_a(type.c_str(), supertype.c_str()); -} - -bool content_type_is_unknown(const Glib::ustring& type) -{ - return g_content_type_is_unknown(type.c_str()); -} - -Glib::ustring content_type_get_description(const Glib::ustring& type) -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_content_type_get_description(type.c_str())); -} - -Glib::ustring content_type_get_mime_type(const Glib::ustring& type) -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_content_type_get_mime_type(type.c_str())); -} - -Glib::RefPtr content_type_get_icon(const Glib::ustring& type) -{ - //TODO: Does g_content_type_get_icon() return a reference? - //It currently has no implementation so it's hard to know. murrayc. - return Glib::wrap(g_content_type_get_icon(type.c_str())); -} - -bool content_type_can_be_executable(const Glib::ustring& type) -{ - return g_content_type_can_be_executable(type.c_str()); -} - -Glib::ustring content_type_guess(const std::string& filename, - const std::basic_string& data, bool& result_uncertain) -{ - gboolean c_result_uncertain = FALSE; - gchar* cresult = g_content_type_guess(filename.c_str(), data.c_str(), - data.size(), &c_result_uncertain); - result_uncertain = c_result_uncertain; - return Glib::convert_return_gchar_ptr_to_ustring(cresult); -} - -Glib::ustring content_type_guess(const std::string& filename, - const guchar* data, gsize data_size, bool& result_uncertain) -{ - gboolean c_result_uncertain = FALSE; - gchar* cresult = g_content_type_guess(filename.c_str(), data, - data_size, &c_result_uncertain); - result_uncertain = c_result_uncertain; - return Glib::convert_return_gchar_ptr_to_ustring(cresult); -} - -Glib::ustring content_type_guess(const std::string& filename, - const std::string& data, bool& result_uncertain) -{ - gboolean c_result_uncertain = FALSE; - gchar* cresult = g_content_type_guess(filename.c_str(), (const guchar*)data.c_str(), - data.size(), &c_result_uncertain); - result_uncertain = c_result_uncertain; - return Glib::convert_return_gchar_ptr_to_ustring(cresult); -} - -Glib::StringArrayHandle content_type_guess_for_tree(const Glib::RefPtr& root) -{ - return Glib::StringArrayHandle(g_content_type_guess_for_tree(const_cast(root->gobj())), - Glib::OWNERSHIP_DEEP); -} - -Glib::ListHandle content_types_get_registered() -{ - return Glib::ListHandle(g_content_types_get_registered(), - Glib::OWNERSHIP_DEEP); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/giomm/contenttype.h b/libs/glibmm2/gio/giomm/contenttype.h deleted file mode 100644 index 1e881601a8..0000000000 --- a/libs/glibmm2/gio/giomm/contenttype.h +++ /dev/null @@ -1,156 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -#ifndef _GIOMM_CONTENTTYPE_H -#define _GIOMM_CONTENTTYPE_H - -#include -#include -#include -#include -#include - -namespace Gio -{ - -/** - * Compares two content types for equality. - * - * @param type1 A content type string. - * @param type2 A content type string. - * - * @return true if the two strings are identical or equivalent, false otherwise. - */ -bool content_type_equals(const Glib::ustring& type1, - const Glib::ustring& type2); - -/** - * Determines if @a type is a subset of @a supertype. - * - * @param type A content type string. - * @param supertype A string. - * - * @return true if @a type is a kind of @a supertype, false otherwise. - */ -bool content_type_is_a(const Glib::ustring& type, - const Glib::ustring& supertype); - -/** - * Checks if the content type is the generic "unknown" type. - * On unix this is the "application/octet-stream" mimetype, - * while on win32 it is "*". - * - * @param type A content type string. - * - * @return true if the type is the unknown type. - */ -bool content_type_is_unknown(const Glib::ustring& type); - -/** - * Gets the human readable description of the content type. - * - * @param type A content type string. - * - * @return a short description of the content type @a type. - */ -Glib::ustring content_type_get_description(const Glib::ustring& type); - -/** - * Gets the mime-type for the content type. If one is registered - * - * @param type A content type string. - * - * @return the registered mime-type for the given @a type, or NULL if unknown. - */ -Glib::ustring content_type_get_mime_type(const Glib::ustring& type); - -/** - * @param type A content type string. - * - * Gets the icon for a content type. - * - * @return Icon corresponding to the content type. - */ -Glib::RefPtr content_type_get_icon(const Glib::ustring& type); - -/** - * Checks if a content type can be executable. Note that for instance - * things like text files can be executables (i.e. scripts and batch files). - * - * @param type a content type string. - * - * @return true if the file type corresponds to a type that can be executable, - * false otherwise. - */ -bool content_type_can_be_executable(const Glib::ustring& type); - -/** - * Guesses the content type based on example data. If the function is uncertain, - * @a result_uncertain will be set to true - * - * @param filename a string. - * @param data A stream of data. - * @param data_size The size of @a data. - * @param result_uncertain A flag indicating the certainty of the result. - * @return A string indicating a guessed content type for the - * given data. - */ -Glib::ustring content_type_guess(const std::string& filename, - const guchar* data, gsize data_size, - bool& result_uncertain); - -/** - * Guesses the content type based on example data. If the function is uncertain, - * @a result_uncertain will be set to true - * - * @param filename a string. - * @param data A stream of data. - * @param result_uncertain A flag indicating the certainty of the result. - * @return A string indicating a guessed content type for the - * given data. - */ -Glib::ustring content_type_guess(const std::string& filename, - const std::string& data, - bool& result_uncertain); - -/** Tries to guess the type of the tree with root @a root, by - * looking at the files it contains. The result is a list - * of content types, with the best guess coming first. - * - * The types returned all have the form x-content/foo, e.g. - * x-content/audio-cdda (for audio CDs) or x-content/image-dcf - * (for a camera memory card). See the shared-mime-info - * specification for more on x-content types. - * - * @param root The root of the tree to guess a type for. - * @return List of zero or more content types. - * - * @newin2p18 - */ -Glib::StringArrayHandle content_type_guess_for_tree(const Glib::RefPtr& root); - -/** - * Gets a list of strings containing all the registered content types - * known to the system. - * - * @return List of the registered content types. - */ -Glib::ListHandle content_types_get_registered(); - -} // namespace Gio -#endif // _GIOMM_CONTENTTYPE_H diff --git a/libs/glibmm2/gio/giomm/datainputstream.cc b/libs/glibmm2/gio/giomm/datainputstream.cc deleted file mode 100644 index 03ff356d1b..0000000000 --- a/libs/glibmm2/gio/giomm/datainputstream.cc +++ /dev/null @@ -1,571 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guchar DataInputStream::read_byte() -#else -guchar DataInputStream::read_byte(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guchar retvalue = g_data_input_stream_read_byte(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint16 DataInputStream::read_int16() -#else -gint16 DataInputStream::read_int16(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint16 retvalue = g_data_input_stream_read_int16(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint16 DataInputStream::read_uint16() -#else -guint16 DataInputStream::read_uint16(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint16 retvalue = g_data_input_stream_read_uint16(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint32 DataInputStream::read_int32() -#else -gint32 DataInputStream::read_int32(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint32 retvalue = g_data_input_stream_read_int32(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint32 DataInputStream::read_uint32() -#else -guint32 DataInputStream::read_uint32(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint32 retvalue = g_data_input_stream_read_uint32(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint64 DataInputStream::read_int64() -#else -gint64 DataInputStream::read_int64(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint64 retvalue = g_data_input_stream_read_int64(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint64 DataInputStream::read_uint64() -#else -guint64 DataInputStream::read_uint64(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint64 retvalue = g_data_input_stream_read_uint64(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_line(std::string& line, const Glib::RefPtr& cancellable) -#else -bool DataInputStream::read_line(std::string& line, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_line = g_data_input_stream_read_line(gobj(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - cancellable->gobj(), - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_line) { - line = c_line; - g_free (c_line); - return true; - } - // end of stream reached, return failure status - return false; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_line(std::string& line) -#else -bool DataInputStream::read_line(std::string& line, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_line = g_data_input_stream_read_line(gobj(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - NULL, - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_line) { - line = c_line; - g_free(c_line); - return true; - } - // end of stream reached, return failure status - return false; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable) -#else -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_str = g_data_input_stream_read_until(gobj(), - stop_chars.c_str(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - cancellable->gobj(), - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_str) { - data = c_str; - g_free (c_str); - return true; - } - // end of stream reached, return failure status - return false; -} - -/** non-cancellable version of read_until() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars) -#else -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_str = g_data_input_stream_read_until(gobj(), - stop_chars.c_str(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - NULL, - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_str) { - data = c_str; - g_free (c_str); - return true; - } - // end of stream reached, return failure status - return false; -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GDataInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& DataInputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &DataInputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_data_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void DataInputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* DataInputStream_Class::wrap_new(GObject* object) -{ - return new DataInputStream((GDataInputStream*)object); -} - - -/* The implementation: */ - -GDataInputStream* DataInputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -DataInputStream::DataInputStream(const Glib::ConstructParams& construct_params) -: - Gio::BufferedInputStream(construct_params) -{ - -} - -DataInputStream::DataInputStream(GDataInputStream* castitem) -: - Gio::BufferedInputStream((GBufferedInputStream*)(castitem)) -{} - - -DataInputStream::~DataInputStream() -{} - - -DataInputStream::CppClassType DataInputStream::datainputstream_class_; // initialize static member - -GType DataInputStream::get_type() -{ - return datainputstream_class_.init().get_type(); -} - -GType DataInputStream::get_base_type() -{ - return g_data_input_stream_get_type(); -} - - -DataInputStream::DataInputStream(const Glib::RefPtr& base_stream) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::BufferedInputStream(Glib::ConstructParams(datainputstream_class_.init(), "base_stream", const_cast(Glib::unwrap(base_stream)), static_cast(0))) -{ - - -} - -Glib::RefPtr DataInputStream::create(const Glib::RefPtr& base_stream) -{ - return Glib::RefPtr( new DataInputStream(base_stream) ); -} -void DataInputStream::set_byte_order(DataStreamByteOrder order) -{ -g_data_input_stream_set_byte_order(gobj(), ((GDataStreamByteOrder)(order))); -} - -DataStreamByteOrder DataInputStream::get_byte_order() const -{ - return ((DataStreamByteOrder)(g_data_input_stream_get_byte_order(const_cast(gobj())))); -} - -void DataInputStream::set_newline_type(DataStreamNewlineType type) -{ -g_data_input_stream_set_newline_type(gobj(), ((GDataStreamNewlineType)(type))); -} - -DataStreamNewlineType DataInputStream::get_newline_type() const -{ - return ((DataStreamNewlineType)(g_data_input_stream_get_newline_type(const_cast(gobj())))); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guchar DataInputStream::read_byte(const Glib::RefPtr& cancellable) -#else -guchar DataInputStream::read_byte(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guchar retvalue = g_data_input_stream_read_byte(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint16 DataInputStream::read_int16(const Glib::RefPtr& cancellable) -#else -gint16 DataInputStream::read_int16(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint16 retvalue = g_data_input_stream_read_int16(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint16 DataInputStream::read_uint16(const Glib::RefPtr& cancellable) -#else -guint16 DataInputStream::read_uint16(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint16 retvalue = g_data_input_stream_read_uint16(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint32 DataInputStream::read_int32(const Glib::RefPtr& cancellable) -#else -gint32 DataInputStream::read_int32(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint32 retvalue = g_data_input_stream_read_int32(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint32 DataInputStream::read_uint32(const Glib::RefPtr& cancellable) -#else -guint32 DataInputStream::read_uint32(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint32 retvalue = g_data_input_stream_read_uint32(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint64 DataInputStream::read_int64(const Glib::RefPtr& cancellable) -#else -gint64 DataInputStream::read_int64(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint64 retvalue = g_data_input_stream_read_int64(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint64 DataInputStream::read_uint64(const Glib::RefPtr& cancellable) -#else -guint64 DataInputStream::read_uint64(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint64 retvalue = g_data_input_stream_read_uint64(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/datainputstream.h b/libs/glibmm2/gio/giomm/datainputstream.h deleted file mode 100644 index 0e22e2e60b..0000000000 --- a/libs/glibmm2/gio/giomm/datainputstream.h +++ /dev/null @@ -1,382 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DATAINPUTSTREAM_H -#define _GIOMM_DATAINPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GDataInputStream GDataInputStream; -typedef struct _GDataInputStreamClass GDataInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class DataInputStream_Class; } // namespace Gio -namespace Gio -{ - -/** - * An implementation of BufferedInputStream that allows for high-level data - * manipulation of arbitrary data (including binary operations). - * - * @ingroup Streams - * - * @newin2p16 - */ - -class DataInputStream : public Gio::BufferedInputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef DataInputStream CppObjectType; - typedef DataInputStream_Class CppClassType; - typedef GDataInputStream BaseObjectType; - typedef GDataInputStreamClass BaseClassType; - -private: friend class DataInputStream_Class; - static CppClassType datainputstream_class_; - -private: - // noncopyable - DataInputStream(const DataInputStream&); - DataInputStream& operator=(const DataInputStream&); - -protected: - explicit DataInputStream(const Glib::ConstructParams& construct_params); - explicit DataInputStream(GDataInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~DataInputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GDataInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GDataInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GDataInputStream* gobj_copy(); - -private: - - -protected: - explicit DataInputStream(const Glib::RefPtr& base_stream); - -public: - - - static Glib::RefPtr create(const Glib::RefPtr& base_stream); - - - /** This function sets the byte order for the given @a stream. All subsequent - * reads from the @a stream will be read in the given @a order. - * @param order A DataStreamByteOrder to set. - */ - void set_byte_order(DataStreamByteOrder order); - - /** Gets the byte order for the data input stream. - * @return The @a stream's current DataStreamByteOrder. - */ - DataStreamByteOrder get_byte_order() const; - - /** Sets the newline type for the @a stream. - * - * Note that using G_DATA_STREAM_NEWLINE_TYPE_ANY is slightly unsafe. If a read - * chunk ends in "CR" we must read an additional byte to know if this is "CR" or - * "CR LF", and this might block if there is no more data availible. - * @param type The type of new line return as DataStreamNewlineType. - */ - void set_newline_type(DataStreamNewlineType type); - - /** Gets the current newline type for the @a stream. - * @return DataStreamNewlineType for the given @a stream. - */ - DataStreamNewlineType get_newline_type() const; - - - /** Reads an unsigned 8-bit/1-byte value from @a stream. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return An unsigned 8-bit/1-byte value read from the @a stream or %0 - * if an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guchar read_byte(const Glib::RefPtr& cancellable); -#else - guchar read_byte(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of read_byte() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guchar read_byte(); -#else - guchar read_byte(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads a 16-bit/2-byte value from @a stream. - * - * In order to get the correct byte order for this read operation, - * see Glib::data_stream_get_byte_order() and Glib::data_stream_set_byte_order(). - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return A signed 16-bit/2-byte value read from @a stream or %0 if - * an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint16 read_int16(const Glib::RefPtr& cancellable); -#else - gint16 read_int16(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_int16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint16 read_int16(); -#else - gint16 read_int16(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads an unsigned 16-bit/2-byte value from @a stream. - * - * In order to get the correct byte order for this read operation, - * see Glib::data_stream_get_byte_order() and Glib::data_stream_set_byte_order(). - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return An unsigned 16-bit/2-byte value read from the @a stream or %0 if - * an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint16 read_uint16(const Glib::RefPtr& cancellable); -#else - guint16 read_uint16(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -//TODO: Real documentation: - /** non-cancellable version of read_uint16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint16 read_uint16(); -#else - guint16 read_uint16(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads a signed 32-bit/4-byte value from @a stream. - * - * In order to get the correct byte order for this read operation, - * see Glib::data_stream_get_byte_order() and Glib::data_stream_set_byte_order(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return A signed 32-bit/4-byte value read from the @a stream or %0 if - * an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint32 read_int32(const Glib::RefPtr& cancellable); -#else - gint32 read_int32(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of read_int32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint32 read_int32(); -#else - gint32 read_int32(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads an unsigned 32-bit/4-byte value from @a stream. - * - * In order to get the correct byte order for this read operation, - * see Glib::data_stream_get_byte_order() and Glib::data_stream_set_byte_order(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return An unsigned 32-bit/4-byte value read from the @a stream or %0 if - * an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint32 read_uint32(const Glib::RefPtr& cancellable); -#else - guint32 read_uint32(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_uint32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint32 read_uint32(); -#else - guint32 read_uint32(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads a 64-bit/8-byte value from @a stream. - * - * In order to get the correct byte order for this read operation, - * see Glib::data_stream_get_byte_order() and Glib::data_stream_set_byte_order(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return A signed 64-bit/8-byte value read from @a stream or %0 if - * an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint64 read_int64(const Glib::RefPtr& cancellable); -#else - gint64 read_int64(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_int64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint64 read_int64(); -#else - gint64 read_int64(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads an unsigned 64-bit/8-byte value from @a stream. - * - * In order to get the correct byte order for this read operation, - * see Glib::data_stream_get_byte_order(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return An unsigned 64-bit/8-byte read from @a stream or %0 if - * an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint64 read_uint64(const Glib::RefPtr& cancellable); -#else - guint64 read_uint64(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of read_uint64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint64 read_uint64(); -#else - guint64 read_uint64(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - // FIXME: In C, these functions return NULL if there is an error (i.e. end of - // stream reached), but if we use std::string, we don't have a way to tell an - // empty string from NULL. Perhaps we should use raw pointers as in C, but - // that would mean we need to worry about freeing the C string... -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_line(std::string& line, const Glib::RefPtr& cancellable); -#else - bool read_line(std::string& line, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_line() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_line(std::string& line); -#else - bool read_line(std::string& line, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable); -#else - bool read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_until() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_until(std::string& data, const std::string& stop_chars); -#else - bool read_until(std::string& data, const std::string& stop_chars, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::DataInputStream - */ - Glib::RefPtr wrap(GDataInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_DATAINPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/dataoutputstream.cc b/libs/glibmm2/gio/giomm/dataoutputstream.cc deleted file mode 100644 index 366e612de7..0000000000 --- a/libs/glibmm2/gio/giomm/dataoutputstream.cc +++ /dev/null @@ -1,489 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_byte(guchar data) -#else -bool DataOutputStream::put_byte(guchar data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guchar retvalue = g_data_output_stream_put_byte(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int16(gint16 data) -#else -bool DataOutputStream::put_int16(gint16 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint16 retvalue = g_data_output_stream_put_int16(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint16(guint16 data) -#else -bool DataOutputStream::put_uint16(guint16 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint16 retvalue = g_data_output_stream_put_uint16(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int32(gint32 data) -#else -bool DataOutputStream::put_int32(gint32 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint32 retvalue = g_data_output_stream_put_int32(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint32(guint32 data) -#else -bool DataOutputStream::put_uint32(guint32 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint32 retvalue = g_data_output_stream_put_uint32(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int64(gint64 data) -#else -bool DataOutputStream::put_int64(gint64 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint64 retvalue = g_data_output_stream_put_int64(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint64(guint64 data) -#else -bool DataOutputStream::put_uint64(guint64 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint64 retvalue = g_data_output_stream_put_uint64(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_string(std::string str) -#else -bool DataOutputStream::put_string(std::string str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retval = g_data_output_stream_put_string(gobj(), - str.c_str (), - NULL, - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - return retval; -} - - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GDataOutputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& DataOutputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &DataOutputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_data_output_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void DataOutputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* DataOutputStream_Class::wrap_new(GObject* object) -{ - return new DataOutputStream((GDataOutputStream*)object); -} - - -/* The implementation: */ - -GDataOutputStream* DataOutputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -DataOutputStream::DataOutputStream(const Glib::ConstructParams& construct_params) -: - Gio::BufferedOutputStream(construct_params) -{ - -} - -DataOutputStream::DataOutputStream(GDataOutputStream* castitem) -: - Gio::BufferedOutputStream((GBufferedOutputStream*)(castitem)) -{} - - -DataOutputStream::~DataOutputStream() -{} - - -DataOutputStream::CppClassType DataOutputStream::dataoutputstream_class_; // initialize static member - -GType DataOutputStream::get_type() -{ - return dataoutputstream_class_.init().get_type(); -} - -GType DataOutputStream::get_base_type() -{ - return g_data_output_stream_get_type(); -} - - -DataOutputStream::DataOutputStream(const Glib::RefPtr& base_stream) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::BufferedOutputStream(Glib::ConstructParams(dataoutputstream_class_.init(), "base_stream", const_cast(Glib::unwrap(base_stream)), static_cast(0))) -{ - - -} - -Glib::RefPtr DataOutputStream::create(const Glib::RefPtr& base_stream) -{ - return Glib::RefPtr( new DataOutputStream(base_stream) ); -} -void DataOutputStream::set_byte_order(DataStreamByteOrder order) -{ -g_data_output_stream_set_byte_order(gobj(), ((GDataStreamByteOrder)(order))); -} - -DataStreamByteOrder DataOutputStream::get_byte_order() const -{ - return ((DataStreamByteOrder)(g_data_output_stream_get_byte_order(const_cast(gobj())))); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_byte(guchar data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_byte(guchar data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_byte(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int16(gint16 data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_int16(gint16 data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_int16(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint16(guint16 data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_uint16(guint16 data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_uint16(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int32(gint32 data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_int32(gint32 data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_int32(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint32(guint32 data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_uint32(guint32 data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_uint32(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int64(gint64 data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_int64(gint64 data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_int64(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint64(guint64 data, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_uint64(guint64 data, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_uint64(gobj(), data, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_string(std::string str, const Glib::RefPtr& cancellable) -#else -bool DataOutputStream::put_string(std::string str, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_data_output_stream_put_string(gobj(), str.c_str(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/dataoutputstream.h b/libs/glibmm2/gio/giomm/dataoutputstream.h deleted file mode 100644 index 94fbca62be..0000000000 --- a/libs/glibmm2/gio/giomm/dataoutputstream.h +++ /dev/null @@ -1,318 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DATAOUTPUTSTREAM_H -#define _GIOMM_DATAOUTPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GDataOutputStream GDataOutputStream; -typedef struct _GDataOutputStreamClass GDataOutputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class DataOutputStream_Class; } // namespace Gio -namespace Gio -{ - -/** - * An implementation of BufferedOutputStream that allows for high-level data - * manipulation of arbitrary data (including binary operations). - * - * @ingroup Streams - * - * @newin2p16 - */ - -class DataOutputStream : public Gio::BufferedOutputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef DataOutputStream CppObjectType; - typedef DataOutputStream_Class CppClassType; - typedef GDataOutputStream BaseObjectType; - typedef GDataOutputStreamClass BaseClassType; - -private: friend class DataOutputStream_Class; - static CppClassType dataoutputstream_class_; - -private: - // noncopyable - DataOutputStream(const DataOutputStream&); - DataOutputStream& operator=(const DataOutputStream&); - -protected: - explicit DataOutputStream(const Glib::ConstructParams& construct_params); - explicit DataOutputStream(GDataOutputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~DataOutputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GDataOutputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GDataOutputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GDataOutputStream* gobj_copy(); - -private: - - -protected: - explicit DataOutputStream(const Glib::RefPtr& base_stream); - -public: - - - static Glib::RefPtr create(const Glib::RefPtr& base_stream); - - - /** Sets the byte order of the data output stream to @a order. - * @param order A DataStreamByteOrder. - */ - void set_byte_order(DataStreamByteOrder order); - - /** Gets the byte order for the stream. - * @return The DataStreamByteOrder for the @a stream. - */ - DataStreamByteOrder get_byte_order() const; - - - /** Puts a byte into the output stream. - * @param data A #guchar. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_byte(guchar data, const Glib::RefPtr& cancellable); -#else - bool put_byte(guchar data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of put_byte() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_byte(guchar data); -#else - bool put_byte(guchar data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts a signed 16-bit integer into the output stream. - * @param data A #gint16. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int16(gint16 data, const Glib::RefPtr& cancellable); -#else - bool put_int16(gint16 data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of put_int16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int16(gint16 data); -#else - bool put_int16(gint16 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts an unsigned 16-bit integer into the output stream. - * @param data A #guint16. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint16(guint16 data, const Glib::RefPtr& cancellable); -#else - bool put_uint16(guint16 data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of put_uint16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint16(guint16 data); -#else - bool put_uint16(guint16 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts a signed 32-bit integer into the output stream. - * @param data A #gint32. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int32(gint32 data, const Glib::RefPtr& cancellable); -#else - bool put_int32(gint32 data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of put_int32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int32(gint32 data); -#else - bool put_int32(gint32 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts an unsigned 32-bit integer into the stream. - * @param data A #guint32. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint32(guint32 data, const Glib::RefPtr& cancellable); -#else - bool put_uint32(guint32 data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of put_uint32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint32(guint32 data); -#else - bool put_uint32(guint32 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts a signed 64-bit integer into the stream. - * @param data A #gint64. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int64(gint64 data, const Glib::RefPtr& cancellable); -#else - bool put_int64(gint64 data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of put_int64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int64(gint64 data); -#else - bool put_int64(gint64 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts an unsigned 64-bit integer into the stream. - * @param data A #guint64. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a data was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint64(guint64 data, const Glib::RefPtr& cancellable); -#else - bool put_uint64(guint64 data, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of put_uint64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint64(guint64 data); -#else - bool put_uint64(guint64 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Puts a string into the output stream. - * @param str A string. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if @a string was successfully added to the @a stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_string(std::string str, const Glib::RefPtr& cancellable); -#else - bool put_string(std::string str, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** non-cancellable version of put_string() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_string(std::string str); -#else - bool put_string(std::string str, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::DataOutputStream - */ - Glib::RefPtr wrap(GDataOutputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_DATAOUTPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/desktopappinfo.cc b/libs/glibmm2/gio/giomm/desktopappinfo.cc deleted file mode 100644 index 1b4909af51..0000000000 --- a/libs/glibmm2/gio/giomm/desktopappinfo.cc +++ /dev/null @@ -1,177 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GDesktopAppInfo* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& DesktopAppInfo_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &DesktopAppInfo_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_desktop_app_info_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - AppInfo::add_interface(get_type()); - - } - - return *this; -} - -void DesktopAppInfo_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* DesktopAppInfo_Class::wrap_new(GObject* object) -{ - return new DesktopAppInfo((GDesktopAppInfo*)object); -} - - -/* The implementation: */ - -GDesktopAppInfo* DesktopAppInfo::gobj_copy() -{ - reference(); - return gobj(); -} - -DesktopAppInfo::DesktopAppInfo(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -DesktopAppInfo::DesktopAppInfo(GDesktopAppInfo* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -DesktopAppInfo::~DesktopAppInfo() -{} - - -DesktopAppInfo::CppClassType DesktopAppInfo::desktopappinfo_class_; // initialize static member - -GType DesktopAppInfo::get_type() -{ - return desktopappinfo_class_.init().get_type(); -} - -GType DesktopAppInfo::get_base_type() -{ - return g_desktop_app_info_get_type(); -} - - -DesktopAppInfo::DesktopAppInfo(const std::string& desktop_id) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(desktopappinfo_class_.init(), "desktop_id", desktop_id.c_str(), static_cast(0))) -{ - - -} - -Glib::RefPtr DesktopAppInfo::create(const std::string& desktop_id) -{ - return Glib::RefPtr( new DesktopAppInfo(desktop_id) ); -} -Glib::RefPtr DesktopAppInfo::create_from_filename(const std::string& filename) -{ - return Glib::wrap(g_desktop_app_info_new_from_filename(filename.c_str())); -} - - -bool DesktopAppInfo::is_hidden() const -{ - return g_desktop_app_info_get_is_hidden(const_cast(gobj())); -} - -void DesktopAppInfo::set_desktop_env(const std::string& desktop_env) -{ -g_desktop_app_info_set_desktop_env(desktop_env.c_str()); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/desktopappinfo.h b/libs/glibmm2/gio/giomm/desktopappinfo.h deleted file mode 100644 index ae648f2ea3..0000000000 --- a/libs/glibmm2/gio/giomm/desktopappinfo.h +++ /dev/null @@ -1,182 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DESKTOPAPPINFO_H -#define _GIOMM_DESKTOPAPPINFO_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GDesktopAppInfo GDesktopAppInfo; -typedef struct _GDesktopAppInfoClass GDesktopAppInfoClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class DesktopAppInfo_Class; } // namespace Gio -namespace Gio -{ - -/** - * DesktopAppInfo is an implementation of AppInfo based on desktop files. - * - * @newin2p16 - */ - -class DesktopAppInfo -: public Glib::Object, - public AppInfo -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef DesktopAppInfo CppObjectType; - typedef DesktopAppInfo_Class CppClassType; - typedef GDesktopAppInfo BaseObjectType; - typedef GDesktopAppInfoClass BaseClassType; - -private: friend class DesktopAppInfo_Class; - static CppClassType desktopappinfo_class_; - -private: - // noncopyable - DesktopAppInfo(const DesktopAppInfo&); - DesktopAppInfo& operator=(const DesktopAppInfo&); - -protected: - explicit DesktopAppInfo(const Glib::ConstructParams& construct_params); - explicit DesktopAppInfo(GDesktopAppInfo* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~DesktopAppInfo(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GDesktopAppInfo* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GDesktopAppInfo* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GDesktopAppInfo* gobj_copy(); - -private: - - - //This is not available in on Win32. -//This source file will not be compiled, -//and the class will not be registered in wrap_init.h or wrap_init.cc - - -protected: - explicit DesktopAppInfo(const std::string& desktop_id); - -public: - - static Glib::RefPtr create(const std::string& desktop_id); - - - //TODO: Use _WRAP_CREATE(), but how do we override the constructor for this? murrayc. - - /** Creates a new DesktopAppInfo. - * @param filename A string containing a file name. - * @return A new DesktopAppInfo or 0 on error. - */ - static Glib::RefPtr create_from_filename(const std::string& filename); - - - /** A desktop file is hidden if the Hidden key in it is - * set to True. - * @return true if hidden, false otherwise. - */ - bool is_hidden() const; - - /** Sets the name of the desktop that the application is running in. - * This is used by g_app_info_should_show() to evaluate the - * OnlyShowIn and NotShowIn - * desktop entry fields. - * - * The Desktop - * Menu specification recognizes the following: - * <simplelist> - * <member>GNOME</member> - * <member>KDE</member> - * <member>ROX</member> - * <member>XFCE</member> - * <member>Old</member> - * </simplelist> - * - * Should be called only once; subsequent calls are ignored. - * @param desktop_env A string specifying what desktop this is. - */ - static void set_desktop_env(const std::string& desktop_env); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::DesktopAppInfo - */ - Glib::RefPtr wrap(GDesktopAppInfo* object, bool take_copy = false); -} - - -#endif /* _GIOMM_DESKTOPAPPINFO_H */ - diff --git a/libs/glibmm2/gio/giomm/drive.cc b/libs/glibmm2/gio/giomm/drive.cc deleted file mode 100644 index e17ca02eb3..0000000000 --- a/libs/glibmm2/gio/giomm/drive.cc +++ /dev/null @@ -1,328 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -void Drive::eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_eject(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::eject(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_eject(gobj(), - static_cast(flags), - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::eject(MountUnmountFlags flags) -{ - g_drive_eject(gobj(), - static_cast(flags), - NULL, // cancellable - NULL, - NULL); -} - -void Drive::poll_for_media(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_poll_for_media(gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::poll_for_media(const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_poll_for_media(gobj(), - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::poll_for_media() -{ - g_drive_poll_for_media(gobj(), - NULL, // cancellable - NULL, - NULL); -} - -} // namespace Gio - - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GDrive* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& Drive_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &Drive_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_drive_get_type(); - } - - return *this; -} - -void Drive_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* Drive_Class::wrap_new(GObject* object) -{ - return new Drive((GDrive*)(object)); -} - - -/* The implementation: */ - -Drive::Drive() -: - Glib::Interface(drive_class_.init()) -{} - -Drive::Drive(GDrive* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -Drive::Drive(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -Drive::~Drive() -{} - -// static -void Drive::add_interface(GType gtype_implementer) -{ - drive_class_.init().add_interface(gtype_implementer); -} - -Drive::CppClassType Drive::drive_class_; // initialize static member - -GType Drive::get_type() -{ - return drive_class_.init().get_type(); -} - -GType Drive::get_base_type() -{ - return g_drive_get_type(); -} - - -Glib::ustring Drive::get_name() const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_drive_get_name(const_cast(gobj()))); -} - -Glib::RefPtr Drive::get_icon() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_drive_get_icon(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Drive::get_icon() const -{ - return const_cast(this)->get_icon(); -} - -bool Drive::has_volumes() const -{ - return g_drive_has_volumes(const_cast(gobj())); -} - -Glib::ListHandle< Glib::RefPtr > Drive::get_volumes() -{ - return Glib::ListHandle< Glib::RefPtr >(g_drive_get_volumes(gobj()), Glib::OWNERSHIP_SHALLOW); -} - -bool Drive::is_media_removable() const -{ - return g_drive_is_media_removable(const_cast(gobj())); -} - -bool Drive::has_media() const -{ - return g_drive_has_media(const_cast(gobj())); -} - -bool Drive::is_media_check_automatic() const -{ - return g_drive_is_media_check_automatic(const_cast(gobj())); -} - -bool Drive::can_poll_for_media() const -{ - return g_drive_can_poll_for_media(const_cast(gobj())); -} - -bool Drive::can_eject() const -{ - return g_drive_can_eject(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Drive::eject_finish(const Glib::RefPtr& result) -#else -bool Drive::eject_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_drive_eject_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Drive::poll_for_media_finish(const Glib::RefPtr& result) -#else -bool Drive::poll_for_media_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_drive_poll_for_media_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -std::string Drive::get_identifier(const std::string& kind) const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_drive_get_identifier(const_cast(gobj()), kind.c_str())); -} - -Glib::StringArrayHandle Drive::enumerate_identifiers() const -{ - return Glib::StringArrayHandle(g_drive_enumerate_identifiers(const_cast(gobj()))); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/drive.h b/libs/glibmm2/gio/giomm/drive.h deleted file mode 100644 index 0ce1898523..0000000000 --- a/libs/glibmm2/gio/giomm/drive.h +++ /dev/null @@ -1,342 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DRIVE_H -#define _GIOMM_DRIVE_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -//#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GDriveIface GDriveIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GDrive GDrive; -typedef struct _GDriveClass GDriveClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class Drive_Class; } // namespace Gio -namespace Gio -{ - -/** Virtual File System drive management. - * - * This represent a piece of hardware connected to the machine. It's generally only created for removable hardware or hardware with removable media. - * Gio::Drive is a container class for Gio::Volume objects that stem from the same piece of media. As such, Gio::Drive abstracts a drive with - * (or without) removable media and provides operations for querying whether media is available, determing whether media change is automatically - * detected and ejecting the media. - * - * If the Gio::Drive reports that media isn't automatically detected, one can poll for media; typically one should not do this periodically as a - * poll for media operation is potententially expensive and may spin up the drive, creating noise. - * - * @newin2p16 - */ - -class Drive : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef Drive CppObjectType; - typedef Drive_Class CppClassType; - typedef GDrive BaseObjectType; - typedef GDriveIface BaseClassType; - -private: - friend class Drive_Class; - static CppClassType drive_class_; - - // noncopyable - Drive(const Drive&); - Drive& operator=(const Drive&); - -protected: - Drive(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit Drive(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit Drive(GDrive* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~Drive(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GDrive* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GDrive* gobj() const { return reinterpret_cast(gobject_); } - -private: - -public: - - - /** Gets the name of @a drive. - * @return A string containing @a drive's name. The returned - * string should be freed when no longer needed. - */ - Glib::ustring get_name() const; - - - /** Gets the icon for @a drive. - * @return Icon for the @a drive. - */ - Glib::RefPtr get_icon(); - - /** Gets the icon for @a drive. - * @return Icon for the @a drive. - */ - Glib::RefPtr get_icon() const; - - - /** Check if @a drive has any mountable volumes. - * @return true if the @a drive contains volumes, false otherwise. - */ - bool has_volumes() const; - - - /** Get a list of mountable volumes for @a drive. - * - * The returned list should be freed with Glib::list_free(), after - * its elements have been unreffed with Glib::object_unref(). - * @return List containing any Volume<!---->s on the given @a drive. - */ - Glib::ListHandle< Glib::RefPtr > get_volumes(); - - - /** Checks if the @a drive supports removable media. - * @return true if @a drive supports removable media, false otherwise. - */ - bool is_media_removable() const; - - /** Checks if the @a drive has media. Note that the OS may not be polling - * the drive for media changes; see g_drive_is_media_check_automatic() - * for more details. - * @return true if @a drive has media, false otherwise. - */ - bool has_media() const; - - /** Checks if @a drive is capabable of automatically detecting media changes. - * @return true if the @a drive is capabable of automatically detecting media changes, false otherwise. - */ - bool is_media_check_automatic() const; - - /** Checks if a drive can be polled for media changes. - * @return true if the @a drive can be polled for media changes. false otherwise. - */ - bool can_poll_for_media() const; - - /** Checks if a drive can be ejected. - * @return true if the @a drive can be ejected. false otherwise. - */ - bool can_eject() const; - - /** Ejects the drive. - * @param slot A callback which will be called when the eject is completed or canceled. - * @param flags Flags affecting the unmount if required for eject. - * @param cancellable A cancellable object which can be used to cancel the eject. - */ - void eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects the drive. - * @param slot A callback which will be called when the eject is completed. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Ejects the drive. - * @param slot A callback which will be called when the eject is completed. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Finishes ejecting a drive. - * @param result A AsyncResult. - * @return true if the drive has been ejected successfully, - * false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool eject_finish(const Glib::RefPtr& result); -#else - bool eject_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Polls drive to see if media has been inserted or removed. - * @param slot A callback which will be called when the poll is completed. - * @param cancellable A cancellable object which can be used to cancel the operation. - */ - void poll_for_media(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable); - - /** Polls drive to see if media has been inserted or removed. - * @param slot A callback which will be called when the poll is completed. - */ - void poll_for_media(const SlotAsyncReady& slot); - - /** Polls drive to see if media has been inserted or removed. - */ - void poll_for_media(); - - - /** Finishes poll_for_mediaing a drive. - * @param result A AsyncResult. - * @return true if the drive has been poll_for_mediaed successfully, - * false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool poll_for_media_finish(const Glib::RefPtr& result); -#else - bool poll_for_media_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the identifier of the given kind for @a drive. - * @param kind The kind of identifier to return. - * @return A newly allocated string containing the - * requested identfier, or 0 if the Drive - * doesn't have this kind of identifier. - */ - std::string get_identifier(const std::string& kind) const; - - /** Gets the kinds of identifiers that @a drive has. - * Use Glib::drive_get_identifer() to obtain the identifiers - * themselves. - * @return A 0-terminated array of strings containing - * kinds of identifiers. Use Glib::strfreev() to free. - */ - Glib::StringArrayHandle enumerate_identifiers() const; - - //_WRAP_VFUNC(Glib::ustring get_name() const, get_name) - //Careful of ref-counting: //_WRAP_VFUNC(Glib::RefPtr get_icon() const, get_icon) - //_WRAP_VFUNC(bool has_volumes() const, has_volumes) - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - -namespace Glib -{ - -//Pre-declare this so we can use it in TypeTrait: -Glib::RefPtr wrap(GDrive* object, bool take_copy); - -namespace Container_Helpers -{ - -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), - * instead of a specific Glib::wrap(GSomeInterface*), - * would not return a wrapper for an interface. - */ -template <> -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef GDrive* CType; - typedef GDrive* CTypeNonConst; - - static CType to_c_type (const CppType& item) - { return Glib::unwrap (item); } - - static CppType to_cpp_type (const CType& item) - { - //Use a specific Glib::wrap() function, - //because CType has the specific type (not just GObject): - return Glib::wrap(item, true /* take_copy */); - } - - static void release_c_type (CType item) - { - GLIBMM_DEBUG_UNREFERENCE(0, item); - g_object_unref(item); - } -}; - -} // Container_Helpers -} // Glib - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::Drive - */ - Glib::RefPtr wrap(GDrive* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_DRIVE_H */ - diff --git a/libs/glibmm2/gio/giomm/enums.cc b/libs/glibmm2/gio/giomm/enums.cc deleted file mode 100644 index 00310d7ffd..0000000000 --- a/libs/glibmm2/gio/giomm/enums.cc +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -namespace -{ -} // anonymous namespace - - diff --git a/libs/glibmm2/gio/giomm/enums.h b/libs/glibmm2/gio/giomm/enums.h deleted file mode 100644 index 6737438089..0000000000 --- a/libs/glibmm2/gio/giomm/enums.h +++ /dev/null @@ -1,63 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ENUMS_H -#define _GIOMM_ENUMS_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Gio -{ - -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - */ -enum DataStreamByteOrder -{ - DATA_STREAM_BYTE_ORDER_BIG_ENDIAN, - DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN, - DATA_STREAM_BYTE_ORDER_HOST_ENDIAN -}; - - -/** - * @ingroup giommEnums - */ -enum DataStreamNewlineType -{ - DATA_STREAM_NEWLINE_TYPE_LF, - DATA_STREAM_NEWLINE_TYPE_CR, - DATA_STREAM_NEWLINE_TYPE_CR_LF, - DATA_STREAM_NEWLINE_TYPE_ANY -}; - - -} // namespace Gio - - -#endif /* _GIOMM_ENUMS_H */ - diff --git a/libs/glibmm2/gio/giomm/error.cc b/libs/glibmm2/gio/giomm/error.cc deleted file mode 100644 index ed7f4f7f55..0000000000 --- a/libs/glibmm2/gio/giomm/error.cc +++ /dev/null @@ -1,66 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -Gio::Error::Error(Gio::Error::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_IO_ERROR, error_code, error_message) -{} - -Gio::Error::Error(GError* gobject) -: - Glib::Error (gobject) -{} - -Gio::Error::Code Gio::Error::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Gio::Error::throw_func(GError* gobject) -{ - throw Gio::Error(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Gio::Error::throw_func(GError* gobject) -{ - return std::auto_ptr(new Gio::Error(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/gio/giomm/error.h b/libs/glibmm2/gio/giomm/error.h deleted file mode 100644 index a0dfb4235e..0000000000 --- a/libs/glibmm2/gio/giomm/error.h +++ /dev/null @@ -1,117 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ERROR_H -#define _GIOMM_ERROR_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -// There have been issues with other libraries defining HOST_NOT_FOUND (e.g. -// netdb.h). As a workaround, we added the alternate name HOST_WAS_NOT_FOUND. -// Portable code should not use HOST_NOT_FOUND. Undefining it here (and -// restoring it below) will allow programs to compile even if they include -// netdb.h. See Bug #529496 -#ifdef HOST_NOT_FOUND -#define GIOMM_SAVED_HOST_NOT_FOUND HOST_NOT_FOUND -#undef HOST_NOT_FOUND -#endif // HOST_NOT_FOUND - - -namespace Gio -{ - -//Note that GIOErrorEnum is not named GIOError in gio because there is already a GIOError in glib, -//But we can have both Glib::Error and Gio::Error in C++. - -/** Exception class for giomm errors. - */ -class Error : public Glib::Error -{ -public: - enum Code - { - FAILED, - NOT_FOUND, - EXISTS, - IS_DIRECTORY, - NOT_DIRECTORY, - NOT_EMPTY, - NOT_REGULAR_FILE, - NOT_SYMBOLIC_LINK, - NOT_MOUNTABLE_FILE, - FILENAME_TOO_LONG, - INVALID_FILENAME, - TOO_MANY_LINKS, - NO_SPACE, - INVALID_ARGUMENT, - PERMISSION_DENIED, - NOT_SUPPORTED, - NOT_MOUNTED, - ALREADY_MOUNTED, - CLOSED, - CANCELLED, - PENDING, - READ_ONLY, - CANT_CREATE_BACKUP, - WRONG_ETAG, - TIMED_OUT, - WOULD_RECURSE, - BUSY, - WOULD_BLOCK, - HOST_NOT_FOUND, - HOST_WAS_NOT_FOUND = HOST_NOT_FOUND, - WOULD_MERGE, - FAILED_HANDLED - }; - - Error(Code error_code, const Glib::ustring& error_message); - explicit Error(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -} // namespace Gio - -#ifdef GIOMM_SAVED_HOST_NOT_FOUND -// restore the previously-defined HOST_NOT_FOUND macro -#define HOST_NOT_FOUND GIOMM_SAVED_HOST_NOT_FOUND -#undef GIOMM_SAVED_HOST_NOT_FOUND -#endif // GIOMM_SAVED_HOST_NOT_FOUND - - -#endif /* _GIOMM_ERROR_H */ - diff --git a/libs/glibmm2/gio/giomm/file.cc b/libs/glibmm2/gio/giomm/file.cc deleted file mode 100644 index ae39703da0..0000000000 --- a/libs/glibmm2/gio/giomm/file.cc +++ /dev/null @@ -1,2993 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include "slot_async.h" - -namespace -{ - -typedef std::pair LoadPartialSlots; - -static void -SignalProxy_file_progress_callback(goffset current_num_bytes, - goffset total_num_bytes, - gpointer data) -{ - Gio::File::SlotFileProgress* the_slot = static_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - - (*the_slot)(current_num_bytes, total_num_bytes); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete the_slot; -} - -static gboolean -SignalProxy_load_partial_contents_read_more_callback(const char* file_contents, goffset file_size, gpointer data) -{ - LoadPartialSlots* slot_pair = static_cast(data); - Gio::File::SlotReadMore* the_slot = slot_pair->first; - - bool result = false; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - - result = (*the_slot)(file_contents, file_size); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return result; -} - -// Same as SignalProxy_async_callback, except that this one knows that -// the slot is packed in a pair. The operation is assumed to be finished -// after the callback is triggered, so we delete that pair here. -static void -SignalProxy_load_partial_contents_ready_callback(GObject*, GAsyncResult* res, void* data) -{ - LoadPartialSlots* slot_pair = static_cast(data); - Gio::SlotAsyncReady* the_slot = slot_pair->second; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr result = Glib::wrap(res, true /* take copy */); - (*the_slot)(result); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete the_slot; - delete slot_pair->first; // read_more slot - delete slot_pair; -} - -} // anonymous namespace - -namespace Gio { - -Glib::RefPtr -File::create_for_path(const std::string& path) -{ - GFile* cfile = g_file_new_for_path(path.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -Glib::RefPtr -File::create_for_uri(const std::string& uri) -{ - GFile* cfile = g_file_new_for_uri(uri.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -Glib::RefPtr -File::create_for_commandline_arg(const std::string& arg) -{ - GFile* cfile = g_file_new_for_commandline_arg(arg.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -Glib::RefPtr -File::create_for_parse_name(const Glib::ustring& parse_name) -{ - GFile* cfile = g_file_parse_name(parse_name.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -void -File::read_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_read_async(gobj(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::read_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_read_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::append_to_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_append_to_async(gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::append_to_async(const SlotAsyncReady& slot, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_append_to_async(gobj(), - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -File::create_file_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_create_async(gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::create_file_async(const SlotAsyncReady& slot, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_create_async(gobj(), - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_async(gobj(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_async(const SlotAsyncReady& slot, const std::string& etag, bool make_backup, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_async(gobj(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags) const -#else -Glib::RefPtr File::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_info(const_cast(gobj()), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_info(const std::string& attributes, FileQueryInfoFlags flags) const -#else -Glib::RefPtr File::query_info(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_info(const_cast(gobj()), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -bool File::query_exists() const -{ - return g_file_query_exists(const_cast(gobj()), NULL); -} - -FileType File::query_file_type(FileQueryInfoFlags flags) const -{ - return (FileType)g_file_query_file_type(const_cast(gobj()), (GFileQueryInfoFlags)flags, NULL); -} - -void -File::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_info_async(const_cast(gobj()), - attributes.c_str(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::query_info_async(const SlotAsyncReady& slot, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_info_async(const_cast(gobj()), - attributes.c_str(), - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes) -#else -Glib::RefPtr File::query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_filesystem_info(gobj(), attributes.c_str(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_filesystem_info(const std::string& attributes) -#else -Glib::RefPtr File::query_filesystem_info(const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_filesystem_info(gobj(), attributes.c_str(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -File::query_filesystem_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_filesystem_info_async(const_cast(gobj()), - attributes.c_str(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::query_filesystem_info_async(const SlotAsyncReady& slot, const std::string& attributes, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_filesystem_info_async(const_cast(gobj()), - attributes.c_str(), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags) -#else -Glib::RefPtr File::enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerate_children(gobj(), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::enumerate_children(const std::string& attributes, FileQueryInfoFlags flags) -#else -Glib::RefPtr File::enumerate_children(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerate_children(gobj(), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -File::enumerate_children_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerate_children_async(gobj(), - attributes.c_str(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::enumerate_children_async(const SlotAsyncReady& slot, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerate_children_async(gobj(), - attributes.c_str(), - static_cast(flags), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::set_display_name(const Glib::ustring& display_name) -#else -Glib::RefPtr File::set_display_name(const Glib::ustring& display_name, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_set_display_name(gobj(), display_name.c_str(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void -File::set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_display_name_async(gobj(), - display_name.c_str(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_display_name_async(gobj(), - display_name.c_str(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags) -#else -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_copy(gobj(), - destination->gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags) -#else -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_copy(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy(const Glib::RefPtr& destination, FileCopyFlags flags) -#else -bool -File::copy(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res = g_file_copy(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotFileProgress& slot_progress, - const SlotAsyncReady& slot_ready, - const Glib::RefPtr& cancellable, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - SlotFileProgress* slot_progress_copy = new SlotFileProgress(slot_progress); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_file_progress_callback, - slot_progress_copy, - &SignalProxy_async_callback, - slot_ready_copy); -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotAsyncReady& slot_ready, - const Glib::RefPtr& cancellable, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - NULL, - NULL, - &SignalProxy_async_callback, - slot_ready_copy); -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotFileProgress& slot_progress, - const SlotAsyncReady& slot_ready, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - SlotFileProgress* slot_progress_copy = new SlotFileProgress(slot_progress); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - NULL, - &SignalProxy_file_progress_callback, - slot_progress_copy, - &SignalProxy_async_callback, - slot_ready_copy); -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotAsyncReady& slot_ready, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - NULL, - NULL, - NULL, - &SignalProxy_async_callback, - slot_ready_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags) -#else -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a move of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_move(gobj(), - destination->gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags) -#else -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a move of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_move(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::move(const Glib::RefPtr& destination, FileCopyFlags flags) -#else -bool -File::move(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - res = g_file_move(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -void -File::set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_attributes_async(gobj(), - info->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_attributes_async(gobj(), - info->gobj(), - static_cast(flags), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::set_attributes_finish(const Glib::RefPtr& result, - const Glib::RefPtr& info) -#else -bool -File::set_attributes_finish(const Glib::RefPtr& result, - const Glib::RefPtr& info, - std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - GFileInfo* cinfo = info->gobj(); - bool res; - - res = g_file_set_attributes_finish(gobj(), - result->gobj(), - &cinfo, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_string(gobj(), attribute.c_str(), value.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_byte_string(gobj(), attribute.c_str(), value.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_uint32(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_int32(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_uint64(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_int64(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void File::mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_mountable(gobj(), - static_cast(flags), - mount_operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_mountable(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_mountable(const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_mountable(MountMountFlags flags) -{ - g_file_mount_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - NULL); -} - -void File::unmount_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_unmount_mountable(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::unmount_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_unmount_mountable(gobj(), - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::unmount_mountable(MountUnmountFlags flags) -{ - g_file_unmount_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - NULL); -} - -void File::mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - mount_operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_enclosing_volume(const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - NULL, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_enclosing_volume(MountMountFlags flags) -{ - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - NULL); -} - -void -File::eject_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_eject_mountable(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::eject_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_eject_mountable(gobj(), - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::eject_mountable(MountUnmountFlags flags) -{ - g_file_eject_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - NULL); -} - -void -File::load_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_load_contents_async(gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::load_contents_async(const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_load_contents_async(gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::load_partial_contents_async(const SlotReadMore& slot_read_more, const SlotAsyncReady& slot_async_ready, const Glib::RefPtr& cancellable) -{ - // Create a new pair which will hold copies of passed slots. - // This will be deleted in the SignalProxy_load_partial_contents_ready_callback() callback - LoadPartialSlots* slots = new LoadPartialSlots(); - SlotReadMore* slot_read_more_copy = new SlotReadMore(slot_read_more); - SlotAsyncReady* slot_async_copy = new SlotAsyncReady(slot_async_ready); - - slots->first = slot_read_more_copy; - slots->second = slot_async_copy; - - g_file_load_partial_contents_async(gobj(), - cancellable->gobj(), - &SignalProxy_load_partial_contents_read_more_callback, - &SignalProxy_load_partial_contents_ready_callback, - slots); -} - -void -File::load_partial_contents_async(const SlotReadMore& slot_read_more, - const SlotAsyncReady& slot_async_ready) -{ - // Create a new pair which will hold copies of passed slots. - // This will be deleted in the SignalProxy_load_partial_contents_ready_callback() callback - LoadPartialSlots* slots = new LoadPartialSlots(); - SlotReadMore* slot_read_more_copy = new SlotReadMore(slot_read_more); - SlotAsyncReady* slot_async_copy = new SlotAsyncReady(slot_async_ready); - - slots->first = slot_read_more_copy; - slots->second = slot_async_copy; - - g_file_load_partial_contents_async(gobj(), - NULL, - &SignalProxy_load_partial_contents_read_more_callback, - &SignalProxy_load_partial_contents_ready_callback, - slots); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents, length, etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents, length, etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents.c_str(), contents.size(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents.c_str(), contents.size(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const Glib::RefPtr& cancellable, - const char* contents, - gsize length, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents, - length, - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const char* contents, - gsize length, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents, - length, - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const Glib::RefPtr& cancellable, - const std::string& contents, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents.c_str(), - contents.size(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const std::string& contents, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents.c_str(), - contents.size(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents_finish(const Glib::RefPtr& result, std::string& new_etag) -#else -void File::replace_contents_finish(const Glib::RefPtr& result, std::string& new_etag, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_new_etag = 0; - g_file_replace_contents_finish(gobj(), Glib::unwrap(result), &c_new_etag, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_new_etag) - new_etag = c_new_etag; - else - new_etag = std::string(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents_finish(const Glib::RefPtr& result) -#else -void File::replace_contents_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - g_file_replace_contents_finish(gobj(), Glib::unwrap(result), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::replace(const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags) -#else -Glib::RefPtr File::replace(const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_replace(gobj(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::replace(const std::string& etag, bool make_backup, FileCreateFlags flags) -#else -Glib::RefPtr File::replace(const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_replace(gobj(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_directory(gobj(), ((GFileMonitorFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_directory(FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_directory(FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_directory(gobj(), ((GFileMonitorFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_file(gobj(), ((GFileMonitorFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_file(FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_file(FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_file(gobj(), ((GFileMonitorFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor(gobj(), ((GFileMonitorFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor(FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor(FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor(gobj(), ((GFileMonitorFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::read() -#else -Glib::RefPtr File::read(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_read(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void File::find_enclosing_mount_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_find_enclosing_mount_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void File::find_enclosing_mount_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_find_enclosing_mount_async(gobj(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags) -#else -bool File::set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attributes_from_info(gobj(), Glib::unwrap(info), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags) -#else -bool File::set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attributes_from_info(gobj(), Glib::unwrap(info), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags) -#else -bool -File::copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - res = g_file_copy_attributes(gobj(), - destination->gobj(), - static_cast(flags), - cancellable->gobj(), - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags) -#else -bool -File::copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - res = g_file_copy_attributes(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags) -#else -Glib::RefPtr File::create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_create(gobj(), ((GFileCreateFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::create_file(FileCreateFlags flags) -#else -Glib::RefPtr File::create_file(FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_create(gobj(), ((GFileCreateFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::remove() -#else -bool File::remove(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_delete(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::trash() -#else -bool File::trash(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_trash(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_directory() -#else -bool File::make_directory(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_directory(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_symbolic_link(const std::string& symlink_value) -#else -bool File::make_symbolic_link(const std::string& symlink_value, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_symbolic_link(gobj(), symlink_value.c_str(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_settable_attributes() -#else -Glib::RefPtr File::query_settable_attributes(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_settable_attributes(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_writable_namespaces() -#else -Glib::RefPtr File::query_writable_namespaces(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_writable_namespaces(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags) -#else -Glib::RefPtr File::append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_append_to(gobj(), ((GFileCreateFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::append_to(FileCreateFlags flags) -#else -Glib::RefPtr File::append_to(FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_append_to(gobj(), ((GFileCreateFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::find_enclosing_mount() -#else -Glib::RefPtr File::find_enclosing_mount(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_find_enclosing_mount(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_default_handler() -#else -Glib::RefPtr File::query_default_handler(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_default_handler(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_contents(gobj(), Glib::unwrap(cancellable), &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_contents(char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_contents(char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_contents(gobj(), NULL, &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_contents_finish(gobj(), Glib::unwrap(result), &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_partial_contents_finish(gobj(), Glib::unwrap(result), &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFile* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& File_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &File_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_file_get_type(); - } - - return *this; -} - -void File_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* File_Class::wrap_new(GObject* object) -{ - return new File((GFile*)(object)); -} - - -/* The implementation: */ - -File::File() -: - Glib::Interface(file_class_.init()) -{} - -File::File(GFile* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -File::File(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -File::~File() -{} - -// static -void File::add_interface(GType gtype_implementer) -{ - file_class_.init().add_interface(gtype_implementer); -} - -File::CppClassType File::file_class_; // initialize static member - -GType File::get_type() -{ - return file_class_.init().get_type(); -} - -GType File::get_base_type() -{ - return g_file_get_type(); -} - - -Glib::RefPtr File::dup() const -{ - return Glib::wrap(g_file_dup(const_cast(gobj()))); -} - -guint File::hash() const -{ - return g_file_hash(const_cast(gobj())); -} - -bool File::equal(const Glib::RefPtr& other) const -{ - return g_file_equal(const_cast(gobj()), const_cast(Glib::unwrap(other))); -} - -std::string File::get_basename() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_file_get_basename(const_cast(gobj()))); -} - -std::string File::get_path() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_file_get_path(const_cast(gobj()))); -} - -std::string File::get_uri() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_file_get_uri(const_cast(gobj()))); -} - -Glib::ustring File::get_parse_name() const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_file_get_parse_name(const_cast(gobj()))); -} - -Glib::RefPtr File::get_parent() const -{ - return Glib::wrap(g_file_get_parent(const_cast(gobj()))); -} - -Glib::RefPtr File::get_child(const std::string& name) const -{ - return Glib::wrap(g_file_get_child(const_cast(gobj()), name.c_str())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::get_child_for_display_name(const Glib::ustring& display_name) const -#else -Glib::RefPtr File::get_child_for_display_name(const Glib::ustring& display_name, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_get_child_for_display_name(const_cast(gobj()), display_name.c_str(), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -bool File::has_prefix(const Glib::RefPtr& prefix) const -{ - return g_file_has_prefix(const_cast(gobj()), const_cast(Glib::unwrap(prefix))); -} - -std::string File::get_relative_path(const Glib::RefPtr& descendant) const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_file_get_relative_path(const_cast(gobj()), const_cast(Glib::unwrap(descendant)))); -} - -Glib::RefPtr File::resolve_relative_path(const std::string& relative_path) const -{ - return Glib::wrap(g_file_resolve_relative_path(const_cast(gobj()), relative_path.c_str())); -} - -bool File::is_native() const -{ - return g_file_is_native(const_cast(gobj())); -} - -bool File::has_uri_scheme(const std::string& uri_scheme) const -{ - return g_file_has_uri_scheme(const_cast(gobj()), uri_scheme.c_str()); -} - -std::string File::get_uri_scheme() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_file_get_uri_scheme(const_cast(gobj()))); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::read(const Glib::RefPtr& cancellable) -#else -Glib::RefPtr File::read(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_read(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::read_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::read_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_read_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::append_to_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::append_to_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_append_to_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::create_file_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::create_file_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_create_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::replace_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::replace_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_replace_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -bool File::query_exists(const Glib::RefPtr& cancellable) const -{ - return g_file_query_exists(const_cast(gobj()), const_cast(Glib::unwrap(cancellable))); -} - -FileType File::query_file_type(FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) const -{ - return ((FileType)(g_file_query_file_type(const_cast(gobj()), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable))))); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_info_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::query_info_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_info_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::find_enclosing_mount(const Glib::RefPtr& cancellable) -#else -Glib::RefPtr File::find_enclosing_mount(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_find_enclosing_mount(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_filesystem_info_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::query_filesystem_info_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_filesystem_info_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::find_enclosing_mount_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::find_enclosing_mount_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_find_enclosing_mount_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::enumerate_children_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::enumerate_children_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerate_children_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::set_display_name(const Glib::ustring& display_name, const Glib::RefPtr& cancellable) -#else -Glib::RefPtr File::set_display_name(const Glib::ustring& display_name, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_set_display_name(gobj(), display_name.c_str(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::set_display_name_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::set_display_name_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_set_display_name_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::remove(const Glib::RefPtr& cancellable) -#else -bool File::remove(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_delete(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::trash(const Glib::RefPtr& cancellable) -#else -bool File::trash(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_trash(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::copy_finish(const Glib::RefPtr& result) -#else -bool File::copy_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_copy_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_directory(const Glib::RefPtr& cancellable) -#else -bool File::make_directory(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_directory(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_directory_with_parents(const Glib::RefPtr& cancellable) -#else -bool File::make_directory_with_parents(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_directory_with_parents(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_symbolic_link(const std::string& symlink_value, const Glib::RefPtr& cancellable) -#else -bool File::make_symbolic_link(const std::string& symlink_value, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_symbolic_link(gobj(), symlink_value.c_str(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_settable_attributes(const Glib::RefPtr& cancellable) -#else -Glib::RefPtr File::query_settable_attributes(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_settable_attributes(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_writable_namespaces(const Glib::RefPtr& cancellable) -#else -Glib::RefPtr File::query_writable_namespaces(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_writable_namespaces(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) -#else -bool File::set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_string(gobj(), attribute.c_str(), value.c_str(), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) -#else -bool File::set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_byte_string(gobj(), attribute.c_str(), value.c_str(), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) -#else -bool File::set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_uint32(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) -#else -bool File::set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_int32(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) -#else -bool File::set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_uint64(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) -#else -bool File::set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_int64(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::mount_enclosing_volume_finish(const Glib::RefPtr& result) -#else -bool File::mount_enclosing_volume_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_mount_enclosing_volume_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::mount_mountable_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr File::mount_mountable_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_mount_mountable_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::unmount_mountable_finish(const Glib::RefPtr& result) -#else -bool File::unmount_mountable_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_unmount_mountable_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::eject_mountable_finish(const Glib::RefPtr& result) -#else -bool File::eject_mountable_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_eject_mountable_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_default_handler(const Glib::RefPtr& cancellable) -#else -Glib::RefPtr File::query_default_handler(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_default_handler(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/file.h b/libs/glibmm2/gio/giomm/file.h deleted file mode 100644 index 232be35e33..0000000000 --- a/libs/glibmm2/gio/giomm/file.h +++ /dev/null @@ -1,2988 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILE_H -#define _GIOMM_FILE_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include //Because this is thrown by some of these methods. -//#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileIface GFileIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFile GFile; -typedef struct _GFileClass GFileClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class File_Class; } // namespace Gio -namespace Gio -{ - -class Mount; -class Volume; - -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %FileQueryInfoFlags operator|(FileQueryInfoFlags, FileQueryInfoFlags)
- * %FileQueryInfoFlags operator&(FileQueryInfoFlags, FileQueryInfoFlags)
- * %FileQueryInfoFlags operator^(FileQueryInfoFlags, FileQueryInfoFlags)
- * %FileQueryInfoFlags operator~(FileQueryInfoFlags)
- * %FileQueryInfoFlags& operator|=(FileQueryInfoFlags&, FileQueryInfoFlags)
- * %FileQueryInfoFlags& operator&=(FileQueryInfoFlags&, FileQueryInfoFlags)
- * %FileQueryInfoFlags& operator^=(FileQueryInfoFlags&, FileQueryInfoFlags)
- */ -enum FileQueryInfoFlags -{ - FILE_QUERY_INFO_NONE = 0, - FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = 1 << 0 -}; - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags operator|(FileQueryInfoFlags lhs, FileQueryInfoFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags operator&(FileQueryInfoFlags lhs, FileQueryInfoFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags operator^(FileQueryInfoFlags lhs, FileQueryInfoFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags operator~(FileQueryInfoFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags& operator|=(FileQueryInfoFlags& lhs, FileQueryInfoFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags& operator&=(FileQueryInfoFlags& lhs, FileQueryInfoFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileQueryInfoFlags& operator^=(FileQueryInfoFlags& lhs, FileQueryInfoFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %FileCreateFlags operator|(FileCreateFlags, FileCreateFlags)
- * %FileCreateFlags operator&(FileCreateFlags, FileCreateFlags)
- * %FileCreateFlags operator^(FileCreateFlags, FileCreateFlags)
- * %FileCreateFlags operator~(FileCreateFlags)
- * %FileCreateFlags& operator|=(FileCreateFlags&, FileCreateFlags)
- * %FileCreateFlags& operator&=(FileCreateFlags&, FileCreateFlags)
- * %FileCreateFlags& operator^=(FileCreateFlags&, FileCreateFlags)
- */ -enum FileCreateFlags -{ - FILE_CREATE_NONE = 0, - FILE_CREATE_PRIVATE = 1 << 0 -}; - -/** @ingroup giommEnums */ -inline FileCreateFlags operator|(FileCreateFlags lhs, FileCreateFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileCreateFlags operator&(FileCreateFlags lhs, FileCreateFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileCreateFlags operator^(FileCreateFlags lhs, FileCreateFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileCreateFlags operator~(FileCreateFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline FileCreateFlags& operator|=(FileCreateFlags& lhs, FileCreateFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileCreateFlags& operator&=(FileCreateFlags& lhs, FileCreateFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileCreateFlags& operator^=(FileCreateFlags& lhs, FileCreateFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %FileCopyFlags operator|(FileCopyFlags, FileCopyFlags)
- * %FileCopyFlags operator&(FileCopyFlags, FileCopyFlags)
- * %FileCopyFlags operator^(FileCopyFlags, FileCopyFlags)
- * %FileCopyFlags operator~(FileCopyFlags)
- * %FileCopyFlags& operator|=(FileCopyFlags&, FileCopyFlags)
- * %FileCopyFlags& operator&=(FileCopyFlags&, FileCopyFlags)
- * %FileCopyFlags& operator^=(FileCopyFlags&, FileCopyFlags)
- */ -enum FileCopyFlags -{ - FILE_COPY_NONE = 0, - FILE_COPY_OVERWRITE = 1 << 0, - FILE_COPY_BACKUP = 1 << 1, - FILE_COPY_NOFOLLOW_SYMLINKS = 1 << 2, - FILE_COPY_ALL_METADATA = 1 << 3, - FILE_COPY_NO_FALLBACK_FOR_MOVE = 1 << 4 -}; - -/** @ingroup giommEnums */ -inline FileCopyFlags operator|(FileCopyFlags lhs, FileCopyFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileCopyFlags operator&(FileCopyFlags lhs, FileCopyFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileCopyFlags operator^(FileCopyFlags lhs, FileCopyFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileCopyFlags operator~(FileCopyFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline FileCopyFlags& operator|=(FileCopyFlags& lhs, FileCopyFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileCopyFlags& operator&=(FileCopyFlags& lhs, FileCopyFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileCopyFlags& operator^=(FileCopyFlags& lhs, FileCopyFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %FileMonitorFlags operator|(FileMonitorFlags, FileMonitorFlags)
- * %FileMonitorFlags operator&(FileMonitorFlags, FileMonitorFlags)
- * %FileMonitorFlags operator^(FileMonitorFlags, FileMonitorFlags)
- * %FileMonitorFlags operator~(FileMonitorFlags)
- * %FileMonitorFlags& operator|=(FileMonitorFlags&, FileMonitorFlags)
- * %FileMonitorFlags& operator&=(FileMonitorFlags&, FileMonitorFlags)
- * %FileMonitorFlags& operator^=(FileMonitorFlags&, FileMonitorFlags)
- */ -enum FileMonitorFlags -{ - FILE_MONITOR_NONE = 0, - FILE_MONITOR_WATCH_MOUNTS = 1 << 0 -}; - -/** @ingroup giommEnums */ -inline FileMonitorFlags operator|(FileMonitorFlags lhs, FileMonitorFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileMonitorFlags operator&(FileMonitorFlags lhs, FileMonitorFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileMonitorFlags operator^(FileMonitorFlags lhs, FileMonitorFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileMonitorFlags operator~(FileMonitorFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline FileMonitorFlags& operator|=(FileMonitorFlags& lhs, FileMonitorFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileMonitorFlags& operator&=(FileMonitorFlags& lhs, FileMonitorFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileMonitorFlags& operator^=(FileMonitorFlags& lhs, FileMonitorFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %MountUnmountFlags operator|(MountUnmountFlags, MountUnmountFlags)
- * %MountUnmountFlags operator&(MountUnmountFlags, MountUnmountFlags)
- * %MountUnmountFlags operator^(MountUnmountFlags, MountUnmountFlags)
- * %MountUnmountFlags operator~(MountUnmountFlags)
- * %MountUnmountFlags& operator|=(MountUnmountFlags&, MountUnmountFlags)
- * %MountUnmountFlags& operator&=(MountUnmountFlags&, MountUnmountFlags)
- * %MountUnmountFlags& operator^=(MountUnmountFlags&, MountUnmountFlags)
- */ -enum MountUnmountFlags -{ - MOUNT_UNMOUNT_NONE = 0, - MOUNT_UNMOUNT_FORCE = 1 << 0 -}; - -/** @ingroup giommEnums */ -inline MountUnmountFlags operator|(MountUnmountFlags lhs, MountUnmountFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline MountUnmountFlags operator&(MountUnmountFlags lhs, MountUnmountFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline MountUnmountFlags operator^(MountUnmountFlags lhs, MountUnmountFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline MountUnmountFlags operator~(MountUnmountFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline MountUnmountFlags& operator|=(MountUnmountFlags& lhs, MountUnmountFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline MountUnmountFlags& operator&=(MountUnmountFlags& lhs, MountUnmountFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline MountUnmountFlags& operator^=(MountUnmountFlags& lhs, MountUnmountFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - */ -enum MountMountFlags -{ - MOUNT_MOUNT_NONE -}; - - -/** File and directory handling. - * Gio::File is a high level abstraction for manipulating files on a virtual file system. Gio::Files are lightweight, immutable objects that do no - * I/O upon creation. It is necessary to understand that a Gio::File object does not represent a file, merely a handle to a file. All file I/O is - * implemented as streaming operations (see Gio::InputStream and Gio::OutputStream). - * - * A GioFile can be constructed from a path, URI, or a command line argument. - * - * You can move through the filesystem with Gio::File handles with get_parent() to get a handle to the parent directory, - * get_child() to get a handle to a child within a directory, and resolve_relative_path() to resolve a relative path between two Gio::Files. - * - * Many Gio::File operations have both synchronous and asynchronous versions to suit your application. Asynchronous versions of synchronous - * functions simply have _async() appended to their function names. The asynchronous I/O functions call a SlotAsyncReady callback slot which is - * then used to finalize the operation, producing a AsyncResult which is then passed to the function's matching _finish() operation. - * - * Some Gio::File operations do not have synchronous analogs, as they may take a very long time to finish, and blocking may leave an application - * unusable. Notable cases include: mount_mountable() to mount a mountable file, unmount_mountable() to unmount a mountable file, - * and eject_mountable() to eject a mountable file. - * - * One notable feature of Gio::Files are entity tags, or "etags" for short. Entity tags are somewhat like a more abstract version of the - * traditional mtime, and can be used to quickly determine if the file has been modified from the version on the file system. - * See the HTTP 1.1 specification for HTTP Etag headers, which are a very similar concept. - * - * @newin2p16 - */ - -class File : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef File CppObjectType; - typedef File_Class CppClassType; - typedef GFile BaseObjectType; - typedef GFileIface BaseClassType; - -private: - friend class File_Class; - static CppClassType file_class_; - - // noncopyable - File(const File&); - File& operator=(const File&); - -protected: - File(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit File(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit File(GFile* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~File(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFile* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFile* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: - - - //g_file_icon_new is not a GFile method. - - // Although this is an interface, it is possible to create objects using - // its static create* members. In the implementation, these would lead - // to functions of the default GVfs implementation, which, in case of - // this class' create methods, would rely on concrete GFile implementations - // such as GLocalFile and GDummyFile. - - /** Constructs a File for a given path. - * This operation never fails, but the returned object might not support any I/O operation if path is malformed. - * - * @param path A string containing a relative or absolute path. - * @result A new instantiation of an appropriate Gio::File class. - */ - static Glib::RefPtr create_for_path(const std::string& path); - - - /** Constructs a File for a given URI. - * This operation never fails, but the returned object might not support any I/O operation if path is malformed. - * - * @param uri A string containing a URI. - * @result A new instantiation of an appropriate Gio::File class. - */ - static Glib::RefPtr create_for_uri(const std::string& uri); - - - /** Constructs a File for a given argument from the command line. - * The value of @a arg can be either a URI, an absolute path or a relative path resolved relative to the current working directory. - * This operation never fails, but the returned object might not support any I/O operation if arg points to a malformed path. - * - * @param arg A string containing a relative or absolute path. - * @result A new instantiation of an appropriate Gio::File class. - */ - static Glib::RefPtr create_for_commandline_arg(const std::string& arg); - - - // parse_name is a UTF8-guaranteed "nice" string that can both - // be resolved to a GFile (via create_for_parse_name) and put in - // e.g. a GtkEntry. In practice, it is either a UTF8-only absolute - // filename (if it starts with a /), or an IRI (i.e. a URI that allows - // UTF8-encoded unicode chars instead of escaping them). - static Glib::RefPtr create_for_parse_name(const Glib::ustring& parse_name); - - - /** Duplicates a File handle. This operation does not duplicate - * the actual file or directory represented by the File; see - * g_file_copy() if attempting to copy a file. - * - * This call does no blocking i/o. - * @return File that is a duplicate of the given File. - */ - Glib::RefPtr dup() const; - - // The method intended to be used for making hash tables - // (g_hash_table_new in C). - - /** Creates a hash value for a File. - * - * This call does no blocking i/o. - * @param file #gconstpointer to a File. - * @return 0 if @a file is not a valid File, otherwise an - * integer that can be used as hash value for the File. - * This function is intended for easily hashing a File to - * add to a HashTable or similar data structure. - */ - guint hash() const; - - //Not that the implementation of equal() is already virtual via equal_vfunc(). - - /** Checks equality of two given File<!-- -->s. Note that two - * File<!-- -->s that differ can still refer to the same - * file on the filesystem due to various forms of filename - * aliasing. - * - * This call does no blocking i/o. - * @param file2 The second File. - * @return true if @a file1 and @a file2 are equal. - * false if either is not a File. - */ - bool equal(const Glib::RefPtr& other) const; - - - /** Gets the base name (the last component of the path) for a given File. - * - * If called for the top level of a system (such as the filesystem root - * or a uri like sftp://host/) it will return a single directory separator - * (and on Windows, possibly a drive letter). - * - * The base name is a byte string (*not* UTF-8). It has no defined encoding - * or rules other than it may not contain zero bytes. If you want to use - * filenames in a user interface you should use the display name that you - * can get by requesting the FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME - * attribute with g_file_query_info(). - * - * This call does no blocking i/o. - * @return String containing the File's base name, or 0 - * if given File is invalid. The returned string should be - * freed with Glib::free() when no longer needed. - */ - std::string get_basename() const; - - /** Gets the local pathname for File, if one exists. - * - * This call does no blocking i/o. - * @return String containing the File's path, or 0 if - * no such path exists. The returned string should be - * freed with Glib::free() when no longer needed. - */ - std::string get_path() const; - - /** Gets the URI for the @a file. - * - * This call does no blocking i/o. - * @return A string containing the File's URI. - * The returned string should be freed with Glib::free() when no longer needed. - */ - std::string get_uri() const; - - /** Gets the parse name of the @a file. - * A parse name is a UTF-8 string that describes the - * file such that one can get the File back using - * g_file_parse_name(). - * - * This is generally used to show the File as a nice - * full-pathname kind of string in a user interface, - * like in a location entry. - * - * For local files with names that can safely be converted - * to UTF8 the pathname is used, otherwise the IRI is used - * (a form of URI that allows UTF8 characters unescaped). - * - * This call does no blocking i/o. - * @return A string containing the File's parse name. The returned - * string should be freed with Glib::free() when no longer needed. - */ - Glib::ustring get_parse_name() const; - - //Note that these return a reference (usually new instances, - //so we don't need to use refreturn. - - //TODO: Do we need const and unconst versions of these get_*() methods, - //or do we consider that the returned File cannot be used to change "this". - //murrayc. - - /** Gets the parent directory for the @a file. - * If the @a file represents the root directory of the - * file system, then 0 will be returned. - * - * This call does no blocking i/o. - * @return A File structure to the parent of the given - * File or 0 if there is no parent. - */ - Glib::RefPtr get_parent() const; - - - /** Gets a child of @a file with basename equal to @a name. - * - * Note that the file with that specific name might not exist, but - * you can still have a File that points to it. You can use this - * for instance to create that file. - * - * This call does no blocking i/o. - * @param name String containing the child's basename. - * @return A File to a child specified by @a name. - */ - Glib::RefPtr get_child(const std::string& name) const; - - - /** Gets the child of @a file for a given @a display_name (i.e.\ a UTF8 - * version of the name). If this function fails, it returns 0 and @a error will be - * set. This is very useful when constructing a GFile for a new file - * and the user entered the filename in the user interface, for instance - * when you select a directory and type a filename in the file selector. - * - * This call does no blocking i/o. - * @param display_name String to a possible child. - * @return A File to the specified child, or - * 0 if the display name couldn't be converted. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr get_child_for_display_name(const Glib::ustring& display_name) const; -#else - Glib::RefPtr get_child_for_display_name(const Glib::ustring& display_name, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Checks whether @a file has the prefix specified by @a prefix. In other word, if the - * names of inital elements of @a file<!-- -->s pathname match @a prefix. - * - * This call does no i/o, as it works purely on names. As such it can sometimes - * return false even if @a file is inside a @a prefix (from a filesystem point of view), - * because the prefix of @a file is an alias of @a prefix. - * @param prefix Input File. - * @return true if the @a files's parent, grandparent, etc is @a prefix. false otherwise. - */ - bool has_prefix(const Glib::RefPtr& prefix) const; - - /** Gets the path for @a descendant relative to @a parent. - * - * This call does no blocking i/o. - * @param descendant Input File. - * @return String with the relative path from @a descendant - * to @a parent, or 0 if @a descendant doesn't have @a parent as prefix. The returned string should be freed with - * Glib::free() when no longer needed. - */ - std::string get_relative_path(const Glib::RefPtr& descendant) const; - - /** Resolves a relative path for @a file to an absolute path. - * - * This call does no blocking i/o. - * @param relative_path A given relative path string. - * @return File to the resolved path. 0 if @a relative_path - * is 0 or if @a file is invalid. - */ - Glib::RefPtr resolve_relative_path(const std::string& relative_path) const; - - /** Checks to see if a file is native to the platform. - * - * A native file s one expressed in the platform-native filename format, - * e.g. "C:\Windows" or "/usr/bin/". This does not mean the file is local, - * as it might be on a locally mounted remote filesystem. - * - * On some systems non-native files may be available using - * the native filesystem via a userspace filesystem (FUSE), in - * these cases this call will return false, but g_file_get_path() - * will still return a native path. - * - * This call does no blocking i/o. - * @return true if file is native. - */ - bool is_native() const; - - /** Checks to see if a File has a given URI scheme. - * - * This call does no blocking i/o. - * @param uri_scheme A string containing a URI scheme. - * @return true if File's backend supports the - * given URI scheme, false if URI scheme is 0, - * not supported, or File is invalid. - */ - bool has_uri_scheme(const std::string& uri_scheme) const; - - - /** Gets the URI scheme for a File. - * RFC 3986 decodes the scheme as: - * - * URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] - * - * Common schemes include "file", "http", "ftp", etc. - * - * This call does no blocking i/o. - * @return A string containing the URI scheme for the given - * File. The returned string should be freed with Glib::free() - * when no longer needed. - */ - std::string get_uri_scheme() const; - - //TODO: We don't have both const and unconst versions because a FileInputStream can't really change the File. - - /** Opens a file for reading. The result is a FileInputStream that - * can be used to read the contents of the file. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is a directory, a Gio::Error with IS_DIRECTORY will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @param cancellable A Cancellable. - * @return FileInputStream or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr read(const Glib::RefPtr& cancellable); -#else - Glib::RefPtr read(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Opens a file for reading. The result is a FileInputStream that - * can be used to read the contents of the file. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is a directory, a Gio::Error with IS_DIRECTORY will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @return FileInputStream or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr read(); - #else - Glib::RefPtr read(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Asynchronously opens the file for reading. - * For more details, see read() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call read_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param io_priority The I/O priority of the request. - */ - void read_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously opens the file for reading. - * For more details, see read() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call read_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void read_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous file read operation started with - * g_file_read_async(). - * @param res A AsyncResult. - * @return A FileInputStream or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr read_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr read_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets an output stream for appending data to the file. If - * the file doesn't already exist it is created. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME. - * If the file is a directory a Gio::Error with IS_DIRECTORY will be - * thrown. Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * @param flags A set of FileCreateFlags. - * @param cancellable Optional Cancellable object. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Gets an output stream for appending data to the file. If - * the file doesn't already exist it is created. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME. - * If the file is a directory a Gio::Error with IS_DIRECTORY will be - * thrown. Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * @param flags A set of FileCreateFlags. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr append_to(FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr append_to(FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //We renamed this to create_file from (g_file_create()), to avoid confusion with static create() methods, - //but I would still like to choose a different word, but can't think of a good one. murrayc. - - /** Creates a new file and returns an output stream for writing to it. - * The file must not already exists. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If a file with this name already exists a Gio::Error with EXISTS - * will be thrown. If the file is a directory a Gio::Error with IS_DIRECTORY - * will be thrown. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME, and if the name - * is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. - * Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags a set of FileCreateFlags. - * @return A FileOutputStream for the newly created file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Creates a new file and returns an output stream for writing to it. - * The file must not already exists. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * If a file with this name already exists a Gio::Error with EXISTS - * will be thrown. If the file is a directory a Gio::Error with IS_DIRECTORY - * will be thrown. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME, and if the name - * is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. - * Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * - * @param flags a set of FileCreateFlags. - * @return A FileOutputStream for the newly created file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr create_file(FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr create_file(FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. - * This will try to replace the file in the safest way possible so that any errors during the writing will - * not affect an already existing copy of the file. For instance, for local files it may write to a - * temporary file and then atomically rename over the destination when the stream is closed. - * - * By default files created are generally readable by everyone, but if you pass FILE_CREATE_PRIVATE in - * @a flags the file will be made readable only to the current user, to the level that is supported on the - * target filesystem. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If you pass in an etag value, then this value is compared to the current entity tag of the file, - * and if they differ a Gio::Error with WRONG_ETAG will be thrown. This generally means that the file has - * been changed since you last read it. You can get the new etag from FileOutputStream::get_etag() - * after you've finished writing and closed the FileOutputStream. When you load a new file you can - * use FileInputStream::query_info() to get the etag of the file. - * - * If @a make_backup is true, this function will attempt to make a backup of the current file before - * overwriting it. If this fails aa Gio::Error with CANT_CREATE_BACKUP will be thrown. If you want to replace - * anyway, try again with @a make_backup set to false. - * - * If the file is a directory a Gio::Error with IS_DIRECTORY will be thrown, and if the file is some - * other form of non-regular file then aa Gio::Error with NOT_REGULAR_FILE will be thrown. Some file - * systems don't allow all file names, and may throw a Gio::Error with INVALID_FILENAME, and if the - * name is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. Other errors are possible too, and - * depend on what kind of filesystem the file is on. - * - * @param etag An optional entity tag for the current Glib::File. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr replace(const Glib::RefPtr& cancellable, const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr replace(const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. - * This will try to replace the file in the safest way possible so that any errors during the writing will - * not affect an already existing copy of the file. For instance, for local files it may write to a - * temporary file and then atomically rename over the destination when the stream is closed. - * - * By default files created are generally readable by everyone, but if you pass FILE_CREATE_PRIVATE in - * @a flags the file will be made readable only to the current user, to the level that is supported on the - * target filesystem. - * - * If you pass in an etag value, then this value is compared to the current entity tag of the file, - * and if they differ a Gio::Error with WRONG_ETAG will be thrown. This generally means that the file has - * been changed since you last read it. You can get the new etag from FileOutputStream::get_etag() - * after you've finished writing and closed the FileOutputStream. When you load a new file you can - * use FileInputStream::query_info() to get the etag of the file. - * - * If @a make_backup is true, this function will attempt to make a backup of the current file before - * overwriting it. If this fails aa Gio::Error with CANT_CREATE_BACKUP will be thrown. If you want to replace - * anyway, try again with @a make_backup set to false. - * - * If the file is a directory a Gio::Error with IS_DIRECTORY will be thrown, and if the file is some - * other form of non-regular file then aa Gio::Error with NOT_REGULAR_FILE will be thrown. Some file - * systems don't allow all file names, and may throw a Gio::Error with INVALID_FILENAME, and if the - * name is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. Other errors are possible too, and - * depend on what kind of filesystem the file is on. - * - * @param etag An optional entity tag for the current Glib::File. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr replace(const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr replace(const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously opens the file for appending. - * For more details, see append_to() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call append_to_finish() to get the result of the operation. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void append_to_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously opens the file for appending. - * For more details, see append_to() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call append_to_finish() to get the result of the operation. - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void append_to_async(const SlotAsyncReady& slot, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous file append operation started with - * g_file_append_to_async(). - * @param res AsyncResult. - * @return A valid FileOutputStream or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr append_to_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr append_to_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //We renamed this to create_file_async from (g_file_create_async()), to avoid confusion with static create() methods, - //but I would still like to choose a different word, but can't think of a good one. murrayc. See also create_file(). - - /** Asynchronously creates a new file and returns an output stream for writing to it. The file must not already exist. - * For more details, see create_file() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call create_file_finish() to get the result of the operation. - * - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void create_file_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously creates a new file and returns an output stream for writing to it. The file must not already exist. - * For more details, see create_file() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call create_file_finish() to get the result of the operation. - * - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void create_file_async(const SlotAsyncReady& slot, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous file create operation started with - * g_file_create_async(). - * @param res A AsyncResult. - * @return A FileOutputStream or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr create_file_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr create_file_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asyncronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first. - * For more details, see replace() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call replace_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param etag An entity tag for the current Gio::File. - * @param make_backup true if a backup of the existing file should be made. - * @param flags A set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void replace_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asyncronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first. - * For more details, see replace() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call replace_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param etag An entity tag for the current Gio::File. - * @param make_backup true if a backup of the existing file should be made. - * @param flags A set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void replace_async(const SlotAsyncReady& slot, const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous file replace operation started with - * g_file_replace_async(). - * @param res A AsyncResult. - * @return A FileOutputStream, or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr replace_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr replace_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the requested information about the file. The result - * is a FileInfo object that contains key-value attributes (such as the type or size - * of the file). - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if it's not possible to read a particular - * requested attribute from a file - it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * For symlinks, normally the information about the target of the - * symlink is returned, rather than information about the symlink itself. - * However if you pass FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @a flags the - * information about the symlink itself will be returned. Also, for symlinks - * that point to non-existing files the information about the symlink itself - * will be returned. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * - * @param cancellable A Cancellable object. - * @param attributes: An attribute query string. - * @param flags: A set of FileQueryInfoFlags. - * @result a FileInfo for the file, or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE) const; - #else - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const; - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Gets the requested information about the file. The result - * is a FileInfo object that contains key-value attributes (such as the type or size - * of the file). - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if it's not possible to read a particular - * requested attribute from a file - it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - * - * For symlinks, normally the information about the target of the - * symlink is returned, rather than information about the symlink itself. - * However if you pass FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @a flags the - * information about the symlink itself will be returned. Also, for symlinks - * that point to non-existing files the information about the symlink itself - * will be returned. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * - * @param attributes: An attribute query string. - * @param flags: A set of FileQueryInfoFlags. - * @result a FileInfo for the file, or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE) const; - #else - Glib::RefPtr query_info(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const; - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Utility function to check if a particular file exists. This is - * implemented using query_info() and as such does blocking I/O. - * - * Note that in many cases it is racy to first check for file existence - * and then execute something based on the outcome of that, because the - * file might have been created or removed in between the operations. The - * general approach to handling that is to not check, but just do the - * operation and handle the errors as they come. - * - * As an example of race-free checking, take the case of reading a file, and - * if it doesn't exist, creating it. There are two racy versions: read it, and - * on error create it; and: check if it exists, if not create it. These - * can both result in two processes creating the file (with perhaps a partially - * written file as the result). The correct approach is to always try to create - * the file with File::create() which will either atomically create the file - * or fail with a Gio::Error exception with EXISTS. - * - * However, in many cases an existence check is useful in a user - * interface, for instance to make a menu item sensitive/insensitive, so that - * you don't have to fool users that something is possible and then just show - * and error dialog. If you do this, you should make sure to also handle the - * errors that can happen due to races when you execute the operation. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true if the file exists (and can be detected without error), false otherwise (or if cancelled). - */ - bool query_exists(const Glib::RefPtr& cancellable) const; - - /** Utility function to check if a particular file exists. This is - * implemented using query_info() and as such does blocking I/O. - * - * Note that in many cases it is racy to first check for file existance - * and then execute something based on the outcome of that, because the - * file might have been created or removed inbetween the operations. The - * general approach to handling that is to not check, but just do the - * operation and handle the errors as they come. - * - * As an example of race-free checking, take the case of reading a file, and - * if it doesn't exist, creating it. There are two racy versions: read it, and - * on error create it; and: check if it exists, if not create it. These - * can both result in two processes creating the file (with perhaps a partially - * written file as the result). The correct approach is to always try to create - * the file with g_file_create() which will either atomically create the file - * or throw a Gio::Error with EXISTS. - * - * However, in many cases an existance check is useful in a user - * interface, for instance to make a menu item sensitive/insensitive, so that - * you don't have to fool users that something is possible and then just show - * and error dialog. If you do this, you should make sure to also handle the - * errors that can happen due to races when you execute the operation. - * - * @result true if the file exists (and can be detected without error), false otherwise (or if cancelled). - */ - bool query_exists() const; - - - FileType query_file_type(FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) const; - - /** Utility function to inspect the #GFileType of a file. This is - * implemented using query_info() and as such does blocking I/O. - * - * The primary use case of this method is to check if a file is a regular file, - * directory, or symlink. - * - * @param flags: a set of FileQueryInfoFlags passed to query_info(). - * @results The FileType of the file, or FILE_TYPE_UNKNOWN if the file does not exist. - * - * @newin2p18 - */ - FileType query_file_type(FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE) const; - - /** Asynchronously gets the requested information about specified file. The result is a FileInfo object that contains key-value attributes (such as type or size for the file). - * - * For more details, see query_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT) const; - - /** Asynchronously gets the requested information about specified file. The result is a FileInfo object that contains key-value attributes (such as type or size for the file). - * - * For more details, see query_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT) const; - - - /** Finishes an asynchronous file info query. - * See g_file_query_info_async(). - * @param res A AsyncResult. - * @return FileInfo for given @a file or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr query_info_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Similar to query_info(), but obtains information - * about the filesystem the file is on, rather than the file itself. - * For instance the amount of space availible and the type of - * the filesystem. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "fs:*" means all attributes in the fs - * namespace. The standard namespace for filesystem attributes is "fs". - * Common attributes of interest are FILE_ATTRIBUTE_FILESYSTEM_SIZE - * (the total size of the filesystem in bytes), FILE_ATTRIBUTE_FILESYSTEM_FREE (number of - * bytes availible), and FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @param cancellable A Cancellable object. - * @param attributes An attribute query string. - * @return A FileInfo or an empty RefPtr if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*"); -#else - Glib::RefPtr query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Similar to query_info(), but obtains information - * about the filesystem the file is on, rather than the file itself. - * For instance the amount of space availible and the type of - * the filesystem. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "fs:*" means all attributes in the fs - * namespace. The standard namespace for filesystem attributes is "fs". - * Common attributes of interest are FILE_ATTRIBUTE_FILESYSTEM_SIZE - * (the total size of the filesystem in bytes), FILE_ATTRIBUTE_FILESYSTEM_FREE (number of - * bytes availible), and FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - * - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @param attributes An attribute query string. - * @return A FileInfo or an empty RefPtr if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_filesystem_info(const std::string& attributes = "*"); -#else - Glib::RefPtr query_filesystem_info(const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets a Mount for the File. - * - * If the FileIface for @a file does not have a mount (e.g. possibly a - * remote share), a Gio::Error will be thrown with NOT_FOUND and 0 - * will be returned. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return A Mount where the @a file is located or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr find_enclosing_mount(const Glib::RefPtr& cancellable); -#else - Glib::RefPtr find_enclosing_mount(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously gets the requested information about the filesystem - * that the file is on. The result is a FileInfo object - * that contains key-value attributes (such as type or size for the - * file). - * - * For more details, see query_filesystem_info() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call query_filesystem_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes An attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_filesystem_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT) const; - - /** Asynchronously gets the requested information about the filesystem - * that the file is on. The result is a FileInfo object - * that contains key-value attributes (such as type or size for the - * file). - * - * For more details, see query_filesystem_info() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call query_filesystem_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes An attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_filesystem_info_async(const SlotAsyncReady& slot, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT) const; - - - /** Finishes an asynchronous filesystem info query. See - * g_file_query_filesystem_info_async(). - * @param res A AsyncResult. - * @return FileInfo for given @a file or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_filesystem_info_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr query_filesystem_info_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets a Mount for the File. - * - * If the FileIface for the file does not have a mount (e.g. possibly a - * remote share), an Gio::Error wtih NOT_FOUND will be thrown and an empty RefPtr - * will be returned. - * - * @param cancellable Cancellable object. - * @return A Mount where the file is located. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr find_enclosing_mount(); -#else - Glib::RefPtr find_enclosing_mount(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously gets the mount for the file. - * - * For more details, see find_enclosing_mount() which is - * the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call - * find_enclosing_mount_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void find_enclosing_mount_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously gets the mount for the file. - * - * For more details, see find_enclosing_mount() which is - * the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call - * find_enclosing_mount_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void find_enclosing_mount_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous find mount request. - * See g_file_find_enclosing_mount_async(). - * @param res A AsyncResult. - * @return Mount for given @a file or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr find_enclosing_mount_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr find_enclosing_mount_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the requested information about the files in a directory. The result - * is a FileEnumerator object that will give out FileInfo objects for - * all the files in the directory. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are availible as defines, like FILE_ATTRIBUTE_STANDARD_NAME. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is not a directory, a Glib::FileError with NOTDIR will be thrown. - * Other errors are possible too. - * - * @param cancellable A Cancellable object. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @return A FileEnumerator if successful. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - Glib::RefPtr enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the requested information about the files in a directory. The result - * is a FileEnumerator object that will give out FileInfo objects for - * all the files in the directory. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are availible as defines, like FILE_ATTRIBUTE_STANDARD_NAME. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is not a directory, a Glib::FileError with NOTDIR will be thrown. - * Other errors are possible too. - * - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @return A FileEnumerator if successful. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr enumerate_children(const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - Glib::RefPtr enumerate_children(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously gets the requested information about the files in a directory. The result is a GFileEnumerator object that will give out GFileInfo objects for all the files in the directory. - * - * For more details, see enumerate_children() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call enumerate_children_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void enumerate_children_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously gets the requested information about the files in a directory. The result is a GFileEnumerator object that will give out GFileInfo objects for all the files in the directory. - * - * For more details, see enumerate_children() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call enumerate_children_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void enumerate_children_async(const SlotAsyncReady& slot, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an async enumerate children operation. - * See g_file_enumerate_children_async(). - * @param res A AsyncResult. - * @return A FileEnumerator or 0 if an error occurred. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr enumerate_children_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr enumerate_children_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Renames @a file to the specified display name. - * - * The display name is converted from UTF8 to the correct encoding for the target - * filesystem if possible and the @a file is renamed to this. - * - * If you want to implement a rename operation in the user interface the edit name - * (FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the initial value in the rename - * widget, and then the result after editing should be passed to g_file_set_display_name(). - * - * On success the resulting converted filename is returned. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param display_name A string. - * @param cancellable Cancellable object. - * @return A File specifying what @a file was renamed to, or 0 if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr set_display_name(const Glib::ustring& display_name, const Glib::RefPtr& cancellable); -#else - Glib::RefPtr set_display_name(const Glib::ustring& display_name, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Renames the file to the specified display name. - * - * The display name is converted from UTF8 to the correct encoding for the target - * filesystem if possible and the file is renamed to this. - * - * If you want to implement a rename operation in the user interface the edit name - * (G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the initial value in the rename - * widget, and then the result after editing should be passed to set_display_name(). - * - * On success the resulting converted filename is returned. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param display_name A string. - * @return A Glib::File specifying what the file was renamed to, or an empty RefPtr if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr set_display_name(const Glib::ustring& display_name); -#else - Glib::RefPtr set_display_name(const Glib::ustring& display_name, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously sets the display name for a given Gio::File. For the synchronous version of this function, see set_display_name(). - * When the operation is finished, @a slot will be called. You can then call set_display_name_finish() to get the result of the operation. - * - * @param display_name A string. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param io_priority The I/O priority of the request. - */ - void set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously sets the display name for a given Gio::File. For the synchronous version of this function, see set_display_name(). - * When the operation is finished, @a slot will be called. You can then call set_display_name_finish() to get the result of the operation. - * - * @param display_name A string. - * @param slot A callback slot which will be called when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes setting a display name started with - * g_file_set_display_name_async(). - * @param res A AsyncResult. - * @return A File or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr set_display_name_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr set_display_name_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //TODO: remember to add the docs manually, as we name the method differently. - - /** Deletes a file. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return true if the file was deleted. false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool remove(const Glib::RefPtr& cancellable); -#else - bool remove(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Deletes a file. - * - * @return true if the file was deleted. false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool remove(); -#else - bool remove(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sends @a file to the "Trashcan", if possible. This is similar to - * deleting it, but the user can recover it before emptying the trashcan. - * Not all file systems support trashing, so this call can throw a Gio::Error with - * NOT_SUPPORTED. - * - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return true on successful trash, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool trash(const Glib::RefPtr& cancellable); -#else - bool trash(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sends the file to the "Trashcan", if possible. This is similar to - * deleting it, but the user can recover it before emptying the trashcan. - * Not all filesystems support trashing, so this call can throw a Gio::Error - * with NOT_SUPPORTED. - * - * @return true on successful trash, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool trash(); -#else - bool trash(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** A signal handler would be, for instance: - * void on_file_progress(goffset current_num_bytes, goffset total_num_bytes); - */ - typedef sigc::slot SlotFileProgress; - - /** Copies the file source to the location specified by destination. Can not handle recursive copies of directories. - * If the flag FILE_COPY_OVERWRITE is specified an already existing destination file is overwritten. - * If the flag FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks will be copied as symlinks, otherwise the target of the source symlink will be copied. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The operation can be monitored via the @a slot callback. - * - * If the source file does not exist then a Gio::Error with NOT_FOUND will be thrown, independent on the status of the destination. - * - * If FILE_COPY_OVERWRITE is not specified and the target exists, then a Gio::Error with EXISTS will be thrown. - * - * If trying to overwrite a file over a directory a Gio::Error with IS_DIRECTORY will be thrown. - * If trying to overwrite a directory with a directory a Gio::Error with WOULD_MERGE will be thrown. - * - * If the source is a directory and the target does not exist, or FILE_COPY_OVERWRITE is specified and the target is a file, - * then a Gio::Error with WOULD_RECURSE will be thrown. - * - * If you are interested in copying the Gio::File object itself (not the on-disk file), see File::dup(). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error); -#endif - - //TODO: Documentation. -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error); -#endif - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy(const Glib::RefPtr& destination, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * The function specified by @a slot_progress will be called just like - * in copy(), however the callback will run in the main loop, not in - * the thread that is doing the I/O operation. - * - * @param destination Destination File - * @param slot_progress The callback slot to be called with progress information - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param cancellable A Cancellable object which can be used to cancel the operation - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotFileProgress& slot_progress, const SlotAsyncReady& slot_ready, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * @param destination Destination File - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param cancellable A Cancellable object which can be used to cancel the operation - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotAsyncReady& slot_ready, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * The function specified by @a slot_progress will be called just like - * in copy(), however the callback will run in the main loop, not in - * the thread that is doing the I/O operation. - * - * @param destination Destination File - * @param slot_progress The callback slot to be called with progress information - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotFileProgress& slot_progress, const SlotAsyncReady& slot_ready, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * @param destination Destination File - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotAsyncReady& slot_ready, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes copying the file started with - * g_file_copy_async(). - * @param res A AsyncResult. - * @return A true on success, false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy_finish(const Glib::RefPtr& result); -#else - bool copy_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to move the file or directory source to the location specified by destination. If native move operations are supported then this is - * used, otherwise a copy and delete fallback is used. The native implementation may support moving directories (for instance on moves inside - * the same filesystem), but the fallback code does not. - * - * If the flag FILE_COPY_OVERWRITE is specified an already existing destination file is overwritten. - * - * If the flag FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks will be copied as symlinks, otherwise the target of the source symlink will be copied. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The operation can be monitored via the @a slot callback. - * If the source file does not exist then a Gio::Error with NOT_FOUND will be thrown, independent on the status of the destination. - * - * If G_FILE_COPY_OVERWRITE is not specified and the target exists, then a Gio::Error with EXISTS will be thrown. - * - * If trying to overwrite a file over a directory a Gio::Error with IS_DIRECTORY will be thrown. - * If trying to overwrite a directory with a directory a Gio::Error with WOULD_MERGE will be thrown. - * - * If the source is a directory and the target does not exist, or FILE_COPY_OVERWRITE is specified and the target is a file, then a Gio::Error with WOULD_RECURSE may be thrown (if the native move operation isn't available). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error); -#endif - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error); -#endif - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool move(const Glib::RefPtr& destination, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool move(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - - - /** Creates a directory. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return true on successful creation, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_directory(const Glib::RefPtr& cancellable); -#else - bool make_directory(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Creates a directory. - * Note that this will only create a child directory of the immediate parent - * directory of the path or URI given by the File. To recursively create - * directories, see make_directory_with_parents(). This function will fail if - * the parent directory does not exist, throwing an exception with - * IO_ERROR_NOT_FOUND. If the file system doesn't support creating directories, - * this function will fail, throwing an exception with IO_ERROR_NOT_SUPPORTED. - * - * @return true on successful creation, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_directory(); -#else - bool make_directory(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_directory_with_parents(const Glib::RefPtr& cancellable); -#else - bool make_directory_with_parents(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Creates a directory and any parent directories that may not exist, similar to 'mkdir -p'. - * If the file system does not support creating directories, this function will fail, - * throwing an exception with IO_ERROR_NOT_SUPPORTED. - * - * @return true on successful creation, false otherwise. - * - * @newin2p18 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_directory_with_parents(); -#else - bool make_directory_with_parents(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Creates a symbolic link. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param symlink_value A string with the value of the new symlink. - * @param cancellable Cancellable object. - * @return true on the creation of a new symlink, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_symbolic_link(const std::string& symlink_value, const Glib::RefPtr& cancellable); -#else - bool make_symbolic_link(const std::string& symlink_value, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Creates a symbolic link. - * - * @param symlink_value A string with the value of the new symlink. - * @return true on the creation of a new symlink, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_symbolic_link(const std::string& symlink_value); -#else - bool make_symbolic_link(const std::string& symlink_value, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Obtain the list of settable attributes for the file. - * - * Returns: a FileAttributeInfoList describing the settable attributes. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return A FileAttributeInfoList describing the settable attributes. - * When you are done with it, release it with g_file_attribute_info_list_unref(). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_settable_attributes(const Glib::RefPtr& cancellable); -#else - Glib::RefPtr query_settable_attributes(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Obtain the list of settable attributes for the file. - * - * Returns: a FileAttributeInfoList describing the settable attributes. - * @return A FileAttributeInfoList describing the settable attributes. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_settable_attributes(); -#else - Glib::RefPtr query_settable_attributes(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Obtain the list of attribute namespaces where new attributes - * can be created by a user. An example of this is extended - * attributes (in the "xattr" namespace). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return A FileAttributeInfoList describing the writable namespaces. - * When you are done with it, release it with g_file_attribute_info_list_unref(). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_writable_namespaces(const Glib::RefPtr& cancellable); -#else - Glib::RefPtr query_writable_namespaces(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Obtain the list of attribute namespaces where new attributes - * can be created by a user. An example of this is extended - * attributes (in the "xattr" namespace). - * - * @return A FileAttributeInfoList describing the writable namespaces. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_writable_namespaces(); -#else - Glib::RefPtr query_writable_namespaces(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /* This seems to be very generic (see the gpointer parameter), - in a C kind of way. Hopefully we don't need it. murrayc - gboolean g_file_set_attribute (GFile *file, - const char *attribute, - GFileAttributeType type, - gpointer value_p, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); - */ - - /** Tries to set all attributes in the FileInfo on the target values, - * not stopping on the first error. - * - * If there is any error during this operation then a Gio::Error will be thrown. - * Error on particular fields are flagged by setting - * the "status" field in the attribute value to - * FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect - * further errors. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * @param info A FileInfo. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags A set of FileQueryInfoFlags. - * @return true if there was any error, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - bool set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to set all attributes in the FileInfo on the target values, - * not stopping on the first error. - * - * If there is any error during this operation then a Gio::Error will be thrown. - * Error on particular fields are flagged by setting - * the "status" field in the attribute value to - * FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect - * further errors. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * @param info A FileInfo. - * @param flags A set of FileQueryInfoFlags. - * @return true if there was any error, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - bool set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously sets the attributes of file with info. - * - * For more details, see set_attributes_from_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call set_attributes_finish() to get the result of the operation. - * - * @param info A FileInfo. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously sets the attributes of file with info. - * - * For more details, see set_attributes_from_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call set_attributes_finish() to get the result of the operation. - * - * @param info A FileInfo. - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - // takes GFileInfo** - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attributes_finish(const Glib::RefPtr& result, const Glib::RefPtr& info); -#else - bool set_attributes_finish(const Glib::RefPtr& result, const Glib::RefPtr& info, std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_STRING to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param attribute A string containing the attribute's name. - * @param value A string containing the attribute's value. - * @param flags FileQueryInfoFlags. - * @param cancellable Cancellable object. - * @return true if the @a attribute was successfully set, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable); -#else - bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_STRING to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A string containing the attribute's value. - * @param flags FileQueryInfoFlags. - * @return true if the @a attribute was successfully set, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags); -#else - bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_BYTE_STRING to @a value. - * If @a attribute is of a different type, this operation will fail, - * returning false. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param attribute A string containing the attribute's name. - * @param value A string containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @param cancellable Cancellable object. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable); -#else - bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_BYTE_STRING to @a value. - * If @a attribute is of a different type, this operation will fail, - * returning false. - * - * @param attribute A string containing the attribute's name. - * @param value A string containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags); -#else - bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_UINT32 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param attribute A string containing the attribute's name. - * @param value A #guint32 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @param cancellable Cancellable object. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable); -#else - bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_UINT32 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #guint32 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags); -#else - bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_INT32 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param attribute A string containing the attribute's name. - * @param value A #gint32 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @param cancellable Cancellable object. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable); -#else - bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_INT32 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #gint32 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags); -#else - bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_UINT64 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param attribute A string containing the attribute's name. - * @param value A #guint64 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @param cancellable Cancellable object. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable); -#else - bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_UINT64 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #guint64 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags); -#else - bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_INT64 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param attribute A string containing the attribute's name. - * @param value A #guint64 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @param cancellable Cancellable object. - * @return true if the @a attribute was successfully set, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable); -#else - bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_INT64 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #guint64 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags); -#else - bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - * When this operation has completed, @a slot will be called with, - * and the operation can be finalized with mount_enclosing_volume_finish(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * @param mount_operation A MountOperation. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object. - */ - void mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - * When this operation has completed, @a slot will be called with, - * and the operation can be finalized with mount_enclosing_volume_finish(). - * - * @param mount_operation A MountOperation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - * When this operation has completed, @a slot will be called with, - * and the operation can be finalized with mount_enclosing_volume_finish(). - * - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_enclosing_volume(const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - */ - void mount_enclosing_volume(MountMountFlags flags = MOUNT_MOUNT_NONE); - - - /** Finishes a mount operation started by g_file_mount_enclosing_volume(). - * @param result A AsyncResult. - * @return true if successful. If an error - * has occurred, this function will return false and set @a error - * appropriately if present. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool mount_enclosing_volume_finish(const Glib::RefPtr& result); -#else - bool mount_enclosing_volume_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Mounts a file of type FILE_TYPE_MOUNTABLE. Using @a mount_operation, you can request callbacks when, for instance, - * passwords are needed during authentication. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call mount_mountable_finish() to get the result of the operation. - * - * @param mount_operation A MountOperation. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a file of type FILE_TYPE_MOUNTABLE. Using @a mount_operation, you can request callbacks when, for instance, - * passwords are needed during authentication. - * - * When the operation is finished, @a slot will be called. You can then call mount_mountable_finish() to get the result of the operation. - * - * @param mount_operation A MountOperation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a file of type FILE_TYPE_MOUNTABLE without user interaction. - * - * When the operation is finished, @a slot will be called. You can then call mount_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_mountable(const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a file of type FILE_TYPE_MOUNTABLE without user interaction. - */ - void mount_mountable(MountMountFlags flags = MOUNT_MOUNT_NONE); - - - /** Finishes a mount operation. See g_file_mount_mountable() for details. - * - * Finish an asynchronous mount operation that was started - * with g_file_mount_mountable(). - * @param result A AsyncResult. - * @return A File or 0 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr mount_mountable_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr mount_mountable_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Unmounts a file of type FILE_TYPE_MOUNTABLE. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call unmount_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the operation. - */ - void unmount_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a file of type FILE_TYPE_MOUNTABLE. - * - * When the operation is finished, @a slot will be called. You can then call unmount_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags Flags affecting the operation. - */ - void unmount_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a file of type FILE_TYPE_MOUNTABLE. - * - * @param flags Flags affecting the operation. - */ - void unmount_mountable(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Finishes an unmount operation, see g_file_unmount_mountable() for details. - * - * Finish an asynchronous unmount operation that was started - * with g_file_unmount_mountable(). - * @param result A AsyncResult. - * @return true if the operation finished successfully. false - * otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool unmount_mountable_finish(const Glib::RefPtr& result); -#else - bool unmount_mountable_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Starts an asynchronous eject on a mountable. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call eject_mountable_finish() to get the result of the operation. - * - * @param flags Flags affecting the operation. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void eject_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Starts an asynchronous eject on a mountable. - * - * When the operation is finished, @a slot will be called. You can then call eject_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags Flags affecting the operation. - */ - void eject_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Starts an asynchronous eject on a mountable. - * - * @param flags Flags affecting the operation. - */ - void eject_mountable(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Finishes an asynchronous eject operation started by - * g_file_eject_mountable(). - * @param result A AsyncResult. - * @return true if the @a file was ejected successfully. false - * otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool eject_mountable_finish(const Glib::RefPtr& result); -#else - bool eject_mountable_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Copies the file attributes from @a source to @a destination. - * - * Normally only a subset of the file attributes are copied, - * those that are copies in a normal file copy operation - * (which for instance does not include e.g. mtime). However - * if FILE_COPY_ALL_METADATA is specified in @a flags, then - * all the metadata that is possible to copy is copied. - * - * @param destination A File to copy attributes to. - * @param cancellable A Cancellable object. - * @param flags A set of FileMonitorFlags. - * @result true if the attributes were copied successfully, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error); -#endif - - /** Copies the file attributes from @a source to @a destination. - * - * Normally only a subset of the file attributes are copied, - * those that are copies in a normal file copy operation - * (which for instance does not include e.g. mtime). However - * if FILE_COPY_ALL_METADATA is specified in @a flags, then - * all the metadata that is possible to copy is copied. - * - * @param destination A File to copy attributes to. - * @param flags A set of FileMonitorFlags. - * @result true if the attributes were copied successfully, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error); -#endif - - - /** Obtains a directory monitor for the given file. - * This may fail if directory monitoring is not supported. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param cancellable A Cancellable object. - * @param flags A set of FileMonitorFlags. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Obtains a directory monitor for the given file. - * This may fail if directory monitoring is not supported. - * - * @param flags A set of FileMonitorFlags. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_directory(FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_directory(FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_file(FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_file(FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - * - * @newin2p18 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - * - * @newin2p18 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor(FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor(FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Returns: a AppInfo if the handle was found, 0 if there were errors. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return A AppInfo if the handle was found, 0 if there were errors. - * When you are done with it, release it with Glib::object_unref(). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_default_handler(const Glib::RefPtr& cancellable); -#else - Glib::RefPtr query_default_handler(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -/** Returns the AppInfo that is registered as the default - * application to handle the file specified by the file. - * - * @result A AppInfo if the handle was found, or an empty RefPtr if there were errors. - **/ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_default_handler(); -#else - Glib::RefPtr query_default_handler(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - //TODO: Something better than char*& for contents? - /** Loads the content of the file into memory, returning the size of the data. - * The data is always zero terminated, but this is not included in the resultant @a length. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error exception with CANCELLED will be returned. - * - * @param cancellable A cancellable object. - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out); -#else - bool load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error); -#endif - //TODO: Something better than char*& for contents? - /** Loads the content of the file into memory, returning the size of the data. - * The data is always zero terminated, but this is not included in the resultant @a length. - * - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_contents(char*& contents, gsize& length, std::string& etag_out); -#else - bool load_contents(char*& contents, gsize& length, std::string& etag_out, - std::auto_ptr& error); -#endif - - - /** Starts an asynchronous load of the file's contents. - * For more details, see load_contents() which is the synchronous version of this call. - * - * When the load operation has completed, the @a slot will be called. To finish the operation, - * call load_contents_finish() with the AsyncResult provided to the @a slot. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object. - */ - void load_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable); - - /** Starts an asynchronous load of the file's contents. - * For more details, see load_contents() which is the synchronous version of this call. - * - * When the load operation has completed, the @a slot will be called. To finish the operation, - * call load_contents_finish() with the AsyncResult provided to the @a slot. - * - * @param slot A callback slot which will be called when the request is satisfied. - */ - void load_contents_async(const SlotAsyncReady& slot); - - - /** Finishes an asynchronous load of the @a file's contents. - * The contents are placed in @a contents, and @a length is set to the - * size of the @a contents string. If @a etag_out is present, it will be - * set to the new entity tag for the @a file. - * @param res A AsyncResult. - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - * @return true if the load was successful. If false and @a error is - * present, it will be set appropriately. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out); -#else - bool load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** A signal handler would be, for instance: - * bool on_read_more(const char* file_contents, goffset file_size); - */ - typedef sigc::slot SlotReadMore; - - //Note that slot_read_more can be NULL but that would not be a useful method overload, because the documentation says that it would - //then be equivalent to load_contents_async. - - /** Reads the partial contents of a file. - * The @a slot_read_more callback slot should be used to stop reading from the file when appropriate. This operation can be finished by load_partial_contents_finish(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call load_partial_contents_finish() to get the result of the operation. - * - * @param slot_read_more A callback to receive partial data and to specify whether further data should be read. - * @param slot_async_ready A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - */ - void load_partial_contents_async(const SlotReadMore& slot_read_more, const SlotAsyncReady& slot_async_ready, const Glib::RefPtr& cancellable); - - /** Reads the partial contents of a file. - * The @a slot_read_more callback slot should be used to stop reading from the file when appropriate. This operation can be finished by load_partial_contents_finish(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call load_partial_contents_finish() to get the result of the operation. - * - * @param slot_read_more A callback to receive partial data and to specify whether further data should be read. - * @param slot_async_ready A callback slot which will be called when the request is satisfied. - */ - void load_partial_contents_async(const SlotReadMore& slot_read_more, const SlotAsyncReady& slot_async_ready); - - - /** Finishes an asynchronous partial load operation that was started - * with load_partial_contents_async(). - * @param res A AsyncResult. - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - * @return true if the load was successful. If false and @a error is - * present, it will be set appropriately. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out); -#else - bool load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Replaces the contents of the file with @a contents of @a length bytes. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param length The length of @a contents in bytes. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - * @param cancellable A Cancellable object. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Replaces the contents of the file with @a contents of @a length bytes. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param length The length of @a contents in bytes. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Replaces the contents of the file with @a contents. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - * @param cancellable A Cancellable object. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Replaces the contents of the file with @a contents. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //TODO: Add replace_contents() without the etags? - - - /** Starts an asynchronous replacement of the file with the given - * @a contents of @a length bytes. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param contents String of contents to replace the file with. - * @param length The length of @a contents in bytes. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const char* contents, gsize length, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - /** Starts an asynchronous replacement of the file with the given - * @a contents of @a length bytes. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param contents String of contents to replace the file with. - * @param length The length of @a contents in bytes. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const char* contents, gsize length, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - /** Starts an asynchronous replacement of the file with the given - * @a contents of @a length bytes. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param contents String of contents to replace the file with. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& contents, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - /** Starts an asynchronous replacement of the file with the given - * @a contents. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param contents String of contents to replace the file with. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const std::string& contents, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - - /** Finishes an asynchronous replace of the given file . See - * replace_contents_async(). Sets @a new_etag to the new entity - * tag for the document. - * @param result A AsyncResult. - * @param new_etag A location of a new entity tag - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents_finish(const Glib::RefPtr& result, std::string& etag); -#else - void replace_contents_finish(const Glib::RefPtr& result, std::string& etag, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Finishes an asynchronous replace of the given file . See - * replace_contents_async(). Sets @a new_etag to the new entity - * tag for the document. - * @param result A AsyncResult. - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents_finish(const Glib::RefPtr& result); -#else - void replace_contents_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - // *** vfuncs *** - - //_WRAP_VFUNC(Glib::RefPtr dup() const, "dup") - //_WRAP_VFUNC(guint hash() const, "hash") - //TODO: equal() vfunc - - //_WRAP_VFUNC(std::string get_basename() const, "get_basename") - //_WRAP_VFUNC(std::string get_path() const, "get_path") - //_WRAP_VFUNC(std::string get_uri() const, "get_uri") - //_WRAP_VFUNC(std::string get_parse_name() const, "get_parse_name") - - //Careful of refcounting: //_WRAP_VFUNC(Glib::RefPtr get_parent() const, "get_parent") - - // GFileIface does not define get_child(). Perhaps it's not intentional. - // //_WRAP_VFUNC(Glib::RefPtr get_child(const std::string& name) const, "get_child") - - // howto wrap a vfunc that takes a GError** -// //_WRAP_VFUNC(Glib::RefPtr get_child_for_display_name(const Glib::ustring& display_name) const, -// "get_child_for_display_name", -// errthrow) - - - //_WRAP_VFUNC(bool has_prefix(const Glib::RefPtr& prefix) const, "has_prefix") - - //_WRAP_VFUNC(std::string get_relative_path(const Glib::RefPtr& descendant) const, "get_relative_path") - - //Careful of refcounting: //_WRAP_VFUNC(Glib::RefPtr resolve_relative_path(const std::string& relative_path) const, "resolve_relative_path") - - //_WRAP_VFUNC(bool is_native() const, "is_native") - //_WRAP_VFUNC(bool has_uri_scheme(const std::string& uri_scheme) const, "has_uri_scheme") - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::File - */ - Glib::RefPtr wrap(GFile* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_FILE_H */ - diff --git a/libs/glibmm2/gio/giomm/fileattributeinfo.cc b/libs/glibmm2/gio/giomm/fileattributeinfo.cc deleted file mode 100644 index a0ca7be527..0000000000 --- a/libs/glibmm2/gio/giomm/fileattributeinfo.cc +++ /dev/null @@ -1,89 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -FileAttributeInfo::FileAttributeInfo(const GFileAttributeInfo* ginfo) - : - m_name(ginfo->name ? ginfo->name : ""), - m_type(static_cast(ginfo->type)), - m_flags(static_cast(ginfo->flags)) -{ -} - -FileAttributeInfo::FileAttributeInfo(const FileAttributeInfo& other) -{ - *this = other; -} - -FileAttributeInfo& -FileAttributeInfo::operator=(const FileAttributeInfo& other) -{ - m_name = other.m_name; - m_type = other.m_type; - m_flags = other.m_flags; - return *this; -} - -FileAttributeInfo::~FileAttributeInfo() -{ -} - -std::string -FileAttributeInfo::get_name() const -{ - return m_name; -} - -FileAttributeType -FileAttributeInfo::get_type() const -{ - return m_type; -} - -FileAttributeInfoFlags -FileAttributeInfo::get_flags() const -{ - return m_flags; -} - -} // namespace Gio - - -namespace -{ -} // anonymous namespace - - -namespace Gio -{ - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileattributeinfo.h b/libs/glibmm2/gio/giomm/fileattributeinfo.h deleted file mode 100644 index 74d291a55f..0000000000 --- a/libs/glibmm2/gio/giomm/fileattributeinfo.h +++ /dev/null @@ -1,153 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEATTRIBUTEINFO_H -#define _GIOMM_FILEATTRIBUTEINFO_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include //TODO: avoid this include -#include - - -namespace Gio -{ - -//TODO: Fix the need for NO_GTYPE. -//It guesses gfile_attribute_type_get_type() instead of g_file_attribute_type_get_type(). murrayc. -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - */ -enum FileAttributeType -{ - FILE_ATTRIBUTE_TYPE_INVALID, - FILE_ATTRIBUTE_TYPE_STRING, - FILE_ATTRIBUTE_TYPE_BYTE_STRING, - FILE_ATTRIBUTE_TYPE_BOOLEAN, - FILE_ATTRIBUTE_TYPE_UINT32, - FILE_ATTRIBUTE_TYPE_INT32, - FILE_ATTRIBUTE_TYPE_UINT64, - FILE_ATTRIBUTE_TYPE_INT64, - FILE_ATTRIBUTE_TYPE_OBJECT -}; - - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %FileAttributeInfoFlags operator|(FileAttributeInfoFlags, FileAttributeInfoFlags)
- * %FileAttributeInfoFlags operator&(FileAttributeInfoFlags, FileAttributeInfoFlags)
- * %FileAttributeInfoFlags operator^(FileAttributeInfoFlags, FileAttributeInfoFlags)
- * %FileAttributeInfoFlags operator~(FileAttributeInfoFlags)
- * %FileAttributeInfoFlags& operator|=(FileAttributeInfoFlags&, FileAttributeInfoFlags)
- * %FileAttributeInfoFlags& operator&=(FileAttributeInfoFlags&, FileAttributeInfoFlags)
- * %FileAttributeInfoFlags& operator^=(FileAttributeInfoFlags&, FileAttributeInfoFlags)
- */ -enum FileAttributeInfoFlags -{ - FILE_ATTRIBUTE_INFO_NONE = 0, - FILE_ATTRIBUTE_INFO_COPY_WITH_FILE = 1 << 0, - FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED = 1 << 1 -}; - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags operator|(FileAttributeInfoFlags lhs, FileAttributeInfoFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags operator&(FileAttributeInfoFlags lhs, FileAttributeInfoFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags operator^(FileAttributeInfoFlags lhs, FileAttributeInfoFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags operator~(FileAttributeInfoFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags& operator|=(FileAttributeInfoFlags& lhs, FileAttributeInfoFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags& operator&=(FileAttributeInfoFlags& lhs, FileAttributeInfoFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline FileAttributeInfoFlags& operator^=(FileAttributeInfoFlags& lhs, FileAttributeInfoFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - */ -enum FileAttributeStatus -{ - FILE_ATTRIBUTE_STATUS_UNSET, - FILE_ATTRIBUTE_STATUS_SET, - FILE_ATTRIBUTE_STATUS_ERROR_SETTING -}; - - -/** Information about a specific attribute - see FileAttributeInfoList. - * - * @newin2p16 - */ -class FileAttributeInfo -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileAttributeInfo CppObjectType; - typedef GFileAttributeInfo BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - -public: - explicit FileAttributeInfo(const GFileAttributeInfo* ginfo); - - FileAttributeInfo(const FileAttributeInfo& other); - FileAttributeInfo& operator=(const FileAttributeInfo& other); - - ~FileAttributeInfo(); - - std::string get_name() const; - FileAttributeType get_type() const; - FileAttributeInfoFlags get_flags() const; - -protected: - std::string m_name; - FileAttributeType m_type; - FileAttributeInfoFlags m_flags; - - -}; - -} // namespace Gio - - -#endif /* _GIOMM_FILEATTRIBUTEINFO_H */ - diff --git a/libs/glibmm2/gio/giomm/fileattributeinfolist.cc b/libs/glibmm2/gio/giomm/fileattributeinfolist.cc deleted file mode 100644 index 4ccd75ab74..0000000000 --- a/libs/glibmm2/gio/giomm/fileattributeinfolist.cc +++ /dev/null @@ -1,145 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -FileAttributeInfoList::operator bool() const -{ - return !empty(); -} - -bool FileAttributeInfoList::empty() const -{ - return gobj() == 0; -} - -FileAttributeInfo -FileAttributeInfoList::lookup(const std::string& name) const -{ - GFileAttributeInfoList* cobject = const_cast(gobj()); - const GFileAttributeInfo* cinfo = - g_file_attribute_info_list_lookup (cobject, name.c_str()); - - FileAttributeInfo info(cinfo); - return info; -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -/* Why reinterpret_cast(gobject) is needed: - * - * A FileAttributeInfoList instance is in fact always a GFileAttributeInfoList instance. - * Unfortunately, GFileAttributeInfoList cannot be a member of FileAttributeInfoList, - * because it is an opaque struct. Also, the C interface does not provide - * any hooks to install a destroy notification handler, thus we cannot - * wrap it dynamically either. - * - * The cast works because FileAttributeInfoList does not have any member data, and - * it is impossible to derive from it. This is ensured by not implementing - * the (protected) default constructor. The ctor is protected rather than - * private just to avoid a compile warning. - */ - -namespace Glib -{ - -Glib::RefPtr wrap(GFileAttributeInfoList* object, bool take_copy) -{ - if(take_copy && object) - g_file_attribute_info_list_ref(object); - - // See the comment at the top of this file, if you want to know why the cast works. - return Glib::RefPtr(reinterpret_cast(object)); -} - -} // namespace Glib - - -namespace Gio -{ - - -// static -Glib::RefPtr FileAttributeInfoList::create() -{ - // See the comment at the top of this file, if you want to know why the cast works. - return Glib::RefPtr(reinterpret_cast(g_file_attribute_info_list_new())); -} - -void FileAttributeInfoList::reference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - g_file_attribute_info_list_ref(reinterpret_cast(const_cast(this))); -} - -void FileAttributeInfoList::unreference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - g_file_attribute_info_list_unref(reinterpret_cast(const_cast(this))); -} - -GFileAttributeInfoList* FileAttributeInfoList::gobj() -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -const GFileAttributeInfoList* FileAttributeInfoList::gobj() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -GFileAttributeInfoList* FileAttributeInfoList::gobj_copy() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - GFileAttributeInfoList *const gobject = reinterpret_cast(const_cast(this)); - g_file_attribute_info_list_ref(gobject); - return gobject; -} - - -Glib::RefPtr FileAttributeInfoList::dup() const -{ - return Glib::wrap(g_file_attribute_info_list_dup(const_cast(gobj()))); -} - -void FileAttributeInfoList::add(const std::string& name, FileAttributeType type, FileAttributeInfoFlags flags) -{ -g_file_attribute_info_list_add(gobj(), name.c_str(), ((GFileAttributeType)(type)), ((GFileAttributeInfoFlags)(flags))); -} - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileattributeinfolist.h b/libs/glibmm2/gio/giomm/fileattributeinfolist.h deleted file mode 100644 index a6e6838319..0000000000 --- a/libs/glibmm2/gio/giomm/fileattributeinfolist.h +++ /dev/null @@ -1,145 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEATTRIBUTEINFOLIST_H -#define _GIOMM_FILEATTRIBUTEINFOLIST_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Gio -{ - -/** Key-Value paired file attributes. - * File attributes in GIO consist of a list of key-value pairs. - * - * Keys are strings that contain a key namespace and a key name, separated by a colon, e.g. "namespace:keyname". - * Namespaces are included to sort key-value pairs by namespaces for relevance. Keys can be retreived using wildcards, - * e.g. "standard::*" will return all of the keys in the "standard" namespace. - * - * Values are stored within the list in Gio::FileAttributeValue structures. Values can store different types, listed in the enum - * Gio::FileAttributeType. Upon creation of a Gio::FileAttributeValue, the type will be set to Gio::FILE_ATTRIBUTE_TYPE_INVALID. - * - * The list of possible attributes for a filesystem (pointed to by a Gio::File) is availible as a Gio::FileAttributeInfoList. - * This list is queryable by key names as indicated earlier. - * - * Classes that implement Gio::FileIface will create a Gio::FileAttributeInfoList and install default keys and values for their given file - * system, architecture, and other possible implementation details (e.g., on a UNIX system, a file attribute key will be registered for - * the user id for a given file). - * - * See http://library.gnome.org/devel/gio/unstable/gio-GFileAttribute.html for the list of default namespaces and the list of default keys. - * - * @newin2p16 - */ -class FileAttributeInfoList -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileAttributeInfoList CppObjectType; - typedef GFileAttributeInfoList BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - static Glib::RefPtr create(); - - // For use with Glib::RefPtr<> only. - void reference() const; - void unreference() const; - - ///Provides access to the underlying C instance. - GFileAttributeInfoList* gobj(); - - ///Provides access to the underlying C instance. - const GFileAttributeInfoList* gobj() const; - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileAttributeInfoList* gobj_copy() const; - -protected: - // Do not derive this. Gio::FileAttributeInfoList can neither be constructed nor deleted. - FileAttributeInfoList(); - void operator delete(void*, size_t); - -private: - // noncopyable - FileAttributeInfoList(const FileAttributeInfoList&); - FileAttributeInfoList& operator=(const FileAttributeInfoList&); - - -public: - - /** Whether the FileAttributeInfoList is valid and non empty. - * @result true if this FileAttributeInfoList is not empty. - */ - operator bool() const; - - /** Whether the FileAttributeInfoList is empty or invalid. - * @result true if this FileAttributeInfoList is empty. - */ - bool empty() const; - - /** Gets the file attribute with the name name from list. - * @param name The name of the attribute to lookup. - * @result A FileAttributeInfo for the name. - */ - FileAttributeInfo lookup(const std::string& name) const; - - - /** Makes a duplicate of a file attribute info list. - * @return A copy of the given @a list. - */ - Glib::RefPtr dup() const; - - - /** Adds a new attribute with @a name to the @a list, setting - * its @a type and @a flags. - * @param name The name of the attribute to add. - * @param type The FileAttributeType for the attribute. - * @param flags FileAttributeInfoFlags for the attribute. - */ - void add(const std::string& name, FileAttributeType type, FileAttributeInfoFlags flags = FILE_ATTRIBUTE_INFO_NONE); - - -}; - -} // namespace Gio - - -namespace Glib -{ - - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileAttributeInfoList - */ - Glib::RefPtr wrap(GFileAttributeInfoList* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_FILEATTRIBUTEINFOLIST_H */ - diff --git a/libs/glibmm2/gio/giomm/fileenumerator.cc b/libs/glibmm2/gio/giomm/fileenumerator.cc deleted file mode 100644 index f171c426be..0000000000 --- a/libs/glibmm2/gio/giomm/fileenumerator.cc +++ /dev/null @@ -1,372 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -void -FileEnumerator::next_files_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int num_files, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_next_files_async(gobj(), - num_files, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileEnumerator::next_files_async(const SlotAsyncReady& slot, int num_files, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_next_files_async(gobj(), - num_files, - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -FileEnumerator::close_async(int io_priority, - const Glib::RefPtr& cancellable, - const SlotAsyncReady& slot) -{ -// Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_close_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileEnumerator::close_async(int io_priority, - const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_close_async(gobj(), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileEnumerator::next_file() -#else -Glib::RefPtr FileEnumerator::next_file(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerator_next_file(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool FileEnumerator::close() -#else -bool FileEnumerator::close(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_enumerator_close(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFileEnumerator* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FileEnumerator_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FileEnumerator_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_file_enumerator_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void FileEnumerator_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FileEnumerator_Class::wrap_new(GObject* object) -{ - return new FileEnumerator((GFileEnumerator*)object); -} - - -/* The implementation: */ - -GFileEnumerator* FileEnumerator::gobj_copy() -{ - reference(); - return gobj(); -} - -FileEnumerator::FileEnumerator(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -FileEnumerator::FileEnumerator(GFileEnumerator* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -FileEnumerator::~FileEnumerator() -{} - - -FileEnumerator::CppClassType FileEnumerator::fileenumerator_class_; // initialize static member - -GType FileEnumerator::get_type() -{ - return fileenumerator_class_.init().get_type(); -} - -GType FileEnumerator::get_base_type() -{ - return g_file_enumerator_get_type(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileEnumerator::next_file(const Glib::RefPtr& cancellable) -#else -Glib::RefPtr FileEnumerator::next_file(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerator_next_file(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool FileEnumerator::close(const Glib::RefPtr& cancellable) -#else -bool FileEnumerator::close(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_enumerator_close(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ListHandle< Glib::RefPtr > FileEnumerator::next_files_finish(const Glib::RefPtr& result) -#else -Glib::ListHandle< Glib::RefPtr > FileEnumerator::next_files_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ListHandle< Glib::RefPtr > retvalue = Glib::ListHandle< Glib::RefPtr >((g_file_enumerator_next_files_finish(gobj(), Glib::unwrap(result), &(gerror))), Glib::OWNERSHIP_DEEP); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool FileEnumerator::close_finish(const Glib::RefPtr& result) -#else -bool FileEnumerator::close_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_enumerator_close_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -bool FileEnumerator::is_closed() const -{ - return g_file_enumerator_is_closed(const_cast(gobj())); -} - -bool FileEnumerator::has_pending() const -{ - return g_file_enumerator_has_pending(const_cast(gobj())); -} - -void FileEnumerator::set_pending(bool pending) -{ -g_file_enumerator_set_pending(gobj(), static_cast(pending)); -} - -Glib::RefPtr FileEnumerator::get_container() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerator_get_container(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr FileEnumerator::get_container() const -{ - - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerator_get_container(const_cast(gobj()))); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileenumerator.h b/libs/glibmm2/gio/giomm/fileenumerator.h deleted file mode 100644 index 1c779472c5..0000000000 --- a/libs/glibmm2/gio/giomm/fileenumerator.h +++ /dev/null @@ -1,314 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEENUMERATOR_H -#define _GIOMM_FILEENUMERATOR_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include -//#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileEnumerator GFileEnumerator; -typedef struct _GFileEnumeratorClass GFileEnumeratorClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FileEnumerator_Class; } // namespace Gio -namespace Gio -{ - -class File; - -//TODO: Consider wrapping this like a std::iterator (or at least renaming it), though the asyncness probably makes that unsuitable. - -/** Enumerated Files Routines. - * FileEnumerator allows you to operate on a set of Gio::Files, returning a Gio::FileInfo instance for each file enumerated - * (e.g. Gio::File::enumerate_children() will return a FileEnumerator for each of the children within a directory). - * - * To get the next file's information from a Gio::FileEnumerator, use next_file() or its asynchronous version, next_file_async(). - * Note that the asynchronous version will return a list of Gio::FileInfos, whereas the synchronous version will only return the next - * file in the enumerator. - * - * To close a Gio::FileEnumerator, use FileEnumerator::close(), or its asynchronous version, close_async(). Once a FileEnumerator is closed, - * no further actions may be performed on it. - * - * @newin2p16 - */ - -class FileEnumerator : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FileEnumerator CppObjectType; - typedef FileEnumerator_Class CppClassType; - typedef GFileEnumerator BaseObjectType; - typedef GFileEnumeratorClass BaseClassType; - -private: friend class FileEnumerator_Class; - static CppClassType fileenumerator_class_; - -private: - // noncopyable - FileEnumerator(const FileEnumerator&); - FileEnumerator& operator=(const FileEnumerator&); - -protected: - explicit FileEnumerator(const Glib::ConstructParams& construct_params); - explicit FileEnumerator(GFileEnumerator* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FileEnumerator(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFileEnumerator* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFileEnumerator* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileEnumerator* gobj_copy(); - -private: - - -public: - - /** Return value: A FileInfo or 0 on error or end of enumerator - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return A FileInfo or 0 on error or end of enumerator. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr next_file(const Glib::RefPtr& cancellable); -#else - Glib::RefPtr next_file(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** - * @return A FileInfo or an empty RefPtr on error or end of enumerator. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr next_file(); - #else - Glib::RefPtr next_file(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Releases all resources used by this enumerator, making the - * enumerator return IO_ERROR_CLOSED on all calls. - * - * This will be automatically called when the last reference - * is dropped, but you might want to call this function to make - * sure resources are released as early as possible. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return #true on success or #false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(const Glib::RefPtr& cancellable); -#else - bool close(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Releases all resources used by this enumerator, making the - * enumerator throw a Gio::Error with CLOSED on all calls. - * - * This will be automatically called when the last reference - * is dropped, but you might want to call this method to make sure resources - * are released as early as possible. - * @return #true on success or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(); - #else - bool close(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Request information for a number of files from the enumerator asynchronously. - * When all I/O for the operation is finished the callback slot will be called with the requested information. - * - * The callback could be called with less than num_files files in case of error or at the end of the enumerator. - * In case of a partial error the callback will be called with any succeeding items and no error, and on the next request the error will be reported. - * If a request is cancelled the callback will be called with ERROR_CANCELLED. - * - * During an async request no other sync and async calls are allowed, and will result in ERROR_PENDING errors. - * - * Any outstanding I/O request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. - * The default priority is PRIORITY_DEFAULT. - * @param slot A callback to call when the request is satisfied. - * @param cancellable An cancellable object which can be used to cancel the request. - * @param num_files The number of file info objects to request. - * @param io_priority The I/O priority of the request. - */ - void next_files_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int num_files = 1, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request information for a number of files from the enumerator asynchronously. - * When all I/O for the operation is finished the callback slot will be called with the requested information. - * - * The callback could be called with less than num_files files in case of error or at the end of the enumerator. - * In case of a partial error the callback will be called with any succeeding items and no error, and on the next request the error will be reported. - * If a request is cancelled the callback will be called with ERROR_CANCELLED. - * - * During an async request no other sync and async calls are allowed, and will result in ERROR_PENDING errors. - * - * Any outstanding I/O request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. - * The default priority is PRIORITY_DEFAULT. - * @param slot A callback to call when the request is satisfied. - * @param num_files The number of file info objects to request. - * @param io_priority The I/O priority of the request. - */ - void next_files_async(const SlotAsyncReady& slot, int num_files = 1, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes the asynchronous operation started with g_file_enumerator_next_files_async(). - * @param result A AsyncResult. - * @return A List of FileInfo<!---->s. You must free the list with g_list_free - * and unref the infos with g_object_unref when your done with them. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ListHandle< Glib::RefPtr > next_files_finish(const Glib::RefPtr& result); -#else - Glib::ListHandle< Glib::RefPtr > next_files_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously closes the file enumerator. - * - * See close(), which is the synchronous version of this function. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown by close_finish(). - * - * @param io_priority The I/O priority of the request. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback to call when the request is satisfied. - */ - void close_async(int io_priority, const Glib::RefPtr& cancellable, const SlotAsyncReady& slot); - - /** Asynchronously closes the file enumerator. - * - * See close(), which is the synchronous version of this function. - * - * @param io_priority The I/O priority of the request. - * @param slot A callback to call when the request is satisfied. - */ - void close_async(int io_priority, const SlotAsyncReady& slot); - - - /** Finishes closing a file enumerator, started from g_file_enumerator_close_async(). - * - * If the file enumerator was already closed when g_file_enumerator_close_async() - * was called, then this function will throw a Gio::Error with CLOSED, and - * return false. If the file enumerator had pending operation when the close - * operation was started, then this function will throw a Gio::Error with PENDING, and - * return false. The operation may have been - * cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown, and false will be - * returned. - * @param result A AsyncResult. - * @return true if the close operation has finished successfully. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close_finish(const Glib::RefPtr& result); -#else - bool close_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Checks if the file enumerator has been closed. - * @return true if the @a enumerator is closed. - */ - bool is_closed() const; - - /** Checks if the file enumerator has pending operations. - * @return true if the @a enumerator has pending operations. - */ - bool has_pending() const; - - /** Sets the file enumerator as having pending operations. - * @param pending A boolean value. - */ - void set_pending(bool pending = true); - - - Glib::RefPtr get_container(); - - Glib::RefPtr get_container() const; - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileEnumerator - */ - Glib::RefPtr wrap(GFileEnumerator* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILEENUMERATOR_H */ - diff --git a/libs/glibmm2/gio/giomm/fileicon.cc b/libs/glibmm2/gio/giomm/fileicon.cc deleted file mode 100644 index e5160742e3..0000000000 --- a/libs/glibmm2/gio/giomm/fileicon.cc +++ /dev/null @@ -1,176 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFileIcon* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FileIcon_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FileIcon_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_file_icon_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - Icon::add_interface(get_type()); - LoadableIcon::add_interface(get_type()); - - } - - return *this; -} - -void FileIcon_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FileIcon_Class::wrap_new(GObject* object) -{ - return new FileIcon((GFileIcon*)object); -} - - -/* The implementation: */ - -GFileIcon* FileIcon::gobj_copy() -{ - reference(); - return gobj(); -} - -FileIcon::FileIcon(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -FileIcon::FileIcon(GFileIcon* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -FileIcon::~FileIcon() -{} - - -FileIcon::CppClassType FileIcon::fileicon_class_; // initialize static member - -GType FileIcon::get_type() -{ - return fileicon_class_.init().get_type(); -} - -GType FileIcon::get_base_type() -{ - return g_file_icon_get_type(); -} - - -FileIcon::FileIcon() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(fileicon_class_.init())) -{ - - -} - -Glib::RefPtr FileIcon::create() -{ - return Glib::RefPtr( new FileIcon() ); -} -Glib::RefPtr FileIcon::get_file() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_file_icon_get_file(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr FileIcon::get_file() const -{ - return const_cast(this)->get_file(); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileicon.h b/libs/glibmm2/gio/giomm/fileicon.h deleted file mode 100644 index a02678ffff..0000000000 --- a/libs/glibmm2/gio/giomm/fileicon.h +++ /dev/null @@ -1,154 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEICON_H -#define _GIOMM_FILEICON_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileIcon GFileIcon; -typedef struct _GFileIconClass GFileIconClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FileIcon_Class; } // namespace Gio -namespace Gio -{ - -/** FileIcon specifies an icon by pointing to an image file to be used as icon. - * - * @newin2p16 - */ - -class FileIcon -: public Glib::Object, - //Already derived by LoadableIcon: public Icon, - public LoadableIcon -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FileIcon CppObjectType; - typedef FileIcon_Class CppClassType; - typedef GFileIcon BaseObjectType; - typedef GFileIconClass BaseClassType; - -private: friend class FileIcon_Class; - static CppClassType fileicon_class_; - -private: - // noncopyable - FileIcon(const FileIcon&); - FileIcon& operator=(const FileIcon&); - -protected: - explicit FileIcon(const Glib::ConstructParams& construct_params); - explicit FileIcon(GFileIcon* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FileIcon(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFileIcon* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFileIcon* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileIcon* gobj_copy(); - -private: - - -protected: - FileIcon(); - -public: - - static Glib::RefPtr create(); - - - /** Gets the File associated with the given @a icon. - * @return A File, or 0. - */ - Glib::RefPtr get_file(); - - /** Gets the File associated with the given @a icon. - * @return A File, or 0. - */ - Glib::RefPtr get_file() const; - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileIcon - */ - Glib::RefPtr wrap(GFileIcon* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILEICON_H */ - diff --git a/libs/glibmm2/gio/giomm/fileinfo.cc b/libs/glibmm2/gio/giomm/fileinfo.cc deleted file mode 100644 index 3038b27a30..0000000000 --- a/libs/glibmm2/gio/giomm/fileinfo.cc +++ /dev/null @@ -1,528 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - -// FileAttributeMatcher - -Glib::RefPtr -FileAttributeMatcher::create(const std::string& attributes) -{ - return Glib::wrap(g_file_attribute_matcher_new(attributes.c_str())); -} - -Glib::TimeVal FileInfo::modification_time() const -{ - Glib::TimeVal result; - g_file_info_get_modification_time(const_cast(gobj()), (GTimeVal*)(&result)); - return result; -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -/* Why reinterpret_cast(gobject) is needed: - * - * A FileAttributeMatcher instance is in fact always a GFileAttributeMatcher instance. - * Unfortunately, GFileAttributeMatcher cannot be a member of FileAttributeMatcher, - * because it is an opaque struct. Also, the C interface does not provide - * any hooks to install a destroy notification handler, thus we cannot - * wrap it dynamically either. - * - * The cast works because FileAttributeMatcher does not have any member data, and - * it is impossible to derive from it. This is ensured by not implementing - * the (protected) default constructor. The ctor is protected rather than - * private just to avoid a compile warning. - */ - -namespace Glib -{ - -Glib::RefPtr wrap(GFileAttributeMatcher* object, bool take_copy) -{ - if(take_copy && object) - g_file_attribute_matcher_ref(object); - - // See the comment at the top of this file, if you want to know why the cast works. - return Glib::RefPtr(reinterpret_cast(object)); -} - -} // namespace Glib - - -namespace Gio -{ - - -void FileAttributeMatcher::reference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - g_file_attribute_matcher_ref(reinterpret_cast(const_cast(this))); -} - -void FileAttributeMatcher::unreference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - g_file_attribute_matcher_unref(reinterpret_cast(const_cast(this))); -} - -GFileAttributeMatcher* FileAttributeMatcher::gobj() -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -const GFileAttributeMatcher* FileAttributeMatcher::gobj() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -GFileAttributeMatcher* FileAttributeMatcher::gobj_copy() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - GFileAttributeMatcher *const gobject = reinterpret_cast(const_cast(this)); - g_file_attribute_matcher_ref(gobject); - return gobject; -} - - -bool FileAttributeMatcher::matches(const std::string& full_name) const -{ - return g_file_attribute_matcher_matches(const_cast(gobj()), full_name.c_str()); -} - -bool FileAttributeMatcher::matches_only(const std::string& full_name) const -{ - return g_file_attribute_matcher_matches_only(const_cast(gobj()), full_name.c_str()); -} - -bool FileAttributeMatcher::enumerate_namespace(const std::string& ns) -{ - return g_file_attribute_matcher_enumerate_namespace(gobj(), ns.c_str()); -} - -std::string FileAttributeMatcher::enumerate_next() -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_attribute_matcher_enumerate_next(gobj())); -} - - -} // namespace Gio - - -namespace Glib -{ - -Glib::RefPtr wrap(GFileInfo* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FileInfo_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FileInfo_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_file_info_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void FileInfo_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FileInfo_Class::wrap_new(GObject* object) -{ - return new FileInfo((GFileInfo*)object); -} - - -/* The implementation: */ - -GFileInfo* FileInfo::gobj_copy() -{ - reference(); - return gobj(); -} - -FileInfo::FileInfo(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -FileInfo::FileInfo(GFileInfo* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -FileInfo::~FileInfo() -{} - - -FileInfo::CppClassType FileInfo::fileinfo_class_; // initialize static member - -GType FileInfo::get_type() -{ - return fileinfo_class_.init().get_type(); -} - -GType FileInfo::get_base_type() -{ - return g_file_info_get_type(); -} - -FileInfo::FileInfo() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(fileinfo_class_.init())) -{ - - -} - -Glib::RefPtr FileInfo::dup() const -{ - return Glib::wrap(g_file_info_dup(const_cast(gobj()))); -} - -void FileInfo::copy_into(Glib::RefPtr& dest) const -{ -g_file_info_copy_into(const_cast(gobj()), Glib::unwrap(dest)); -} - -bool FileInfo::has_attribute(const std::string& attribute) const -{ - return g_file_info_has_attribute(const_cast(gobj()), attribute.c_str()); -} - -Glib::StringArrayHandle FileInfo::list_attributes(const std::string& name_space) const -{ - return Glib::StringArrayHandle(g_file_info_list_attributes(const_cast(gobj()), name_space.c_str())); -} - -FileAttributeType FileInfo::get_attribute_type(const std::string& attribute) const -{ - return ((FileAttributeType)(g_file_info_get_attribute_type(const_cast(gobj()), attribute.c_str()))); -} - -void FileInfo::remove_attribute(const std::string& attribute) -{ -g_file_info_remove_attribute(gobj(), attribute.c_str()); -} - -std::string FileInfo::get_attribute_string(const std::string& attribute) const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_attribute_string(const_cast(gobj()), attribute.c_str())); -} - -Glib::ustring FileInfo::get_attribute_as_string(const std::string& attribute) const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_file_info_get_attribute_as_string(const_cast(gobj()), attribute.c_str())); -} - -std::string FileInfo::get_attribute_byte_string(const std::string& attribute) const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_attribute_byte_string(const_cast(gobj()), attribute.c_str())); -} - -bool FileInfo::get_attribute_boolean(const std::string& attribute) const -{ - return g_file_info_get_attribute_boolean(const_cast(gobj()), attribute.c_str()); -} - -guint32 FileInfo::get_attribute_uint32(const std::string& attribute) const -{ - return g_file_info_get_attribute_uint32(const_cast(gobj()), attribute.c_str()); -} - -gint32 FileInfo::get_attribute_int32(const std::string& attribute) const -{ - return g_file_info_get_attribute_int32(const_cast(gobj()), attribute.c_str()); -} - -guint64 FileInfo::get_attribute_uint64(const std::string& attribute) const -{ - return g_file_info_get_attribute_uint64(const_cast(gobj()), attribute.c_str()); -} - -gint64 FileInfo::get_attribute_int64(const std::string& attribute) const -{ - return g_file_info_get_attribute_int64(const_cast(gobj()), attribute.c_str()); -} - -Glib::RefPtr FileInfo::get_attribute_object(const std::string& attribute) const -{ - return Glib::wrap(g_file_info_get_attribute_object(const_cast(gobj()), attribute.c_str())); -} - -void FileInfo::set_attribute_string(const std::string& attribute, const std::string& value) -{ -g_file_info_set_attribute_string(gobj(), attribute.c_str(), value.c_str()); -} - -void FileInfo::set_attribute_byte_string(const std::string& attribute, const std::string& value) -{ -g_file_info_set_attribute_byte_string(gobj(), attribute.c_str(), value.c_str()); -} - -void FileInfo::set_attribute_boolean(const std::string& attribute, bool value) -{ -g_file_info_set_attribute_boolean(gobj(), attribute.c_str(), static_cast(value)); -} - -void FileInfo::set_attribute_uint32(const std::string& attribute, guint32 value) -{ -g_file_info_set_attribute_uint32(gobj(), attribute.c_str(), value); -} - -void FileInfo::set_attribute_int32(const std::string& attribute, gint32 value) -{ -g_file_info_set_attribute_int32(gobj(), attribute.c_str(), value); -} - -void FileInfo::set_attribute_uint64(const std::string& attribute, guint64 value) -{ -g_file_info_set_attribute_uint64(gobj(), attribute.c_str(), value); -} - -void FileInfo::set_attribute_int64(const std::string& attribute, gint64 value) -{ -g_file_info_set_attribute_int64(gobj(), attribute.c_str(), value); -} - -void FileInfo::set_attribute_object(const std::string& attribute, const Glib::RefPtr& object) -{ -g_file_info_set_attribute_object(gobj(), attribute.c_str(), Glib::unwrap(object)); -} - -void FileInfo::clear_status() -{ -g_file_info_clear_status(gobj()); -} - -FileType FileInfo::get_file_type() const -{ - return ((FileType)(g_file_info_get_file_type(const_cast(gobj())))); -} - -bool FileInfo::is_hidden() const -{ - return g_file_info_get_is_hidden(const_cast(gobj())); -} - -bool FileInfo::is_backup() const -{ - return g_file_info_get_is_backup(const_cast(gobj())); -} - -bool FileInfo::is_symlink() const -{ - return g_file_info_get_is_symlink(const_cast(gobj())); -} - -std::string FileInfo::get_name() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_name(const_cast(gobj()))); -} - -std::string FileInfo::get_display_name() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_display_name(const_cast(gobj()))); -} - -std::string FileInfo::get_edit_name() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_edit_name(const_cast(gobj()))); -} - -Glib::RefPtr FileInfo::get_icon() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_file_info_get_icon(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr FileInfo::get_icon() const -{ - return const_cast(this)->get_icon(); -} - -std::string FileInfo::get_content_type() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_content_type(const_cast(gobj()))); -} - -goffset FileInfo::get_size() const -{ - return g_file_info_get_size(const_cast(gobj())); -} - -std::string FileInfo::get_symlink_target() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_symlink_target(const_cast(gobj()))); -} - -std::string FileInfo::get_etag() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_file_info_get_etag(const_cast(gobj()))); -} - -gint32 FileInfo::get_sort_order() const -{ - return g_file_info_get_sort_order(const_cast(gobj())); -} - -void FileInfo::set_attribute_mask(const Glib::RefPtr& mask) -{ -g_file_info_set_attribute_mask(gobj(), const_cast(Glib::unwrap(mask))); -} - -void FileInfo::unset_attribute_mask() -{ -g_file_info_unset_attribute_mask(gobj()); -} - -void FileInfo::set_file_type(FileType type) -{ -g_file_info_set_file_type(gobj(), ((GFileType)(type))); -} - -void FileInfo::set_is_hidden(bool is_hidden) -{ -g_file_info_set_is_hidden(gobj(), static_cast(is_hidden)); -} - -void FileInfo::set_is_symlink(bool is_symlink) -{ -g_file_info_set_is_symlink(gobj(), static_cast(is_symlink)); -} - -void FileInfo::set_name(const std::string& name) -{ -g_file_info_set_name(gobj(), name.c_str()); -} - -void FileInfo::set_display_name(const std::string& display_name) -{ -g_file_info_set_display_name(gobj(), display_name.c_str()); -} - -void FileInfo::set_edit_name(const std::string& edit_name) -{ -g_file_info_set_edit_name(gobj(), edit_name.c_str()); -} - -void FileInfo::set_icon(const Glib::RefPtr& icon) -{ -g_file_info_set_icon(gobj(), const_cast(Glib::unwrap(icon))); -} - -void FileInfo::set_content_type(const std::string& content_type) -{ -g_file_info_set_content_type(gobj(), content_type.c_str()); -} - -void FileInfo::set_size(goffset size) -{ -g_file_info_set_size(gobj(), size); -} - -void FileInfo::set_modification_time(const Glib::TimeVal& mtime) -{ -g_file_info_set_modification_time(gobj(), const_cast(static_cast(&mtime))); -} - -void FileInfo::set_symlink_target(const std::string& symlink_target) -{ -g_file_info_set_symlink_target(gobj(), symlink_target.c_str()); -} - -void FileInfo::set_sort_order(gint32 sort_order) -{ -g_file_info_set_sort_order(gobj(), sort_order); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileinfo.h b/libs/glibmm2/gio/giomm/fileinfo.h deleted file mode 100644 index 879e9feb74..0000000000 --- a/libs/glibmm2/gio/giomm/fileinfo.h +++ /dev/null @@ -1,608 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEINFO_H -#define _GIOMM_FILEINFO_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileInfo GFileInfo; -typedef struct _GFileInfoClass GFileInfoClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FileInfo_Class; } // namespace Gio -namespace Gio -{ - -// Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN because the former is a -// define in a Windows header (winbase.h, included from windows.h). -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - */ -enum FileType -{ - FILE_TYPE_NOT_KNOWN, - FILE_TYPE_REGULAR, - FILE_TYPE_DIRECTORY, - FILE_TYPE_SYMBOLIC_LINK, - FILE_TYPE_SPECIAL, - FILE_TYPE_SHORTCUT, - FILE_TYPE_MOUNTABLE -}; - - -// Provide FILE_TYPE_UNKNOWN for backwards compatibility. -#ifndef DOXYGEN_SHOULD_SKIP_THIS -#ifndef FILE_TYPE_UNKNOWN -const FileType FILE_TYPE_UNKNOWN = FILE_TYPE_NOT_KNOWN; -#endif -#endif - -//TODO: attribute strings - -/** FileAttributeMatcher allows for searching through a FileInfo for attributes. - * - * @newin2p16 - */ -class FileAttributeMatcher -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileAttributeMatcher CppObjectType; - typedef GFileAttributeMatcher BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - - // For use with Glib::RefPtr<> only. - void reference() const; - void unreference() const; - - ///Provides access to the underlying C instance. - GFileAttributeMatcher* gobj(); - - ///Provides access to the underlying C instance. - const GFileAttributeMatcher* gobj() const; - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileAttributeMatcher* gobj_copy() const; - -protected: - // Do not derive this. Gio::FileAttributeMatcher can neither be constructed nor deleted. - FileAttributeMatcher(); - void operator delete(void*, size_t); - -private: - // noncopyable - FileAttributeMatcher(const FileAttributeMatcher&); - FileAttributeMatcher& operator=(const FileAttributeMatcher&); - - -public: - /** Creates a new file attribute matcher, which matches attributes against a given string. - * The attribute string should be formatted with specific keys separated from namespaces with a double colon. - * Several "namespace::key" strings may be concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). - * The wildcard "*" may be used to match all keys and namespaces, or "namespace::*" will match all keys in a given namespace. - * - * @param attributes The attributes string. - * @result a new FileAttributeMatcher. - */ - static Glib::RefPtr create(const std::string& attributes = "*"); - - - /** Checks if an attribute will be matched by an attribute matcher. If - * the matcher was created with the "*" matching string, this function - * will always return true. - * @param attribute A file attribute key. - * @return true if @a attribute matches @a matcher. false otherwise. - */ - bool matches(const std::string& full_name) const; - - /** Checks if a attribute matcher only matches a given attribute. Always - * Returns: true if the matcher only matches @a attribute. false otherwise. - * @param attribute A file attribute key. - * @return true if the matcher only matches @a attribute. false otherwise. - */ - bool matches_only(const std::string& full_name) const; - - /** Checks if the matcher will match all of the keys in a given namespace. - * This will always return true if a wildcard character is in use (e.g. if - * matcher was created with "standard::*" and @a ns is "standard", or if matcher was created - * using "*" and namespace is anything.) - * - * TODO: this is awkwardly worded. - * @param ns A string containing a file attribute namespace. - * @return true if the matcher matches all of the entries - * in the given @a ns, false otherwise. - */ - bool enumerate_namespace(const std::string& ns); - - /** Gets the next matched attribute from a FileAttributeMatcher. - * @return A string containing the next attribute or 0 if - * no more attribute exist. - */ - std::string enumerate_next(); - - -}; - -/** FileInfo implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. - * See FileAttribute for more information on how GIO handles file attributes. - * - * To obtain a FileInfo for a File, use File::query_info() (or its async variant). - * To obtain a FileInfo for a file input or output stream, use FileInput::stream_query_info() or FileOutput::stream_query_info() - * (or their async variants). - * - * FileAttributeMatcher allows for searching through a FileInfo for attributes. - */ - -class FileInfo : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FileInfo CppObjectType; - typedef FileInfo_Class CppClassType; - typedef GFileInfo BaseObjectType; - typedef GFileInfoClass BaseClassType; - -private: friend class FileInfo_Class; - static CppClassType fileinfo_class_; - -private: - // noncopyable - FileInfo(const FileInfo&); - FileInfo& operator=(const FileInfo&); - -protected: - explicit FileInfo(const Glib::ConstructParams& construct_params); - explicit FileInfo(GFileInfo* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FileInfo(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFileInfo* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFileInfo* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileInfo* gobj_copy(); - -private: - - -public: - FileInfo(); - - - /** Duplicates a file info structure. - * @return A duplicate FileInfo of @a other. - */ - Glib::RefPtr dup() const; - - /** Copies all of the FileAttribute<!-- -->s from @a src_info to @a dest_info. - * @param dest_info Destination to copy attributes to. - */ - void copy_into(Glib::RefPtr& dest) const; - - /** Checks if a file info structure has an attribute named @a attribute. - * @param attribute A file attribute key. - * @return true if @a Ginfo has an attribute named @a attribute, - * false otherwise. - */ - bool has_attribute(const std::string& attribute) const; - - /** Lists the file info structure's attributes. - * @param name_space A file attribute key's namespace. - * @return A null-terminated array of strings of all of the - * possible attribute types for the given @a name_space, or - * 0 on error. - */ - Glib::StringArrayHandle list_attributes(const std::string& name_space) const; - - /** Gets the attribute type for an attribute key. - * @param attribute A file attribute key. - * @return A FileAttributeType for the given @a attribute, or - * FILE_ATTRIBUTE_TYPE_INVALID if the key is invalid. - */ - FileAttributeType get_attribute_type(const std::string& attribute) const; - - /** Removes all cases of @a attribute from @a info if it exists. - * @param attribute A file attribute key. - */ - void remove_attribute(const std::string& attribute); - - /** Gets the value of a string attribute. If the attribute does - * not contain a string, 0 will be returned. - * @param attribute A file attribute key. - * @return The contents of the @a attribute value as a string, or - * 0 otherwise. - */ - std::string get_attribute_string(const std::string& attribute) const; - - /** Gets the value of a attribute, formated as a string. - * This escapes things as needed to make the string valid - * utf8. - * @param attribute A file attribute key. - * @return A UTF-8 string associated with the given @a attribute. - * When you're done with the string it must be freed with Glib::free(). - */ - Glib::ustring get_attribute_as_string(const std::string& attribute) const; - - /** Gets the value of a byte string attribute. If the attribute does - * not contain a byte string, 0 will be returned. - * @param attribute A file attribute key. - * @return The contents of the @a attribute value as a byte string, or - * 0 otherwise. - */ - std::string get_attribute_byte_string(const std::string& attribute) const; - - /** Gets the value of a boolean attribute. If the attribute does not - * contain a boolean value, false will be returned. - * @param attribute A file attribute key. - * @return The boolean value contained within the attribute. - */ - bool get_attribute_boolean(const std::string& attribute) const; - - /** Gets an unsigned 32-bit integer contained within the attribute. If the - * attribute does not contain an unsigned 32-bit integer, or is invalid, - * 0 will be returned. - * @param attribute A file attribute key. - * @return An unsigned 32-bit integer from the attribute. - */ - guint32 get_attribute_uint32(const std::string& attribute) const; - - /** Gets a signed 32-bit integer contained within the attribute. If the - * attribute does not contain a signed 32-bit integer, or is invalid, - * 0 will be returned. - * @param attribute A file attribute key. - * @return A signed 32-bit integer from the attribute. - */ - gint32 get_attribute_int32(const std::string& attribute) const; - - /** Gets a unsigned 64-bit integer contained within the attribute. If the - * attribute does not contain an unsigned 64-bit integer, or is invalid, - * 0 will be returned. - * @param attribute A file attribute key. - * @return A unsigned 64-bit integer from the attribute. - */ - guint64 get_attribute_uint64(const std::string& attribute) const; - - /** Gets a signed 64-bit integer contained within the attribute. If the - * attribute does not contain an signed 64-bit integer, or is invalid, - * 0 will be returned. - * @param attribute A file attribute key. - * @return A signed 64-bit integer from the attribute. - */ - gint64 get_attribute_int64(const std::string& attribute) const; - - /** Gets the value of a Object attribute. If the attribute does - * not contain a Object, 0 will be returned. - * @param attribute A file attribute key. - * @return A Object associated with the given @a attribute, or - * 0 otherwise. - */ - Glib::RefPtr get_attribute_object(const std::string& attribute) const; - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value A string. - */ - void set_attribute_string(const std::string& attribute, const std::string& value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value A byte string. - */ - void set_attribute_byte_string(const std::string& attribute, const std::string& value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value A boolean value. - */ - void set_attribute_boolean(const std::string& attribute, bool value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value An unsigned 32-bit integer. - */ - void set_attribute_uint32(const std::string& attribute, guint32 value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value A signed 32-bit integer. - */ - void set_attribute_int32(const std::string& attribute, gint32 value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value An unsigned 64-bit integer. - */ - void set_attribute_uint64(const std::string& attribute, guint64 value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute Attribute name to set. - * @param attr_value Int64 value to set attribute to. - */ - void set_attribute_int64(const std::string& attribute, gint64 value); - - /** Sets the @a attribute to contain the given @a attr_value, - * if possible. - * @param attribute A file attribute key. - * @param attr_value A Object. - */ - void set_attribute_object(const std::string& attribute, const Glib::RefPtr& object); - - /** Clears the status information from @a info. - */ - void clear_status(); - - // helper getters - - - /** Gets a file's type (whether it is a regular file, symlink, etc). - * This is different from the file's content type, see g_file_info_get_content_type(). - * @return A FileType for the given file. - */ - FileType get_file_type() const; - - /** Checks if a file is hidden. - * @return true if the file is a hidden file, false otherwise. - */ - bool is_hidden() const; - - /** Checks if a file is a backup file. - * @return true if file is a backup file, false otherwise. - */ - bool is_backup() const; - - /** Checks if a file is a symlink. - * @return true if the given @a info is a symlink. - */ - bool is_symlink() const; - - /** Gets the name for a file. - * @return A string containing the file name. - */ - std::string get_name() const; - - /** Gets a display name for a file. - * @return A string containing the display name. - */ - std::string get_display_name() const; - - /** Gets the edit name for a file. - * @return A string containing the edit name. - */ - std::string get_edit_name() const; - - - /** Gets the icon for a file. - * @return Icon for the given @a info. - */ - Glib::RefPtr get_icon(); - - /** Gets the icon for a file. - * @return Icon for the given @a info. - */ - Glib::RefPtr get_icon() const; - - - /** Gets the file's content type. - * @return A string containing the file's content type.s. - */ - std::string get_content_type() const; - - /** Gets the file's size. - * @return A #goffset containing the file's size. - */ - goffset get_size() const; - - Glib::TimeVal modification_time() const; - - - /** Gets the symlink target for a given FileInfo. - * @return A string containing the symlink target. - */ - std::string get_symlink_target() const; - - /** Gets the entity tag for a given - * FileInfo. See FILE_ATTRIBUTE_ETAG_VALUE. - * @return A string containing the value of the "etag:value" attribute. - */ - std::string get_etag() const; - - /** Gets the value of the sort_order attribute from the FileInfo. - * See FILE_ATTRIBUTE_STANDARD_SORT_ORDER. - * @return A #gint32 containing the value of the "standard::sort_order" attribute. - */ - gint32 get_sort_order() const; - - /** Sets @a mask on @a info to match specific attribute types. - * @param mask A FileAttributeMatcher. - */ - void set_attribute_mask(const Glib::RefPtr& mask); - - /** Unsets a mask set by g_file_info_set_attribute_mask(), if one - * is set. - */ - void unset_attribute_mask(); - - // helper setters - - - /** Sets the file type in a FileInfo to @a type. - * See FILE_ATTRIBUTE_STANDARD_TYPE. - * @param type A FileType. - */ - void set_file_type(FileType type); - - /** Sets the "is_hidden" attribute in a FileInfo according to @a is_symlink. - * See FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. - * @param is_hidden A bool. - */ - void set_is_hidden(bool is_hidden = true); - - /** Sets the "is_symlink" attribute in a FileInfo according to @a is_symlink. - * See FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. - * @param is_symlink A bool. - */ - void set_is_symlink(bool is_symlink = true); - - /** Sets the name attribute for the current FileInfo. - * See FILE_ATTRIBUTE_STANDARD_NAME. - * @param name A string containing a name. - */ - void set_name(const std::string& name); - - /** Sets the display name for the current FileInfo. - * See FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. - * @param display_name A string containing a display name. - */ - void set_display_name(const std::string& display_name); - - /** Sets the edit name for the current file. - * See FILE_ATTRIBUTE_STANDARD_EDIT_NAME. - * @param edit_name A string containing an edit name. - */ - void set_edit_name(const std::string& edit_name); - - /** Sets the icon for a given FileInfo. - * See FILE_ATTRIBUTE_STANDARD_ICON. - * @param icon A Icon. - */ - void set_icon(const Glib::RefPtr& icon); - - /** Sets the content type attribute for a given FileInfo. - * See FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. - * @param content_type A content type. See ContentType. - */ - void set_content_type(const std::string& content_type); - - /** Sets the FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info - * to the given size. - * @param size A #goffset containing the file's size. - */ - void set_size(goffset size); - - - /** Sets the FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file - * info to the given time value. - * @param mtime A TimeVal. - */ - void set_modification_time(const Glib::TimeVal& mtime); - - /** Sets the FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info - * to the given symlink target. - * @param symlink_target A static string containing a path to a symlink target. - */ - void set_symlink_target(const std::string& symlink_target); - - /** Sets the sort order attribute in the file info structure. See - * FILE_ATTRIBUTE_STANDARD_SORT_ORDER. - * @param sort_order A sort order integer. - */ - void set_sort_order(gint32 sort_order); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileAttributeMatcher - */ - Glib::RefPtr wrap(GFileAttributeMatcher* object, bool take_copy = false); - -} // namespace Glib - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileInfo - */ - Glib::RefPtr wrap(GFileInfo* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILEINFO_H */ - diff --git a/libs/glibmm2/gio/giomm/fileinputstream.cc b/libs/glibmm2/gio/giomm/fileinputstream.cc deleted file mode 100644 index d70888c069..0000000000 --- a/libs/glibmm2/gio/giomm/fileinputstream.cc +++ /dev/null @@ -1,243 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" -#include - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileInputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes) -#else -Glib::RefPtr FileInputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_input_stream_query_info(gobj(), g_strdup((attributes).c_str()), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileInputStream::query_info(const std::string& attributes) -#else -Glib::RefPtr FileInputStream::query_info(const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_input_stream_query_info(gobj(), g_strdup((attributes).c_str()), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -FileInputStream::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_input_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileInputStream::query_info_async(const SlotAsyncReady& slot, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_input_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFileInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FileInputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FileInputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_file_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - Seekable::add_interface(get_type()); - - } - - return *this; -} - -void FileInputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FileInputStream_Class::wrap_new(GObject* object) -{ - return new FileInputStream((GFileInputStream*)object); -} - - -/* The implementation: */ - -GFileInputStream* FileInputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -FileInputStream::FileInputStream(const Glib::ConstructParams& construct_params) -: - Gio::InputStream(construct_params) -{ - -} - -FileInputStream::FileInputStream(GFileInputStream* castitem) -: - Gio::InputStream((GInputStream*)(castitem)) -{} - - -FileInputStream::~FileInputStream() -{} - - -FileInputStream::CppClassType FileInputStream::fileinputstream_class_; // initialize static member - -GType FileInputStream::get_type() -{ - return fileinputstream_class_.init().get_type(); -} - -GType FileInputStream::get_base_type() -{ - return g_file_input_stream_get_type(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileInputStream::query_info_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr FileInputStream::query_info_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_input_stream_query_info_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileinputstream.h b/libs/glibmm2/gio/giomm/fileinputstream.h deleted file mode 100644 index e4461eebbc..0000000000 --- a/libs/glibmm2/gio/giomm/fileinputstream.h +++ /dev/null @@ -1,221 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEINPUTSTREAM_H -#define _GIOMM_FILEINPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileInputStream GFileInputStream; -typedef struct _GFileInputStreamClass GFileInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FileInputStream_Class; } // namespace Gio -namespace Gio -{ - -/** FileInputStream provides input streams that take their content from a file. - * - * FileInputStream implements Seekable, which allows the input stream to jump to arbitrary positions in the file, - * provided the file system of the file allows it. - * Use the methods of the Seekable base class for seeking and positioning. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class FileInputStream -: public Gio::InputStream, - public Seekable -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FileInputStream CppObjectType; - typedef FileInputStream_Class CppClassType; - typedef GFileInputStream BaseObjectType; - typedef GFileInputStreamClass BaseClassType; - -private: friend class FileInputStream_Class; - static CppClassType fileinputstream_class_; - -private: - // noncopyable - FileInputStream(const FileInputStream&); - FileInputStream& operator=(const FileInputStream&); - -protected: - explicit FileInputStream(const Glib::ConstructParams& construct_params); - explicit FileInputStream(GFileInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FileInputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFileInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFileInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileInputStream* gobj_copy(); - -private: - - -public: - - /** Queries a file input stream the given @a attributes. This function blocks - * while querying the stream. For the asynchronous (non-blocking) version - * of this function, see query_info_async(). While the - * stream is blocked, the stream will set the pending flag internally, and - * any other operations on the stream will throw a Gio::Error with PENDING. - * - * @param attributes A file attribute query string. - * @param cancellable A Cancellable object. - * @return A FileInfo, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Queries a file input stream the given @a attributes. This function blocks - * while querying the stream. For the asynchronous (non-blocking) version - * of this function, see query_info_async(). While the - * stream is blocked, the stream will set the pending flag internally, and - * any other operations on the stream will throw a Gio::Error with PENDING. - * - * @param attributes A file attribute query string. - * @return A FileInfo, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Queries the stream information asynchronously. For the synchronous version of this function, see query_info(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes A file attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT); - - /** Queries the stream information asynchronously. For the synchronous version of this function, see query_info(). - * - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes A file attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous info query operation. - * @param result A AsyncResult. - * @return FileInfo. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr query_info_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //These seem to be just C convenience functions - they are already in the Seekable base class: - //See http://bugzilla.gnome.org/show_bug.cgi?id=509990 - -// _WRAP_METHOD(goffset tell() const, g_file_input_stream_tell) -// _WRAP_METHOD(bool can_seek() const, g_file_input_stream_can_seek) -// _WRAP_METHOD(bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable), -// g_file_input_stream_seek, -// errthrow) - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileInputStream - */ - Glib::RefPtr wrap(GFileInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILEINPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/filemonitor.cc b/libs/glibmm2/gio/giomm/filemonitor.cc deleted file mode 100644 index 7193058b16..0000000000 --- a/libs/glibmm2/gio/giomm/filemonitor.cc +++ /dev/null @@ -1,284 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio { - - -} // namespace Gio - -namespace -{ - - -static void FileMonitor_signal_changed_callback(GFileMonitor* self, GFile* p0,GFile* p1,GFileMonitorEvent p2,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr&,const Glib::RefPtr&,FileMonitorEvent > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -, Glib::wrap(p1, true) -, ((FileMonitorEvent)(p2)) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo FileMonitor_signal_changed_info = -{ - "changed", - (GCallback) &FileMonitor_signal_changed_callback, - (GCallback) &FileMonitor_signal_changed_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFileMonitor* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FileMonitor_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FileMonitor_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_file_monitor_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void FileMonitor_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->changed = &changed_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void FileMonitor_Class::changed_callback(GFileMonitor* self, GFile* p0, GFile* p1, GFileMonitorEvent p2) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_changed(Glib::wrap(p0, true) -, Glib::wrap(p1, true) -, ((FileMonitorEvent)(p2)) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->changed) - (*base->changed)(self, p0, p1, p2); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FileMonitor_Class::wrap_new(GObject* object) -{ - return new FileMonitor((GFileMonitor*)object); -} - - -/* The implementation: */ - -GFileMonitor* FileMonitor::gobj_copy() -{ - reference(); - return gobj(); -} - -FileMonitor::FileMonitor(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -FileMonitor::FileMonitor(GFileMonitor* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -FileMonitor::~FileMonitor() -{} - - -FileMonitor::CppClassType FileMonitor::filemonitor_class_; // initialize static member - -GType FileMonitor::get_type() -{ - return filemonitor_class_.init().get_type(); -} - -GType FileMonitor::get_base_type() -{ - return g_file_monitor_get_type(); -} - - -bool FileMonitor::cancel() -{ - return g_file_monitor_cancel(gobj()); -} - -bool FileMonitor::is_cancelled() const -{ - return g_file_monitor_is_cancelled(const_cast(gobj())); -} - -void FileMonitor::set_rate_limit(int limit_msecs) -{ -g_file_monitor_set_rate_limit(gobj(), limit_msecs); -} - - -Glib::SignalProxy3< void,const Glib::RefPtr&,const Glib::RefPtr&,FileMonitorEvent > FileMonitor::signal_changed() -{ - return Glib::SignalProxy3< void,const Glib::RefPtr&,const Glib::RefPtr&,FileMonitorEvent >(this, &FileMonitor_signal_changed_info); -} - - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy FileMonitor::property_rate_limit() -{ - return Glib::PropertyProxy(this, "rate-limit"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly FileMonitor::property_rate_limit() const -{ - return Glib::PropertyProxy_ReadOnly(this, "rate-limit"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly FileMonitor::property_cancelled() const -{ - return Glib::PropertyProxy_ReadOnly(this, "cancelled"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::FileMonitor::on_changed(const Glib::RefPtr& file, const Glib::RefPtr& other_file, FileMonitorEvent event_type) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->changed) - (*base->changed)(gobj(),Glib::unwrap(file),Glib::unwrap(other_file),((GFileMonitorEvent)(event_type))); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/filemonitor.h b/libs/glibmm2/gio/giomm/filemonitor.h deleted file mode 100644 index 72b3fb49b6..0000000000 --- a/libs/glibmm2/gio/giomm/filemonitor.h +++ /dev/null @@ -1,220 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEMONITOR_H -#define _GIOMM_FILEMONITOR_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileMonitor GFileMonitor; -typedef struct _GFileMonitorClass GFileMonitorClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FileMonitor_Class; } // namespace Gio -namespace Gio -{ - -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - */ -enum FileMonitorEvent -{ - FILE_MONITOR_EVENT_CHANGED, - FILE_MONITOR_EVENT_CHANGES_DONE_HINT, - FILE_MONITOR_EVENT_DELETED, - FILE_MONITOR_EVENT_CREATED, - FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED, - FILE_MONITOR_EVENT_PRE_UNMOUNT, - FILE_MONITOR_EVENT_UNMOUNTED -}; - - -class File; - -/** Monitors a file or directory for changes. - * To obtain a FileMonitor for a file or directory, use File::monitor_file() or - * File::monitor_directory(). - * - * To get informed about changes to the file or directory you are monitoring, - * connect to signal_changed. - * - * @newin2p16 - */ - -class FileMonitor : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FileMonitor CppObjectType; - typedef FileMonitor_Class CppClassType; - typedef GFileMonitor BaseObjectType; - typedef GFileMonitorClass BaseClassType; - -private: friend class FileMonitor_Class; - static CppClassType filemonitor_class_; - -private: - // noncopyable - FileMonitor(const FileMonitor&); - FileMonitor& operator=(const FileMonitor&); - -protected: - explicit FileMonitor(const Glib::ConstructParams& construct_params); - explicit FileMonitor(GFileMonitor* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FileMonitor(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFileMonitor* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFileMonitor* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileMonitor* gobj_copy(); - -private: - -protected: - -public: - - - /** Cancels a file monitor. - * @return true if monitor was cancelled. - */ - bool cancel(); - - /** Returns: true if monitor is canceled. false otherwise. - * @return true if monitor is canceled. false otherwise. - */ - bool is_cancelled() const; - - /** Sets the rate limit to which the @a monitor will report - * consecutive change events to the same file. - * @param limit_msecs A integer with the limit in milliseconds to - * poll for changes. - */ - void set_rate_limit(int limit_msecs); - - //g_file_monitor_emit_event is for implementations. - - - /** - * @par Prototype: - * void on_my_%changed(const Glib::RefPtr& file, const Glib::RefPtr& other_file, FileMonitorEvent event_type) - */ - - Glib::SignalProxy3< void,const Glib::RefPtr&,const Glib::RefPtr&,FileMonitorEvent > signal_changed(); - - - //_WRAP_VFUNC(bool cancel(), cancel); - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The limit of the monitor to watch for changes - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_rate_limit() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** The limit of the monitor to watch for changes - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_rate_limit() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** Whether the monitor has been cancelled. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_cancelled() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_changed(const Glib::RefPtr& file, const Glib::RefPtr& other_file, FileMonitorEvent event_type); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileMonitor - */ - Glib::RefPtr wrap(GFileMonitor* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILEMONITOR_H */ - diff --git a/libs/glibmm2/gio/giomm/filenamecompleter.cc b/libs/glibmm2/gio/giomm/filenamecompleter.cc deleted file mode 100644 index 1d71c3073f..0000000000 --- a/libs/glibmm2/gio/giomm/filenamecompleter.cc +++ /dev/null @@ -1,246 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio { - - -} // namespace Gio - -namespace -{ - - -static const Glib::SignalProxyInfo FilenameCompleter_signal_got_completion_data_info = -{ - "got_completion_data", - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFilenameCompleter* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FilenameCompleter_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FilenameCompleter_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_filename_completer_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void FilenameCompleter_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->got_completion_data = &got_completion_data_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void FilenameCompleter_Class::got_completion_data_callback(GFilenameCompleter* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_got_completion_data(); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->got_completion_data) - (*base->got_completion_data)(self); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FilenameCompleter_Class::wrap_new(GObject* object) -{ - return new FilenameCompleter((GFilenameCompleter*)object); -} - - -/* The implementation: */ - -GFilenameCompleter* FilenameCompleter::gobj_copy() -{ - reference(); - return gobj(); -} - -FilenameCompleter::FilenameCompleter(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -FilenameCompleter::FilenameCompleter(GFilenameCompleter* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -FilenameCompleter::~FilenameCompleter() -{} - - -FilenameCompleter::CppClassType FilenameCompleter::filenamecompleter_class_; // initialize static member - -GType FilenameCompleter::get_type() -{ - return filenamecompleter_class_.init().get_type(); -} - -GType FilenameCompleter::get_base_type() -{ - return g_filename_completer_get_type(); -} - - -FilenameCompleter::FilenameCompleter() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(filenamecompleter_class_.init())) -{ - - -} - -Glib::RefPtr FilenameCompleter::create() -{ - return Glib::RefPtr( new FilenameCompleter() ); -} -std::string FilenameCompleter::get_completion_suffix(const std::string& initial_text) const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_filename_completer_get_completion_suffix(const_cast(gobj()), initial_text.c_str())); -} - -Glib::StringArrayHandle FilenameCompleter::get_completions(const std::string& initial_text) const -{ - return Glib::StringArrayHandle(g_filename_completer_get_completions(const_cast(gobj()), initial_text.c_str())); -} - -void FilenameCompleter::set_dirs_only(bool dirs_only) -{ -g_filename_completer_set_dirs_only(gobj(), static_cast(dirs_only)); -} - - -Glib::SignalProxy0< void > FilenameCompleter::signal_got_completion_data() -{ - return Glib::SignalProxy0< void >(this, &FilenameCompleter_signal_got_completion_data_info); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::FilenameCompleter::on_got_completion_data() -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->got_completion_data) - (*base->got_completion_data)(gobj()); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/filenamecompleter.h b/libs/glibmm2/gio/giomm/filenamecompleter.h deleted file mode 100644 index 1865096517..0000000000 --- a/libs/glibmm2/gio/giomm/filenamecompleter.h +++ /dev/null @@ -1,171 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILENAMECOMPLETER_H -#define _GIOMM_FILENAMECOMPLETER_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFilenameCompleter GFilenameCompleter; -typedef struct _GFilenameCompleterClass GFilenameCompleterClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FilenameCompleter_Class; } // namespace Gio -namespace Gio -{ - -class File; - -/** Completes partial file and directory names given a partial string by looking in the file system for clues. - * Can return a list of possible completion strings for widget implementation. - * - * @newin2p16 - */ - -class FilenameCompleter : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FilenameCompleter CppObjectType; - typedef FilenameCompleter_Class CppClassType; - typedef GFilenameCompleter BaseObjectType; - typedef GFilenameCompleterClass BaseClassType; - -private: friend class FilenameCompleter_Class; - static CppClassType filenamecompleter_class_; - -private: - // noncopyable - FilenameCompleter(const FilenameCompleter&); - FilenameCompleter& operator=(const FilenameCompleter&); - -protected: - explicit FilenameCompleter(const Glib::ConstructParams& construct_params); - explicit FilenameCompleter(GFilenameCompleter* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FilenameCompleter(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFilenameCompleter* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFilenameCompleter* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFilenameCompleter* gobj_copy(); - -private: - -protected: - FilenameCompleter(); - -public: - - static Glib::RefPtr create(); - - - /** Obtains a completion for @a initial_text from @a completer. - * @param initial_text Text to be completed. - * @return A completed string, or 0 if no completion exists. - * This string is not owned by GIO, so remember to Glib::free() it - * when finished. - */ - std::string get_completion_suffix(const std::string& initial_text) const; - - /** Gets an array of completion strings for a given initial text. - * @param initial_text Text to be completed. - * @return Array of strings with possible completions for @a initial_text. - * This array must be freed by Glib::strfreev() when finished. - */ - Glib::StringArrayHandle get_completions(const std::string& initial_text) const; - - /** If @a dirs_only is true, @a completer will only - * complete directory names, and not file names. - * @param dirs_only A bool. - */ - void set_dirs_only(bool dirs_only = true); - - - /** - * @par Prototype: - * void on_my_%got_completion_data() - */ - - Glib::SignalProxy0< void > signal_got_completion_data(); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_got_completion_data(); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FilenameCompleter - */ - Glib::RefPtr wrap(GFilenameCompleter* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILENAMECOMPLETER_H */ - diff --git a/libs/glibmm2/gio/giomm/fileoutputstream.cc b/libs/glibmm2/gio/giomm/fileoutputstream.cc deleted file mode 100644 index b51a58f36b..0000000000 --- a/libs/glibmm2/gio/giomm/fileoutputstream.cc +++ /dev/null @@ -1,256 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileOutputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes) -#else -Glib::RefPtr FileOutputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_output_stream_query_info(gobj(), g_strdup((attributes).c_str()), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileOutputStream::query_info(const std::string& attributes) -#else -Glib::RefPtr FileOutputStream::query_info(const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_output_stream_query_info(gobj(), g_strdup((attributes).c_str()), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; -} - -void -FileOutputStream::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_output_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileOutputStream::query_info_async(const SlotAsyncReady& slot, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_output_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFileOutputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FileOutputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FileOutputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_file_output_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - Seekable::add_interface(get_type()); - - } - - return *this; -} - -void FileOutputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FileOutputStream_Class::wrap_new(GObject* object) -{ - return new FileOutputStream((GFileOutputStream*)object); -} - - -/* The implementation: */ - -GFileOutputStream* FileOutputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -FileOutputStream::FileOutputStream(const Glib::ConstructParams& construct_params) -: - Gio::OutputStream(construct_params) -{ - -} - -FileOutputStream::FileOutputStream(GFileOutputStream* castitem) -: - Gio::OutputStream((GOutputStream*)(castitem)) -{} - - -FileOutputStream::~FileOutputStream() -{} - - -FileOutputStream::CppClassType FileOutputStream::fileoutputstream_class_; // initialize static member - -GType FileOutputStream::get_type() -{ - return fileoutputstream_class_.init().get_type(); -} - -GType FileOutputStream::get_base_type() -{ - return g_file_output_stream_get_type(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileOutputStream::query_info_finish(const Glib::RefPtr& result) -#else -Glib::RefPtr FileOutputStream::query_info_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_output_stream_query_info_finish(gobj(), Glib::unwrap(result), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -std::string FileOutputStream::get_etag() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_file_output_stream_get_etag(const_cast(gobj()))); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/fileoutputstream.h b/libs/glibmm2/gio/giomm/fileoutputstream.h deleted file mode 100644 index 0d6219ead7..0000000000 --- a/libs/glibmm2/gio/giomm/fileoutputstream.h +++ /dev/null @@ -1,267 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEOUTPUTSTREAM_H -#define _GIOMM_FILEOUTPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileOutputStream GFileOutputStream; -typedef struct _GFileOutputStreamClass GFileOutputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FileOutputStream_Class; } // namespace Gio -namespace Gio -{ - - -/** FileOutputStream provides output streams that write their content to a file. - * - * FileOutputStream implements Seekable, which allows the output stream to jump - * to arbitrary positions in the file and to truncate the file, provided the - * file system of the file supports these operations. - * Use the methods of the Seekable base class for seeking and positioning. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class FileOutputStream -: public OutputStream, - public Seekable -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FileOutputStream CppObjectType; - typedef FileOutputStream_Class CppClassType; - typedef GFileOutputStream BaseObjectType; - typedef GFileOutputStreamClass BaseClassType; - -private: friend class FileOutputStream_Class; - static CppClassType fileoutputstream_class_; - -private: - // noncopyable - FileOutputStream(const FileOutputStream&); - FileOutputStream& operator=(const FileOutputStream&); - -protected: - explicit FileOutputStream(const Glib::ConstructParams& construct_params); - explicit FileOutputStream(GFileOutputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FileOutputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFileOutputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFileOutputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFileOutputStream* gobj_copy(); - -private: - - -public: - - /** Queries a file output stream for the given @a attributes . - * This function blocks while querying the stream. For the asynchronous - * version of this function, see query_info_async(). - * While the stream is blocked, the stream will set the pending flag - * internally, and any other operations on the stream will throw a Gio::Error with - * PENDING. - * - * Can fail if the stream was already closed (with a - * CLOSED error), the stream has pending operations (with a PENDING error), - * or if querying info is not supported for - * the stream's interface (with a NOT_SUPPORTED error). In - * all cases of failure, an empty RefPtr will be returned. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED may be thrown, and an empty RefPtr will - * be returned. - * - * @param cancellable A Cancellable object. - * @param attributes A file attribute query string. - * @return A FileInfo for the stream, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Queries a file output stream for the given @a attributes . - * This function blocks while querying the stream. For the asynchronous - * version of this function, see query_info_async(). - * While the stream is blocked, the stream will set the pending flag - * internally, and any other operations on the stream will throw a Gio::Error with - * PENDING. - * - * Can fail if the stream was already closed (with a CLOSED error), - * the stream has pending operations (with an PENDING error), - * or if querying info is not supported for - * the stream's interface (with a NOT_SUPPORTED error). In - * all cases of failure, an empty RefPtr will be returned. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED may be thrown, and an empty RefPtr will - * be returned. - * - * @param cancellable A Cancellable object. - * @param attributes A file attribute query string. - * @return A FileInfo for the stream, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Queries the stream information asynchronously. - * When the operation is finished @a slot will be called. - * You can then call query_info_finish() - * to get the result of the operation. - * - * For the synchronous version of this function, - * see query_info(). - * - * If @a cancellable is not %NULL, then the operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED may be thrown - * - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param attributes A file attribute query string. - * @param io_priority The & cancellable, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT); - - /** Queries the stream information asynchronously. - * When the operation is finished @a slot will be called. - * You can then call query_info_finish() - * to get the result of the operation. - * - * For the synchronous version of this function, - * see query_info(). - * - * @param slot Callback to call when the request is satisfied. - * @param attributes A file attribute query string. - * @param io_priority The query_info_finish(const Glib::RefPtr& result); -#else - Glib::RefPtr query_info_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the entity tag for the file when it has been written. - * This must be called after the stream has been written - * and closed, as the etag can change while writing. - * @return The entity tag for the stream. - */ - std::string get_etag() const; - - //These seem to be just C convenience functions - they are already in the Seekable base class: - //See http://bugzilla.gnome.org/show_bug.cgi?id=509990 - -// _WRAP_METHOD(goffset tell() const, g_file_output_stream_tell) -// _WRAP_METHOD(bool can_seek() const, g_file_output_stream_can_seek) -// _WRAP_METHOD(bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable), -// g_file_output_stream_seek, -// errthrow) -// _WRAP_METHOD(bool can_truncate() const, g_file_output_stream_can_truncate) -// _WRAP_METHOD(bool truncate(goffset size, const Glib::RefPtr& cancellable), -// g_file_output_stream_truncate, -// errthrow) - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FileOutputStream - */ - Glib::RefPtr wrap(GFileOutputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILEOUTPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/filterinputstream.cc b/libs/glibmm2/gio/giomm/filterinputstream.cc deleted file mode 100644 index 3f6a57a323..0000000000 --- a/libs/glibmm2/gio/giomm/filterinputstream.cc +++ /dev/null @@ -1,168 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFilterInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FilterInputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FilterInputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_filter_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void FilterInputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FilterInputStream_Class::wrap_new(GObject* object) -{ - return new FilterInputStream((GFilterInputStream*)object); -} - - -/* The implementation: */ - -GFilterInputStream* FilterInputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -FilterInputStream::FilterInputStream(const Glib::ConstructParams& construct_params) -: - Gio::InputStream(construct_params) -{ - -} - -FilterInputStream::FilterInputStream(GFilterInputStream* castitem) -: - Gio::InputStream((GInputStream*)(castitem)) -{} - - -FilterInputStream::~FilterInputStream() -{} - - -FilterInputStream::CppClassType FilterInputStream::filterinputstream_class_; // initialize static member - -GType FilterInputStream::get_type() -{ - return filterinputstream_class_.init().get_type(); -} - -GType FilterInputStream::get_base_type() -{ - return g_filter_input_stream_get_type(); -} - - -Glib::RefPtr FilterInputStream::get_base_stream() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_filter_input_stream_get_base_stream(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr FilterInputStream::get_base_stream() const -{ - return const_cast(this)->get_base_stream(); -} - - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly< Glib::RefPtr > FilterInputStream::property_base_stream() const -{ - return Glib::PropertyProxy_ReadOnly< Glib::RefPtr >(this, "base-stream"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/filterinputstream.h b/libs/glibmm2/gio/giomm/filterinputstream.h deleted file mode 100644 index 5a227dcf7c..0000000000 --- a/libs/glibmm2/gio/giomm/filterinputstream.h +++ /dev/null @@ -1,157 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILTERINPUTSTREAM_H -#define _GIOMM_FILTERINPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFilterInputStream GFilterInputStream; -typedef struct _GFilterInputStreamClass GFilterInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FilterInputStream_Class; } // namespace Gio -namespace Gio -{ - -//TODO: Proper documentation. - -/** Filter Input Stream. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class FilterInputStream : public Gio::InputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FilterInputStream CppObjectType; - typedef FilterInputStream_Class CppClassType; - typedef GFilterInputStream BaseObjectType; - typedef GFilterInputStreamClass BaseClassType; - -private: friend class FilterInputStream_Class; - static CppClassType filterinputstream_class_; - -private: - // noncopyable - FilterInputStream(const FilterInputStream&); - FilterInputStream& operator=(const FilterInputStream&); - -protected: - explicit FilterInputStream(const Glib::ConstructParams& construct_params); - explicit FilterInputStream(GFilterInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FilterInputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFilterInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFilterInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFilterInputStream* gobj_copy(); - -private: - -public: - - /** Gets the base stream for the filter stream. - * @return A InputStream. - */ - Glib::RefPtr get_base_stream(); - - - /** Gets the base stream for the filter stream. - * @return A InputStream. - */ - Glib::RefPtr get_base_stream() const; - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The underlying base stream the io ops will be done on. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly< Glib::RefPtr > property_base_stream() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FilterInputStream - */ - Glib::RefPtr wrap(GFilterInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILTERINPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/filteroutputstream.cc b/libs/glibmm2/gio/giomm/filteroutputstream.cc deleted file mode 100644 index 0c1bbcd6e1..0000000000 --- a/libs/glibmm2/gio/giomm/filteroutputstream.cc +++ /dev/null @@ -1,168 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GFilterOutputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& FilterOutputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &FilterOutputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_filter_output_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void FilterOutputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* FilterOutputStream_Class::wrap_new(GObject* object) -{ - return new FilterOutputStream((GFilterOutputStream*)object); -} - - -/* The implementation: */ - -GFilterOutputStream* FilterOutputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -FilterOutputStream::FilterOutputStream(const Glib::ConstructParams& construct_params) -: - Gio::OutputStream(construct_params) -{ - -} - -FilterOutputStream::FilterOutputStream(GFilterOutputStream* castitem) -: - Gio::OutputStream((GOutputStream*)(castitem)) -{} - - -FilterOutputStream::~FilterOutputStream() -{} - - -FilterOutputStream::CppClassType FilterOutputStream::filteroutputstream_class_; // initialize static member - -GType FilterOutputStream::get_type() -{ - return filteroutputstream_class_.init().get_type(); -} - -GType FilterOutputStream::get_base_type() -{ - return g_filter_output_stream_get_type(); -} - - -Glib::RefPtr FilterOutputStream::get_base_stream() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_filter_output_stream_get_base_stream(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr FilterOutputStream::get_base_stream() const -{ - return const_cast(this)->get_base_stream(); -} - - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly< Glib::RefPtr > FilterOutputStream::property_base_stream() const -{ - return Glib::PropertyProxy_ReadOnly< Glib::RefPtr >(this, "base-stream"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/filteroutputstream.h b/libs/glibmm2/gio/giomm/filteroutputstream.h deleted file mode 100644 index 1cdc1f6d86..0000000000 --- a/libs/glibmm2/gio/giomm/filteroutputstream.h +++ /dev/null @@ -1,157 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILTEROUTPUTSTREAM_H -#define _GIOMM_FILTEROUTPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFilterOutputStream GFilterOutputStream; -typedef struct _GFilterOutputStreamClass GFilterOutputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class FilterOutputStream_Class; } // namespace Gio -namespace Gio -{ - -//TODO: Proper documentation: - -/** Filter Output Stream. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class FilterOutputStream : public Gio::OutputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef FilterOutputStream CppObjectType; - typedef FilterOutputStream_Class CppClassType; - typedef GFilterOutputStream BaseObjectType; - typedef GFilterOutputStreamClass BaseClassType; - -private: friend class FilterOutputStream_Class; - static CppClassType filteroutputstream_class_; - -private: - // noncopyable - FilterOutputStream(const FilterOutputStream&); - FilterOutputStream& operator=(const FilterOutputStream&); - -protected: - explicit FilterOutputStream(const Glib::ConstructParams& construct_params); - explicit FilterOutputStream(GFilterOutputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~FilterOutputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GFilterOutputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GFilterOutputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GFilterOutputStream* gobj_copy(); - -private: - -public: - - /** Gets the base stream for the filter stream. - * @return A OutputStream. - */ - Glib::RefPtr get_base_stream(); - - - /** Gets the base stream for the filter stream. - * @return A OutputStream. - */ - Glib::RefPtr get_base_stream() const; - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The underlying base stream the io ops will be done on. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly< Glib::RefPtr > property_base_stream() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::FilterOutputStream - */ - Glib::RefPtr wrap(GFilterOutputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_FILTEROUTPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/icon.cc b/libs/glibmm2/gio/giomm/icon.cc deleted file mode 100644 index 05e4c07308..0000000000 --- a/libs/glibmm2/gio/giomm/icon.cc +++ /dev/null @@ -1,160 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - -bool -Icon::equal(const Glib::RefPtr& other) const -{ - return static_cast( - g_icon_equal(const_cast(this->gobj()), - const_cast(other->gobj()))); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GIcon* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& Icon_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &Icon_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_icon_get_type(); - } - - return *this; -} - -void Icon_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* Icon_Class::wrap_new(GObject* object) -{ - return new Icon((GIcon*)(object)); -} - - -/* The implementation: */ - -Icon::Icon() -: - Glib::Interface(icon_class_.init()) -{} - -Icon::Icon(GIcon* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -Icon::Icon(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -Icon::~Icon() -{} - -// static -void Icon::add_interface(GType gtype_implementer) -{ - icon_class_.init().add_interface(gtype_implementer); -} - -Icon::CppClassType Icon::icon_class_; // initialize static member - -GType Icon::get_type() -{ - return icon_class_.init().get_type(); -} - -GType Icon::get_base_type() -{ - return g_icon_get_type(); -} - - -guint Icon::hash() const -{ - return g_icon_hash(const_cast(gobj())); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/icon.h b/libs/glibmm2/gio/giomm/icon.h deleted file mode 100644 index 866eed7656..0000000000 --- a/libs/glibmm2/gio/giomm/icon.h +++ /dev/null @@ -1,174 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ICON_H -#define _GIOMM_ICON_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GIconIface GIconIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GIcon GIcon; -typedef struct _GIconClass GIconClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class Icon_Class; } // namespace Gio -namespace Gio -{ - -/** This is a very minimal interface for icons. It provides functions for checking the equality of two icons and hashing of icons. - * Glib::Icon does not provide the actual pixmap for the icon as this is out of GIO's scope. However implementations of Icon may contain the name of an - * icon (see ThemedIcon), or the path to an icon (see LoadableIcon). - * - * To obtain a hash of an Icon instance, see hash(). - * - * To check if two Icon instances are equal, see equal(). - * - * @newin2p16 - */ - -class Icon : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef Icon CppObjectType; - typedef Icon_Class CppClassType; - typedef GIcon BaseObjectType; - typedef GIconIface BaseClassType; - -private: - friend class Icon_Class; - static CppClassType icon_class_; - - // noncopyable - Icon(const Icon&); - Icon& operator=(const Icon&); - -protected: - Icon(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit Icon(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit Icon(GIcon* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~Icon(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GIcon* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GIcon* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: - - /** Gets a hash for an icon. - * @param icon #gconstpointer to an icon object. - * @return A unsigned int containing a hash for the @a icon, suitable for - * use in a HashTable or similar data structure. - */ - guint hash() const; - - - // TODO: should this, and File's equal(), be virtual, in order to - // be available to derived classes? - bool equal(const Glib::RefPtr& other) const; - - //_WRAP_VFUNC(guint hash() const, "hash") - - // TODO: also kind of related to equal() being virtual or not, - // do we need to have equal_vfunc()? Or rather, why would we want - // to have it generally... - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::Icon - */ - Glib::RefPtr wrap(GIcon* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_ICON_H */ - diff --git a/libs/glibmm2/gio/giomm/init.cc b/libs/glibmm2/gio/giomm/init.cc deleted file mode 100644 index 4891cdbb84..0000000000 --- a/libs/glibmm2/gio/giomm/init.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* init.cc - * - * Copyright (C) 2007 The gtkmm team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include "init.h" - -namespace Gio -{ - -void init() -{ - static bool s_init = false ; - if(!s_init) - { - Glib::init(); - Gio::wrap_init(); - s_init = true; - } -} - -} //namespace Gio diff --git a/libs/glibmm2/gio/giomm/init.h b/libs/glibmm2/gio/giomm/init.h deleted file mode 100644 index 7cfddbf8db..0000000000 --- a/libs/glibmm2/gio/giomm/init.h +++ /dev/null @@ -1,36 +0,0 @@ -// -*- c++ -*- -#ifndef _GIOMM_INIT_H -#define _GIOMM_INIT_H - -#include "wrap_init.h" - -/* init.h - * - * Copyright (C) 2007 The gtkmm development team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -namespace Gio -{ - -/** Initialize giomm. - */ -void init(); - -}//end namespace Gio - -#endif //_GIOMM_INIT_H - diff --git a/libs/glibmm2/gio/giomm/inputstream.cc b/libs/glibmm2/gio/giomm/inputstream.cc deleted file mode 100644 index 3041d057b9..0000000000 --- a/libs/glibmm2/gio/giomm/inputstream.cc +++ /dev/null @@ -1,467 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::read(void* buffer, gsize count) -#else -gssize InputStream::read(void* buffer, gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_read(gobj(), buffer, count, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool InputStream::read_all(void* buffer, gsize count, gsize& bytes_read) -#else -bool InputStream::read_all(void* buffer, gsize count, gsize& bytes_read, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_input_stream_read_all(gobj(), buffer, count, &(bytes_read), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::skip(gsize count) -#else -gssize InputStream::skip(gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_skip(gobj(), count, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool InputStream::close() -#else -bool InputStream::close(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_input_stream_close(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -InputStream::read_async(void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_read_async(gobj(), - buffer, - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::read_async(void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_read_async(gobj(), - buffer, - count, - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - - -void -InputStream::skip_async(gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_skip_async(gobj(), - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::skip_async(gsize count, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_skip_async(gobj(), - count, - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_close_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::close_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_close_async(gobj(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& InputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &InputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void InputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* InputStream_Class::wrap_new(GObject* object) -{ - return new InputStream((GInputStream*)object); -} - - -/* The implementation: */ - -GInputStream* InputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -InputStream::InputStream(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -InputStream::InputStream(GInputStream* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -InputStream::~InputStream() -{} - - -InputStream::CppClassType InputStream::inputstream_class_; // initialize static member - -GType InputStream::get_type() -{ - return inputstream_class_.init().get_type(); -} - -GType InputStream::get_base_type() -{ - return g_input_stream_get_type(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::read(void* buffer, gsize count, const Glib::RefPtr& cancellable) -#else -gssize InputStream::read(void* buffer, gsize count, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_read(gobj(), buffer, count, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool InputStream::read_all(void* buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable) -#else -bool InputStream::read_all(void* buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_input_stream_read_all(gobj(), buffer, count, &(bytes_read), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::skip(gsize count, const Glib::RefPtr& cancellable) -#else -gssize InputStream::skip(gsize count, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_skip(gobj(), count, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool InputStream::close(const Glib::RefPtr& cancellable) -#else -bool InputStream::close(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_input_stream_close(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::read_finish(const Glib::RefPtr& result) -#else -gssize InputStream::read_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_read_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::skip_finish(const Glib::RefPtr& result) -#else -gssize InputStream::skip_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_skip_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gboolean InputStream::close_finish(const Glib::RefPtr& result) -#else -gboolean InputStream::close_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gboolean retvalue = g_input_stream_close_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/inputstream.h b/libs/glibmm2/gio/giomm/inputstream.h deleted file mode 100644 index c790933e5f..0000000000 --- a/libs/glibmm2/gio/giomm/inputstream.h +++ /dev/null @@ -1,549 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_INPUTSTREAM_H -#define _GIOMM_INPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GInputStream GInputStream; -typedef struct _GInputStreamClass GInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class InputStream_Class; } // namespace Gio -namespace Gio -{ - -//TODO: Implement operator << and >> for streams? - -/** Base class for implementing streaming input. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class InputStream : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef InputStream CppObjectType; - typedef InputStream_Class CppClassType; - typedef GInputStream BaseObjectType; - typedef GInputStreamClass BaseClassType; - -private: friend class InputStream_Class; - static CppClassType inputstream_class_; - -private: - // noncopyable - InputStream(const InputStream&); - InputStream& operator=(const InputStream&); - -protected: - explicit InputStream(const Glib::ConstructParams& construct_params); - explicit InputStream(GInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~InputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GInputStream* gobj_copy(); - -private: - - -public: - - /** Tries to read @a count bytes from the stream into the buffer starting at - * @a buffer. Will block during this read. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. If an - * operation was partially finished when the operation was cancelled the - * partial result will be returned, without an error. - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param cancellable Cancellable object. - * @return Number of bytes read, or -1 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize read(void* buffer, gsize count, const Glib::RefPtr& cancellable); -#else - gssize read(void* buffer, gsize count, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to read @a count bytes from the stream into the buffer starting at - * @a buffer. Will block during this read. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * On error -1 is returned. - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @return Number of bytes read, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize read(void* buffer, gsize count); - #else - gssize read(void* buffer, gsize count, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - //TODO: for glibmm 2.17/18, we should decide whether to provide a read() - // function as below, which would presumably read until EOL, or one with - // an additional size parameter, at the same time taking into account - // what operators >> and << (for OutputStream) will do. - //TODO: gssize read(std::string& buffer, const Glib::RefPtr& cancellable); - //TODO: gssize read(std::string& buffer); - - - /** Tries to read @a count bytes from the stream into the buffer starting at - * @a buffer. Will block during this read. - * - * This function is similar to g_input_stream_read(), except it tries to - * read as many bytes as requested, only stopping on an error or end of stream. - * - * On a successful read of @a count bytes, or if we reached the end of the - * stream, true is returned, and @a bytes_read is set to the number of bytes - * read into @a buffer. - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_read is updated to contain - * the number of bytes read into @a buffer before the error occurred. - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param bytes_read Location to store the number of bytes that was read from the stream. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true on success, false if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_all(void* buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable); -#else - bool read_all(void* buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to read @a count bytes from the stream into the buffer starting at - * @a buffer. Will block during this read. - * - * This function is similar to read(), except it tries to - * read as many bytes as requested, only stopping on an error or end of stream. - * - * On a successful read of @a count bytes, or if we reached the end of the - * stream, true is returned, and @a bytes_read is set to the number of bytes - * read into @a buffer . - * - * If there is an error during the operation false is returned and a Gio::Error - * is thrown to indicate the error status, @a bytes_read is updated to contain - * the number of bytes read into @a buffer before the error occured. - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param bytes_read Location to store the number of bytes that was read from the stream. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_all(void* buffer, gsize count, gsize& bytes_read); - #else - bool read_all(void* buffer, gsize count, gsize& bytes_read, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - //TODO: bool read_all(std::string& buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable); - //TODO: bool read_all(std::string& buffer, gsize count, gsize& bytes_read) - - - /** Tries to skip @a count bytes from the stream. Will block during the operation. - * - * This is identical to g_input_stream_read(), from a behaviour standpoint, - * but the bytes that are skipped are not returned to the user. Some - * streams have an implementation that is more efficient than reading the data. - * - * This function is optional for inherited classes, as the default implementation - * emulates it using read. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. If an - * operation was partially finished when the operation was cancelled the - * partial result will be returned, without an error. - * @param count The number of bytes that will be skipped from the stream. - * @param cancellable Cancellable object. - * @return Number of bytes skipped, or -1 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize skip(gsize count, const Glib::RefPtr& cancellable); -#else - gssize skip(gsize count, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to skip @a count bytes from the stream. Will block during the operation. - * - * This is identical to read(), from a behaviour standpoint, - * but the bytes that are skipped are not returned to the user. Some - * streams have an implementation that is more efficient than reading the data. - * - * This function is optional for inherited classes, as the default implementation - * emulates it using read. - * - * @param count The number of bytes that will be skipped from the stream. - * @return Number of bytes skipped, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize skip(gsize count); - #else - gssize skip(gsize count, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Closes the stream, releasing resources related to it. - * - * Once the stream is closed, all other operations will throw a Gio::Error with CLOSED. - * Closing a stream multiple times will not return an error. - * - * Streams will be automatically closed when the last reference - * is dropped, but you might want to call this function to make sure - * resources are released as early as possible. - * - * Some streams might keep the backing store of the stream (e.g. a file descriptor) - * open after the stream is closed. See the documentation for the individual - * stream for details. - * - * On failure the first error that happened will be reported, but the close - * operation will finish as much as possible. A stream that failed to - * close will still throw a Gio::Error with CLOSED for all operations. Still, it - * is important to check and report the error to the user. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * Cancelling a close will still leave the stream closed, but some streams - * can use a faster close that doesn't block to e.g. check errors. - * @param cancellable Cancellable object. - * @return true on success, false on failure. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(const Glib::RefPtr& cancellable); -#else - bool close(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Closes the stream, releasing resources related to it. - * - * Once the stream is closed, all other operations will throw a Gio::Error with CLOSED. - * Closing a stream multiple times will not return an error. - * - * Streams will be automatically closed when the last reference - * is dropped, but you might want to call this make sure resources - * are released as early as possible. - * - * Some streams might keep the backing store of the stream (e.g. a file descriptor) - * open after the stream is closed. See the documentation for the individual - * stream for details. - * - * On failure the first error that happened will be reported, but the close - * operation will finish as much as possible. A stream that failed to - * close will still throw a Gio::Error with CLOSED for all operations. Still, it - * is important to check and report the error to the user. - * - * @return true on success, false on failure. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(); - #else - bool close(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Request an asynchronous read of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call read_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer will be passed to the - * @a slot callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to read - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void read_async(void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request an asynchronous read of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call read_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in a Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer will be passed to the - * @a slot callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to read - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param slot Callback to call when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void read_async(void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous stream read operation. - * @param result A AsyncResult. - * @return Number of bytes read in, or -1 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize read_finish(const Glib::RefPtr& result); -#else - gssize read_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //TODO: Use std::size_type instead of gsize? - - /** Request an asynchronous skip of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call skip_finish() to get the result of the operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes skipped will be passed to the - * callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to skip - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param count The number of bytes that will be skipped from the stream. - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void skip_async(gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request an asynchronous skip of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call skip_finish() to get the result of the operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes skipped will be passed to the - * callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to skip - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param count The number of bytes that will be skipped from the stream. - * @param slot Callback to call when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void skip_async(gsize count, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes a stream skip operation. - * @param result A AsyncResult. - * @return The size of the bytes skipped, or %-1 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize skip_finish(const Glib::RefPtr& result); -#else - gssize skip_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Requests an asynchronous closes of the stream, releasing resources related to it. - * When the operation is finished @a slot will be called. - * You can then call close_finish() to get the result of the - * operation. - * - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Requests an asynchronous closes of the stream, releasing resources related to it. - * When the operation is finished @a slot will be called. - * You can then call close_finish() to get the result of the - * operation. - * - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param slot Callback to call when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void close_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes closing a stream asynchronously, started from g_input_stream_close_async(). - * @param result A AsyncResult. - * @return true if the stream was closed successfully. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gboolean close_finish(const Glib::RefPtr& result); -#else - gboolean close_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - // These are private inside the module (for implementations) - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::InputStream - */ - Glib::RefPtr wrap(GInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_INPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/loadableicon.cc b/libs/glibmm2/gio/giomm/loadableicon.cc deleted file mode 100644 index 24738445f8..0000000000 --- a/libs/glibmm2/gio/giomm/loadableicon.cc +++ /dev/null @@ -1,242 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable) -#else -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - char* c_type; - GError* gerror = 0; - Glib::RefPtr retval = - Glib::wrap(g_loadable_icon_load(gobj(), - size, - &c_type, - cancellable->gobj(), - &gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - type = c_type; - g_free(c_type); - if(retval) - retval->reference(); //The function does not do a ref for us. - return retval; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type) -#else -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - char* c_type; - GError* gerror = 0; - Glib::RefPtr retval = - Glib::wrap(g_loadable_icon_load(gobj(), - size, - &c_type, - NULL, - &gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - type = c_type; - g_free(c_type); - if(retval) - retval->reference(); //The function does not do a ref for us. - return retval; -} - -void -LoadableIcon::load_async(int size, const SlotAsyncReady& slot, const - Glib::RefPtr& cancellable) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_loadable_icon_load_async(gobj(), - size, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -LoadableIcon::load_async(int size, const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_loadable_icon_load_async(gobj(), - size, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GLoadableIcon* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& LoadableIcon_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &LoadableIcon_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_loadable_icon_get_type(); - } - - return *this; -} - -void LoadableIcon_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* LoadableIcon_Class::wrap_new(GObject* object) -{ - return new LoadableIcon((GLoadableIcon*)(object)); -} - - -/* The implementation: */ - -LoadableIcon::LoadableIcon() -: - Icon(loadableicon_class_.init()) -{} - -LoadableIcon::LoadableIcon(GLoadableIcon* castitem) -: - Icon((GIcon*)(castitem)) -{} - -LoadableIcon::LoadableIcon(const Glib::Interface_Class& interface_class) -: Icon(interface_class) -{ -} - -LoadableIcon::~LoadableIcon() -{} - -// static -void LoadableIcon::add_interface(GType gtype_implementer) -{ - loadableicon_class_.init().add_interface(gtype_implementer); -} - -LoadableIcon::CppClassType LoadableIcon::loadableicon_class_; // initialize static member - -GType LoadableIcon::get_type() -{ - return loadableicon_class_.init().get_type(); -} - -GType LoadableIcon::get_base_type() -{ - return g_loadable_icon_get_type(); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/loadableicon.h b/libs/glibmm2/gio/giomm/loadableicon.h deleted file mode 100644 index 4e2b13933e..0000000000 --- a/libs/glibmm2/gio/giomm/loadableicon.h +++ /dev/null @@ -1,194 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_LOADABLEICON_H -#define _GIOMM_LOADABLEICON_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GLoadableIconIface GLoadableIconIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GLoadableIcon GLoadableIcon; -typedef struct _GLoadableIconClass GLoadableIconClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class LoadableIcon_Class; } // namespace Gio -namespace Gio -{ - -/** Extends the Icon interface and adds the ability to load icons from streams. - * - * @newin2p16 - */ - -class LoadableIcon : public Icon -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef LoadableIcon CppObjectType; - typedef LoadableIcon_Class CppClassType; - typedef GLoadableIcon BaseObjectType; - typedef GLoadableIconIface BaseClassType; - -private: - friend class LoadableIcon_Class; - static CppClassType loadableicon_class_; - - // noncopyable - LoadableIcon(const LoadableIcon&); - LoadableIcon& operator=(const LoadableIcon&); - -protected: - LoadableIcon(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit LoadableIcon(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit LoadableIcon(GLoadableIcon* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~LoadableIcon(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GLoadableIcon* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GLoadableIcon* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: -/** - * Loads a loadable icon. For the asynchronous version of this function, - * see load_async(). - * - * @param size an integer. - * @param type a location to store the type of the loaded icon - * @param cancellable a Cancellable object - * - * @return a InputStream to read the icon from. - **/ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable); -#else - Glib::RefPtr load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - /** Non-cancellable version of load() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr load(int size, Glib::ustring& type); -#else - Glib::RefPtr load(int size, Glib::ustring& type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - //TODO: 'type' can be NULL as well, but I don't really want to add 2 more - //overloads -- one cancellable, and one not... - - /** - * Loads an icon asynchronously. To finish this function, see load_finish(). - * For the synchronous, blocking version of this function, see load(). - * - * @param size an integer. - * @param cancellable a Cancellable object - * @param slot a function to call when the request is satisfied - **/ - void load_async(int size, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable); - /** Non-cancellable version of load_async() - */ - void load_async(int size, const SlotAsyncReady& slot); - //_WRAP_METHOD(Glib::RefPtr load_finish(const Glib::RefPtr& res, Glib::ustring& type), g_loadable_icon_load_finish, errthrow) - -protected: - //_WRAP_VFUNC(Glib::RefPtr load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable), "load") - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::LoadableIcon - */ - Glib::RefPtr wrap(GLoadableIcon* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_LOADABLEICON_H */ - diff --git a/libs/glibmm2/gio/giomm/memoryinputstream.cc b/libs/glibmm2/gio/giomm/memoryinputstream.cc deleted file mode 100644 index bd2af3186d..0000000000 --- a/libs/glibmm2/gio/giomm/memoryinputstream.cc +++ /dev/null @@ -1,177 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -void MemoryInputStream::add_data(const std::string& data) -{ - g_memory_input_stream_add_data(gobj(), data.c_str(), data.size(), NULL); -} - - -void MemoryInputStream::add_data(const void* data, gssize len) -{ - g_memory_input_stream_add_data(gobj(), data, len, NULL); -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GMemoryInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& MemoryInputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &MemoryInputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_memory_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - Seekable::add_interface(get_type()); - - } - - return *this; -} - -void MemoryInputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* MemoryInputStream_Class::wrap_new(GObject* object) -{ - return new MemoryInputStream((GMemoryInputStream*)object); -} - - -/* The implementation: */ - -GMemoryInputStream* MemoryInputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -MemoryInputStream::MemoryInputStream(const Glib::ConstructParams& construct_params) -: - Gio::InputStream(construct_params) -{ - -} - -MemoryInputStream::MemoryInputStream(GMemoryInputStream* castitem) -: - Gio::InputStream((GInputStream*)(castitem)) -{} - - -MemoryInputStream::~MemoryInputStream() -{} - - -MemoryInputStream::CppClassType MemoryInputStream::memoryinputstream_class_; // initialize static member - -GType MemoryInputStream::get_type() -{ - return memoryinputstream_class_.init().get_type(); -} - -GType MemoryInputStream::get_base_type() -{ - return g_memory_input_stream_get_type(); -} - - -MemoryInputStream::MemoryInputStream() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::InputStream(Glib::ConstructParams(memoryinputstream_class_.init())) -{ - - -} - -Glib::RefPtr MemoryInputStream::create() -{ - return Glib::RefPtr( new MemoryInputStream() ); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/memoryinputstream.h b/libs/glibmm2/gio/giomm/memoryinputstream.h deleted file mode 100644 index 84b4747c91..0000000000 --- a/libs/glibmm2/gio/giomm/memoryinputstream.h +++ /dev/null @@ -1,157 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_MEMORYINPUTSTREAM_H -#define _GIOMM_MEMORYINPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GMemoryInputStream GMemoryInputStream; -typedef struct _GMemoryInputStreamClass GMemoryInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class MemoryInputStream_Class; } // namespace Gio -namespace Gio -{ - -/** MemoryInputStream implements InputStream for arbitrary memory chunks. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class MemoryInputStream -: public Gio::InputStream, - public Seekable -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef MemoryInputStream CppObjectType; - typedef MemoryInputStream_Class CppClassType; - typedef GMemoryInputStream BaseObjectType; - typedef GMemoryInputStreamClass BaseClassType; - -private: friend class MemoryInputStream_Class; - static CppClassType memoryinputstream_class_; - -private: - // noncopyable - MemoryInputStream(const MemoryInputStream&); - MemoryInputStream& operator=(const MemoryInputStream&); - -protected: - explicit MemoryInputStream(const Glib::ConstructParams& construct_params); - explicit MemoryInputStream(GMemoryInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~MemoryInputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GMemoryInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GMemoryInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GMemoryInputStream* gobj_copy(); - -private: - - -protected: - MemoryInputStream(); - // TODO: *_new_from_data constructor needs to be fixed? - -public: - - static Glib::RefPtr create(); - - - /** Appends to data that can be read from the input stream. - * - * @param data Input data. - */ - void add_data(const std::string& data); - - /** Appends to data that can be read from the input stream. - * - * @param data Input data. - * @param len Length of the data, may be -1 if data is a null-terminated string. - */ - void add_data(const void* data, gssize len); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::MemoryInputStream - */ - Glib::RefPtr wrap(GMemoryInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_MEMORYINPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/mount.cc b/libs/glibmm2/gio/giomm/mount.cc deleted file mode 100644 index 4f36d20f89..0000000000 --- a/libs/glibmm2/gio/giomm/mount.cc +++ /dev/null @@ -1,610 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -void Mount::unmount(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_unmount(gobj(), - GMountUnmountFlags(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::unmount(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_unmount(gobj(), - GMountUnmountFlags(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::unmount(MountUnmountFlags flags) -{ - g_mount_unmount(gobj(), - GMountUnmountFlags(flags), - NULL, - NULL, - NULL); -} - - -void Mount::remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_remount(gobj(), - static_cast(flags), - operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_remount(gobj(), - static_cast(flags), - operation->gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::remount(const Glib::RefPtr& operation, MountMountFlags flags) -{ - g_mount_remount(gobj(), - static_cast(flags), - operation->gobj(), - NULL, - NULL, - NULL); -} - -void Mount::remount(MountMountFlags flags) -{ - g_mount_remount(gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - NULL); -} - -void Mount::eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_eject(gobj(), - GMountUnmountFlags(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::eject(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_eject(gobj(), - GMountUnmountFlags(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::eject(MountUnmountFlags flags) -{ - g_mount_eject(gobj(), - GMountUnmountFlags(flags), - NULL, - NULL, - NULL); -} - - -void Mount::guess_content_type(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, bool force_rescan) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_guess_content_type(gobj(), - force_rescan, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::guess_content_type(const SlotAsyncReady& slot, bool force_rescan) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_guess_content_type(gobj(), - force_rescan, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::guess_content_type(bool force_rescan) -{ - g_mount_guess_content_type(gobj(), - force_rescan, - NULL, - NULL, - NULL); -} - - -} // namespace Gio - - -namespace -{ - - -static const Glib::SignalProxyInfo Mount_signal_changed_info = -{ - "changed", - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback -}; - - -static const Glib::SignalProxyInfo Mount_signal_unmounted_info = -{ - "unmounted", - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GMount* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& Mount_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &Mount_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_mount_get_type(); - } - - return *this; -} - -void Mount_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->changed = &changed_callback; - klass->unmounted = &unmounted_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Mount_Class::changed_callback(GMount* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_changed(); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(self), CppObjectType::get_type()) // Get the interface. -) ); - - // Call the original underlying C function: - if(base && base->changed) - (*base->changed)(self); -} -void Mount_Class::unmounted_callback(GMount* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_unmounted(); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(self), CppObjectType::get_type()) // Get the interface. -) ); - - // Call the original underlying C function: - if(base && base->unmounted) - (*base->unmounted)(self); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* Mount_Class::wrap_new(GObject* object) -{ - return new Mount((GMount*)(object)); -} - - -/* The implementation: */ - -Mount::Mount() -: - Glib::Interface(mount_class_.init()) -{} - -Mount::Mount(GMount* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -Mount::Mount(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -Mount::~Mount() -{} - -// static -void Mount::add_interface(GType gtype_implementer) -{ - mount_class_.init().add_interface(gtype_implementer); -} - -Mount::CppClassType Mount::mount_class_; // initialize static member - -GType Mount::get_type() -{ - return mount_class_.init().get_type(); -} - -GType Mount::get_base_type() -{ - return g_mount_get_type(); -} - - -Glib::RefPtr Mount::get_root() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_mount_get_root(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Mount::get_root() const -{ - return const_cast(this)->get_root(); -} - -std::string Mount::get_name() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_mount_get_name(const_cast(gobj()))); -} - -Glib::RefPtr Mount::get_icon() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_mount_get_icon(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Mount::get_icon() const -{ - return const_cast(this)->get_icon(); -} - -std::string Mount::get_uuid() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_mount_get_uuid(const_cast(gobj()))); -} - -Glib::RefPtr Mount::get_volume() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_mount_get_volume(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Mount::get_volume() const -{ - return const_cast(this)->get_volume(); -} - -Glib::RefPtr Mount::get_drive() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_mount_get_drive(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Mount::get_drive() const -{ - return const_cast(this)->get_drive(); -} - -bool Mount::can_unmount() const -{ - return g_mount_can_unmount(const_cast(gobj())); -} - -bool Mount::can_eject() const -{ - return g_mount_can_eject(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Mount::unmount_finish(const Glib::RefPtr& result) -#else -bool Mount::unmount_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_mount_unmount_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Mount::remount_finish(const Glib::RefPtr& result) -#else -bool Mount::remount_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_mount_remount_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Mount::eject_finish(const Glib::RefPtr& result) -#else -bool Mount::eject_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_mount_eject_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::StringArrayHandle Mount::guess_content_type_finish(const Glib::RefPtr& result) -#else -Glib::StringArrayHandle Mount::guess_content_type_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::StringArrayHandle retvalue = Glib::StringArrayHandle(g_mount_guess_content_type_finish(gobj(), Glib::unwrap(result), &(gerror)), Glib::OWNERSHIP_DEEP); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -Glib::SignalProxy0< void > Mount::signal_changed() -{ - return Glib::SignalProxy0< void >(this, &Mount_signal_changed_info); -} - - -Glib::SignalProxy0< void > Mount::signal_unmounted() -{ - return Glib::SignalProxy0< void >(this, &Mount_signal_unmounted_info); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::Mount::on_changed() -{ - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(gobject_), CppObjectType::get_type()) // Get the interface. -) ); - - if(base && base->changed) - (*base->changed)(gobj()); -} -void Gio::Mount::on_unmounted() -{ - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(gobject_), CppObjectType::get_type()) // Get the interface. -) ); - - if(base && base->unmounted) - (*base->unmounted)(gobj()); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/mount.h b/libs/glibmm2/gio/giomm/mount.h deleted file mode 100644 index 3831d64e94..0000000000 --- a/libs/glibmm2/gio/giomm/mount.h +++ /dev/null @@ -1,483 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_MOUNT_H -#define _GIOMM_MOUNT_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GMountIface GMountIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GMount GMount; -typedef struct _GMountClass GMountClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class Mount_Class; } // namespace Gio -namespace Gio -{ - -class Drive; -//class Volume; - -/** The Mount interface represents user-visible mounts. - * Mount is a "mounted" filesystem that you can access. Mounted is in quotes because it's not the same as a unix mount: - * it might be a gvfs mount, but you can still access the files on it if you use GIO. It might or might not be related to a volume object. - * - * Unmounting a Mount instance is an asynchronous operation. For more information about asynchronous operations, see AsyncReady. - * To unmount a Mount instance, first call unmount(). The callback slot will be called when the operation has resolved (either with success or failure), - * and a AsyncReady structure will be passed to the callback. That callback should then call unmount_finish() with the AsyncReady data to see if the operation was completed successfully. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class Mount : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef Mount CppObjectType; - typedef Mount_Class CppClassType; - typedef GMount BaseObjectType; - typedef GMountIface BaseClassType; - -private: - friend class Mount_Class; - static CppClassType mount_class_; - - // noncopyable - Mount(const Mount&); - Mount& operator=(const Mount&); - -protected: - Mount(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit Mount(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit Mount(GMount* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~Mount(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GMount* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GMount* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: - - - /** Gets the root directory on @a mount. - * @return A File. - */ - Glib::RefPtr get_root(); - - /** Gets the root directory on @a mount. - * @return A File. - */ - Glib::RefPtr get_root() const; - - - /** Gets the name of @a mount. - * @return The name for the given @a mount. The returned string should - * be freed when no longer needed. - */ - std::string get_name() const; - - - /** Gets the icon for @a mount. - * @return A Icon. - */ - Glib::RefPtr get_icon(); - - /** Gets the icon for @a mount. - * @return A Icon. - */ - Glib::RefPtr get_icon() const; - - - /** Gets the UUID for the @a mount. The reference is typically based on - * the file system UUID for the mount in question and should be - * considered an opaque string. Returns 0 if there is no UUID - * available. - * @return The UUID for @a mount or 0 if no UUID can be computed. - */ - std::string get_uuid() const; - - - /** Gets the volume for the @a mount. - * @return A Volume or 0 if @a mount is not associated with a volume. - */ - Glib::RefPtr get_volume(); - - /** Gets the volume for the @a mount. - * @return A Volume or 0 if @a mount is not associated with a volume. - */ - Glib::RefPtr get_volume() const; - - - /** Gets the drive for the @a mount. - * - * This is a convenience method for getting the Volume and then - * using that object to get the Drive. - * @return A Drive or 0 if @a mount is not associated with a volume or a drive. - */ - Glib::RefPtr get_drive(); - - /** Gets the drive for the @a mount. - * - * This is a convenience method for getting the Volume and then - * using that object to get the Drive. - * @return A Drive or 0 if @a mount is not associated with a volume or a drive. - */ - Glib::RefPtr get_drive() const; - - - /** Checks if @a mount can be mounted. - * @return true if the @a mount can be unmounted. - */ - bool can_unmount() const; - - /** Checks if @a mount can be eject. - * @return true if the @a mount can be ejected. - */ - bool can_eject() const; - - /** Unmounts a mount. - * This is an asynchronous operation, and is finished by calling unmount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the unmount. - */ - void unmount(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a mount. - * This is an asynchronous operation, and is finished by calling unmount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param flags Flags affecting the unmount. - */ - void unmount(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a mount. - * - * @param cancellable A cancellable object which can be used to cancel the operation. - */ - void unmount(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Finishes unmounting a mount. If any errors occurred during the operation, - * @a error will be set to contain the errors and false will be returned. - * @param result A AsyncResult. - * @return true if the mount was successfully unmounted. false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool unmount_finish(const Glib::RefPtr& result); -#else - bool unmount_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Remounts a mount. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - * - * @param operation A mount operation. - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - */ - void remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Remounts a mount. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - * - * @param operation A mount operation. - * @param slot A callback which will be called when the operation is completed or canceled. - */ - void remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Remounts a mount. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - * - * @param operation A mount operation. - */ - void remount(const Glib::RefPtr& operation, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Remounts a mount, without user interaction. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - */ - void remount(MountMountFlags flags = MOUNT_MOUNT_NONE); - - - /** Finishes remounting a mount. If any errors occurred during the operation, - * @a error will be set to contain the errors and false will be returned. - * @param result A AsyncResult. - * @return true if the mount was successfully remounted. false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool remount_finish(const Glib::RefPtr& result); -#else - bool remount_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Ejects a mount. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a mount. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a mount. - * - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Finishes ejecting a mount. If any errors occurred during the operation, - * @a error will be set to contain the errors and false will be returned. - * @param result A AsyncResult. - * @return true if the mount was successfully ejected. false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool eject_finish(const Glib::RefPtr& result); -#else - bool eject_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to guess the type of content stored on the mount. - * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera - * memory cards. See the shared-mime-info specification for more on x-content types. - * - * This is an asynchronous operation, and is finished by calling - * guess_content_type_finish(). - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. - * - * @newin2p18 - */ - void guess_content_type(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, bool force_rescan = true); - - /** Tries to guess the type of content stored on the mount. - * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera - * memory cards. See the shared-mime-info specification for more on x-content types. - * - * This is an asynchronous operation, and is finished by calling - * guess_content_type_finish(). - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. - * - * @newin2p18 - */ - void guess_content_type(const SlotAsyncReady& slot, bool force_rescan = true); - - /** Tries to guess the type of content stored on the mount. - * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera - * memory cards. See the shared-mime-info specification for more on x-content types. - * - * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. - * - * @newin2p18 - */ - void guess_content_type(bool force_rescan = true); - - - //TODO: Correct the documentation: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::StringArrayHandle guess_content_type_finish(const Glib::RefPtr& result); -#else - Glib::StringArrayHandle guess_content_type_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** - * @par Prototype: - * void on_my_%changed() - */ - - Glib::SignalProxy0< void > signal_changed(); - - - /** - * @par Prototype: - * void on_my_%unmounted() - */ - - Glib::SignalProxy0< void > signal_unmounted(); - - - //There are no properties. - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_changed(); - virtual void on_unmounted(); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - -namespace Glib -{ - -//Pre-declare this so we can use it in TypeTrait: -Glib::RefPtr wrap(GMount* object, bool take_copy); - -namespace Container_Helpers -{ - -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), - * instead of a specific Glib::wrap(GSomeInterface*), - * would not return a wrapper for an interface. - */ -template <> -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef GMount* CType; - typedef GMount* CTypeNonConst; - - static CType to_c_type (const CppType& item) - { return Glib::unwrap (item); } - - static CppType to_cpp_type (const CType& item) - { - //Use a specific Glib::wrap() function, - //because CType has the specific type (not just GObject): - return Glib::wrap(item, true /* take_copy */); - } - - static void release_c_type (CType item) - { - GLIBMM_DEBUG_UNREFERENCE(0, item); - g_object_unref(item); - } -}; - -} // Container_Helpers -} // Glib - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::Mount - */ - Glib::RefPtr wrap(GMount* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_MOUNT_H */ - diff --git a/libs/glibmm2/gio/giomm/mountoperation.cc b/libs/glibmm2/gio/giomm/mountoperation.cc deleted file mode 100644 index 110707b937..0000000000 --- a/libs/glibmm2/gio/giomm/mountoperation.cc +++ /dev/null @@ -1,589 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace -{ - - -static void MountOperation_signal_ask_password_callback(GMountOperation* self, const gchar* p0,const gchar* p1,const gchar* p2,GAskPasswordFlags p3,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::ustring&,const Glib::ustring&,const Glib::ustring&,AskPasswordFlags > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::convert_const_gchar_ptr_to_ustring(p0) -, Glib::convert_const_gchar_ptr_to_ustring(p1) -, Glib::convert_const_gchar_ptr_to_ustring(p2) -, ((AskPasswordFlags)(p3)) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo MountOperation_signal_ask_password_info = -{ - "ask_password", - (GCallback) &MountOperation_signal_ask_password_callback, - (GCallback) &MountOperation_signal_ask_password_callback -}; - - -static void MountOperation_signal_ask_question_callback(GMountOperation* self, const gchar* p0,const gchar** p1,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::ustring&,const Glib::StringArrayHandle& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::convert_const_gchar_ptr_to_ustring(p0) -, Glib::StringArrayHandle(p1, Glib::OWNERSHIP_DEEP) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo MountOperation_signal_ask_question_info = -{ - "ask_question", - (GCallback) &MountOperation_signal_ask_question_callback, - (GCallback) &MountOperation_signal_ask_question_callback -}; - - -static void MountOperation_signal_reply_callback(GMountOperation* self, GMountOperationResult p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,MountOperationResult > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(((MountOperationResult)(p0)) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo MountOperation_signal_reply_info = -{ - "reply", - (GCallback) &MountOperation_signal_reply_callback, - (GCallback) &MountOperation_signal_reply_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GMountOperation* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& MountOperation_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &MountOperation_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_mount_operation_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void MountOperation_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->ask_password = &ask_password_callback; - klass->ask_question = &ask_question_callback; - klass->reply = &reply_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void MountOperation_Class::ask_password_callback(GMountOperation* self, const gchar* p0, const gchar* p1, const gchar* p2, GAskPasswordFlags p3) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_ask_password(Glib::convert_const_gchar_ptr_to_ustring(p0) -, Glib::convert_const_gchar_ptr_to_ustring(p1) -, Glib::convert_const_gchar_ptr_to_ustring(p2) -, ((AskPasswordFlags)(p3)) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->ask_password) - (*base->ask_password)(self, p0, p1, p2, p3); -} -void MountOperation_Class::ask_question_callback(GMountOperation* self, const gchar* p0, const gchar** p1) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_ask_question(Glib::convert_const_gchar_ptr_to_ustring(p0) -, Glib::StringArrayHandle(p1, Glib::OWNERSHIP_DEEP) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->ask_question) - (*base->ask_question)(self, p0, p1); -} -void MountOperation_Class::reply_callback(GMountOperation* self, GMountOperationResult p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_reply(((MountOperationResult)(p0)) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->reply) - (*base->reply)(self, p0); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* MountOperation_Class::wrap_new(GObject* object) -{ - return new MountOperation((GMountOperation*)object); -} - - -/* The implementation: */ - -GMountOperation* MountOperation::gobj_copy() -{ - reference(); - return gobj(); -} - -MountOperation::MountOperation(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -MountOperation::MountOperation(GMountOperation* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -MountOperation::~MountOperation() -{} - - -MountOperation::CppClassType MountOperation::mountoperation_class_; // initialize static member - -GType MountOperation::get_type() -{ - return mountoperation_class_.init().get_type(); -} - -GType MountOperation::get_base_type() -{ - return g_mount_operation_get_type(); -} - - -MountOperation::MountOperation() -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(mountoperation_class_.init())) -{ - - -} - -Glib::RefPtr MountOperation::create() -{ - return Glib::RefPtr( new MountOperation() ); -} -Glib::ustring MountOperation::get_username() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(g_mount_operation_get_username(const_cast(gobj()))); -} - -void MountOperation::set_username(const Glib::ustring& username) -{ -g_mount_operation_set_username(gobj(), username.c_str()); -} - -Glib::ustring MountOperation::get_password() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(g_mount_operation_get_password(const_cast(gobj()))); -} - -void MountOperation::set_password(const Glib::ustring& password) -{ -g_mount_operation_set_password(gobj(), password.c_str()); -} - -bool MountOperation::get_anonymous() const -{ - return g_mount_operation_get_anonymous(const_cast(gobj())); -} - -void MountOperation::set_anonymous(bool anonymous) -{ -g_mount_operation_set_anonymous(gobj(), static_cast(anonymous)); -} - -Glib::ustring MountOperation::get_domain() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(g_mount_operation_get_domain(const_cast(gobj()))); -} - -void MountOperation::set_domain(const Glib::ustring& domain) -{ -g_mount_operation_set_domain(gobj(), domain.c_str()); -} - -PasswordSave MountOperation::get_password_save() const -{ - return (PasswordSave)g_mount_operation_get_password_save(const_cast(gobj())); -} - -void MountOperation::set_password_save(PasswordSave password_save) -{ -g_mount_operation_set_password_save(gobj(), (GPasswordSave)password_save); -} - -int MountOperation::get_choice() const -{ - return g_mount_operation_get_choice(const_cast(gobj())); -} - -void MountOperation::set_choice(int choice) -{ -g_mount_operation_set_choice(gobj(), choice); -} - -void MountOperation::reply(MountOperationResult result) -{ -g_mount_operation_reply(gobj(), ((GMountOperationResult)(result))); -} - - -Glib::SignalProxy4< void,const Glib::ustring&,const Glib::ustring&,const Glib::ustring&,AskPasswordFlags > MountOperation::signal_ask_password() -{ - return Glib::SignalProxy4< void,const Glib::ustring&,const Glib::ustring&,const Glib::ustring&,AskPasswordFlags >(this, &MountOperation_signal_ask_password_info); -} - - -Glib::SignalProxy2< void,const Glib::ustring&,const Glib::StringArrayHandle& > MountOperation::signal_ask_question() -{ - return Glib::SignalProxy2< void,const Glib::ustring&,const Glib::StringArrayHandle& >(this, &MountOperation_signal_ask_question_info); -} - - -Glib::SignalProxy1< void,MountOperationResult > MountOperation::signal_reply() -{ - return Glib::SignalProxy1< void,MountOperationResult >(this, &MountOperation_signal_reply_info); -} - - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy MountOperation::property_username() -{ - return Glib::PropertyProxy(this, "username"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly MountOperation::property_username() const -{ - return Glib::PropertyProxy_ReadOnly(this, "username"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy MountOperation::property_password() -{ - return Glib::PropertyProxy(this, "password"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly MountOperation::property_password() const -{ - return Glib::PropertyProxy_ReadOnly(this, "password"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy MountOperation::property_anonymous() -{ - return Glib::PropertyProxy(this, "anonymous"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly MountOperation::property_anonymous() const -{ - return Glib::PropertyProxy_ReadOnly(this, "anonymous"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy MountOperation::property_domain() -{ - return Glib::PropertyProxy(this, "domain"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly MountOperation::property_domain() const -{ - return Glib::PropertyProxy_ReadOnly(this, "domain"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy MountOperation::property_password_save() -{ - return Glib::PropertyProxy(this, "password-save"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly MountOperation::property_password_save() const -{ - return Glib::PropertyProxy_ReadOnly(this, "password-save"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy MountOperation::property_choice() -{ - return Glib::PropertyProxy(this, "choice"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -Glib::PropertyProxy_ReadOnly MountOperation::property_choice() const -{ - return Glib::PropertyProxy_ReadOnly(this, "choice"); -} -#endif //GLIBMM_PROPERTIES_ENABLED - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::MountOperation::on_ask_password(const Glib::ustring& message, const Glib::ustring& default_user, const Glib::ustring& default_domain, AskPasswordFlags flags) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->ask_password) - (*base->ask_password)(gobj(),message.c_str(),default_user.c_str(),default_domain.c_str(),((GAskPasswordFlags)(flags))); -} -void Gio::MountOperation::on_ask_question(const Glib::ustring& message, const Glib::StringArrayHandle& choices) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->ask_question) - (*base->ask_question)(gobj(),message.c_str(),const_cast((choices).data())); -} -void Gio::MountOperation::on_reply(MountOperationResult result) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->reply) - (*base->reply)(gobj(),((GMountOperationResult)(result))); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/mountoperation.h b/libs/glibmm2/gio/giomm/mountoperation.h deleted file mode 100644 index 9006d3d75b..0000000000 --- a/libs/glibmm2/gio/giomm/mountoperation.h +++ /dev/null @@ -1,437 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_MOUNTOPERATION_H -#define _GIOMM_MOUNTOPERATION_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GMountOperation GMountOperation; -typedef struct _GMountOperationClass GMountOperationClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class MountOperation_Class; } // namespace Gio -namespace Gio -{ - -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %AskPasswordFlags operator|(AskPasswordFlags, AskPasswordFlags)
- * %AskPasswordFlags operator&(AskPasswordFlags, AskPasswordFlags)
- * %AskPasswordFlags operator^(AskPasswordFlags, AskPasswordFlags)
- * %AskPasswordFlags operator~(AskPasswordFlags)
- * %AskPasswordFlags& operator|=(AskPasswordFlags&, AskPasswordFlags)
- * %AskPasswordFlags& operator&=(AskPasswordFlags&, AskPasswordFlags)
- * %AskPasswordFlags& operator^=(AskPasswordFlags&, AskPasswordFlags)
- */ -enum AskPasswordFlags -{ - ASK_PASSWORD_NEED_PASSWORD = 1 << 0, - ASK_PASSWORD_NEED_USERNAME = 1 << 1, - ASK_PASSWORD_NEED_DOMAIN = 1 << 2, - ASK_PASSWORD_SAVING_SUPPORTED = 1 << 3, - ASK_PASSWORD_ANONYMOUS_SUPPORTED = 1 << 4 -}; - -/** @ingroup giommEnums */ -inline AskPasswordFlags operator|(AskPasswordFlags lhs, AskPasswordFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline AskPasswordFlags operator&(AskPasswordFlags lhs, AskPasswordFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline AskPasswordFlags operator^(AskPasswordFlags lhs, AskPasswordFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline AskPasswordFlags operator~(AskPasswordFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline AskPasswordFlags& operator|=(AskPasswordFlags& lhs, AskPasswordFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline AskPasswordFlags& operator&=(AskPasswordFlags& lhs, AskPasswordFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline AskPasswordFlags& operator^=(AskPasswordFlags& lhs, AskPasswordFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup giommEnums - */ -enum PasswordSave -{ - PASSWORD_SAVE_NEVER, - PASSWORD_SAVE_FOR_SESSION, - PASSWORD_SAVE_PERMANENTLY -}; - - -/** - * @ingroup giommEnums - */ -enum MountOperationResult -{ - MOUNT_OPERATION_HANDLED, - MOUNT_OPERATION_ABORTED, - MOUNT_OPERATION_UNHANDLED -}; - - -/** Authentication methods for mountable locations. - * - * MountOperation provides a mechanism for authenticating mountable operations, such as loop mounting files, hard drive partitions or server locations. - * - * Mounting operations are handed a MountOperation that they can use if they require any privileges or authentication for their volumes to be mounted (e.g. - * a hard disk partition or an encrypted filesystem), or if they are implementing a remote server protocol which requires user credentials such as FTP or - * WebDAV. - * - * Developers should instantiate a subclass of this that implements all the various callbacks to show the required dialogs. - * - * @newin2p16 - */ - -class MountOperation : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef MountOperation CppObjectType; - typedef MountOperation_Class CppClassType; - typedef GMountOperation BaseObjectType; - typedef GMountOperationClass BaseClassType; - -private: friend class MountOperation_Class; - static CppClassType mountoperation_class_; - -private: - // noncopyable - MountOperation(const MountOperation&); - MountOperation& operator=(const MountOperation&); - -protected: - explicit MountOperation(const Glib::ConstructParams& construct_params); - explicit MountOperation(GMountOperation* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~MountOperation(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GMountOperation* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GMountOperation* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GMountOperation* gobj_copy(); - -private: - - -protected: - MountOperation(); - -public: - - static Glib::RefPtr create(); - - - /** Get the user name from the mount operation. - * @return A string containing the user name. - */ - Glib::ustring get_username() const; - - /** Sets the user name within @a op to @a username. - * @param username Input username. - */ - void set_username(const Glib::ustring& username); - - /** Gets a password from the mount operation. - * @return A string containing the password within @a op. - */ - Glib::ustring get_password() const; - - /** Sets the mount operation's password to @a password. - * @param password Password to set. - */ - void set_password(const Glib::ustring& password); - - /** Check to see whether the mount operation is being used - * for an anonymous user. - * @return true if mount operation is anonymous. - */ - bool get_anonymous() const; - - /** Sets the mount operation to use an anonymous user if @a anonymous is true. - * @param anonymous Boolean value. - */ - void set_anonymous(bool anonymous = true); - - /** Gets the domain of the mount operation. - * @return A string set to the domain. - */ - Glib::ustring get_domain() const; - - /** Sets the mount operation's domain. - * @param domain The domain to set. - */ - void set_domain(const Glib::ustring& domain); - - /** Gets the state of saving passwords for the mount operation. - * @return A PasswordSave flag. - */ - PasswordSave get_password_save() const; - - /** Sets the state of saving passwords for the mount operation. - * @param save A set of PasswordSave flags. - */ - void set_password_save(PasswordSave password_save); - - /** Gets a choice from the mount operation. - * @return An integer containing an index of the user's choice from - * the choice's list, or %0. - */ - int get_choice() const; - - /** Sets a default choice for the mount operation. - * @param choice An integer. - */ - void set_choice(int choice); - - /** Emits the MountOperation::reply signal. - * @param result A MountOperationResult. - */ - void reply(MountOperationResult result); - - - /** - * @par Prototype: - * void on_my_%ask_password(const Glib::ustring& message, const Glib::ustring& default_user, const Glib::ustring& default_domain, AskPasswordFlags flags) - */ - - Glib::SignalProxy4< void,const Glib::ustring&,const Glib::ustring&,const Glib::ustring&,AskPasswordFlags > signal_ask_password(); - - - //TODO: We really need some test to make sure that our use of StringArrayHandle is correct. murrayc. - - - /** - * @par Prototype: - * void on_my_%ask_question(const Glib::ustring& message, const Glib::StringArrayHandle& choices) - */ - - Glib::SignalProxy2< void,const Glib::ustring&,const Glib::StringArrayHandle& > signal_ask_question(); - - - /** - * @par Prototype: - * void on_my_%reply(MountOperationResult result) - */ - - Glib::SignalProxy1< void,MountOperationResult > signal_reply(); - - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The user name. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_username() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** The user name. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_username() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The password. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_password() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** The password. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_password() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** Whether to use an anonymous user. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_anonymous() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** Whether to use an anonymous user. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_anonymous() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The domain of the mount operation. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_domain() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** The domain of the mount operation. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_domain() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** How passwords should be saved. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_password_save() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** How passwords should be saved. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_password_save() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - #ifdef GLIBMM_PROPERTIES_ENABLED -/** The users choice. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy property_choice() ; -#endif //#GLIBMM_PROPERTIES_ENABLED - -#ifdef GLIBMM_PROPERTIES_ENABLED -/** The users choice. - * - * You rarely need to use properties because there are get_ and set_ methods for almost all of them. - * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when - * the value of the property changes. - */ - Glib::PropertyProxy_ReadOnly property_choice() const; -#endif //#GLIBMM_PROPERTIES_ENABLED - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_ask_password(const Glib::ustring& message, const Glib::ustring& default_user, const Glib::ustring& default_domain, AskPasswordFlags flags); - virtual void on_ask_question(const Glib::ustring& message, const Glib::StringArrayHandle& choices); - virtual void on_reply(MountOperationResult result); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::MountOperation - */ - Glib::RefPtr wrap(GMountOperation* object, bool take_copy = false); -} - - -#endif /* _GIOMM_MOUNTOPERATION_H */ - diff --git a/libs/glibmm2/gio/giomm/outputstream.cc b/libs/glibmm2/gio/giomm/outputstream.cc deleted file mode 100644 index b1400c6093..0000000000 --- a/libs/glibmm2/gio/giomm/outputstream.cc +++ /dev/null @@ -1,631 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include "slot_async.h" - -namespace Gio { - -void -OutputStream::write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_write_async(gobj(), - buffer, - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_write_async(gobj(), - buffer, - count, - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_splice_async(gobj(), - source->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, OutputStreamSpliceFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_splice_async(gobj(), - source->gobj(), - static_cast(flags), - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::flush_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_flush_async(gobj(), - io_priority, - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::flush_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_flush_async(gobj(), - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_close_async(gobj(), - io_priority, - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::close_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_close_async(gobj(), - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const void* buffer, gsize count) -#else -gssize OutputStream::write(const void* buffer, gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer, count, 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const std::string& buffer, const Glib::RefPtr& cancellable) -#else -gssize OutputStream::write(const std::string& buffer, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer.data(), buffer.size(), Glib::unwrap(cancellable), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const std::string& buffer) -#else -gssize OutputStream::write(const std::string& buffer, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer.data(), buffer.size(), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const void* buffer, gsize count, gsize& bytes_written) -#else -bool OutputStream::write_all(const void* buffer, gsize count, gsize& bytes_written, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer, count, &(bytes_written), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable) -#else -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer.data(), buffer.size(), &(bytes_written), Glib::unwrap(cancellable), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written) -#else -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer.data(), buffer.size(), &(bytes_written), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags) -#else -gssize OutputStream::splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_splice(gobj(), Glib::unwrap(source), ((GOutputStreamSpliceFlags)(flags)), Glib::unwrap(cancellable), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags) -#else -gssize OutputStream::splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_splice(gobj(), Glib::unwrap(source), ((GOutputStreamSpliceFlags)(flags)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::flush() -#else -bool OutputStream::flush(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_flush(gobj(), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::close() -#else -bool OutputStream::close(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_close(gobj(), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -} // namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GOutputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& OutputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &OutputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_output_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void OutputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* OutputStream_Class::wrap_new(GObject* object) -{ - return new OutputStream((GOutputStream*)object); -} - - -/* The implementation: */ - -GOutputStream* OutputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -OutputStream::OutputStream(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -OutputStream::OutputStream(GOutputStream* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -OutputStream::~OutputStream() -{} - - -OutputStream::CppClassType OutputStream::outputstream_class_; // initialize static member - -GType OutputStream::get_type() -{ - return outputstream_class_.init().get_type(); -} - -GType OutputStream::get_base_type() -{ - return g_output_stream_get_type(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const void* buffer, gsize count, const Glib::RefPtr& cancellable) -#else -gssize OutputStream::write(const void* buffer, gsize count, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer, count, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const void* buffer, gsize count, gsize& bytes_written, const Glib::RefPtr& cancellable) -#else -bool OutputStream::write_all(const void* buffer, gsize count, gsize& bytes_written, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer, count, &(bytes_written), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::flush(const Glib::RefPtr& cancellable) -#else -bool OutputStream::flush(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_flush(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::close(const Glib::RefPtr& cancellable) -#else -bool OutputStream::close(const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_close(gobj(), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write_finish(const Glib::RefPtr& result) -#else -gssize OutputStream::write_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::splice_finish(const Glib::RefPtr& result) -#else -gssize OutputStream::splice_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_splice_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::flush_finish(const Glib::RefPtr& result) -#else -bool OutputStream::flush_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_flush_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::close_finish(const Glib::RefPtr& result) -#else -bool OutputStream::close_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_close_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/outputstream.h b/libs/glibmm2/gio/giomm/outputstream.h deleted file mode 100644 index 150be75c56..0000000000 --- a/libs/glibmm2/gio/giomm/outputstream.h +++ /dev/null @@ -1,719 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_OUTPUTSTREAM_H -#define _GIOMM_OUTPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GOutputStream GOutputStream; -typedef struct _GOutputStreamClass GOutputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class OutputStream_Class; } // namespace Gio -namespace Gio -{ - -/** @addtogroup giommEnums Enums and Flags */ - -/** - * @ingroup giommEnums - * @par Bitwise operators: - * %OutputStreamSpliceFlags operator|(OutputStreamSpliceFlags, OutputStreamSpliceFlags)
- * %OutputStreamSpliceFlags operator&(OutputStreamSpliceFlags, OutputStreamSpliceFlags)
- * %OutputStreamSpliceFlags operator^(OutputStreamSpliceFlags, OutputStreamSpliceFlags)
- * %OutputStreamSpliceFlags operator~(OutputStreamSpliceFlags)
- * %OutputStreamSpliceFlags& operator|=(OutputStreamSpliceFlags&, OutputStreamSpliceFlags)
- * %OutputStreamSpliceFlags& operator&=(OutputStreamSpliceFlags&, OutputStreamSpliceFlags)
- * %OutputStreamSpliceFlags& operator^=(OutputStreamSpliceFlags&, OutputStreamSpliceFlags)
- */ -enum OutputStreamSpliceFlags -{ - OUTPUT_STREAM_SPLICE_NONE = 0, - OUTPUT_STREAM_SPLICE_CLOSE_SOURCE = 1 << 0, - OUTPUT_STREAM_SPLICE_CLOSE_TARGET = 1 << 1 -}; - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags operator|(OutputStreamSpliceFlags lhs, OutputStreamSpliceFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags operator&(OutputStreamSpliceFlags lhs, OutputStreamSpliceFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags operator^(OutputStreamSpliceFlags lhs, OutputStreamSpliceFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags operator~(OutputStreamSpliceFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags& operator|=(OutputStreamSpliceFlags& lhs, OutputStreamSpliceFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags& operator&=(OutputStreamSpliceFlags& lhs, OutputStreamSpliceFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup giommEnums */ -inline OutputStreamSpliceFlags& operator^=(OutputStreamSpliceFlags& lhs, OutputStreamSpliceFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** Base class for implementing streaming output. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class OutputStream : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef OutputStream CppObjectType; - typedef OutputStream_Class CppClassType; - typedef GOutputStream BaseObjectType; - typedef GOutputStreamClass BaseClassType; - -private: friend class OutputStream_Class; - static CppClassType outputstream_class_; - -private: - // noncopyable - OutputStream(const OutputStream&); - OutputStream& operator=(const OutputStream&); - -protected: - explicit OutputStream(const Glib::ConstructParams& construct_params); - explicit OutputStream(GOutputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~OutputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GOutputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GOutputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GOutputStream* gobj_copy(); - -private: - - -public: - - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. If an - * operation was partially finished when the operation was cancelled the - * partial result will be returned, without an error. - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write. - * @param cancellable Cancellable object. - * @return Number of bytes written, or -1 on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const void* buffer, gsize count, const Glib::RefPtr& cancellable); -#else - gssize write(const void* buffer, gsize count, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if the there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * On error -1 is returned. - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write. - * @return Number of bytes written, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const void* buffer, gsize count); - #else - gssize write(const void* buffer, gsize count, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if the there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * On error -1 is returned. - * @param buffer The buffer containing the data to write. - * @param cancellable Cancellable object. - * @return Number of bytes written, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const std::string& buffer, const Glib::RefPtr& cancellable); - #else - gssize write(const std::string& buffer, const Glib::RefPtr& cancellable, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If string that is larger than MAXSSIZE bytes will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if the there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * On error -1 is returned. - * @param buffer The buffer containing the data to write. - * @return Number of bytes written, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const std::string& buffer); - #else - gssize write(const std::string& buffer, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to g_output_stream_write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count. - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occurred. - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @param cancellable Optional Cancellable object, 0 to ignore. - * @return true on success, false if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const void* buffer, gsize count, gsize& bytes_written, const Glib::RefPtr& cancellable); -#else - bool write_all(const void* buffer, gsize count, gsize& bytes_written, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count . - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occured. - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const void* buffer, gsize count, gsize& bytes_written); - #else - bool write_all(const void* buffer, gsize count, gsize& bytes_written, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count . - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occured. - * @param buffer The buffer containing the data to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @param cancellable Cancellable object. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable); - #else - bool write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count . - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occured. - * @param buffer The buffer containing the data to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const std::string& buffer, gsize& bytes_written); - #else - bool write_all(const std::string& buffer, gsize& bytes_written, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Splices an input stream into an output stream. - * - * @param source An InputStream. - * @param flags A set of OutputStreamSpliceFlags. - * @param cancellable A Cancellable object. - * ignore. - * @return A #gssize containing the size of the data spliced. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE); - #else - gssize splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Splices an input stream into an output stream. - * - * @param source An InputStream. - * @param flags A set of OutputStreamSpliceFlags. - * ignore. - * @return A #gssize containing the size of the data spliced. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE); - #else - gssize splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Flushed any outstanding buffers in the stream. Will block during - * the operation. Closing the stream will implicitly cause a flush. - * - * This function is optional for inherited classes. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param cancellable Cancellable object. - * @return true on success, false on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool flush(const Glib::RefPtr& cancellable); -#else - bool flush(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Flushed any outstanding buffers in the stream. Will block during - * the operation. Closing the stream will implicitly cause a flush. - * - * This function is optional for inherited classes. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * @param cancellable Optional cancellable object. - * @return true on success, false on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool flush(); - #else - bool flush(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Closes the stream, releasing resources related to it. - * - * Once the stream is closed, all other operations will throw a Gio::Error with - * CLOSED. Closing a stream multiple times will not cause an error to be - * thrown. - * - * Closing a stream will automatically flush any outstanding buffers in the - * stream. - * - * Streams will be automatically closed when the last reference - * is dropped, but you might want to call this function to make sure - * resources are released as early as possible. - * - * Some streams might keep the backing store of the stream (e.g. a file descriptor) - * open after the stream is closed. See the documentation for the individual - * stream for details. - * - * On failure the first error that happened will be reported, but the close - * operation will finish as much as possible. A stream that failed to - * close will still throw a Gio::Error with CLOSED for all operations. Still, it - * is important to check and report the error to the user, otherwise - * there might be a loss of data as all data might not be written. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * Cancelling a close will still leave the stream closed, but there some streams - * can use a faster close that doesn't block to e.g. check errors. On - * cancellation (as with any error) there is no guarantee that all written - * data will reach the target. - * @param cancellable Cancellable object. - * @return true on success, false on failure. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(const Glib::RefPtr& cancellable); -#else - bool close(const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Closes the stream, releasing resources related to it. - * - * Once the stream is closed, all other operations will throw a Gio::Error with CLOSED. - * Closing a stream multiple times will not return an error. - * - * Closing a stream will automatically flush any outstanding buffers in the - * stream. - * - * Streams will be automatically closed when the last reference - * is dropped, but you might want to call make sure resources - * are released as early as possible. - * - * Some streams might keep the backing store of the stream (e.g. a file descriptor) - * open after the stream is closed. See the documentation for the individual - * stream for details. - * - * On failure the first error that happened will be reported, but the close - * operation will finish as much as possible. A stream that failed to - * close will still throw a Gio::Error with CLOSED for all operations. Still, it - * is important to check and report the error to the user, otherwise - * there might be a loss of data as all data might not be written. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * Cancelling a close will still leave the stream closed, but there some streams - * can use a faster close that doesn't block to e.g. check errors. On - * cancellation (as with any error) there is no guarantee that all written - * data will reach the target. - * @param cancellable Optional cancellable object. - * @return true on success, false on failure. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(); - #else - bool close(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Request an asynchronous write of @a count bytes from @a buffer into - * the stream. When the operation is finished @a slot will be called. - * You can then call write_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, - * and will result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with - * NVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written will be passed to the - * callback @a slot. It is not an error if this is not the same as the - * requested size, as it can happen e.g. on a partial I/O error, - * but generally we try to write as many bytes as requested. - * - * Any outstanding I/O request with higher priority (lower numerical - * value) will be executed before an outstanding request with lower - * priority. Default priority is Glib::PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads - * to implement asynchronicity, so they are optional for inheriting - * classes. However, if you override one you must override all. - * - * For the synchronous, blocking version of this function, see - * write(). - * - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request an asynchronous write of @a count bytes from @a buffer into - * the stream. When the operation is finished @a slot will be called. - * You can then call write_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, - * and will result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with - * INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written will be passed to the - * callback @a slot. It is not an error if this is not the same as the - * requested size, as it can happen e.g. on a partial I/O error, - * but generally we try to write as many bytes as requested. - * - * Any outstanding I/O request with higher priority (lower numerical - * value) will be executed before an outstanding request with lower - * priority. Default priority is Glib::PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads - * to implement asynchronicity, so they are optional for inheriting - * classes. However, if you override one you must override all. - * - * For the synchronous, blocking version of this function, see - * write(). - * - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes a stream write operation. - * @param result A AsyncResult. - * @return A #gssize containing the number of bytes written to the stream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write_finish(const Glib::RefPtr& result); -#else - gssize write_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Splices a stream asynchronously. - * When the operation is finished @a slot will be called. - * You can then call splice_finish() to get the result of the - * operation. - * - * For the synchronous, blocking version of this function, see - * splice(). - * - * @param source An InputStream. - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Splices a stream asynchronously. - * When the operation is finished @a slot will be called. - * You can then call splice_finish() to get the result of the - * operation. - * - * For the synchronous, blocking version of this function, see - * splice(). - * - * @param source An InputStream. - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes an asynchronous stream splice operation. - * @param result A AsyncResult. - * @return A #gssize of the number of bytes spliced. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize splice_finish(const Glib::RefPtr& result); -#else - gssize splice_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Flushes a stream asynchronously. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call flush_finish() to get the result of the operation. - * For behaviour details see flush(). - * - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void flush_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Flushes a stream asynchronously. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call flush_finish() to get the result of the operation. - * For behaviour details see flush(). - * - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void flush_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Finishes flushing an output stream. - * @param result A GAsyncResult. - * @return true if flush operation suceeded, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool flush_finish(const Glib::RefPtr& result); -#else - bool flush_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Requests an asynchronous close of the stream, releasing resources related to it. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call close_finish() to get the result of the operation. - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement asynchronicity, - * so they are optional for inheriting classes. However, if you override one you must override all. - * - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Requests an asynchronous close of the stream, releasing resources related to it. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call close_finish() to get the result of the operation. - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement asynchronicity, - * so they are optional for inheriting classes. However, if you override one you must override all. - * - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void close_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - - - /** Closes an output stream. - * @param result A AsyncResult. - * @return true if stream was successfully closed, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close_finish(const Glib::RefPtr& result); -#else - bool close_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - // These are private inside the module (for implementations) - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::OutputStream - */ - Glib::RefPtr wrap(GOutputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_OUTPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/private/Makefile b/libs/glibmm2/gio/giomm/private/Makefile deleted file mode 100644 index a629a4f5c8..0000000000 --- a/libs/glibmm2/gio/giomm/private/Makefile +++ /dev/null @@ -1,489 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# gio/giomm/private/Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -# Built files - - -pkgdatadir = $(datadir)/glibmm -pkglibdir = $(libdir)/glibmm -pkgincludedir = $(includedir)/glibmm -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = x86_64-unknown-linux-gnu -host_triplet = x86_64-unknown-linux-gnu -DIST_COMMON = $(private_include_HEADERS) \ - $(srcdir)/../../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment -subdir = gio/giomm/private -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(private_includedir)" -private_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(private_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run aclocal-1.10 -I ./scripts -AMTAR = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run tar -AR = ar -AS = as -AUTOCONF = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run autoconf -AUTOHEADER = : -AUTOMAKE = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run automake-1.10 -AWK = gawk -CC = gcc -CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -CXX = g++ -CXXCPP = g++ -E -CXXDEPMODE = depmode=gcc3 -CXXFLAGS = -g -O2 -Wall -Wno-long-long -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DEPDIR = .deps -DISABLE_DEPRECATED_API_CFLAGS = -DISABLE_DEPRECATED_CFLAGS = -DLLTOOL = dlltool -DSYMUTIL = -ECHO = echo -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = -F77 = gfortran -FFLAGS = -g -O2 -GIOMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -GIOMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GLIBMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_MAJOR_VERSION = 2 -GLIBMM_MICRO_VERSION = 2 -GLIBMM_MINOR_VERSION = 18 -GLIBMM_RELEASE = 2.18 -GLIBMM_VERSION = 2.18.2 -GMMPROC_DIR = ${exec_prefix}/lib/glibmm-2.4/proc -GREP = /bin/grep -GTHREAD_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GTHREAD_LIBS = -pthread -lgthread-2.0 -lrt -lglib-2.0 -GTKMMPROC_MERGECDOCS = -GTKMM_DOXYGEN_INPUT = /tmp/glibmm-2.18.2/glib/glibmm/ /tmp/glibmm-2.18.2/gio/giomm/ -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -LIBGLIBMM_SO_VERSION = 3:0:2 -LIBOBJS = -LIBS = -LIBTOOL = $(SHELL) $(top_builddir)/libtool -LN_S = ln -s -LTLIBOBJS = -M4 = m4 -MAINT = # -MAKEINFO = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -NMEDIT = -OBJDUMP = objdump -OBJEXT = o -PACKAGE = glibmm -PACKAGE_BUGREPORT = gtkmm-list@gnome.org -PACKAGE_NAME = glibmm -PACKAGE_STRING = glibmm 2.18.2 -PACKAGE_TARNAME = glibmm -PACKAGE_VERSION = 2.18.2 -PATH_SEPARATOR = : -PERL_PATH = /usr/bin/perl -PKG_CONFIG = /usr/bin/pkg-config -RANLIB = ranlib -SED = /bin/sed -SET_MAKE = -SHELL = /bin/sh -STRIP = strip -VERSION = 2.18.2 -abs_builddir = /tmp/glibmm-2.18.2/gio/giomm/private -abs_srcdir = /tmp/glibmm-2.18.2/gio/giomm/private -abs_top_builddir = /tmp/glibmm-2.18.2 -abs_top_srcdir = /tmp/glibmm-2.18.2 -ac_ct_CC = gcc -ac_ct_CXX = g++ -ac_ct_F77 = gfortran -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -bindir = ${exec_prefix}/bin -build = x86_64-unknown-linux-gnu -build_alias = -build_cpu = x86_64 -build_os = linux-gnu -build_vendor = unknown -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} -dvidir = ${docdir} -exec_prefix = ${prefix} -host = x86_64-unknown-linux-gnu -host_alias = -host_cpu = x86_64 -host_os = linux-gnu -host_vendor = unknown -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = $(SHELL) /tmp/glibmm-2.18.2/scripts/install-sh -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = ../../../ -top_builddir = ../../.. -top_srcdir = ../../.. -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -#files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -files_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_general_cc) - -#files_extra_cc = \ -# $(sublib_files_extra_win32_cc) \ -# $(sublib_files_extra_general_cc) - -files_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_general_h) wrap_init.h -#files_extra_h = $(sublib_files_extra_win32_h) \ -# $(sublib_files_extra_general_h) wrap_init.h -files_built_p_h = $(files_all_hg:.hg=_p.h) -private_includedir = $(includedir)/giomm-2.4/giomm/private -private_include_HEADERS = $(files_built_p_h) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(srcdir)/../../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/giomm/private/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/giomm/private/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: # $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): # $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-private_includeHEADERS: $(private_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(private_includedir)" || $(MKDIR_P) "$(DESTDIR)$(private_includedir)" - @list='$(private_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(private_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(private_includedir)/$$f'"; \ - $(private_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(private_includedir)/$$f"; \ - done - -uninstall-private_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(private_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(private_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(private_includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(private_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-private_includeHEADERS - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-private_includeHEADERS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-private_includeHEADERS install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-private_includeHEADERS - - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_built_p_h)) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/giomm/private/Makefile.am b/libs/glibmm2/gio/giomm/private/Makefile.am deleted file mode 100644 index e17670a64e..0000000000 --- a/libs/glibmm2/gio/giomm/private/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. - -include $(srcdir)/../../src/Makefile_list_of_hg.am_fragment -files_built_p_h = $(files_all_hg:.hg=_p.h) - -private_includedir = $(includedir)/giomm-2.4/giomm/private -private_include_HEADERS = $(files_built_p_h) - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_built_p_h)) - - - diff --git a/libs/glibmm2/gio/giomm/private/Makefile.in b/libs/glibmm2/gio/giomm/private/Makefile.in deleted file mode 100644 index d55839d40f..0000000000 --- a/libs/glibmm2/gio/giomm/private/Makefile.in +++ /dev/null @@ -1,489 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Built files - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(private_include_HEADERS) \ - $(srcdir)/../../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment -subdir = gio/giomm/private -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(private_includedir)" -private_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(private_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -@OS_WIN32_FALSE@files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -@OS_WIN32_TRUE@files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -@OS_WIN32_FALSE@files_extra_cc = \ -@OS_WIN32_FALSE@ $(sublib_files_extra_posix_cc) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_TRUE@files_extra_cc = \ -@OS_WIN32_TRUE@ $(sublib_files_extra_win32_cc) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_FALSE@files_extra_h = $(sublib_files_extra_posix_h) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_h) wrap_init.h -@OS_WIN32_TRUE@files_extra_h = $(sublib_files_extra_win32_h) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_h) wrap_init.h -files_built_p_h = $(files_all_hg:.hg=_p.h) -private_includedir = $(includedir)/giomm-2.4/giomm/private -private_include_HEADERS = $(files_built_p_h) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/giomm/private/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/giomm/private/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-private_includeHEADERS: $(private_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(private_includedir)" || $(MKDIR_P) "$(DESTDIR)$(private_includedir)" - @list='$(private_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(private_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(private_includedir)/$$f'"; \ - $(private_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(private_includedir)/$$f"; \ - done - -uninstall-private_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(private_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(private_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(private_includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(private_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-private_includeHEADERS - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-private_includeHEADERS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-private_includeHEADERS install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-private_includeHEADERS - - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_built_p_h)) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/giomm/private/appinfo_p.h b/libs/glibmm2/gio/giomm/private/appinfo_p.h deleted file mode 100644 index 6aae385a64..0000000000 --- a/libs/glibmm2/gio/giomm/private/appinfo_p.h +++ /dev/null @@ -1,90 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_APPINFO_P_H -#define _GIOMM_APPINFO_P_H - - -#include -#include - -#include - -namespace Gio -{ - -class AppLaunchContext_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef AppLaunchContext CppObjectType; - typedef GAppLaunchContext BaseObjectType; - typedef GAppLaunchContextClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class AppLaunchContext; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#include - -namespace Gio -{ - -class AppInfo_Class : public Glib::Interface_Class -{ -public: - typedef AppInfo CppObjectType; - typedef GAppInfo BaseObjectType; - typedef GAppInfoIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class AppInfo; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_APPINFO_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/asyncresult_p.h b/libs/glibmm2/gio/giomm/private/asyncresult_p.h deleted file mode 100644 index cf1ce95bf8..0000000000 --- a/libs/glibmm2/gio/giomm/private/asyncresult_p.h +++ /dev/null @@ -1,49 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ASYNCRESULT_P_H -#define _GIOMM_ASYNCRESULT_P_H - - -#include - -#include - -namespace Gio -{ - -class AsyncResult_Class : public Glib::Interface_Class -{ -public: - typedef AsyncResult CppObjectType; - typedef GAsyncResult BaseObjectType; - typedef GAsyncResultIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class AsyncResult; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED - static GObject* get_source_object_vfunc_callback(GAsyncResult* self); -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_ASYNCRESULT_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/bufferedinputstream_p.h b/libs/glibmm2/gio/giomm/private/bufferedinputstream_p.h deleted file mode 100644 index 68b4c29741..0000000000 --- a/libs/glibmm2/gio/giomm/private/bufferedinputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_BUFFEREDINPUTSTREAM_P_H -#define _GIOMM_BUFFEREDINPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class BufferedInputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef BufferedInputStream CppObjectType; - typedef GBufferedInputStream BaseObjectType; - typedef GBufferedInputStreamClass BaseClassType; - typedef Gio::FilterInputStream_Class CppClassParent; - typedef GFilterInputStreamClass BaseClassParent; - - friend class BufferedInputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_BUFFEREDINPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/bufferedoutputstream_p.h b/libs/glibmm2/gio/giomm/private/bufferedoutputstream_p.h deleted file mode 100644 index 5038f347a3..0000000000 --- a/libs/glibmm2/gio/giomm/private/bufferedoutputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_BUFFEREDOUTPUTSTREAM_P_H -#define _GIOMM_BUFFEREDOUTPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class BufferedOutputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef BufferedOutputStream CppObjectType; - typedef GBufferedOutputStream BaseObjectType; - typedef GBufferedOutputStreamClass BaseClassType; - typedef Gio::FilterOutputStream_Class CppClassParent; - typedef GFilterOutputStreamClass BaseClassParent; - - friend class BufferedOutputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_BUFFEREDOUTPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/cancellable_p.h b/libs/glibmm2/gio/giomm/private/cancellable_p.h deleted file mode 100644 index 3f3c07db31..0000000000 --- a/libs/glibmm2/gio/giomm/private/cancellable_p.h +++ /dev/null @@ -1,52 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_CANCELLABLE_P_H -#define _GIOMM_CANCELLABLE_P_H - - -#include - -#include - -namespace Gio -{ - -class Cancellable_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef Cancellable CppObjectType; - typedef GCancellable BaseObjectType; - typedef GCancellableClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class Cancellable; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void cancelled_callback(GCancellable* self); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_CANCELLABLE_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/datainputstream_p.h b/libs/glibmm2/gio/giomm/private/datainputstream_p.h deleted file mode 100644 index aaf724dfb2..0000000000 --- a/libs/glibmm2/gio/giomm/private/datainputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DATAINPUTSTREAM_P_H -#define _GIOMM_DATAINPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class DataInputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef DataInputStream CppObjectType; - typedef GDataInputStream BaseObjectType; - typedef GDataInputStreamClass BaseClassType; - typedef Gio::BufferedInputStream_Class CppClassParent; - typedef GBufferedInputStreamClass BaseClassParent; - - friend class DataInputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_DATAINPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/dataoutputstream_p.h b/libs/glibmm2/gio/giomm/private/dataoutputstream_p.h deleted file mode 100644 index e415bd7451..0000000000 --- a/libs/glibmm2/gio/giomm/private/dataoutputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DATAOUTPUTSTREAM_P_H -#define _GIOMM_DATAOUTPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class DataOutputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef DataOutputStream CppObjectType; - typedef GDataOutputStream BaseObjectType; - typedef GDataOutputStreamClass BaseClassType; - typedef Gio::BufferedOutputStream_Class CppClassParent; - typedef GBufferedOutputStreamClass BaseClassParent; - - friend class DataOutputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_DATAOUTPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/desktopappinfo_p.h b/libs/glibmm2/gio/giomm/private/desktopappinfo_p.h deleted file mode 100644 index 0e480192f1..0000000000 --- a/libs/glibmm2/gio/giomm/private/desktopappinfo_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DESKTOPAPPINFO_P_H -#define _GIOMM_DESKTOPAPPINFO_P_H - - -#include - -#include - -namespace Gio -{ - -class DesktopAppInfo_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef DesktopAppInfo CppObjectType; - typedef GDesktopAppInfo BaseObjectType; - typedef GDesktopAppInfoClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class DesktopAppInfo; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_DESKTOPAPPINFO_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/drive_p.h b/libs/glibmm2/gio/giomm/private/drive_p.h deleted file mode 100644 index 4001872591..0000000000 --- a/libs/glibmm2/gio/giomm/private/drive_p.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_DRIVE_P_H -#define _GIOMM_DRIVE_P_H - - -#include - -#include - -namespace Gio -{ - -class Drive_Class : public Glib::Interface_Class -{ -public: - typedef Drive CppObjectType; - typedef GDrive BaseObjectType; - typedef GDriveIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class Drive; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_DRIVE_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/enums_p.h b/libs/glibmm2/gio/giomm/private/enums_p.h deleted file mode 100644 index c37d600225..0000000000 --- a/libs/glibmm2/gio/giomm/private/enums_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ENUMS_P_H -#define _GIOMM_ENUMS_P_H - - -#endif /* _GIOMM_ENUMS_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/error_p.h b/libs/glibmm2/gio/giomm/private/error_p.h deleted file mode 100644 index b9abc506a4..0000000000 --- a/libs/glibmm2/gio/giomm/private/error_p.h +++ /dev/null @@ -1,11 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ERROR_P_H -#define _GIOMM_ERROR_P_H - - -#include - - -#endif /* _GIOMM_ERROR_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/file_p.h b/libs/glibmm2/gio/giomm/private/file_p.h deleted file mode 100644 index d91becb36d..0000000000 --- a/libs/glibmm2/gio/giomm/private/file_p.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILE_P_H -#define _GIOMM_FILE_P_H - - -#include - -#include - -namespace Gio -{ - -class File_Class : public Glib::Interface_Class -{ -public: - typedef File CppObjectType; - typedef GFile BaseObjectType; - typedef GFileIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class File; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILE_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileattributeinfo_p.h b/libs/glibmm2/gio/giomm/private/fileattributeinfo_p.h deleted file mode 100644 index 387277ec88..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileattributeinfo_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEATTRIBUTEINFO_P_H -#define _GIOMM_FILEATTRIBUTEINFO_P_H - - -#endif /* _GIOMM_FILEATTRIBUTEINFO_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileattributeinfolist_p.h b/libs/glibmm2/gio/giomm/private/fileattributeinfolist_p.h deleted file mode 100644 index 82c2e9a4dd..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileattributeinfolist_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEATTRIBUTEINFOLIST_P_H -#define _GIOMM_FILEATTRIBUTEINFOLIST_P_H - - -#endif /* _GIOMM_FILEATTRIBUTEINFOLIST_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileenumerator_p.h b/libs/glibmm2/gio/giomm/private/fileenumerator_p.h deleted file mode 100644 index b31596ab25..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileenumerator_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEENUMERATOR_P_H -#define _GIOMM_FILEENUMERATOR_P_H - - -#include - -#include - -namespace Gio -{ - -class FileEnumerator_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileEnumerator CppObjectType; - typedef GFileEnumerator BaseObjectType; - typedef GFileEnumeratorClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class FileEnumerator; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILEENUMERATOR_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileicon_p.h b/libs/glibmm2/gio/giomm/private/fileicon_p.h deleted file mode 100644 index b28d11e564..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileicon_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEICON_P_H -#define _GIOMM_FILEICON_P_H - - -#include - -#include - -namespace Gio -{ - -class FileIcon_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileIcon CppObjectType; - typedef GFileIcon BaseObjectType; - typedef GFileIconClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class FileIcon; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILEICON_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileinfo_p.h b/libs/glibmm2/gio/giomm/private/fileinfo_p.h deleted file mode 100644 index 8bbb8835ba..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileinfo_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEINFO_P_H -#define _GIOMM_FILEINFO_P_H - - -#include - -#include - -namespace Gio -{ - -class FileInfo_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileInfo CppObjectType; - typedef GFileInfo BaseObjectType; - typedef GFileInfoClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class FileInfo; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILEINFO_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileinputstream_p.h b/libs/glibmm2/gio/giomm/private/fileinputstream_p.h deleted file mode 100644 index b8483eee0f..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileinputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEINPUTSTREAM_P_H -#define _GIOMM_FILEINPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class FileInputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileInputStream CppObjectType; - typedef GFileInputStream BaseObjectType; - typedef GFileInputStreamClass BaseClassType; - typedef Gio::InputStream_Class CppClassParent; - typedef GInputStreamClass BaseClassParent; - - friend class FileInputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILEINPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/filemonitor_p.h b/libs/glibmm2/gio/giomm/private/filemonitor_p.h deleted file mode 100644 index fc3d3abfca..0000000000 --- a/libs/glibmm2/gio/giomm/private/filemonitor_p.h +++ /dev/null @@ -1,53 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEMONITOR_P_H -#define _GIOMM_FILEMONITOR_P_H - - -#include -#include - -#include - -namespace Gio -{ - -class FileMonitor_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileMonitor CppObjectType; - typedef GFileMonitor BaseObjectType; - typedef GFileMonitorClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class FileMonitor; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void changed_callback(GFileMonitor* self, GFile* p0, GFile* p1, GFileMonitorEvent p2); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILEMONITOR_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/filenamecompleter_p.h b/libs/glibmm2/gio/giomm/private/filenamecompleter_p.h deleted file mode 100644 index c98e96616b..0000000000 --- a/libs/glibmm2/gio/giomm/private/filenamecompleter_p.h +++ /dev/null @@ -1,53 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILENAMECOMPLETER_P_H -#define _GIOMM_FILENAMECOMPLETER_P_H - - -#include -#include - -#include - -namespace Gio -{ - -class FilenameCompleter_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FilenameCompleter CppObjectType; - typedef GFilenameCompleter BaseObjectType; - typedef GFilenameCompleterClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class FilenameCompleter; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void got_completion_data_callback(GFilenameCompleter* self); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILENAMECOMPLETER_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/fileoutputstream_p.h b/libs/glibmm2/gio/giomm/private/fileoutputstream_p.h deleted file mode 100644 index 686d9bb677..0000000000 --- a/libs/glibmm2/gio/giomm/private/fileoutputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILEOUTPUTSTREAM_P_H -#define _GIOMM_FILEOUTPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class FileOutputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FileOutputStream CppObjectType; - typedef GFileOutputStream BaseObjectType; - typedef GFileOutputStreamClass BaseClassType; - typedef Gio::OutputStream_Class CppClassParent; - typedef GOutputStreamClass BaseClassParent; - - friend class FileOutputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILEOUTPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/filterinputstream_p.h b/libs/glibmm2/gio/giomm/private/filterinputstream_p.h deleted file mode 100644 index d4ff5fe3c8..0000000000 --- a/libs/glibmm2/gio/giomm/private/filterinputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILTERINPUTSTREAM_P_H -#define _GIOMM_FILTERINPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class FilterInputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FilterInputStream CppObjectType; - typedef GFilterInputStream BaseObjectType; - typedef GFilterInputStreamClass BaseClassType; - typedef Gio::InputStream_Class CppClassParent; - typedef GInputStreamClass BaseClassParent; - - friend class FilterInputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILTERINPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/filteroutputstream_p.h b/libs/glibmm2/gio/giomm/private/filteroutputstream_p.h deleted file mode 100644 index c6f4ea3795..0000000000 --- a/libs/glibmm2/gio/giomm/private/filteroutputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_FILTEROUTPUTSTREAM_P_H -#define _GIOMM_FILTEROUTPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class FilterOutputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef FilterOutputStream CppObjectType; - typedef GFilterOutputStream BaseObjectType; - typedef GFilterOutputStreamClass BaseClassType; - typedef Gio::OutputStream_Class CppClassParent; - typedef GOutputStreamClass BaseClassParent; - - friend class FilterOutputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_FILTEROUTPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/icon_p.h b/libs/glibmm2/gio/giomm/private/icon_p.h deleted file mode 100644 index 6db06f866b..0000000000 --- a/libs/glibmm2/gio/giomm/private/icon_p.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_ICON_P_H -#define _GIOMM_ICON_P_H - - -#include - -#include - -namespace Gio -{ - -class Icon_Class : public Glib::Interface_Class -{ -public: - typedef Icon CppObjectType; - typedef GIcon BaseObjectType; - typedef GIconIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class Icon; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_ICON_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/inputstream_p.h b/libs/glibmm2/gio/giomm/private/inputstream_p.h deleted file mode 100644 index 397e56eb80..0000000000 --- a/libs/glibmm2/gio/giomm/private/inputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_INPUTSTREAM_P_H -#define _GIOMM_INPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class InputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef InputStream CppObjectType; - typedef GInputStream BaseObjectType; - typedef GInputStreamClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class InputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_INPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/loadableicon_p.h b/libs/glibmm2/gio/giomm/private/loadableicon_p.h deleted file mode 100644 index 382e44de61..0000000000 --- a/libs/glibmm2/gio/giomm/private/loadableicon_p.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_LOADABLEICON_P_H -#define _GIOMM_LOADABLEICON_P_H - - -#include - -#include - -namespace Gio -{ - -class LoadableIcon_Class : public Icon_Class -{ -public: - typedef LoadableIcon CppObjectType; - typedef GLoadableIcon BaseObjectType; - typedef GLoadableIconIface BaseClassType; - typedef Icon_Class CppClassParent; - - friend class LoadableIcon; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_LOADABLEICON_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/memoryinputstream_p.h b/libs/glibmm2/gio/giomm/private/memoryinputstream_p.h deleted file mode 100644 index 9b2a822db4..0000000000 --- a/libs/glibmm2/gio/giomm/private/memoryinputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_MEMORYINPUTSTREAM_P_H -#define _GIOMM_MEMORYINPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class MemoryInputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef MemoryInputStream CppObjectType; - typedef GMemoryInputStream BaseObjectType; - typedef GMemoryInputStreamClass BaseClassType; - typedef Gio::InputStream_Class CppClassParent; - typedef GInputStreamClass BaseClassParent; - - friend class MemoryInputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_MEMORYINPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/mount_p.h b/libs/glibmm2/gio/giomm/private/mount_p.h deleted file mode 100644 index b1af9f361b..0000000000 --- a/libs/glibmm2/gio/giomm/private/mount_p.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_MOUNT_P_H -#define _GIOMM_MOUNT_P_H - - -#include - -#include - -namespace Gio -{ - -class Mount_Class : public Glib::Interface_Class -{ -public: - typedef Mount CppObjectType; - typedef GMount BaseObjectType; - typedef GMountIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class Mount; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void changed_callback(GMount* self); - static void unmounted_callback(GMount* self); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_MOUNT_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/mountoperation_p.h b/libs/glibmm2/gio/giomm/private/mountoperation_p.h deleted file mode 100644 index 88c456592a..0000000000 --- a/libs/glibmm2/gio/giomm/private/mountoperation_p.h +++ /dev/null @@ -1,55 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_MOUNTOPERATION_P_H -#define _GIOMM_MOUNTOPERATION_P_H - - -#include -#include - -#include - -namespace Gio -{ - -class MountOperation_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef MountOperation CppObjectType; - typedef GMountOperation BaseObjectType; - typedef GMountOperationClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class MountOperation; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void ask_password_callback(GMountOperation* self, const gchar* p0, const gchar* p1, const gchar* p2, GAskPasswordFlags p3); - static void ask_question_callback(GMountOperation* self, const gchar* p0, const gchar** p1); - static void reply_callback(GMountOperation* self, GMountOperationResult p0); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_MOUNTOPERATION_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/outputstream_p.h b/libs/glibmm2/gio/giomm/private/outputstream_p.h deleted file mode 100644 index f667b96fb1..0000000000 --- a/libs/glibmm2/gio/giomm/private/outputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_OUTPUTSTREAM_P_H -#define _GIOMM_OUTPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class OutputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef OutputStream CppObjectType; - typedef GOutputStream BaseObjectType; - typedef GOutputStreamClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class OutputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_OUTPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/seekable_p.h b/libs/glibmm2/gio/giomm/private/seekable_p.h deleted file mode 100644 index f3edce1948..0000000000 --- a/libs/glibmm2/gio/giomm/private/seekable_p.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_SEEKABLE_P_H -#define _GIOMM_SEEKABLE_P_H - - -#include - -#include - -namespace Gio -{ - -class Seekable_Class : public Glib::Interface_Class -{ -public: - typedef Seekable CppObjectType; - typedef GSeekable BaseObjectType; - typedef GSeekableIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class Seekable; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_SEEKABLE_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/themedicon_p.h b/libs/glibmm2/gio/giomm/private/themedicon_p.h deleted file mode 100644 index b397134394..0000000000 --- a/libs/glibmm2/gio/giomm/private/themedicon_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_THEMEDICON_P_H -#define _GIOMM_THEMEDICON_P_H - - -#include - -#include - -namespace Gio -{ - -class ThemedIcon_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef ThemedIcon CppObjectType; - typedef GThemedIcon BaseObjectType; - typedef GThemedIconClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class ThemedIcon; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_THEMEDICON_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/unixinputstream_p.h b/libs/glibmm2/gio/giomm/private/unixinputstream_p.h deleted file mode 100644 index fd92639cb5..0000000000 --- a/libs/glibmm2/gio/giomm/private/unixinputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_UNIXINPUTSTREAM_P_H -#define _GIOMM_UNIXINPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class UnixInputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef UnixInputStream CppObjectType; - typedef GUnixInputStream BaseObjectType; - typedef GUnixInputStreamClass BaseClassType; - typedef Gio::InputStream_Class CppClassParent; - typedef GInputStreamClass BaseClassParent; - - friend class UnixInputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_UNIXINPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/unixoutputstream_p.h b/libs/glibmm2/gio/giomm/private/unixoutputstream_p.h deleted file mode 100644 index 30e782fb43..0000000000 --- a/libs/glibmm2/gio/giomm/private/unixoutputstream_p.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_UNIXOUTPUTSTREAM_P_H -#define _GIOMM_UNIXOUTPUTSTREAM_P_H - - -#include - -#include - -namespace Gio -{ - -class UnixOutputStream_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef UnixOutputStream CppObjectType; - typedef GUnixOutputStream BaseObjectType; - typedef GUnixOutputStreamClass BaseClassType; - typedef Gio::OutputStream_Class CppClassParent; - typedef GOutputStreamClass BaseClassParent; - - friend class UnixOutputStream; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_UNIXOUTPUTSTREAM_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/volume_p.h b/libs/glibmm2/gio/giomm/private/volume_p.h deleted file mode 100644 index a2b49bc905..0000000000 --- a/libs/glibmm2/gio/giomm/private/volume_p.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_VOLUME_P_H -#define _GIOMM_VOLUME_P_H - - -#include - -#include - -namespace Gio -{ - -class Volume_Class : public Glib::Interface_Class -{ -public: - typedef Volume CppObjectType; - typedef GVolume BaseObjectType; - typedef GVolumeIface BaseClassType; - typedef Glib::Interface_Class CppClassParent; - - friend class Volume; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void changed_callback(GVolume* self); - static void removed_callback(GVolume* self); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_VOLUME_P_H */ - diff --git a/libs/glibmm2/gio/giomm/private/volumemonitor_p.h b/libs/glibmm2/gio/giomm/private/volumemonitor_p.h deleted file mode 100644 index aaea7acf9d..0000000000 --- a/libs/glibmm2/gio/giomm/private/volumemonitor_p.h +++ /dev/null @@ -1,61 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_VOLUMEMONITOR_P_H -#define _GIOMM_VOLUMEMONITOR_P_H - - -#include - -#include - -namespace Gio -{ - -class VolumeMonitor_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef VolumeMonitor CppObjectType; - typedef GVolumeMonitor BaseObjectType; - typedef GVolumeMonitorClass BaseClassType; - typedef Glib::Object_Class CppClassParent; - typedef GObjectClass BaseClassParent; - - friend class VolumeMonitor; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - - static void class_init_function(void* g_class, void* class_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. - static void volume_added_callback(GVolumeMonitor* self, GVolume* p0); - static void volume_removed_callback(GVolumeMonitor* self, GVolume* p0); - static void volume_changed_callback(GVolumeMonitor* self, GVolume* p0); - static void mount_added_callback(GVolumeMonitor* self, GMount* p0); - static void mount_removed_callback(GVolumeMonitor* self, GMount* p0); - static void mount_pre_unmount_callback(GVolumeMonitor* self, GMount* p0); - static void mount_changed_callback(GVolumeMonitor* self, GMount* p0); - static void drive_connected_callback(GVolumeMonitor* self, GDrive* p0); - static void drive_disconnected_callback(GVolumeMonitor* self, GDrive* p0); - static void drive_changed_callback(GVolumeMonitor* self, GDrive* p0); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED -}; - - -} // namespace Gio - - -#endif /* _GIOMM_VOLUMEMONITOR_P_H */ - diff --git a/libs/glibmm2/gio/giomm/seekable.cc b/libs/glibmm2/gio/giomm/seekable.cc deleted file mode 100644 index e04c601909..0000000000 --- a/libs/glibmm2/gio/giomm/seekable.cc +++ /dev/null @@ -1,245 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Seekable::seek(goffset offset, Glib::SeekType type) -#else -bool Seekable::seek(goffset offset, Glib::SeekType type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_seekable_seek(gobj(), offset, ((GSeekType)(type)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Seekable::truncate(goffset offset) -#else -bool Seekable::truncate(goffset offset, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_seekable_truncate(gobj(), offset, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -} // namespace Gio - - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GSeekable* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& Seekable_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &Seekable_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_seekable_get_type(); - } - - return *this; -} - -void Seekable_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* Seekable_Class::wrap_new(GObject* object) -{ - return new Seekable((GSeekable*)(object)); -} - - -/* The implementation: */ - -Seekable::Seekable() -: - Glib::Interface(seekable_class_.init()) -{} - -Seekable::Seekable(GSeekable* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -Seekable::Seekable(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -Seekable::~Seekable() -{} - -// static -void Seekable::add_interface(GType gtype_implementer) -{ - seekable_class_.init().add_interface(gtype_implementer); -} - -Seekable::CppClassType Seekable::seekable_class_; // initialize static member - -GType Seekable::get_type() -{ - return seekable_class_.init().get_type(); -} - -GType Seekable::get_base_type() -{ - return g_seekable_get_type(); -} - - -goffset Seekable::tell() const -{ - return g_seekable_tell(const_cast(gobj())); -} - -bool Seekable::can_seek() const -{ - return g_seekable_can_seek(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Seekable::seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable) -#else -bool Seekable::seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_seekable_seek(gobj(), offset, ((GSeekType)(type)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -bool Seekable::can_truncate() const -{ - return g_seekable_can_truncate(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Seekable::truncate(goffset offset, const Glib::RefPtr& cancellable) -#else -bool Seekable::truncate(goffset offset, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_seekable_truncate(gobj(), offset, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/seekable.h b/libs/glibmm2/gio/giomm/seekable.h deleted file mode 100644 index 28e5b4e37c..0000000000 --- a/libs/glibmm2/gio/giomm/seekable.h +++ /dev/null @@ -1,254 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_SEEKABLE_H -#define _GIOMM_SEEKABLE_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GSeekableIface GSeekableIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GSeekable GSeekable; -typedef struct _GSeekableClass GSeekableClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class Seekable_Class; } // namespace Gio -namespace Gio -{ - -/** Stream seeking interface. - * Seekable is implemented by streams (implementations of InputStream or OutputStream) that support seeking. - * To find the position of a stream, use tell(). To find - * out if a stream supports seeking, use can_seek(). To position a - * stream, use seek(). To find out if a stream supports - * truncating, use can_truncate(). To truncate a stream, use - * truncate(). - * - * @ingroup Streams - * - * @newin2p16 - */ - -class Seekable : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef Seekable CppObjectType; - typedef Seekable_Class CppClassType; - typedef GSeekable BaseObjectType; - typedef GSeekableIface BaseClassType; - -private: - friend class Seekable_Class; - static CppClassType seekable_class_; - - // noncopyable - Seekable(const Seekable&); - Seekable& operator=(const Seekable&); - -protected: - Seekable(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit Seekable(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit Seekable(GSeekable* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~Seekable(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GSeekable* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GSeekable* gobj() const { return reinterpret_cast(gobject_); } - -private: - - -public: - - /** Tells the current position within the stream. - * @return The offset from the beginning of the buffer. - */ - goffset tell() const; - - /** Tests if the stream supports the SeekableIface. - * @return true if @a seekable can be seeked. false otherwise. - */ - bool can_seek() const; - - - /** Seeks in the stream by the given @a offset, modified by @a type. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. - * @param offset A #goffset. - * @param type A SeekType. - * @param cancellable Cancellable object. - * @return true if successful. If an error - * has occurred, this function will return false and set @a error - * appropriately if present. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable); -#else - bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //TODO: Document the exception: http://bugzilla.gnome.org/show_bug.cgi?id=509990 - /** Seeks in the stream by the given @a offset, modified by @a type . - * - * @param offset A #goffset. - * @param type A Glib::SeekType. - * @return true if successful. If an error - * has occurred, this function will return false. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool seek(goffset offset, Glib::SeekType type); -#else - bool seek(goffset offset, Glib::SeekType type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Tests if the stream can be truncated. - * @return true if the stream can be truncated, false otherwise. - */ - bool can_truncate() const; - - - /** Truncates a stream with a given #offset. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error will be thrown with CANCELLED. If an - * operation was partially finished when the operation was cancelled the - * partial result will be returned, without an error. - * @param offset A #goffset. - * @param cancellable Cancellable object. - * @return true if successful. If an error - * has occurred, this function will return false and set @a error - * appropriately if present. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool truncate(goffset offset, const Glib::RefPtr& cancellable); -#else - bool truncate(goffset offset, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //TODO: Document the exception: http://bugzilla.gnome.org/show_bug.cgi?id=509990 - /** Truncates a stream with a given #offset. - * - * @param offset A #goffset. - * @return true if successful. If an error - * has occured, this function will return false. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool truncate(goffset offset); -#else - bool truncate(goffset offset, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - //_WRAP_VFUNC(goffset tell() const, tell) - //_WRAP_VFUNC(goffset can_seek() const, can_seek) - //_WRAP_VFUNC(goffset seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable, GError** error), seek) - //_WRAP_VFUNC(goffset can_truncate() const, can_truncate) - - //Renamed to truncate() - we don't know why it's called truncate_fn in C. - //_WRAP_VFUNC(goffset truncate(goffset offset, const Glib::RefPtr& cancellable, GError** error), truncate_fn) - - //There are no properties or signals. - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::Seekable - */ - Glib::RefPtr wrap(GSeekable* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_SEEKABLE_H */ - diff --git a/libs/glibmm2/gio/giomm/slot_async.cc b/libs/glibmm2/gio/giomm/slot_async.cc deleted file mode 100644 index 05ad960e26..0000000000 --- a/libs/glibmm2/gio/giomm/slot_async.cc +++ /dev/null @@ -1,47 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -#include "slot_async.h" -#include - -namespace Gio -{ - -void -SignalProxy_async_callback(GObject*, GAsyncResult* res, void* data) -{ - Gio::SlotAsyncReady* the_slot = static_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr result = Glib::wrap(res, true /* take copy */); - (*the_slot)(result); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete the_slot; -} - -} //namespace Gio diff --git a/libs/glibmm2/gio/giomm/slot_async.h b/libs/glibmm2/gio/giomm/slot_async.h deleted file mode 100644 index d2e9c58049..0000000000 --- a/libs/glibmm2/gio/giomm/slot_async.h +++ /dev/null @@ -1,27 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -#include - -namespace Gio -{ - -void -SignalProxy_async_callback(GObject*, GAsyncResult* res, void* data); - -} //namespace Gio diff --git a/libs/glibmm2/gio/giomm/themedicon.cc b/libs/glibmm2/gio/giomm/themedicon.cc deleted file mode 100644 index 0e56042eb5..0000000000 --- a/libs/glibmm2/gio/giomm/themedicon.cc +++ /dev/null @@ -1,173 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -ThemedIcon::ThemedIcon(const std::string& iconname, bool use_default_callbacks) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Glib::Object(Glib::ConstructParams(themedicon_class_.init(), "name",iconname.c_str(),"use-default-fallbacks",gboolean(use_default_callbacks), static_cast(0))) -{} - - -} //namespace Gio - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GThemedIcon* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& ThemedIcon_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &ThemedIcon_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_themed_icon_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - Icon::add_interface(get_type()); - - } - - return *this; -} - -void ThemedIcon_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* ThemedIcon_Class::wrap_new(GObject* object) -{ - return new ThemedIcon((GThemedIcon*)object); -} - - -/* The implementation: */ - -GThemedIcon* ThemedIcon::gobj_copy() -{ - reference(); - return gobj(); -} - -ThemedIcon::ThemedIcon(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -ThemedIcon::ThemedIcon(GThemedIcon* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -ThemedIcon::~ThemedIcon() -{} - - -ThemedIcon::CppClassType ThemedIcon::themedicon_class_; // initialize static member - -GType ThemedIcon::get_type() -{ - return themedicon_class_.init().get_type(); -} - -GType ThemedIcon::get_base_type() -{ - return g_themed_icon_get_type(); -} - - -Glib::RefPtr ThemedIcon::create(const std::string& iconname, bool use_default_callbacks) -{ - return Glib::RefPtr( new ThemedIcon(iconname, use_default_callbacks) ); -} -void ThemedIcon::prepend_name(const std::string& iconname) -{ -g_themed_icon_prepend_name(gobj(), iconname.c_str()); -} - -void ThemedIcon::append_name(const std::string& iconname) -{ -g_themed_icon_append_name(gobj(), iconname.c_str()); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/themedicon.h b/libs/glibmm2/gio/giomm/themedicon.h deleted file mode 100644 index 9d71f6356b..0000000000 --- a/libs/glibmm2/gio/giomm/themedicon.h +++ /dev/null @@ -1,174 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_THEMEDICON_H -#define _GIOMM_THEMEDICON_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GThemedIcon GThemedIcon; -typedef struct _GThemedIconClass GThemedIconClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class ThemedIcon_Class; } // namespace Gio -namespace Gio -{ - -/** Icon theming support - * ThemedIcon is an implementation of Gio::Icon that supports icon themes. - * ThemedIcon contains a list of all of the icons present in an icon - * theme, so that icons can be looked up quickly. ThemedIcon does - * not provide actual pixmaps for icons, just the icon names. - * Ideally something like Gtk::IconTheme::choose_icon() should be used to - * resolve the list of names so that fallback icons work nicely with - * themes that inherit other themes. - * - * @newin2p16 - */ - -class ThemedIcon -: public Glib::Object, - public Icon -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef ThemedIcon CppObjectType; - typedef ThemedIcon_Class CppClassType; - typedef GThemedIcon BaseObjectType; - typedef GThemedIconClass BaseClassType; - -private: friend class ThemedIcon_Class; - static CppClassType themedicon_class_; - -private: - // noncopyable - ThemedIcon(const ThemedIcon&); - ThemedIcon& operator=(const ThemedIcon&); - -protected: - explicit ThemedIcon(const Glib::ConstructParams& construct_params); - explicit ThemedIcon(GThemedIcon* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~ThemedIcon(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GThemedIcon* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GThemedIcon* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GThemedIcon* gobj_copy(); - -private: - - -protected: - //TODO: Documentation: - explicit ThemedIcon(const std::string& iconname, bool use_default_callbacks = false); - - -public: - - static Glib::RefPtr create(const std::string& iconname, bool use_default_callbacks = false); - - - //TODO: GIcon *g_themed_icon_new_from_names (char **iconnames, int len); - - - void prepend_name(const std::string& iconname); - - /** Append a name to the list of icons from within @a icon. - * @param iconname Name of icon to append to list of icons from within @a icon. - */ - void append_name(const std::string& iconname); - - - //TODO: gmmproc complains about the wrong number of arguments, but I can't see why. murrayc. - //_WRAP_METHOD(Glib::StringArrayHandle get_names() const, g_themed_icon_get_names) - - - //There are no signals. - - //TODO: Remove these when we can break ABI. They are write-only and construct-only. - //gtkmmproc error: name : attempt to wrap write-only and construct-only property. - //An array: This is awkward to wrap_WRAP_PROPERTY("names", ) - //gtkmmproc error: use-default-fallbacks : attempt to wrap write-only and construct-only property. - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::ThemedIcon - */ - Glib::RefPtr wrap(GThemedIcon* object, bool take_copy = false); -} - - -#endif /* _GIOMM_THEMEDICON_H */ - diff --git a/libs/glibmm2/gio/giomm/unixinputstream.cc b/libs/glibmm2/gio/giomm/unixinputstream.cc deleted file mode 100644 index af17e8a1cb..0000000000 --- a/libs/glibmm2/gio/giomm/unixinputstream.cc +++ /dev/null @@ -1,161 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GUnixInputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& UnixInputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &UnixInputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_unix_input_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void UnixInputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* UnixInputStream_Class::wrap_new(GObject* object) -{ - return new UnixInputStream((GUnixInputStream*)object); -} - - -/* The implementation: */ - -GUnixInputStream* UnixInputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -UnixInputStream::UnixInputStream(const Glib::ConstructParams& construct_params) -: - Gio::InputStream(construct_params) -{ - -} - -UnixInputStream::UnixInputStream(GUnixInputStream* castitem) -: - Gio::InputStream((GInputStream*)(castitem)) -{} - - -UnixInputStream::~UnixInputStream() -{} - - -UnixInputStream::CppClassType UnixInputStream::unixinputstream_class_; // initialize static member - -GType UnixInputStream::get_type() -{ - return unixinputstream_class_.init().get_type(); -} - -GType UnixInputStream::get_base_type() -{ - return g_unix_input_stream_get_type(); -} - - -UnixInputStream::UnixInputStream(int fd, bool close_fd_at_close) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::InputStream(Glib::ConstructParams(unixinputstream_class_.init(), "fd", fd, "close_fd_at_close", static_cast(close_fd_at_close), static_cast(0))) -{ - - -} - -Glib::RefPtr UnixInputStream::create(int fd, bool close_fd_at_close) -{ - return Glib::RefPtr( new UnixInputStream(fd, close_fd_at_close) ); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/unixinputstream.h b/libs/glibmm2/gio/giomm/unixinputstream.h deleted file mode 100644 index f5548c99f4..0000000000 --- a/libs/glibmm2/gio/giomm/unixinputstream.h +++ /dev/null @@ -1,146 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_UNIXINPUTSTREAM_H -#define _GIOMM_UNIXINPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GUnixInputStream GUnixInputStream; -typedef struct _GUnixInputStreamClass GUnixInputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class UnixInputStream_Class; } // namespace Gio -namespace Gio -{ - -/** - * UnixInputStream implements InputStream for reading from a unix file - * descriptor, including asynchronous operations. The file descriptor must be - * selectable, so it doesn't work with opened files. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class UnixInputStream : public Gio::InputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef UnixInputStream CppObjectType; - typedef UnixInputStream_Class CppClassType; - typedef GUnixInputStream BaseObjectType; - typedef GUnixInputStreamClass BaseClassType; - -private: friend class UnixInputStream_Class; - static CppClassType unixinputstream_class_; - -private: - // noncopyable - UnixInputStream(const UnixInputStream&); - UnixInputStream& operator=(const UnixInputStream&); - -protected: - explicit UnixInputStream(const Glib::ConstructParams& construct_params); - explicit UnixInputStream(GUnixInputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~UnixInputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GUnixInputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GUnixInputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GUnixInputStream* gobj_copy(); - -private: - - //This is not available in on Win32. -//This source file will not be compiled, -//and the class will not be registered in wrap_init.h or wrap_init.cc - - -protected: - explicit UnixInputStream(int fd, bool close_fd_at_close); - -public: - - static Glib::RefPtr create(int fd, bool close_fd_at_close); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::UnixInputStream - */ - Glib::RefPtr wrap(GUnixInputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_UNIXINPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/unixoutputstream.cc b/libs/glibmm2/gio/giomm/unixoutputstream.cc deleted file mode 100644 index e959eb763c..0000000000 --- a/libs/glibmm2/gio/giomm/unixoutputstream.cc +++ /dev/null @@ -1,161 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GUnixOutputStream* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& UnixOutputStream_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &UnixOutputStream_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_unix_output_stream_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void UnixOutputStream_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* UnixOutputStream_Class::wrap_new(GObject* object) -{ - return new UnixOutputStream((GUnixOutputStream*)object); -} - - -/* The implementation: */ - -GUnixOutputStream* UnixOutputStream::gobj_copy() -{ - reference(); - return gobj(); -} - -UnixOutputStream::UnixOutputStream(const Glib::ConstructParams& construct_params) -: - Gio::OutputStream(construct_params) -{ - -} - -UnixOutputStream::UnixOutputStream(GUnixOutputStream* castitem) -: - Gio::OutputStream((GOutputStream*)(castitem)) -{} - - -UnixOutputStream::~UnixOutputStream() -{} - - -UnixOutputStream::CppClassType UnixOutputStream::unixoutputstream_class_; // initialize static member - -GType UnixOutputStream::get_type() -{ - return unixoutputstream_class_.init().get_type(); -} - -GType UnixOutputStream::get_base_type() -{ - return g_unix_output_stream_get_type(); -} - - -UnixOutputStream::UnixOutputStream(int fd, bool close_fd_at_close) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. - Glib::ObjectBase(0), - Gio::OutputStream(Glib::ConstructParams(unixoutputstream_class_.init(), "fd", fd, "close_fd_at_close", static_cast(close_fd_at_close), static_cast(0))) -{ - - -} - -Glib::RefPtr UnixOutputStream::create(int fd, bool close_fd_at_close) -{ - return Glib::RefPtr( new UnixOutputStream(fd, close_fd_at_close) ); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/unixoutputstream.h b/libs/glibmm2/gio/giomm/unixoutputstream.h deleted file mode 100644 index e058a5674b..0000000000 --- a/libs/glibmm2/gio/giomm/unixoutputstream.h +++ /dev/null @@ -1,145 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_UNIXOUTPUTSTREAM_H -#define _GIOMM_UNIXOUTPUTSTREAM_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GUnixOutputStream GUnixOutputStream; -typedef struct _GUnixOutputStreamClass GUnixOutputStreamClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class UnixOutputStream_Class; } // namespace Gio -namespace Gio -{ - -/** UnixOutputStream implements OutputStream for writing to a a unix file - * descriptor, including asynchronous operations. The file descriptor much be - * selectable, so it doesn't work with opened files. - * - * @ingroup Streams - * - * @newin2p16 - */ - -class UnixOutputStream : public Gio::OutputStream -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef UnixOutputStream CppObjectType; - typedef UnixOutputStream_Class CppClassType; - typedef GUnixOutputStream BaseObjectType; - typedef GUnixOutputStreamClass BaseClassType; - -private: friend class UnixOutputStream_Class; - static CppClassType unixoutputstream_class_; - -private: - // noncopyable - UnixOutputStream(const UnixOutputStream&); - UnixOutputStream& operator=(const UnixOutputStream&); - -protected: - explicit UnixOutputStream(const Glib::ConstructParams& construct_params); - explicit UnixOutputStream(GUnixOutputStream* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~UnixOutputStream(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GUnixOutputStream* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GUnixOutputStream* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GUnixOutputStream* gobj_copy(); - -private: - - //This is not available in on Win32. -//This source file will not be compiled, -//and the class will not be registered in wrap_init.h or wrap_init.cc - - -protected: - explicit UnixOutputStream(int fd, bool close_fd_at_close); - -public: - - static Glib::RefPtr create(int fd, bool close_fd_at_close); - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::UnixOutputStream - */ - Glib::RefPtr wrap(GUnixOutputStream* object, bool take_copy = false); -} - - -#endif /* _GIOMM_UNIXOUTPUTSTREAM_H */ - diff --git a/libs/glibmm2/gio/giomm/volume.cc b/libs/glibmm2/gio/giomm/volume.cc deleted file mode 100644 index 98ad94cc80..0000000000 --- a/libs/glibmm2/gio/giomm/volume.cc +++ /dev/null @@ -1,511 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include -#include -#include "slot_async.h" - -namespace Gio { - -void -Volume::mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_mount(gobj(), - static_cast(flags), - mount_operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); - -} - -void -Volume::mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_mount(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -Volume::mount(const Glib::RefPtr& mount_operation, MountMountFlags flags) -{ - g_volume_mount(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, // cancellable - NULL, - NULL); -} - -void -Volume::mount(MountMountFlags flags) -{ - g_volume_mount(gobj(), - static_cast(flags), - NULL, - NULL, // cancellable - NULL, - NULL); -} - - -void Volume::eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_eject(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Volume::eject(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_eject(gobj(), - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Volume::eject(MountUnmountFlags flags) -{ - g_volume_eject(gobj(), - static_cast(flags), - NULL, - NULL, - NULL); -} - -} // namespace Gio - - -namespace -{ - - -static const Glib::SignalProxyInfo Volume_signal_changed_info = -{ - "changed", - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback -}; - - -static const Glib::SignalProxyInfo Volume_signal_removed_info = -{ - "removed", - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback, - (GCallback) &Glib::SignalProxyNormal::slot0_void_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GVolume* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto_interface ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Interface_Class& Volume_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &Volume_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = g_drive_get_type(); - } - - return *this; -} - -void Volume_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->changed = &changed_callback; - klass->removed = &removed_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Volume_Class::changed_callback(GVolume* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_changed(); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(self), CppObjectType::get_type()) // Get the interface. -) ); - - // Call the original underlying C function: - if(base && base->changed) - (*base->changed)(self); -} -void Volume_Class::removed_callback(GVolume* self) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_removed(); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(self), CppObjectType::get_type()) // Get the interface. -) ); - - // Call the original underlying C function: - if(base && base->removed) - (*base->removed)(self); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* Volume_Class::wrap_new(GObject* object) -{ - return new Volume((GVolume*)(object)); -} - - -/* The implementation: */ - -Volume::Volume() -: - Glib::Interface(volume_class_.init()) -{} - -Volume::Volume(GVolume* castitem) -: - Glib::Interface((GObject*)(castitem)) -{} - -Volume::Volume(const Glib::Interface_Class& interface_class) -: Glib::Interface(interface_class) -{ -} - -Volume::~Volume() -{} - -// static -void Volume::add_interface(GType gtype_implementer) -{ - volume_class_.init().add_interface(gtype_implementer); -} - -Volume::CppClassType Volume::volume_class_; // initialize static member - -GType Volume::get_type() -{ - return volume_class_.init().get_type(); -} - -GType Volume::get_base_type() -{ - return g_drive_get_type(); -} - - -std::string Volume::get_name() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_volume_get_name(const_cast(gobj()))); -} - -std::string Volume::get_uuid() const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_volume_get_uuid(const_cast(gobj()))); -} - -Glib::RefPtr Volume::get_icon() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_volume_get_icon(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Volume::get_icon() const -{ - return const_cast(this)->get_icon(); -} - -Glib::RefPtr Volume::get_drive() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_volume_get_drive(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Volume::get_drive() const -{ - return const_cast(this)->get_drive(); -} - -Glib::RefPtr Volume::get_mount() -{ - - Glib::RefPtr retvalue = Glib::wrap(g_volume_get_mount(gobj())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr Volume::get_mount() const -{ - return const_cast(this)->get_mount(); -} - -bool Volume::can_mount() const -{ - return g_volume_can_mount(const_cast(gobj())); -} - -bool Volume::can_eject() const -{ - return g_volume_can_eject(const_cast(gobj())); -} - -bool Volume::should_automount() const -{ - return g_volume_should_automount(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Volume::mount_finish(const Glib::RefPtr& result) -#else -bool Volume::mount_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_volume_mount_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Volume::eject_finish(const Glib::RefPtr& result) -#else -bool Volume::eject_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_volume_eject_finish(gobj(), Glib::unwrap(result), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -std::string Volume::get_identifier(const std::string& kind) const -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_volume_get_identifier(const_cast(gobj()), kind.c_str())); -} - -Glib::StringArrayHandle Volume::enumerate_identifiers() const -{ - return Glib::StringArrayHandle(g_volume_enumerate_identifiers(const_cast(gobj()))); -} - -Glib::RefPtr Volume::get_activation_root() -{ - return Glib::wrap(g_volume_get_activation_root(gobj())); -} - -Glib::RefPtr Volume::get_activation_root() const -{ - return Glib::wrap(g_volume_get_activation_root(const_cast(gobj()))); -} - - -Glib::SignalProxy0< void > Volume::signal_changed() -{ - return Glib::SignalProxy0< void >(this, &Volume_signal_changed_info); -} - - -Glib::SignalProxy0< void > Volume::signal_removed() -{ - return Glib::SignalProxy0< void >(this, &Volume_signal_removed_info); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::Volume::on_changed() -{ - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(gobject_), CppObjectType::get_type()) // Get the interface. -) ); - - if(base && base->changed) - (*base->changed)(gobj()); -} -void Gio::Volume::on_removed() -{ - BaseClassType *const base = static_cast( - g_type_interface_peek_parent( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek(G_OBJECT_GET_CLASS(gobject_), CppObjectType::get_type()) // Get the interface. -) ); - - if(base && base->removed) - (*base->removed)(gobj()); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/volume.h b/libs/glibmm2/gio/giomm/volume.h deleted file mode 100644 index 926e6331b6..0000000000 --- a/libs/glibmm2/gio/giomm/volume.h +++ /dev/null @@ -1,414 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_VOLUME_H -#define _GIOMM_VOLUME_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -//#include -//#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GVolumeIface GGVolumeIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GVolume GVolume; -typedef struct _GVolumeClass GVolumeClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class Volume_Class; } // namespace Gio -namespace Gio -{ - -// Making a forward declaration here to avoid circular dependency. -// file.hg already includes volume.h. -class File; -class Drive; - -/** The Volume interface represents user-visible objects that can be mounted. - * - * Mounting a Volume instance is an asynchronous operation. For more information about asynchronous operations, see AsyncReady and SimpleAsyncReady. To - * mount a GVolume, first call mount(), optionally providing a MountOperation object and a SlotAsyncReady callback. - * - * Typically, you will not want to provide a MountOperation if automounting all volumes when a desktop session starts since it's not desirable to - * put up a lot of dialogs asking for credentials. - * - * The callback will be fired when the operation has resolved (either with success or failure), and a AsyncReady structure will be passed to the callback. - * That callback should then call g_volume_mount_finish() with the GVolume instance and the GAsyncReady data to see if the operation was completed - * successfully. If an error is present when finish() is called, then it will be filled with any error information. - * - * @newin2p16 - */ - -class Volume : public Glib::Interface -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef Volume CppObjectType; - typedef Volume_Class CppClassType; - typedef GVolume BaseObjectType; - typedef GVolumeIface BaseClassType; - -private: - friend class Volume_Class; - static CppClassType volume_class_; - - // noncopyable - Volume(const Volume&); - Volume& operator=(const Volume&); - -protected: - Volume(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit Volume(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit Volume(GVolume* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~Volume(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GVolume* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GVolume* gobj() const { return reinterpret_cast(gobject_); } - -private: - -public: - - /** Gets the name of @a volume. - * @return The name for the given @a volume. The returned string should - * be freed when no longer needed. - */ - std::string get_name() const; - - /** Gets the UUID for the @a volume. The reference is typically based on - * the file system UUID for the volume in question and should be - * considered an opaque string. Returns 0 if there is no UUID - * available. - * @return The UUID for @a volume or 0 if no UUID can be computed. - */ - std::string get_uuid() const; - - - /** Gets the icon for @a volume. - * @return A Icon. - */ - Glib::RefPtr get_icon(); - - /** Gets the icon for @a volume. - * @return A Icon. - */ - Glib::RefPtr get_icon() const; - - - /** Gets the drive for the @a volume. - * @return A Drive or 0 if @a volume is not associated with a drive. - */ - Glib::RefPtr get_drive(); - - /** Gets the drive for the @a volume. - * @return A Drive or 0 if @a volume is not associated with a drive. - */ - Glib::RefPtr get_drive() const; - - - /** Gets the mount for the @a volume. - * @return A Mount or 0 if @a volume isn't mounted. - */ - Glib::RefPtr get_mount(); - - /** Gets the mount for the @a volume. - * @return A Mount or 0 if @a volume isn't mounted. - */ - Glib::RefPtr get_mount() const; - - - /** Checks if a volume can be mounted. - * @return true if the @a volume can be mounted. false otherwise. - */ - bool can_mount() const; - - /** Checks if a volume can be ejected. - * @return true if the @a volume can be ejected. false otherwise. - */ - bool can_eject() const; - - /** Returns: true if the volume should be automatically mounted. - * @return true if the volume should be automatically mounted. - */ - bool should_automount() const; - - /** Mounts a volume. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param mount_operation A mount operation. - */ - void mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a volume. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param mount_operation A mount operation. - */ - void mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a volume. - * - * @param mount_operation A mount operation. - */ - void mount(const Glib::RefPtr& mount_operation, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a volume. - */ - void mount(MountMountFlags flags = MOUNT_MOUNT_NONE); - - - /** Finishes mounting a volume. - * @param result A AsyncResult. - * @return true, false if operation failed. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool mount_finish(const Glib::RefPtr& result); -#else - bool mount_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Ejects a volume. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a volume. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a volume. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - - /** Finishes ejecting a volume. - * @param result A AsyncResult. - * @return true, false if operation failed. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool eject_finish(const Glib::RefPtr& result); -#else - bool eject_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the identifier of the given kind for @a volume. - * See the introduction - * for more information about volume identifiers. - * @param kind The kind of identifier to return. - * @return A newly allocated string containing the - * requested identfier, or 0 if the Volume - * doesn't have this kind of identifier. - */ - std::string get_identifier(const std::string& kind) const; - - - /** Gets the kinds of identifiers - * that @a volume has. Use Glib::volume_get_identifer() to obtain - * the identifiers themselves. - * @return A 0-terminated array of strings containing - * kinds of identifiers. Use Glib::strfreev() to free. - */ - Glib::StringArrayHandle enumerate_identifiers() const; - - - Glib::RefPtr get_activation_root(); - - Glib::RefPtr get_activation_root() const; - - - /** - * @par Prototype: - * void on_my_%changed() - */ - - Glib::SignalProxy0< void > signal_changed(); - - - /** - * @par Prototype: - * void on_my_%removed() - */ - - Glib::SignalProxy0< void > signal_removed(); - - - //_WRAP_VFUNC(std::string get_name(), get_name) - //_WRAP_VFUNC(Glib::RefPtr get_icon(), get_icon) - //_WRAP_VFUNC(std::string get_uuid(), get_uuid) - - - //_WRAP_VFUNC(Glib::RefPtr get_drive(), get_drive) - - - //_WRAP_VFUNC(Glib::RefPtr get_mount(), get_mount) - - //_WRAP_VFUNC(bool can_mount(), can_mount) - //_WRAP_VFUNC(bool can_eject(), can_eject) - //_WRAP_VFUNC(void mount_fn(GMountMountFlags flags, GMountOperation* mount_operation, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data), mount_fn) //TODO: Rename to mount()? - //_WRAP_VFUNC(bool mount_finish(GAsyncResult* result, GError** error), mount_finish) - //_WRAP_VFUNC(void eject(GMountUnmountFlags flags, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data), eject) - //_WRAP_VFUNC(bool eject_finish(GAsyncResult* result, GError** error), eject_finish) - - //_WRAP_VFUNC(std::string get_identifier(const std::string& kind), get_identifier) - - //TODO: Use an ArrayHandle. - //_WRAP_VFUNC(char** enumerate_identifiers(), enumerate_identifiers) - - //_WRAP_VFUNC(bool should_automount(), should_automount) - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_changed(); - virtual void on_removed(); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - -namespace Glib -{ - -//Pre-declare this so we can use it in TypeTrait: -Glib::RefPtr wrap(GVolume* object, bool take_copy); - -namespace Container_Helpers -{ - -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), - * instead of a specific Glib::wrap(GSomeInterface*), - * would not return a wrapper for an interface. - */ -template <> -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef GVolume* CType; - typedef GVolume* CTypeNonConst; - - static CType to_c_type (const CppType& item) - { return Glib::unwrap (item); } - - static CppType to_cpp_type (const CType& item) - { - //Use a specific Glib::wrap() function, - //because CType has the specific type (not just GObject): - return Glib::wrap(item, true /* take_copy */); - } - - static void release_c_type (CType item) - { - GLIBMM_DEBUG_UNREFERENCE(0, item); - g_object_unref(item); - } -}; - -} // Container_Helpers -} // Glib - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::Volume - */ - Glib::RefPtr wrap(GVolume* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GIOMM_VOLUME_H */ - diff --git a/libs/glibmm2/gio/giomm/volumemonitor.cc b/libs/glibmm2/gio/giomm/volumemonitor.cc deleted file mode 100644 index c4a0a7a0f2..0000000000 --- a/libs/glibmm2/gio/giomm/volumemonitor.cc +++ /dev/null @@ -1,1137 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - - -} // namespace Gio - -namespace -{ - - -static void VolumeMonitor_signal_volume_added_callback(GVolumeMonitor* self, GVolume* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_volume_added_info = -{ - "volume_added", - (GCallback) &VolumeMonitor_signal_volume_added_callback, - (GCallback) &VolumeMonitor_signal_volume_added_callback -}; - - -static void VolumeMonitor_signal_volume_removed_callback(GVolumeMonitor* self, GVolume* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_volume_removed_info = -{ - "volume_removed", - (GCallback) &VolumeMonitor_signal_volume_removed_callback, - (GCallback) &VolumeMonitor_signal_volume_removed_callback -}; - - -static void VolumeMonitor_signal_volume_changed_callback(GVolumeMonitor* self, GVolume* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_volume_changed_info = -{ - "volume_changed", - (GCallback) &VolumeMonitor_signal_volume_changed_callback, - (GCallback) &VolumeMonitor_signal_volume_changed_callback -}; - - -static void VolumeMonitor_signal_mount_added_callback(GVolumeMonitor* self, GMount* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_mount_added_info = -{ - "mount_added", - (GCallback) &VolumeMonitor_signal_mount_added_callback, - (GCallback) &VolumeMonitor_signal_mount_added_callback -}; - - -static void VolumeMonitor_signal_mount_removed_callback(GVolumeMonitor* self, GMount* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_mount_removed_info = -{ - "mount_removed", - (GCallback) &VolumeMonitor_signal_mount_removed_callback, - (GCallback) &VolumeMonitor_signal_mount_removed_callback -}; - - -static void VolumeMonitor_signal_mount_pre_unmount_callback(GVolumeMonitor* self, GMount* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_mount_pre_unmount_info = -{ - "mount_pre_unmount", - (GCallback) &VolumeMonitor_signal_mount_pre_unmount_callback, - (GCallback) &VolumeMonitor_signal_mount_pre_unmount_callback -}; - - -static void VolumeMonitor_signal_mount_changed_callback(GVolumeMonitor* self, GMount* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_mount_changed_info = -{ - "mount_changed", - (GCallback) &VolumeMonitor_signal_mount_changed_callback, - (GCallback) &VolumeMonitor_signal_mount_changed_callback -}; - - -static void VolumeMonitor_signal_drive_connected_callback(GVolumeMonitor* self, GDrive* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_drive_connected_info = -{ - "drive_connected", - (GCallback) &VolumeMonitor_signal_drive_connected_callback, - (GCallback) &VolumeMonitor_signal_drive_connected_callback -}; - - -static void VolumeMonitor_signal_drive_disconnected_callback(GVolumeMonitor* self, GDrive* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_drive_disconnected_info = -{ - "drive_disconnected", - (GCallback) &VolumeMonitor_signal_drive_disconnected_callback, - (GCallback) &VolumeMonitor_signal_drive_disconnected_callback -}; - - -static void VolumeMonitor_signal_drive_changed_callback(GVolumeMonitor* self, GDrive* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_drive_changed_info = -{ - "drive_changed", - (GCallback) &VolumeMonitor_signal_drive_changed_callback, - (GCallback) &VolumeMonitor_signal_drive_changed_callback -}; - - -static void VolumeMonitor_signal_drive_eject_button_callback(GVolumeMonitor* self, GDrive* p0,void* data) -{ - using namespace Gio; - typedef sigc::slot< void,const Glib::RefPtr& > SlotType; - - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) - (*static_cast(slot))(Glib::wrap(p0, true) -); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -static const Glib::SignalProxyInfo VolumeMonitor_signal_drive_eject_button_info = -{ - "drive_eject_button", - (GCallback) &VolumeMonitor_signal_drive_eject_button_callback, - (GCallback) &VolumeMonitor_signal_drive_eject_button_callback -}; - - -} // anonymous namespace - - -namespace Glib -{ - -Glib::RefPtr wrap(GVolumeMonitor* object, bool take_copy) -{ - return Glib::RefPtr( dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ - - -namespace Gio -{ - - -/* The *_Class implementation: */ - -const Glib::Class& VolumeMonitor_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &VolumeMonitor_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(g_volume_monitor_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: - - } - - return *this; -} - -void VolumeMonitor_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - klass->volume_added = &volume_added_callback; - klass->volume_removed = &volume_removed_callback; - klass->volume_changed = &volume_changed_callback; - klass->mount_added = &mount_added_callback; - klass->mount_removed = &mount_removed_callback; - klass->mount_pre_unmount = &mount_pre_unmount_callback; - klass->mount_changed = &mount_changed_callback; - klass->drive_connected = &drive_connected_callback; - klass->drive_disconnected = &drive_disconnected_callback; - klass->drive_changed = &drive_changed_callback; -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void VolumeMonitor_Class::volume_added_callback(GVolumeMonitor* self, GVolume* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_volume_added(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->volume_added) - (*base->volume_added)(self, p0); -} -void VolumeMonitor_Class::volume_removed_callback(GVolumeMonitor* self, GVolume* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_volume_removed(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->volume_removed) - (*base->volume_removed)(self, p0); -} -void VolumeMonitor_Class::volume_changed_callback(GVolumeMonitor* self, GVolume* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_volume_changed(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->volume_changed) - (*base->volume_changed)(self, p0); -} -void VolumeMonitor_Class::mount_added_callback(GVolumeMonitor* self, GMount* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_mount_added(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->mount_added) - (*base->mount_added)(self, p0); -} -void VolumeMonitor_Class::mount_removed_callback(GVolumeMonitor* self, GMount* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_mount_removed(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->mount_removed) - (*base->mount_removed)(self, p0); -} -void VolumeMonitor_Class::mount_pre_unmount_callback(GVolumeMonitor* self, GMount* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_mount_pre_unmount(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->mount_pre_unmount) - (*base->mount_pre_unmount)(self, p0); -} -void VolumeMonitor_Class::mount_changed_callback(GVolumeMonitor* self, GMount* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_mount_changed(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->mount_changed) - (*base->mount_changed)(self, p0); -} -void VolumeMonitor_Class::drive_connected_callback(GVolumeMonitor* self, GDrive* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_drive_connected(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->drive_connected) - (*base->drive_connected)(self, p0); -} -void VolumeMonitor_Class::drive_disconnected_callback(GVolumeMonitor* self, GDrive* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_drive_disconnected(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->drive_disconnected) - (*base->drive_disconnected)(self, p0); -} -void VolumeMonitor_Class::drive_changed_callback(GVolumeMonitor* self, GDrive* p0) -{ - Glib::ObjectBase *const obj_base = static_cast( - Glib::ObjectBase::_get_current_wrapper((GObject*)self)); - - // Non-gtkmmproc-generated custom classes implicitly call the default - // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- - // generated classes can use this optimisation, which avoids the unnecessary - // parameter conversions if there is no possibility of the virtual function - // being overridden: - if(obj_base && obj_base->is_derived_()) - { - CppObjectType *const obj = dynamic_cast(obj_base); - if(obj) // This can be NULL during destruction. - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try // Trap C++ exceptions which would normally be lost because this is a C callback. - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Call the virtual member method, which derived classes might override. - obj->on_drive_changed(Glib::wrap(p0, true) -); - return; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). - ); - - // Call the original underlying C function: - if(base && base->drive_changed) - (*base->drive_changed)(self, p0); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -Glib::ObjectBase* VolumeMonitor_Class::wrap_new(GObject* object) -{ - return new VolumeMonitor((GVolumeMonitor*)object); -} - - -/* The implementation: */ - -GVolumeMonitor* VolumeMonitor::gobj_copy() -{ - reference(); - return gobj(); -} - -VolumeMonitor::VolumeMonitor(const Glib::ConstructParams& construct_params) -: - Glib::Object(construct_params) -{ - -} - -VolumeMonitor::VolumeMonitor(GVolumeMonitor* castitem) -: - Glib::Object((GObject*)(castitem)) -{} - - -VolumeMonitor::~VolumeMonitor() -{} - - -VolumeMonitor::CppClassType VolumeMonitor::volumemonitor_class_; // initialize static member - -GType VolumeMonitor::get_type() -{ - return volumemonitor_class_.init().get_type(); -} - -GType VolumeMonitor::get_base_type() -{ - return g_volume_monitor_get_type(); -} - - -Glib::RefPtr VolumeMonitor::get() -{ - return Glib::wrap(g_volume_monitor_get()); -} - - -Glib::ListHandle< Glib::RefPtr > VolumeMonitor::get_connected_drives() -{ - return Glib::ListHandle< Glib::RefPtr >(g_volume_monitor_get_connected_drives(gobj()), Glib::OWNERSHIP_SHALLOW); -} - -Glib::ListHandle< Glib::RefPtr > VolumeMonitor::get_volumes() -{ - return Glib::ListHandle< Glib::RefPtr >(g_volume_monitor_get_volumes(gobj()), Glib::OWNERSHIP_SHALLOW); -} - -Glib::ListHandle< Glib::RefPtr > VolumeMonitor::get_mounts() -{ - return Glib::ListHandle< Glib::RefPtr >(g_volume_monitor_get_mounts(gobj()), Glib::OWNERSHIP_SHALLOW); -} - -Glib::RefPtr VolumeMonitor::get_volume_for_uuid(const std::string& uuid) -{ - - Glib::RefPtr retvalue = Glib::wrap(g_volume_monitor_get_volume_for_uuid(gobj(), uuid.c_str())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr VolumeMonitor::get_mount_for_uuid(const std::string& uuid) -{ - - Glib::RefPtr retvalue = Glib::wrap(g_volume_monitor_get_mount_for_uuid(gobj(), uuid.c_str())); - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; - -} - -Glib::RefPtr VolumeMonitor::adopt_orphan_mount(const Glib::RefPtr& mount) -{ - return Glib::wrap(g_volume_monitor_adopt_orphan_mount(const_cast(Glib::unwrap(mount)))); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_volume_added() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_volume_added_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_volume_removed() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_volume_removed_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_volume_changed() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_volume_changed_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_mount_added() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_mount_added_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_mount_removed() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_mount_removed_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_mount_pre_unmount() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_mount_pre_unmount_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_mount_changed() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_mount_changed_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_drive_connected() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_drive_connected_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_drive_disconnected() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_drive_disconnected_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_drive_changed() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_drive_changed_info); -} - - -Glib::SignalProxy1< void,const Glib::RefPtr& > VolumeMonitor::signal_drive_eject_button() -{ - return Glib::SignalProxy1< void,const Glib::RefPtr& >(this, &VolumeMonitor_signal_drive_eject_button_info); -} - - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -void Gio::VolumeMonitor::on_volume_added(const Glib::RefPtr& volume) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->volume_added) - (*base->volume_added)(gobj(),const_cast(Glib::unwrap(volume))); -} -void Gio::VolumeMonitor::on_volume_removed(const Glib::RefPtr& volume) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->volume_removed) - (*base->volume_removed)(gobj(),const_cast(Glib::unwrap(volume))); -} -void Gio::VolumeMonitor::on_volume_changed(const Glib::RefPtr& volume) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->volume_changed) - (*base->volume_changed)(gobj(),const_cast(Glib::unwrap(volume))); -} -void Gio::VolumeMonitor::on_mount_added(const Glib::RefPtr& mount) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->mount_added) - (*base->mount_added)(gobj(),const_cast(Glib::unwrap(mount))); -} -void Gio::VolumeMonitor::on_mount_removed(const Glib::RefPtr& mount) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->mount_removed) - (*base->mount_removed)(gobj(),const_cast(Glib::unwrap(mount))); -} -void Gio::VolumeMonitor::on_mount_pre_unmount(const Glib::RefPtr& mount) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->mount_pre_unmount) - (*base->mount_pre_unmount)(gobj(),const_cast(Glib::unwrap(mount))); -} -void Gio::VolumeMonitor::on_mount_changed(const Glib::RefPtr& mount) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->mount_changed) - (*base->mount_changed)(gobj(),const_cast(Glib::unwrap(mount))); -} -void Gio::VolumeMonitor::on_drive_connected(const Glib::RefPtr& drive) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->drive_connected) - (*base->drive_connected)(gobj(),const_cast(Glib::unwrap(drive))); -} -void Gio::VolumeMonitor::on_drive_disconnected(const Glib::RefPtr& drive) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->drive_disconnected) - (*base->drive_disconnected)(gobj(),const_cast(Glib::unwrap(drive))); -} -void Gio::VolumeMonitor::on_drive_changed(const Glib::RefPtr& drive) -{ - BaseClassType *const base = static_cast( - g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). - ); - - if(base && base->drive_changed) - (*base->drive_changed)(gobj(),const_cast(Glib::unwrap(drive))); -} -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - -} // namespace Gio - - diff --git a/libs/glibmm2/gio/giomm/volumemonitor.h b/libs/glibmm2/gio/giomm/volumemonitor.h deleted file mode 100644 index 88ebfd09ac..0000000000 --- a/libs/glibmm2/gio/giomm/volumemonitor.h +++ /dev/null @@ -1,336 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GIOMM_VOLUMEMONITOR_H -#define _GIOMM_VOLUMEMONITOR_H - - -#include - -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GVolumeMonitor GVolumeMonitor; -typedef struct _GVolumeMonitorClass GVolumeMonitorClass; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ class VolumeMonitor_Class; } // namespace Gio -namespace Gio -{ - -/** Monitors a file or directory for changes. - * VolumeMonitor is for listing the user-interesting devices and volumes on the - * computer. In other words, what a file selector or file manager would show in - * a sidebar. - * - * @newin2p16 - */ - -class VolumeMonitor : public Glib::Object -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef VolumeMonitor CppObjectType; - typedef VolumeMonitor_Class CppClassType; - typedef GVolumeMonitor BaseObjectType; - typedef GVolumeMonitorClass BaseClassType; - -private: friend class VolumeMonitor_Class; - static CppClassType volumemonitor_class_; - -private: - // noncopyable - VolumeMonitor(const VolumeMonitor&); - VolumeMonitor& operator=(const VolumeMonitor&); - -protected: - explicit VolumeMonitor(const Glib::ConstructParams& construct_params); - explicit VolumeMonitor(GVolumeMonitor* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~VolumeMonitor(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - GVolumeMonitor* gobj() { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C GObject. - const GVolumeMonitor* gobj() const { return reinterpret_cast(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GVolumeMonitor* gobj_copy(); - -private: - -protected: - -public: - - - /** Gets the volume monitor used by gio. - * @return A reference to the VolumeMonitor used by gio. Call - * Glib::object_unref() when done with it. - */ - static Glib::RefPtr get(); - - - /** Gets a list of drives connected to the system. - * - * The returned list should be freed with Glib::list_free(), after - * its elements have been unreffed with Glib::object_unref(). - * @return A List of connected Drive<!-- -->s. - */ - Glib::ListHandle< Glib::RefPtr > get_connected_drives(); - - - /** Gets a list of the volumes on the system. - * - * The returned list should be freed with Glib::list_free(), after - * its elements have been unreffed with Glib::object_unref(). - * @return A List of Volume<!-- -->s. - */ - Glib::ListHandle< Glib::RefPtr > get_volumes(); - - - /** Gets a list of the mounts on the system. - * - * The returned list should be freed with Glib::list_free(), after - * its elements have been unreffed with Glib::object_unref(). - * @return A List of Mount<!-- -->s. - */ - Glib::ListHandle< Glib::RefPtr > get_mounts(); - - - /** Finds a Volume object by it's UUID (see g_volume_get_uuid()) - * @param uuid The UUID to look for. - * @return A Volume or 0 if no such volume is available. - */ - Glib::RefPtr get_volume_for_uuid(const std::string& uuid); - - /** Finds a Mount object by it's UUID (see g_mount_get_uuid()) - * @param uuid The UUID to look for. - * @return A Mount or 0 if no such mount is available. - */ - Glib::RefPtr get_mount_for_uuid(const std::string& uuid); - - - /** This function should be called by any VolumeMonitor - * implementation when a new Mount object is created that is not - * associated with a Volume object. It must be called just before - * emitting the @a mount_added signal. - * - * If the return value is not 0, the caller must associate the - * returned Volume object with the Mount. This involves returning - * it in it's g_mount_get_volume() implementation. The caller must - * also listen for the "removed" signal on the returned object - * and give up it's reference when handling that signal - * - * Similary, if implementing g_volume_monitor_adopt_orphan_mount(), - * the implementor must take a reference to @a mount and return it in - * it's g_volume_get_mount() implemented. Also, the implementor must - * listen for the "unmounted" signal on @a mount and give up it's - * reference upon handling that signal. - * - * There are two main use cases for this function. - * - * One is when implementing a user space file system driver that reads - * blocks of a block device that is already represented by the native - * volume monitor (for example a CD Audio file system driver). Such - * a driver will generate it's own Mount object that needs to be - * assoicated with the Volume object that represents the volume. - * - * The other is for implementing a VolumeMonitor whose sole purpose - * is to return Volume objects representing entries in the users - * "favorite servers" list or similar. - * @param mount A Mount object to find a parent for. - * @return The Volume object that is the parent for @a mount or 0 - * if no wants to adopt the Mount. - */ - static Glib::RefPtr adopt_orphan_mount(const Glib::RefPtr& mount); - - - /** - * @par Prototype: - * void on_my_%volume_added(const Glib::RefPtr& volume) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_volume_added(); - - - /** - * @par Prototype: - * void on_my_%volume_removed(const Glib::RefPtr& volume) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_volume_removed(); - - - /** - * @par Prototype: - * void on_my_%volume_changed(const Glib::RefPtr& volume) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_volume_changed(); - - - /** - * @par Prototype: - * void on_my_%mount_added(const Glib::RefPtr& mount) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_mount_added(); - - - /** - * @par Prototype: - * void on_my_%mount_removed(const Glib::RefPtr& mount) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_mount_removed(); - - - /** - * @par Prototype: - * void on_my_%mount_pre_unmount(const Glib::RefPtr& mount) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_mount_pre_unmount(); - - - /** - * @par Prototype: - * void on_my_%mount_changed(const Glib::RefPtr& mount) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_mount_changed(); - - - /** - * @par Prototype: - * void on_my_%drive_connected(const Glib::RefPtr& drive) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_drive_connected(); - - - /** - * @par Prototype: - * void on_my_%drive_disconnected(const Glib::RefPtr& drive) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_drive_disconnected(); - - - /** - * @par Prototype: - * void on_my_%drive_changed(const Glib::RefPtr& drive) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_drive_changed(); - - - //TODO: Remove no_default_handler when we can break ABI: - - /** - * @par Prototype: - * void on_my_%drive_eject_button(const Glib::RefPtr& drive) - */ - - Glib::SignalProxy1< void,const Glib::RefPtr& > signal_drive_eject_button(); - - - gboolean (*is_supported) (void); - - //TODO: Use ListHandle? - //_WRAP_VFUNC(GList* get_volumes(), get_volumes) - //_WRAP_VFUNC(GList* get_mounts(), get_mounts) - - - //_WRAP_VFUNC(Glib::RefPtr get_volume_for_uuid(const std::string& uuid), get_volume_for_uuid) - - - //_WRAP_VFUNC(Glib::RefPtr get_mount_for_uuid(const std::string& uuid), get_mount_for_uuid) - - - //There are no properties. - - -public: - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - virtual void on_volume_added(const Glib::RefPtr& volume); - virtual void on_volume_removed(const Glib::RefPtr& volume); - virtual void on_volume_changed(const Glib::RefPtr& volume); - virtual void on_mount_added(const Glib::RefPtr& mount); - virtual void on_mount_removed(const Glib::RefPtr& mount); - virtual void on_mount_pre_unmount(const Glib::RefPtr& mount); - virtual void on_mount_changed(const Glib::RefPtr& mount); - virtual void on_drive_connected(const Glib::RefPtr& drive); - virtual void on_drive_disconnected(const Glib::RefPtr& drive); - virtual void on_drive_changed(const Glib::RefPtr& drive); -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - -}; - -} // namespace Gio - - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Gio::VolumeMonitor - */ - Glib::RefPtr wrap(GVolumeMonitor* object, bool take_copy = false); -} - - -#endif /* _GIOMM_VOLUMEMONITOR_H */ - diff --git a/libs/glibmm2/gio/giomm/wrap_init.cc b/libs/glibmm2/gio/giomm/wrap_init.cc deleted file mode 100644 index 0327719908..0000000000 --- a/libs/glibmm2/gio/giomm/wrap_init.cc +++ /dev/null @@ -1,202 +0,0 @@ - -#include - -// Disable the 'const' function attribute of the get_type() functions. -// GCC would optimize them out because we don't use the return value. -#undef G_GNUC_CONST -#define G_GNUC_CONST /* empty */ - -#include -#include -#include - -// #include the widget headers so that we can call the get_type() static methods: - -#include "unixinputstream.h" -#include "unixoutputstream.h" -#include "desktopappinfo.h" -#include "appinfo.h" -#include "asyncresult.h" -#include "cancellable.h" -#include "drive.h" -#include "error.h" -#include "file.h" -#include "fileattributeinfo.h" -#include "fileattributeinfolist.h" -#include "fileenumerator.h" -#include "fileicon.h" -#include "fileinfo.h" -#include "fileinputstream.h" -#include "fileoutputstream.h" -#include "filemonitor.h" -#include "filterinputstream.h" -#include "filteroutputstream.h" -#include "filenamecompleter.h" -#include "icon.h" -#include "inputstream.h" -#include "loadableicon.h" -#include "mount.h" -#include "mountoperation.h" -#include "outputstream.h" -#include "seekable.h" -#include "volume.h" -#include "volumemonitor.h" -#include "bufferedinputstream.h" -#include "bufferedoutputstream.h" -#include "datainputstream.h" -#include "dataoutputstream.h" -#include "enums.h" -#include "memoryinputstream.h" -#include "themedicon.h" - -extern "C" -{ - -//Declarations of the *_get_type() functions: - -GType g_app_launch_context_get_type(void); -GType g_buffered_input_stream_get_type(void); -GType g_buffered_output_stream_get_type(void); -GType g_cancellable_get_type(void); -GType g_data_input_stream_get_type(void); -GType g_data_output_stream_get_type(void); -#ifndef G_OS_WIN32 -GType g_desktop_app_info_get_type(void); -#endif //G_OS_WIN32 -GType g_file_enumerator_get_type(void); -GType g_file_icon_get_type(void); -GType g_file_info_get_type(void); -GType g_file_input_stream_get_type(void); -GType g_file_monitor_get_type(void); -GType g_file_output_stream_get_type(void); -GType g_filename_completer_get_type(void); -GType g_filter_input_stream_get_type(void); -GType g_filter_output_stream_get_type(void); -GType g_input_stream_get_type(void); -GType g_memory_input_stream_get_type(void); -GType g_mount_operation_get_type(void); -GType g_output_stream_get_type(void); -GType g_themed_icon_get_type(void); -#ifndef G_OS_WIN32 -GType g_unix_input_stream_get_type(void); -#endif //G_OS_WIN32 -#ifndef G_OS_WIN32 -GType g_unix_output_stream_get_type(void); -#endif //G_OS_WIN32 -GType g_volume_monitor_get_type(void); - -//Declarations of the *_error_quark() functions: - -GQuark g_io_error_quark(void); -} // extern "C" - - -//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers: - -namespace Gio { class AppLaunchContext_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class BufferedInputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class BufferedOutputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class Cancellable_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class DataInputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class DataOutputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -#ifndef G_OS_WIN32 -namespace Gio { class DesktopAppInfo_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -#endif //G_OS_WIN32 -namespace Gio { class FileEnumerator_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FileIcon_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FileInfo_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FileInputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FileMonitor_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FileOutputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FilenameCompleter_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FilterInputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class FilterOutputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class InputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class MemoryInputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class MountOperation_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class OutputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -namespace Gio { class ThemedIcon_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -#ifndef G_OS_WIN32 -namespace Gio { class UnixInputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -#endif //G_OS_WIN32 -#ifndef G_OS_WIN32 -namespace Gio { class UnixOutputStream_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } -#endif //G_OS_WIN32 -namespace Gio { class VolumeMonitor_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; } - -namespace Gio { - -void wrap_init() -{ - // Register Error domains: - Glib::Error::register_domain(g_io_error_quark(), &Gio::Error::throw_func); - -// Map gtypes to gtkmm wrapper-creation functions: - Glib::wrap_register(g_app_launch_context_get_type(), &Gio::AppLaunchContext_Class::wrap_new); - Glib::wrap_register(g_buffered_input_stream_get_type(), &Gio::BufferedInputStream_Class::wrap_new); - Glib::wrap_register(g_buffered_output_stream_get_type(), &Gio::BufferedOutputStream_Class::wrap_new); - Glib::wrap_register(g_cancellable_get_type(), &Gio::Cancellable_Class::wrap_new); - Glib::wrap_register(g_data_input_stream_get_type(), &Gio::DataInputStream_Class::wrap_new); - Glib::wrap_register(g_data_output_stream_get_type(), &Gio::DataOutputStream_Class::wrap_new); -#ifndef G_OS_WIN32 - Glib::wrap_register(g_desktop_app_info_get_type(), &Gio::DesktopAppInfo_Class::wrap_new); -#endif //G_OS_WIN32 - Glib::wrap_register(g_file_enumerator_get_type(), &Gio::FileEnumerator_Class::wrap_new); - Glib::wrap_register(g_file_icon_get_type(), &Gio::FileIcon_Class::wrap_new); - Glib::wrap_register(g_file_info_get_type(), &Gio::FileInfo_Class::wrap_new); - Glib::wrap_register(g_file_input_stream_get_type(), &Gio::FileInputStream_Class::wrap_new); - Glib::wrap_register(g_file_monitor_get_type(), &Gio::FileMonitor_Class::wrap_new); - Glib::wrap_register(g_file_output_stream_get_type(), &Gio::FileOutputStream_Class::wrap_new); - Glib::wrap_register(g_filename_completer_get_type(), &Gio::FilenameCompleter_Class::wrap_new); - Glib::wrap_register(g_filter_input_stream_get_type(), &Gio::FilterInputStream_Class::wrap_new); - Glib::wrap_register(g_filter_output_stream_get_type(), &Gio::FilterOutputStream_Class::wrap_new); - Glib::wrap_register(g_input_stream_get_type(), &Gio::InputStream_Class::wrap_new); - Glib::wrap_register(g_memory_input_stream_get_type(), &Gio::MemoryInputStream_Class::wrap_new); - Glib::wrap_register(g_mount_operation_get_type(), &Gio::MountOperation_Class::wrap_new); - Glib::wrap_register(g_output_stream_get_type(), &Gio::OutputStream_Class::wrap_new); - Glib::wrap_register(g_themed_icon_get_type(), &Gio::ThemedIcon_Class::wrap_new); -#ifndef G_OS_WIN32 - Glib::wrap_register(g_unix_input_stream_get_type(), &Gio::UnixInputStream_Class::wrap_new); -#endif //G_OS_WIN32 -#ifndef G_OS_WIN32 - Glib::wrap_register(g_unix_output_stream_get_type(), &Gio::UnixOutputStream_Class::wrap_new); -#endif //G_OS_WIN32 - Glib::wrap_register(g_volume_monitor_get_type(), &Gio::VolumeMonitor_Class::wrap_new); - - // Register the gtkmm gtypes: - Gio::AppLaunchContext::get_type(); - Gio::BufferedInputStream::get_type(); - Gio::BufferedOutputStream::get_type(); - Gio::Cancellable::get_type(); - Gio::DataInputStream::get_type(); - Gio::DataOutputStream::get_type(); -#ifndef G_OS_WIN32 - Gio::DesktopAppInfo::get_type(); -#endif //G_OS_WIN32 - Gio::FileEnumerator::get_type(); - Gio::FileIcon::get_type(); - Gio::FileInfo::get_type(); - Gio::FileInputStream::get_type(); - Gio::FileMonitor::get_type(); - Gio::FileOutputStream::get_type(); - Gio::FilenameCompleter::get_type(); - Gio::FilterInputStream::get_type(); - Gio::FilterOutputStream::get_type(); - Gio::InputStream::get_type(); - Gio::MemoryInputStream::get_type(); - Gio::MountOperation::get_type(); - Gio::OutputStream::get_type(); - Gio::ThemedIcon::get_type(); -#ifndef G_OS_WIN32 - Gio::UnixInputStream::get_type(); -#endif //G_OS_WIN32 -#ifndef G_OS_WIN32 - Gio::UnixOutputStream::get_type(); -#endif //G_OS_WIN32 - Gio::VolumeMonitor::get_type(); - -} // wrap_init() - -} //Gio - - diff --git a/libs/glibmm2/gio/giomm/wrap_init.h b/libs/glibmm2/gio/giomm/wrap_init.h deleted file mode 100644 index c9423f3c43..0000000000 --- a/libs/glibmm2/gio/giomm/wrap_init.h +++ /dev/null @@ -1,32 +0,0 @@ -// -*- c++ -*- -#ifndef _GIOMM_WRAP_INIT_H -#define _GIOMM_WRAP_INIT_H - -#include - -/* wrap_init.h - * - * Copyright (C) 2007 The gtkmm development team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -namespace Gio -{ - void wrap_init () ; -} - -#endif //_GIOMM_WRAP_INIT_H - diff --git a/libs/glibmm2/gio/giommconfig.h b/libs/glibmm2/gio/giommconfig.h deleted file mode 100644 index 1f534d57a6..0000000000 --- a/libs/glibmm2/gio/giommconfig.h +++ /dev/null @@ -1,85 +0,0 @@ -/* gio/giommconfig.h. Generated from giommconfig.h.in by configure. */ -#ifndef _GIOMM_CONFIG_H -#define _GIOMM_CONFIG_H 1 - -/* version numbers */ -/* #undef GIOMM_MAJOR_VERSION */ -/* #undef GIOMM_MINOR_VERSION */ -/* #undef GIOMM_MICRO_VERSION */ - -// detect common platforms -#if defined(_WIN32) -// Win32 compilers have a lot of varation -#if defined(_MSC_VER) -#define GIOMM_MSC -#define GIOMM_WIN32 -#define GIOMM_DLL -#elif defined(__CYGWIN__) -#define GIOMM_CONFIGURE -#elif defined(__MINGW32__) -#define GIOMM_WIN32 -#define GIOMM_CONFIGURE -#else -//AIX clR compiler complains about this even though it doesn't get this far: -//#warning "Unknown architecture (send me gcc --dumpspecs or equiv)" -#endif -#else -#define GIOMM_CONFIGURE -#endif /* _WIN32 */ - -#ifdef GIOMM_CONFIGURE -/* compiler feature tests that are used during compile time and run-time - by gtk-- only. tests used by gdk-- and gtk-- should go into - gdk--config.h.in */ -/* #undef GIOMM_CXX_HAVE_MUTABLE */ -/* #undef GIOMM_CXX_HAVE_NAMESPACES */ -//#undef GIOMM_CXX_GAUB -//#undef GIOMM_CXX_AMBIGUOUS_TEMPLATES -/* #undef GIOMM_HAVE_NAMESPACE_STD */ -/* #undef GIOMM_HAVE_STD_ITERATOR_TRAITS */ -/* #undef GIOMM_HAVE_SUN_REVERSE_ITERATOR */ -/* #undef GIOMM_HAVE_TEMPLATE_SEQUENCE_CTORS */ -/* #undef GIOMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS */ -/* #undef GIOMM_COMPILER_SUN_FORTE */ -/* #undef GIOMM_DEBUG_REFCOUNTING */ -/* #undef GIOMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION */ -/* #undef GIOMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS */ -/* #undef GIOMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC */ -/* #undef GIOMM_HAVE_ALLOWS_STATIC_INLINE_NPOS */ -#endif - -#ifdef GIOMM_MSC - #define GIOMM_CXX_HAVE_MUTABLE 1 - #define GIOMM_CXX_HAVE_NAMESPACES 1 - #define GIOMM_HAVE_NAMESPACE_STD 1 - #define GIOMM_HAVE_STD_ITERATOR_TRAITS 1 - #define GIOMM_HAVE_TEMPLATE_SEQUENCE_CTORS 2 - #define GIOMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1 - #define GIOMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1 - #define GIOMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1 - #define GIOMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1 - #pragma warning (disable: 4786 4355 4800 4181) -#endif - -#ifndef GIOMM_HAVE_NAMESPACE_STD -# define GIOMM_USING_STD(Symbol) namespace std { using ::Symbol; } -#else -# define GIOMM_USING_STD(Symbol) /* empty */ -#endif - -#ifdef GIOMM_DLL - #if defined(GIOMM_BUILD) && defined(_WINDLL) - /* Do not dllexport as it is handled by gendef on MSVC */ - #define GIOMM_API - #elif !defined(GIOMM_BUILD) - #define GIOMM_API __declspec(dllimport) - #else - /* Build a static library */ - #define GIOMM_API - #endif /* GIOMM_BUILD - _WINDLL */ -#else - #define GIOMM_API -#endif /* GIOMM_DLL */ - -#endif /* _GIOMM_CONFIG_H */ - diff --git a/libs/glibmm2/gio/giommconfig.h.in b/libs/glibmm2/gio/giommconfig.h.in deleted file mode 100644 index b5a5d43c6a..0000000000 --- a/libs/glibmm2/gio/giommconfig.h.in +++ /dev/null @@ -1,84 +0,0 @@ -#ifndef _GIOMM_CONFIG_H -#define _GIOMM_CONFIG_H 1 - -/* version numbers */ -#undef GIOMM_MAJOR_VERSION -#undef GIOMM_MINOR_VERSION -#undef GIOMM_MICRO_VERSION - -// detect common platforms -#if defined(_WIN32) -// Win32 compilers have a lot of varation -#if defined(_MSC_VER) -#define GIOMM_MSC -#define GIOMM_WIN32 -#define GIOMM_DLL -#elif defined(__CYGWIN__) -#define GIOMM_CONFIGURE -#elif defined(__MINGW32__) -#define GIOMM_WIN32 -#define GIOMM_CONFIGURE -#else -//AIX clR compiler complains about this even though it doesn't get this far: -//#warning "Unknown architecture (send me gcc --dumpspecs or equiv)" -#endif -#else -#define GIOMM_CONFIGURE -#endif /* _WIN32 */ - -#ifdef GIOMM_CONFIGURE -/* compiler feature tests that are used during compile time and run-time - by gtk-- only. tests used by gdk-- and gtk-- should go into - gdk--config.h.in */ -#undef GIOMM_CXX_HAVE_MUTABLE -#undef GIOMM_CXX_HAVE_NAMESPACES -//#undef GIOMM_CXX_GAUB -//#undef GIOMM_CXX_AMBIGUOUS_TEMPLATES -#undef GIOMM_HAVE_NAMESPACE_STD -#undef GIOMM_HAVE_STD_ITERATOR_TRAITS -#undef GIOMM_HAVE_SUN_REVERSE_ITERATOR -#undef GIOMM_HAVE_TEMPLATE_SEQUENCE_CTORS -#undef GIOMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS -#undef GIOMM_COMPILER_SUN_FORTE -#undef GIOMM_DEBUG_REFCOUNTING -#undef GIOMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION -#undef GIOMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS -#undef GIOMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC -#undef GIOMM_HAVE_ALLOWS_STATIC_INLINE_NPOS -#endif - -#ifdef GIOMM_MSC - #define GIOMM_CXX_HAVE_MUTABLE 1 - #define GIOMM_CXX_HAVE_NAMESPACES 1 - #define GIOMM_HAVE_NAMESPACE_STD 1 - #define GIOMM_HAVE_STD_ITERATOR_TRAITS 1 - #define GIOMM_HAVE_TEMPLATE_SEQUENCE_CTORS 2 - #define GIOMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1 - #define GIOMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1 - #define GIOMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1 - #define GIOMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1 - #pragma warning (disable: 4786 4355 4800 4181) -#endif - -#ifndef GIOMM_HAVE_NAMESPACE_STD -# define GIOMM_USING_STD(Symbol) namespace std { using ::Symbol; } -#else -# define GIOMM_USING_STD(Symbol) /* empty */ -#endif - -#ifdef GIOMM_DLL - #if defined(GIOMM_BUILD) && defined(_WINDLL) - /* Do not dllexport as it is handled by gendef on MSVC */ - #define GIOMM_API - #elif !defined(GIOMM_BUILD) - #define GIOMM_API __declspec(dllimport) - #else - /* Build a static library */ - #define GIOMM_API - #endif /* GIOMM_BUILD - _WINDLL */ -#else - #define GIOMM_API -#endif /* GIOMM_DLL */ - -#endif /* _GIOMM_CONFIG_H */ - diff --git a/libs/glibmm2/gio/src/Makefile b/libs/glibmm2/gio/src/Makefile deleted file mode 100644 index a25d45aad7..0000000000 --- a/libs/glibmm2/gio/src/Makefile +++ /dev/null @@ -1,473 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# gio/src/Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -# Built files - -pkgdatadir = $(datadir)/glibmm -pkglibdir = $(libdir)/glibmm -pkgincludedir = $(includedir)/glibmm -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = x86_64-unknown-linux-gnu -host_triplet = x86_64-unknown-linux-gnu -DIST_COMMON = $(srcdir)/../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment \ - $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment \ - $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment -subdir = gio/src -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run aclocal-1.10 -I ./scripts -AMTAR = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run tar -AR = ar -AS = as -AUTOCONF = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run autoconf -AUTOHEADER = : -AUTOMAKE = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run automake-1.10 -AWK = gawk -CC = gcc -CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -CXX = g++ -CXXCPP = g++ -E -CXXDEPMODE = depmode=gcc3 -CXXFLAGS = -g -O2 -Wall -Wno-long-long -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DEPDIR = .deps -DISABLE_DEPRECATED_API_CFLAGS = -DISABLE_DEPRECATED_CFLAGS = -DLLTOOL = dlltool -DSYMUTIL = -ECHO = echo -ECHO_C = -ECHO_N = -n -ECHO_T = -EGREP = /bin/grep -E -EXEEXT = -F77 = gfortran -FFLAGS = -g -O2 -GIOMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -GIOMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_CFLAGS = -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GLIBMM_LIBS = -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -GLIBMM_MAJOR_VERSION = 2 -GLIBMM_MICRO_VERSION = 2 -GLIBMM_MINOR_VERSION = 18 -GLIBMM_RELEASE = 2.18 -GLIBMM_VERSION = 2.18.2 -GMMPROC_DIR = ${exec_prefix}/lib/glibmm-2.4/proc -GREP = /bin/grep -GTHREAD_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -GTHREAD_LIBS = -pthread -lgthread-2.0 -lrt -lglib-2.0 -GTKMMPROC_MERGECDOCS = -GTKMM_DOXYGEN_INPUT = /tmp/glibmm-2.18.2/glib/glibmm/ /tmp/glibmm-2.18.2/gio/giomm/ -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -LIBGLIBMM_SO_VERSION = 3:0:2 -LIBOBJS = -LIBS = -LIBTOOL = $(SHELL) $(top_builddir)/libtool -LN_S = ln -s -LTLIBOBJS = -M4 = m4 -MAINT = # -MAKEINFO = ${SHELL} /tmp/glibmm-2.18.2/scripts/missing --run makeinfo -MKDIR_P = /bin/mkdir -p -NMEDIT = -OBJDUMP = objdump -OBJEXT = o -PACKAGE = glibmm -PACKAGE_BUGREPORT = gtkmm-list@gnome.org -PACKAGE_NAME = glibmm -PACKAGE_STRING = glibmm 2.18.2 -PACKAGE_TARNAME = glibmm -PACKAGE_VERSION = 2.18.2 -PATH_SEPARATOR = : -PERL_PATH = /usr/bin/perl -PKG_CONFIG = /usr/bin/pkg-config -RANLIB = ranlib -SED = /bin/sed -SET_MAKE = -SHELL = /bin/sh -STRIP = strip -VERSION = 2.18.2 -abs_builddir = /tmp/glibmm-2.18.2/gio/src -abs_srcdir = /tmp/glibmm-2.18.2/gio/src -abs_top_builddir = /tmp/glibmm-2.18.2 -abs_top_srcdir = /tmp/glibmm-2.18.2 -ac_ct_CC = gcc -ac_ct_CXX = g++ -ac_ct_F77 = gfortran -am__include = include -am__leading_dot = . -am__quote = -am__tar = ${AMTAR} chof - "$$tardir" -am__untar = ${AMTAR} xf - -bindir = ${exec_prefix}/bin -build = x86_64-unknown-linux-gnu -build_alias = -build_cpu = x86_64 -build_os = linux-gnu -build_vendor = unknown -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} -dvidir = ${docdir} -exec_prefix = ${prefix} -host = x86_64-unknown-linux-gnu -host_alias = -host_cpu = x86_64 -host_os = linux-gnu -host_vendor = unknown -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = $(SHELL) /tmp/glibmm-2.18.2/scripts/install-sh -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man -mkdir_p = /bin/mkdir -p -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = ../../ -top_builddir = ../.. -top_srcdir = ../.. -sublib_name = giomm -sublib_namespace = Gio -sublib_parentdir = giomm -files_defs = gio.defs gio_methods.defs gio_signals.defs gio_enums.defs \ - gio_docs.xml gio_docs_override.xml gio_vfuncs.defs gio_others.defs - -tools_dir = $(top_srcdir)/tools -tools_dir_m4 = $(top_srcdir)/tools/m4 -tools_dir_pm = $(top_srcdir)/tools/pm -gensrc_destdir = $(srcdir)/../$(sublib_name) -stamp_dir = $(srcdir)/.stamps -files_tools_m4 = base.m4 class_shared.m4 class_boxedtype.m4 class_boxedtype_static.m4 \ - class_generic.m4 class_gobject.m4 class_gtkobject.m4 \ - class_interface.m4 class_opaque_refcounted.m4 class_opaque_copyable.m4 \ - gerror.m4 \ - compare.m4 convert.m4 convert_base.m4 convert_gtkmm.m4 convert_atk.m4 convert_gdk.m4 \ - convert_glib.m4 convert_gio.m4 convert_gtk.m4 convert_pango.m4 ctor.m4 doc.m4 enum.m4 list.m4 member.m4 \ - method.m4 property.m4 signal.m4 vfunc.m4 - -files_tools_pm = DocsParser.pm GtkDefs.pm Enum.pm Function.pm FunctionBase.pm Object.pm Output.pm Property.pm Util.pm WrapParser.pm -files_tools_genwrap = generate_wrap_init.pl -files_tools_perl = $(files_tools_genwrap) gmmproc.in -tools_m4 = $(files_tools_m4:%.m4=$(tools_dir_m4)/%.m4) -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -#files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -files_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_general_cc) - -#files_extra_cc = \ -# $(sublib_files_extra_win32_cc) \ -# $(sublib_files_extra_general_cc) - -files_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_general_h) wrap_init.h -#files_extra_h = $(sublib_files_extra_win32_h) \ -# $(sublib_files_extra_general_h) wrap_init.h -# tools_pm = $(files_tools_pm:%.pm=$(tools_dir_pm)/%.pm) -files_all_ccg = $(files_all_hg:%.hg=%.ccg) -files_h = $(files_all_hg:%.hg=$(gensrc_destdir)/%.h) -files_cc = $(files_all_hg:%.hg=$(gensrc_destdir)/%.cc) -files_stamp = $(files_all_hg:%.hg=$(stamp_dir)/stamp-%) - -#The gmmproc from this glibmm: -gmmproc_in = $(top_srcdir)/tools/gmmproc.in -gmmproc_path = $(top_builddir)/tools/gmmproc - -# We use our own m4 and pm files as well as the ones installed by gtkmm: -# Our override m4 include seems to need to be before the default one. -gmmproc_args = -I $(tools_dir_m4) --defs $(srcdir) -run_gmmproc = $(PERL_PATH) -I$(tools_dir_pm) $(gmmproc_path) $(gmmproc_args) -gen_wrap_init_in = $(top_srcdir)/tools/generate_wrap_init.pl.in -gen_wrap_init_path = $(top_builddir)/tools/generate_wrap_init.pl -gen_wrap_init_args = --namespace=$(sublib_namespace) --parent_dir=$(sublib_parentdir) -run_gen_wrap_init = $(PERL_PATH) $(gen_wrap_init_path) $(gen_wrap_init_args) -EXTRA_DIST = Makefile_list_of_hg.am_fragment \ - $(files_defs) $(files_all_hg) $(files_all_ccg) - -sublib_srcdir = $(srcdir)/../src -files_hg_with_path = $(patsubst %.hg,$(sublib_srcdir)/%.hg,$(files_all_hg)) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment $(srcdir)/../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: # $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): # $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-local: -all-am: Makefile all-local -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: all all-am all-local check check-am clean clean-generic \ - clean-libtool distclean distclean-generic distclean-libtool \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am - - -$(stamp_dir)/stamp-%: %.hg %.ccg $(tools_m4) $(files_defs) - $(run_gmmproc) $(notdir $*) $(srcdir) $(gensrc_destdir) - @echo 'timestamp' > $@ - -$(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path) - $(run_gen_wrap_init) $(files_all_hg:%.hg=$(srcdir)/%.hg) >$@ - -create-stamp-dir: - @(test -d $(stamp_dir) || mkdir $(stamp_dir)) - -#all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc - -maintainer-clean-local: - rm -rf $(stamp_dir) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/src/Makefile.am b/libs/glibmm2/gio/src/Makefile.am deleted file mode 100644 index cd08120aac..0000000000 --- a/libs/glibmm2/gio/src/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -## Copyright (c) 2007 -## The gtkmm development team. - -sublib_name = giomm -sublib_namespace = Gio -sublib_parentdir = giomm -files_defs = gio.defs gio_methods.defs gio_signals.defs gio_enums.defs \ - gio_docs.xml gio_docs_override.xml gio_vfuncs.defs gio_others.defs - -include $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment - diff --git a/libs/glibmm2/gio/src/Makefile.in b/libs/glibmm2/gio/src/Makefile.in deleted file mode 100644 index d182994197..0000000000 --- a/libs/glibmm2/gio/src/Makefile.in +++ /dev/null @@ -1,473 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Built files -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(srcdir)/../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment \ - $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment \ - $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment -subdir = gio/src -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -sublib_name = giomm -sublib_namespace = Gio -sublib_parentdir = giomm -files_defs = gio.defs gio_methods.defs gio_signals.defs gio_enums.defs \ - gio_docs.xml gio_docs_override.xml gio_vfuncs.defs gio_others.defs - -tools_dir = $(top_srcdir)/tools -tools_dir_m4 = $(top_srcdir)/tools/m4 -tools_dir_pm = $(top_srcdir)/tools/pm -gensrc_destdir = $(srcdir)/../$(sublib_name) -stamp_dir = $(srcdir)/.stamps -files_tools_m4 = base.m4 class_shared.m4 class_boxedtype.m4 class_boxedtype_static.m4 \ - class_generic.m4 class_gobject.m4 class_gtkobject.m4 \ - class_interface.m4 class_opaque_refcounted.m4 class_opaque_copyable.m4 \ - gerror.m4 \ - compare.m4 convert.m4 convert_base.m4 convert_gtkmm.m4 convert_atk.m4 convert_gdk.m4 \ - convert_glib.m4 convert_gio.m4 convert_gtk.m4 convert_pango.m4 ctor.m4 doc.m4 enum.m4 list.m4 member.m4 \ - method.m4 property.m4 signal.m4 vfunc.m4 - -files_tools_pm = DocsParser.pm GtkDefs.pm Enum.pm Function.pm FunctionBase.pm Object.pm Output.pm Property.pm Util.pm WrapParser.pm -files_tools_genwrap = generate_wrap_init.pl -files_tools_perl = $(files_tools_genwrap) gmmproc.in -tools_m4 = $(files_tools_m4:%.m4=$(tools_dir_m4)/%.m4) -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -@OS_WIN32_FALSE@files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -@OS_WIN32_TRUE@files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -@OS_WIN32_FALSE@files_extra_cc = \ -@OS_WIN32_FALSE@ $(sublib_files_extra_posix_cc) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_TRUE@files_extra_cc = \ -@OS_WIN32_TRUE@ $(sublib_files_extra_win32_cc) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_FALSE@files_extra_h = $(sublib_files_extra_posix_h) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_h) wrap_init.h -@OS_WIN32_TRUE@files_extra_h = $(sublib_files_extra_win32_h) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_h) wrap_init.h -# tools_pm = $(files_tools_pm:%.pm=$(tools_dir_pm)/%.pm) -files_all_ccg = $(files_all_hg:%.hg=%.ccg) -files_h = $(files_all_hg:%.hg=$(gensrc_destdir)/%.h) -files_cc = $(files_all_hg:%.hg=$(gensrc_destdir)/%.cc) -files_stamp = $(files_all_hg:%.hg=$(stamp_dir)/stamp-%) - -#The gmmproc from this glibmm: -gmmproc_in = $(top_srcdir)/tools/gmmproc.in -gmmproc_path = $(top_builddir)/tools/gmmproc - -# We use our own m4 and pm files as well as the ones installed by gtkmm: -# Our override m4 include seems to need to be before the default one. -gmmproc_args = -I $(tools_dir_m4) --defs $(srcdir) -run_gmmproc = $(PERL_PATH) -I$(tools_dir_pm) $(gmmproc_path) $(gmmproc_args) -gen_wrap_init_in = $(top_srcdir)/tools/generate_wrap_init.pl.in -gen_wrap_init_path = $(top_builddir)/tools/generate_wrap_init.pl -gen_wrap_init_args = --namespace=$(sublib_namespace) --parent_dir=$(sublib_parentdir) -run_gen_wrap_init = $(PERL_PATH) $(gen_wrap_init_path) $(gen_wrap_init_args) -EXTRA_DIST = Makefile_list_of_hg.am_fragment \ - $(files_defs) $(files_all_hg) $(files_all_ccg) - -sublib_srcdir = $(srcdir)/../src -files_hg_with_path = $(patsubst %.hg,$(sublib_srcdir)/%.hg,$(files_all_hg)) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment $(srcdir)/../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gio/src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu gio/src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -@MAINTAINER_MODE_FALSE@all-local: -all-am: Makefile all-local -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: all all-am all-local check check-am clean clean-generic \ - clean-libtool distclean distclean-generic distclean-libtool \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am - - -$(stamp_dir)/stamp-%: %.hg %.ccg $(tools_m4) $(files_defs) - $(run_gmmproc) $(notdir $*) $(srcdir) $(gensrc_destdir) - @echo 'timestamp' > $@ - -$(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path) - $(run_gen_wrap_init) $(files_all_hg:%.hg=$(srcdir)/%.hg) >$@ - -create-stamp-dir: - @(test -d $(stamp_dir) || mkdir $(stamp_dir)) - -@MAINTAINER_MODE_TRUE@all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc - -maintainer-clean-local: - rm -rf $(stamp_dir) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/gio/src/Makefile_list_of_hg.am_fragment b/libs/glibmm2/gio/src/Makefile_list_of_hg.am_fragment deleted file mode 100644 index 782108350b..0000000000 --- a/libs/glibmm2/gio/src/Makefile_list_of_hg.am_fragment +++ /dev/null @@ -1,17 +0,0 @@ -## This file is include by other Makefile.am files, using the automake -## include feature. The include happens in Makefile.am, not Makefile.in -## or Makefile, so it's like copy-and-pasting this into each of those -## Makefile.am files. - -files_posix_hg = unixinputstream.hg unixoutputstream.hg desktopappinfo.hg -files_win32_hg = -files_general_hg = appinfo.hg asyncresult.hg cancellable.hg drive.hg error.hg file.hg fileattributeinfo.hg \ - fileattributeinfolist.hg fileenumerator.hg fileicon.hg fileinfo.hg fileinputstream.hg fileoutputstream.hg \ - filemonitor.hg filterinputstream.hg filteroutputstream.hg filenamecompleter.hg \ - icon.hg inputstream.hg loadableicon.hg mount.hg mountoperation.hg outputstream.hg \ - seekable.hg volume.hg volumemonitor.hg bufferedinputstream.hg \ - bufferedoutputstream.hg datainputstream.hg dataoutputstream.hg enums.hg \ - memoryinputstream.hg themedicon.hg - -include $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment - diff --git a/libs/glibmm2/gio/src/appinfo.ccg b/libs/glibmm2/gio/src/appinfo.ccg deleted file mode 100644 index be14b936c8..0000000000 --- a/libs/glibmm2/gio/src/appinfo.ccg +++ /dev/null @@ -1,84 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr -AppInfo::create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags) -#else -Glib::RefPtr -AppInfo::create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags, - std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GAppInfo* capp_info = 0; - GError* gerror = 0; - - capp_info = g_app_info_create_from_commandline(commandline.c_str(), - application_name.c_str(), - static_cast(flags), - &gerror); - - if (gerror) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - ::Glib::Error::throw_exception(gerror); -#else - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return Glib::wrap(capp_info); -} - -Glib::ListHandle< Glib::RefPtr > AppInfo::get_all() -{ - return Glib::ListHandle< Glib::RefPtr >(g_app_info_get_all(), Glib::OWNERSHIP_SHALLOW); -} - -Glib::ListHandle< Glib::RefPtr > AppInfo::get_all_for_type(const std::string& content_type) -{ - return Glib::ListHandle< Glib::RefPtr >( - g_app_info_get_all_for_type(content_type.c_str()), Glib::OWNERSHIP_SHALLOW); -} - -Glib::RefPtr AppInfo::get_default_for_type(const std::string& content_type, - bool must_support_uris) -{ - GAppInfo* cinfo = 0; - cinfo = g_app_info_get_default_for_type(content_type.c_str(), - static_cast(must_support_uris)); - return Glib::wrap(cinfo); -} - -Glib::RefPtr AppInfo::get_default_for_uri_scheme(const std::string& uri_scheme) -{ - GAppInfo* cinfo = 0; - cinfo = g_app_info_get_default_for_uri_scheme(uri_scheme.c_str()); - return Glib::wrap(cinfo); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/appinfo.hg b/libs/glibmm2/gio/src/appinfo.hg deleted file mode 100644 index 0dc871d092..0000000000 --- a/libs/glibmm2/gio/src/appinfo.hg +++ /dev/null @@ -1,167 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -#include -#endif - -#include - -#include -#include -//#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) -_PINCLUDE(glibmm/private/object_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAppInfoIface GAppInfoIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -namespace Gio -{ - -_WRAP_ENUM(AppInfoCreateFlags, GAppInfoCreateFlags, NO_GTYPE) - -class AppInfo; -class File; - -/** This is used to handle, for instance, startup notification and launching of the new application on the same screen as the launching window. - * See also AppInfo. - * - * @newin2p16 - */ -class AppLaunchContext : public Glib::Object -{ - _CLASS_GOBJECT(AppLaunchContext, GAppLaunchContext, G_APP_LAUNCH_CONTEXT, Glib::Object, GObject) - -protected: - _CTOR_DEFAULT() - -public: - _WRAP_CREATE() - -#m4 _CONVERSION(`const Glib::ListHandle&',`GList*',`$3.data()') - _WRAP_METHOD(std::string get_display(const Glib::RefPtr& info, const Glib::ListHandle< Glib::RefPtr >& files), - g_app_launch_context_get_display) - - _WRAP_METHOD(std::string get_startup_notify_id(const Glib::RefPtr& info, const Glib::ListHandle< Glib::RefPtr >& files), - g_app_launch_context_get_startup_notify_id) - _WRAP_METHOD(void launch_failed(const std::string& startup_notify_id), - g_app_launch_context_launch_failed) -}; - -/** Application information, to describe applications installed on the system, - * and launch them. - * See also AppLaunchContext. - * - * @newin2p16 - */ -class AppInfo : public Glib::Interface -{ - _CLASS_INTERFACE(AppInfo, GAppInfo, G_APP_INFO, GAppInfoIface) - -public: -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static Glib::RefPtr create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags); -#else - static Glib::RefPtr create_from_commandline(const std::string& commandline, - const std::string& application_name, - AppInfoCreateFlags flags, - std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - - _IGNORE(g_app_info_dup) - _IGNORE(g_app_info_equal) - - // Note that the implementation of equal() is virtual via equal_vfunc(). - _WRAP_METHOD(bool equal(const Glib::RefPtr& other) const, g_app_info_equal) - - _WRAP_METHOD(std::string get_id() const, g_app_info_get_id) - _WRAP_METHOD(std::string get_name() const, g_app_info_get_name) - _WRAP_METHOD(std::string get_description() const, g_app_info_get_description) - _WRAP_METHOD(std::string get_executable() const, g_app_info_get_executable) - - _WRAP_METHOD(Glib::RefPtr get_icon(), g_app_info_get_icon, refreturn) - _WRAP_METHOD(const Glib::RefPtr get_icon() const, - g_app_info_get_icon, - refreturn, constversion) - - _WRAP_METHOD(bool launch(const Glib::ListHandle& files, - const Glib::RefPtr& launch_context), - g_app_info_launch, - errthrow) - _WRAP_METHOD(bool supports_uris() const, g_app_info_supports_uris) - _WRAP_METHOD(bool supports_files() const, g_app_info_supports_files) - _WRAP_METHOD(bool launch_uris(const Glib::ListHandle& uris, - GAppLaunchContext* launch_context), - g_app_info_launch_uris, - errthrow) - _WRAP_METHOD(bool should_show() const, g_app_info_should_show) - - _WRAP_METHOD(bool set_as_default_for_type(const std::string& content_type), - g_app_info_set_as_default_for_type, - errthrow) - _WRAP_METHOD(bool set_as_default_for_extension(const std::string& extension), - g_app_info_set_as_default_for_extension, - errthrow) - _WRAP_METHOD(bool add_supports_type(const std::string& content_type), - g_app_info_add_supports_type, - errthrow) - _WRAP_METHOD(bool can_remove_supports_type() const, g_app_info_can_remove_supports_type) - _WRAP_METHOD(bool remove_supports_type(const std::string& content_type), - g_app_info_remove_supports_type, - errthrow) - - static Glib::ListHandle< Glib::RefPtr > get_all(); - - static Glib::ListHandle< Glib::RefPtr > get_all_for_type(const std::string& content_type); - - static Glib::RefPtr get_default_for_type(const std::string& content_type, bool must_support_uris = true); - - static Glib::RefPtr get_default_for_uri_scheme(const std::string& uri_scheme); - -protected: - //_WRAP_VFUNC(Glib::RefPtr dup(), "dup") - //_WRAP_VFUNC(bool equal(const Glib::RefPtr& appinfo2), "equal") - //_WRAP_VFUNC(std::string get_id() const, "get_id") - //_WRAP_VFUNC(std::string get_name() const, "get_name") - //_WRAP_VFUNC(std::string get_description() const, "get_description") - //_WRAP_VFUNC(std::string get_executable() const, "get_executable") - //_WRAP_VFUNC(Glib::RefPtr get_icon() const, "get_icon") -#m4 _CONVERSION(`const Glib::ListHandle&',`GList*',`$3.data()') -#m4 _CONVERSION(`GList*',`const Glib::ListHandle&',`Glib::ListHandle($3, Glib::OWNERSHIP_NONE)') - //_WRAP_VFUNC(bool launch(const Glib::ListHandle& filenames, const Glib::RefPtr& launch_context, GError** error), "launch") - //_WRAP_VFUNC(bool supports_uris() const, "supports_uris") - //_WRAP_VFUNC(bool supports_files() const, "supports_files") - //_WRAP_VFUNC(bool launch_uris(const Glib::ListHandle& uris, const Glib::RefPtr& launch_context, GError** error), "launch_uris") - //_WRAP_VFUNC(bool should_show() const, "should_show") - //_WRAP_VFUNC(bool set_as_default_for_type(const std::string& content_type, GError** error), "set_as_default_for_type") - //_WRAP_VFUNC(bool set_as_default_for_extension(const std::string& extension, GError** error), "set_as_default_for_extension") - //_WRAP_VFUNC(bool add_supports_type(const std::string& content_type, GError** error), "add_supports_type") - //_WRAP_VFUNC(bool can_remove_supports_type() const, "can_remove_supports_type") - //_WRAP_VFUNC(bool remove_supports_type(const std::string& content_type, GError** error), "remove_supports_type") -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/asyncresult.ccg b/libs/glibmm2/gio/src/asyncresult.ccg deleted file mode 100644 index 81797bc062..0000000000 --- a/libs/glibmm2/gio/src/asyncresult.ccg +++ /dev/null @@ -1,21 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //We are not allowed to include individual headers. -#include diff --git a/libs/glibmm2/gio/src/asyncresult.hg b/libs/glibmm2/gio/src/asyncresult.hg deleted file mode 100644 index e406bac8f8..0000000000 --- a/libs/glibmm2/gio/src/asyncresult.hg +++ /dev/null @@ -1,122 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GAsyncResultIface GAsyncResultIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -namespace Gio -{ - -class AsyncResult; - -/** A function that will be called when an asynchronous operation within GIO has been completed. - * @param result The asynchronous function's results. - * - * For instance, - * @code - * void on_async_ready(Glib::RefPtr& result); - * @endcode - * - * @newin2p16 - */ -typedef sigc::slot& > SlotAsyncReady; - -/** Provides a base class for implementing asynchronous function results. - * Asynchronous operations are broken up into two separate operations which are chained together by a SlotAsyncReady. - * To begin an asynchronous operation, provide a SlotAsyncReady to the asynchronous function. This callback will be triggered - * when the operation has completed, and will be passed an AsyncResult instance filled with the details of the operation's success or - * failure, the object the asynchronous function was started for and any error codes returned. The asynchronous callback function is then - * expected to call the corresponding "_finish()" function with the object the function was called for, and the AsyncResult instance. - * - * The purpose of the "_finish()" function is to take the generic result of type AsyncResult and return the specific result that the operation - * in question yields (e.g. a FileEnumerator for an "enumerate children" operation). If the result or error status of the operation is not needed, - * there is no need to call the "_finish()" function and GIO will take care of cleaning up the result and error information after the - * SlotAsyncReady returns. You may also store the AsyncResult and call "_finish()" later. - * - * Example of a typical asynchronous operation flow: - * @code - * void _theoretical_frobnitz_async(const Glib::RefPtr& t, - * const SlotAsyncReady& slot); - * - * gboolean _theoretical_frobnitz_finish(const Glib::RefPtr& t, - * const Glib::RefPtr& result); - * - * static void - * on_frobnitz_result(Glib::RefPtr& result) - * { - * - * Glib::RefPtr source_object = result->get_source_object(); - * bool success = _theoretical_frobnitz_finish(source_object, res); - * - * if (success) - * std::cout << "Hurray" << std::endl; - * else - * std::cout << "Uh oh!" << std::endl; - * - * ... - * } - * - * int main (int argc, void *argv[]) - * { - * ... - * - * _theoretical_frobnitz_async (theoretical_data, - * sigc::ptr_fun(&on_frobnitz_result) ); - * - * ... - * } - * @endcode - * - * The async function could also take an optional Glib::Cancellable object, allowing the calling function to cancel the asynchronous operation. - * - * The callback for an asynchronous operation is called only once, and is always called, even in the case of a cancelled operation. - * On cancellation the result is a ERROR_CANCELLED error. - * - * Some ascynchronous operations are implemented using synchronous calls. These are run in a separate GThread, but otherwise they are sent - * to the Main Event Loop and processed in an idle function. So, if you truly need asynchronous operations, make sure to initialize GThread. - * - * @newin2p16 - */ -class AsyncResult : public Glib::Interface -{ - _CLASS_INTERFACE(AsyncResult, GAsyncResult, G_ASYNC_RESULT, GAsyncResultIface) - -public: - _IGNORE(g_async_result_get_user_data) - - //Note that this returns a reference, unlike most GTK+ get_*() functions, - //so we don't need to use refreturn. - _WRAP_METHOD(Glib::RefPtr get_source_object(), - g_async_result_get_source_object) - _WRAP_METHOD(Glib::RefPtr get_source_object() const, - g_async_result_get_source_object, constversion) - - _WRAP_VFUNC(Glib::RefPtr get_source_object(), - "get_source_object") -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/bufferedinputstream.ccg b/libs/glibmm2/gio/src/bufferedinputstream.ccg deleted file mode 100644 index fd512c908a..0000000000 --- a/libs/glibmm2/gio/src/bufferedinputstream.ccg +++ /dev/null @@ -1,105 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" - -namespace Gio -{ -Glib::RefPtr BufferedInputStream::create_sized(const Glib::RefPtr& base_stream, gsize size) -{ - return Glib::RefPtr(new BufferedInputStream(base_stream, size)); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize BufferedInputStream::fill(gssize count) -#else -gssize BufferedInputStream::fill(gssize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_buffered_input_stream_fill(const_cast(gobj()), count, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void BufferedInputStream::fill_async(const SlotAsyncReady& slot, - gssize count, - const Glib::RefPtr& cancellable, - int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_buffered_input_stream_fill_async(gobj(), - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void BufferedInputStream::fill_async(const SlotAsyncReady& slot, - gssize count, - int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_buffered_input_stream_fill_async(gobj(), - count, - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -int BufferedInputStream::read_byte() -#else -int BufferedInputStream::read_byte(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - int retvalue = g_buffered_input_stream_read_byte(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/bufferedinputstream.hg b/libs/glibmm2/gio/src/bufferedinputstream.hg deleted file mode 100644 index 34203b01ff..0000000000 --- a/libs/glibmm2/gio/src/bufferedinputstream.hg +++ /dev/null @@ -1,116 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/filterinputstream_p.h) - -namespace Gio -{ - -/** @defgroup Streams Stream Classes - * - */ - -/** The buffered input stream implements FilterInputStream and provides for buffered reads. - * By default, BufferedInputStream's buffer size is set at 4 kilobytes, but you can specify - * this to the constructor. - * - * To get the size of a buffer within a buffered input stream, use get_buffer_size(). - * To change the size of a buffered input stream's buffer, use set_buffer_size(). - * Note that the buffer's size cannot be reduced below the size of the data within the buffer. - * - * @ingroup Streams - * - * @newin2p16 - */ -class BufferedInputStream : public Gio::FilterInputStream -{ - _CLASS_GOBJECT(BufferedInputStream, GBufferedInputStream, G_BUFFERED_INPUT_STREAM, Gio::FilterInputStream, GFilterInputStream) -protected: - _WRAP_CTOR(BufferedInputStream(const Glib::RefPtr& base_stream), g_buffered_input_stream_new) - _WRAP_CTOR(BufferedInputStream(const Glib::RefPtr& base_stream, gsize size), g_buffered_input_stream_new_sized) -public: - _WRAP_CREATE(const Glib::RefPtr& base_stream) - static Glib::RefPtr create_sized(const Glib::RefPtr& base_stream, gsize size); - - _WRAP_METHOD(gsize get_buffer_size() const, g_buffered_input_stream_get_buffer_size) - _WRAP_METHOD(void set_buffer_size(gsize size), g_buffered_input_stream_set_buffer_size) - _WRAP_METHOD(gsize get_available() const, g_buffered_input_stream_get_available) - _WRAP_METHOD(gsize peek(void* buffer, gsize offset, gsize count) const, g_buffered_input_stream_peek) - _WRAP_METHOD(const void* peek_buffer(gsize& count) const, g_buffered_input_stream_peek_buffer) - _WRAP_METHOD(gssize fill(gssize count, const Glib::RefPtr& cancellable), g_buffered_input_stream_fill, errthrow) - - /** non-cancellable version of fill() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize fill(gssize count); -#else - gssize fill(gssize count, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _IGNORE(g_buffered_input_stream_fill_async) - - /** Reads data into the stream's buffer asynchronously, up to @a count size. - * @a io_priority can be used to prioritize reads. For the synchronous version of - * this function, see fill(). - * - * @param slot A AsyncReadyCallback. - * @param count The number of bytes to read. - * @param cancellable Cancellable object. - * @param io_priority the I/O priority of the request. - */ - void fill_async(const SlotAsyncReady& slot, - gssize count, - const Glib::RefPtr& cancellable, - int io_priority = Glib::PRIORITY_DEFAULT); - - /** Reads data into the stream's buffer asynchronously, up to @a count size. - * @a io_priority can be used to prioritize reads. For the synchronous version of - * this function, see fill(). - * - * @param slot A AsyncReadyCallback. - * @param count The number of bytes to read. - * @param io_priority the I/O priority of the request. - */ - void fill_async(const SlotAsyncReady& slot, - gssize count, - int io_priority = Glib::PRIORITY_DEFAULT); - - _WRAP_METHOD(gssize fill_finish(const Glib::RefPtr& result), g_buffered_input_stream_fill_finish, errthrow) - - _WRAP_METHOD(int read_byte(const Glib::RefPtr& cancellable), g_buffered_input_stream_read_byte, errthrow) - - /** Non-cancellable version of read_byte. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - int read_byte(); -#else - int read_byte(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -protected: -#m4 _CONVERSION(`GCancellable*', `const Glib::RefPtr&', `Glib::wrap($3, true)') - //_WRAP_VFUNC(gssize fill(gssize count, const Glib::RefPtr& cancellable, GError** error), "fill") - -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/bufferedoutputstream.ccg b/libs/glibmm2/gio/src/bufferedoutputstream.ccg deleted file mode 100644 index b1a0dded29..0000000000 --- a/libs/glibmm2/gio/src/bufferedoutputstream.ccg +++ /dev/null @@ -1,30 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" - -namespace Gio -{ -Glib::RefPtr BufferedOutputStream::create_sized(const Glib::RefPtr& base_stream, gsize size) -{ - return Glib::RefPtr(new BufferedOutputStream(base_stream, size)); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/bufferedoutputstream.hg b/libs/glibmm2/gio/src/bufferedoutputstream.hg deleted file mode 100644 index e9c840de06..0000000000 --- a/libs/glibmm2/gio/src/bufferedoutputstream.hg +++ /dev/null @@ -1,58 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/filteroutputstream_p.h) - -namespace Gio -{ - -/** The buffered output stream implements FilterOutputStream and provides for buffered writes. - * By default, BufferedOutputStream's buffer size is set at 4 kilobytes, but you - * can specify this to the constructor. - * - * To get the size of a buffer within a buffered input stream, use get_buffer_size(). - * To change the size of a buffered output stream's buffer, use set_buffer_size(). - * Note that the buffer's size cannot be reduced below the size of the data within the buffer. - * - * @ingroup Streams - * - * @newin2p16 - */ -class BufferedOutputStream : public Gio::FilterOutputStream -{ - _CLASS_GOBJECT(BufferedOutputStream, GBufferedOutputStream, G_BUFFERED_OUTPUT_STREAM, Gio::FilterOutputStream, GFilterOutputStream) -protected: - _WRAP_CTOR(BufferedOutputStream(const Glib::RefPtr& base_stream), g_buffered_output_stream_new) - _WRAP_CTOR(BufferedOutputStream(const Glib::RefPtr& base_stream, gsize size), g_buffered_output_stream_new_sized) -public: - _WRAP_CREATE(const Glib::RefPtr& base_stream) - static Glib::RefPtr create_sized(const Glib::RefPtr& base_stream, gsize size); - - _WRAP_METHOD(gsize get_buffer_size() const, g_buffered_output_stream_get_buffer_size) - _WRAP_METHOD(void set_buffer_size(gsize size), g_buffered_output_stream_set_buffer_size) - - _WRAP_METHOD(void set_auto_grow(bool auto_grow=true), g_buffered_output_stream_set_auto_grow) - _WRAP_METHOD(bool get_auto_grow() const, g_buffered_output_stream_get_auto_grow) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/cancellable.ccg b/libs/glibmm2/gio/src/cancellable.ccg deleted file mode 100644 index 0d60a87ca9..0000000000 --- a/libs/glibmm2/gio/src/cancellable.ccg +++ /dev/null @@ -1,25 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/cancellable.hg b/libs/glibmm2/gio/src/cancellable.hg deleted file mode 100644 index 0f247af7d3..0000000000 --- a/libs/glibmm2/gio/src/cancellable.hg +++ /dev/null @@ -1,66 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -/** Allows actions to be cancelled. - * Cancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations. - * - * @newin2p16 - */ -class Cancellable : public Glib::Object -{ - _CLASS_GOBJECT(Cancellable, GCancellable, G_CANCELLABLE, Glib::Object, GObject) - -protected: - _CTOR_DEFAULT - -public: - _WRAP_CREATE() - - _WRAP_METHOD(bool is_cancelled() const, g_cancellable_is_cancelled) - - _IGNORE(g_cancellable_set_error_if_cancelled) - - //May return -1 if fds not supported, or on errors . - _WRAP_METHOD(int get_fd() const, g_cancellable_get_fd) - - //This is safe to call from another thread. - _WRAP_METHOD(void cancel(), g_cancellable_cancel) - - _WRAP_METHOD(static Glib::RefPtr get_current(), g_cancellable_get_current, refreturn) - - _WRAP_METHOD(void push_current(), - g_cancellable_push_current) - _WRAP_METHOD(void pop_current(), - g_cancellable_pop_current) - _WRAP_METHOD(void reset(), g_cancellable_reset) - - _WRAP_SIGNAL(void cancelled(), cancelled) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/datainputstream.ccg b/libs/glibmm2/gio/src/datainputstream.ccg deleted file mode 100644 index 13140aa63a..0000000000 --- a/libs/glibmm2/gio/src/datainputstream.ccg +++ /dev/null @@ -1,272 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guchar DataInputStream::read_byte() -#else -guchar DataInputStream::read_byte(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guchar retvalue = g_data_input_stream_read_byte(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint16 DataInputStream::read_int16() -#else -gint16 DataInputStream::read_int16(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint16 retvalue = g_data_input_stream_read_int16(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint16 DataInputStream::read_uint16() -#else -guint16 DataInputStream::read_uint16(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint16 retvalue = g_data_input_stream_read_uint16(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint32 DataInputStream::read_int32() -#else -gint32 DataInputStream::read_int32(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint32 retvalue = g_data_input_stream_read_int32(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint32 DataInputStream::read_uint32() -#else -guint32 DataInputStream::read_uint32(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint32 retvalue = g_data_input_stream_read_uint32(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gint64 DataInputStream::read_int64() -#else -gint64 DataInputStream::read_int64(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint64 retvalue = g_data_input_stream_read_int64(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -guint64 DataInputStream::read_uint64() -#else -guint64 DataInputStream::read_uint64(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint64 retvalue = g_data_input_stream_read_uint64(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_line(std::string& line, const Glib::RefPtr& cancellable) -#else -bool DataInputStream::read_line(std::string& line, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_line = g_data_input_stream_read_line(gobj(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - cancellable->gobj(), - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_line) { - line = c_line; - g_free (c_line); - return true; - } - // end of stream reached, return failure status - return false; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_line(std::string& line) -#else -bool DataInputStream::read_line(std::string& line, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_line = g_data_input_stream_read_line(gobj(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - NULL, - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_line) { - line = c_line; - g_free(c_line); - return true; - } - // end of stream reached, return failure status - return false; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable) -#else -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_str = g_data_input_stream_read_until(gobj(), - stop_chars.c_str(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - cancellable->gobj(), - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_str) { - data = c_str; - g_free (c_str); - return true; - } - // end of stream reached, return failure status - return false; -} - -/** non-cancellable version of read_until() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars) -#else -bool DataInputStream::read_until(std::string& data, const std::string& stop_chars, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char* c_str = g_data_input_stream_read_until(gobj(), - stop_chars.c_str(), - NULL, // pass NULL since we can easily determine the length from the returned std::string - NULL, - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - if (c_str) { - data = c_str; - g_free (c_str); - return true; - } - // end of stream reached, return failure status - return false; -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/datainputstream.hg b/libs/glibmm2/gio/src/datainputstream.hg deleted file mode 100644 index b59f9cb310..0000000000 --- a/libs/glibmm2/gio/src/datainputstream.hg +++ /dev/null @@ -1,160 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/bufferedinputstream_p.h) - -namespace Gio -{ - -/** - * An implementation of BufferedInputStream that allows for high-level data - * manipulation of arbitrary data (including binary operations). - * - * @ingroup Streams - * - * @newin2p16 - */ -class DataInputStream : public Gio::BufferedInputStream -{ - _CLASS_GOBJECT(DataInputStream, GDataInputStream, G_DATA_INPUT_STREAM, Gio::BufferedInputStream, GBufferedInputStream) - -protected: - _WRAP_CTOR(DataInputStream(const Glib::RefPtr& base_stream), g_data_input_stream_new) - -public: - - _WRAP_CREATE(const Glib::RefPtr& base_stream) - - _WRAP_METHOD(void set_byte_order(DataStreamByteOrder order), g_data_input_stream_set_byte_order) - _WRAP_METHOD(DataStreamByteOrder get_byte_order() const, g_data_input_stream_get_byte_order) - _WRAP_METHOD(void set_newline_type(DataStreamNewlineType type), g_data_input_stream_set_newline_type) - _WRAP_METHOD(DataStreamNewlineType get_newline_type() const, g_data_input_stream_get_newline_type) - - _WRAP_METHOD(guchar read_byte(const Glib::RefPtr& cancellable), g_data_input_stream_read_byte, errthrow) - - /** non-cancellable version of read_byte() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guchar read_byte(); -#else - guchar read_byte(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(gint16 read_int16(const Glib::RefPtr& cancellable), g_data_input_stream_read_int16, errthrow) - /** non-cancellable version of read_int16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint16 read_int16(); -#else - gint16 read_int16(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(guint16 read_uint16(const Glib::RefPtr& cancellable), g_data_input_stream_read_uint16, errthrow) - -//TODO: Real documentation: - /** non-cancellable version of read_uint16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint16 read_uint16(); -#else - guint16 read_uint16(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(gint32 read_int32(const Glib::RefPtr& cancellable), g_data_input_stream_read_int32, errthrow) - - /** non-cancellable version of read_int32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint32 read_int32(); -#else - gint32 read_int32(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(guint32 read_uint32(const Glib::RefPtr& cancellable), g_data_input_stream_read_uint32, errthrow) - /** non-cancellable version of read_uint32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint32 read_uint32(); -#else - guint32 read_uint32(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(gint64 read_int64(const Glib::RefPtr& cancellable), g_data_input_stream_read_int64, errthrow) - /** non-cancellable version of read_int64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - gint64 read_int64(); -#else - gint64 read_int64(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(guint64 read_uint64(const Glib::RefPtr& cancellable), g_data_input_stream_read_uint64, errthrow) - - /** non-cancellable version of read_uint64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - guint64 read_uint64(); -#else - guint64 read_uint64(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _IGNORE(g_data_input_stream_read_line) - - // FIXME: In C, these functions return NULL if there is an error (i.e. end of - // stream reached), but if we use std::string, we don't have a way to tell an - // empty string from NULL. Perhaps we should use raw pointers as in C, but - // that would mean we need to worry about freeing the C string... -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_line(std::string& line, const Glib::RefPtr& cancellable); -#else - bool read_line(std::string& line, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_line() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_line(std::string& line); -#else - bool read_line(std::string& line, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _IGNORE(g_data_input_stream_read_until) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable); -#else - bool read_until(std::string& data, const std::string& stop_chars, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** non-cancellable version of read_until() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_until(std::string& data, const std::string& stop_chars); -#else - bool read_until(std::string& data, const std::string& stop_chars, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/dataoutputstream.ccg b/libs/glibmm2/gio/src/dataoutputstream.ccg deleted file mode 100644 index e10d40bbce..0000000000 --- a/libs/glibmm2/gio/src/dataoutputstream.ccg +++ /dev/null @@ -1,180 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_byte(guchar data) -#else -bool DataOutputStream::put_byte(guchar data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guchar retvalue = g_data_output_stream_put_byte(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int16(gint16 data) -#else -bool DataOutputStream::put_int16(gint16 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint16 retvalue = g_data_output_stream_put_int16(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint16(guint16 data) -#else -bool DataOutputStream::put_uint16(guint16 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint16 retvalue = g_data_output_stream_put_uint16(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int32(gint32 data) -#else -bool DataOutputStream::put_int32(gint32 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint32 retvalue = g_data_output_stream_put_int32(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint32(guint32 data) -#else -bool DataOutputStream::put_uint32(guint32 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint32 retvalue = g_data_output_stream_put_uint32(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_int64(gint64 data) -#else -bool DataOutputStream::put_int64(gint64 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gint64 retvalue = g_data_output_stream_put_int64(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_uint64(guint64 data) -#else -bool DataOutputStream::put_uint64(guint64 data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - guint64 retvalue = g_data_output_stream_put_uint64(gobj(), data, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool DataOutputStream::put_string(std::string str) -#else -bool DataOutputStream::put_string(std::string str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retval = g_data_output_stream_put_string(gobj(), - str.c_str (), - NULL, - &gerror); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - return retval; -} - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/dataoutputstream.hg b/libs/glibmm2/gio/src/dataoutputstream.hg deleted file mode 100644 index c1b75ec20a..0000000000 --- a/libs/glibmm2/gio/src/dataoutputstream.hg +++ /dev/null @@ -1,130 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/bufferedoutputstream_p.h) - -namespace Gio -{ - -/** - * An implementation of BufferedOutputStream that allows for high-level data - * manipulation of arbitrary data (including binary operations). - * - * @ingroup Streams - * - * @newin2p16 - */ -class DataOutputStream : public Gio::BufferedOutputStream -{ - _CLASS_GOBJECT(DataOutputStream, GDataOutputStream, G_DATA_OUTPUT_STREAM, Gio::BufferedOutputStream, GBufferedOutputStream) - -protected: - _WRAP_CTOR(DataOutputStream(const Glib::RefPtr& base_stream), g_data_output_stream_new) - -public: - - _WRAP_CREATE(const Glib::RefPtr& base_stream) - - _WRAP_METHOD(void set_byte_order(DataStreamByteOrder order), g_data_output_stream_set_byte_order) - _WRAP_METHOD(DataStreamByteOrder get_byte_order() const, g_data_output_stream_get_byte_order) - - _WRAP_METHOD(bool put_byte(guchar data, const Glib::RefPtr& cancellable), g_data_output_stream_put_byte, errthrow) - - /** non-cancellable version of put_byte() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_byte(guchar data); -#else - bool put_byte(guchar data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_int16(gint16 data, const Glib::RefPtr& cancellable), g_data_output_stream_put_int16, errthrow) - /** non-cancellable version of put_int16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int16(gint16 data); -#else - bool put_int16(gint16 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_uint16(guint16 data, const Glib::RefPtr& cancellable), g_data_output_stream_put_uint16, errthrow) - /** non-cancellable version of put_uint16() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint16(guint16 data); -#else - bool put_uint16(guint16 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_int32(gint32 data, const Glib::RefPtr& cancellable), g_data_output_stream_put_int32, errthrow) - - /** non-cancellable version of put_int32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int32(gint32 data); -#else - bool put_int32(gint32 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_uint32(guint32 data, const Glib::RefPtr& cancellable), g_data_output_stream_put_uint32, errthrow) - /** non-cancellable version of put_uint32() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint32(guint32 data); -#else - bool put_uint32(guint32 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_int64(gint64 data, const Glib::RefPtr& cancellable), g_data_output_stream_put_int64, errthrow) - /** non-cancellable version of put_int64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_int64(gint64 data); -#else - bool put_int64(gint64 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_uint64(guint64 data, const Glib::RefPtr& cancellable), g_data_output_stream_put_uint64, errthrow) - - /** non-cancellable version of put_uint64() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_uint64(guint64 data); -#else - bool put_uint64(guint64 data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool put_string(std::string str, const Glib::RefPtr& cancellable), g_data_output_stream_put_string, errthrow) - - /** non-cancellable version of put_string() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool put_string(std::string str); -#else - bool put_string(std::string str, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/desktopappinfo.ccg b/libs/glibmm2/gio/src/desktopappinfo.ccg deleted file mode 100644 index efbb851529..0000000000 --- a/libs/glibmm2/gio/src/desktopappinfo.ccg +++ /dev/null @@ -1,21 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include diff --git a/libs/glibmm2/gio/src/desktopappinfo.hg b/libs/glibmm2/gio/src/desktopappinfo.hg deleted file mode 100644 index 97ae1239e3..0000000000 --- a/libs/glibmm2/gio/src/desktopappinfo.hg +++ /dev/null @@ -1,55 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -/** - * DesktopAppInfo is an implementation of AppInfo based on desktop files. - * - * @newin2p16 - */ -class DesktopAppInfo -: public Glib::Object, - public AppInfo -{ - _CLASS_GOBJECT(DesktopAppInfo, GDesktopAppInfo, G_DESKTOP_APP_INFO, Glib::Object, GObject) - _IMPLEMENTS_INTERFACE(AppInfo) - _GTKMMPROC_WIN32_NO_WRAP - -protected: - _WRAP_CTOR(DesktopAppInfo(const std::string& desktop_id), g_desktop_app_info_new) - -public: - _WRAP_CREATE(const std::string& desktop_id) - - //TODO: Use _WRAP_CREATE(), but how do we override the constructor for this? murrayc. - _WRAP_METHOD(static Glib::RefPtr create_from_filename(const std::string& filename), g_desktop_app_info_new_from_filename) - - _WRAP_METHOD(bool is_hidden() const, g_desktop_app_info_get_is_hidden) - _WRAP_METHOD(static void set_desktop_env(const std::string& desktop_env), g_desktop_app_info_set_desktop_env) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/drive.ccg b/libs/glibmm2/gio/src/drive.ccg deleted file mode 100644 index 6066770807..0000000000 --- a/libs/glibmm2/gio/src/drive.ccg +++ /dev/null @@ -1,100 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -void Drive::eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_eject(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::eject(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_eject(gobj(), - static_cast(flags), - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::eject(MountUnmountFlags flags) -{ - g_drive_eject(gobj(), - static_cast(flags), - NULL, // cancellable - NULL, - NULL); -} - -void Drive::poll_for_media(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_poll_for_media(gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::poll_for_media(const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_drive_poll_for_media(gobj(), - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void Drive::poll_for_media() -{ - g_drive_poll_for_media(gobj(), - NULL, // cancellable - NULL, - NULL); -} - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/drive.hg b/libs/glibmm2/gio/src/drive.hg deleted file mode 100644 index 7d875dac60..0000000000 --- a/libs/glibmm2/gio/src/drive.hg +++ /dev/null @@ -1,161 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -//#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GDriveIface GDriveIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -namespace Gio -{ - -/** Virtual File System drive management. - * - * This represent a piece of hardware connected to the machine. It's generally only created for removable hardware or hardware with removable media. - * Gio::Drive is a container class for Gio::Volume objects that stem from the same piece of media. As such, Gio::Drive abstracts a drive with - * (or without) removable media and provides operations for querying whether media is available, determing whether media change is automatically - * detected and ejecting the media. - * - * If the Gio::Drive reports that media isn't automatically detected, one can poll for media; typically one should not do this periodically as a - * poll for media operation is potententially expensive and may spin up the drive, creating noise. - * - * @newin2p16 - */ -class Drive : public Glib::Interface -{ - _CLASS_INTERFACE(Drive, GDrive, G_DRIVE, GDriveIface) -public: - - _WRAP_METHOD(Glib::ustring get_name() const, g_drive_get_name) - - _WRAP_METHOD(Glib::RefPtr get_icon(), g_drive_get_icon, refreturn) - _WRAP_METHOD(Glib::RefPtr get_icon() const, g_drive_get_icon, refreturn, constversion) - - _WRAP_METHOD(bool has_volumes() const, g_drive_has_volumes) - -#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') - _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr > get_volumes(), g_drive_get_volumes) - - _WRAP_METHOD(bool is_media_removable() const, g_drive_is_media_removable) - _WRAP_METHOD(bool has_media() const, g_drive_has_media) - _WRAP_METHOD(bool is_media_check_automatic() const, g_drive_is_media_check_automatic) - _WRAP_METHOD(bool can_poll_for_media() const, g_drive_can_poll_for_media) - _WRAP_METHOD(bool can_eject() const, g_drive_can_eject) - - /** Ejects the drive. - * @param slot A callback which will be called when the eject is completed or canceled. - * @param flags Flags affecting the unmount if required for eject. - * @param cancellable A cancellable object which can be used to cancel the eject. - */ - void eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects the drive. - * @param slot A callback which will be called when the eject is completed. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - _IGNORE(g_drive_eject) - - /** Ejects the drive. - * @param slot A callback which will be called when the eject is completed. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - _WRAP_METHOD(bool eject_finish(const Glib::RefPtr& result), - g_drive_eject_finish, - errthrow) - - /** Polls drive to see if media has been inserted or removed. - * @param slot A callback which will be called when the poll is completed. - * @param cancellable A cancellable object which can be used to cancel the operation. - */ - void poll_for_media(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable); - - /** Polls drive to see if media has been inserted or removed. - * @param slot A callback which will be called when the poll is completed. - */ - void poll_for_media(const SlotAsyncReady& slot); - - /** Polls drive to see if media has been inserted or removed. - */ - void poll_for_media(); - _IGNORE(g_drive_poll_for_media) - - _WRAP_METHOD(bool poll_for_media_finish(const Glib::RefPtr& result), - g_drive_poll_for_media_finish, - errthrow) - - _WRAP_METHOD(std::string get_identifier(const std::string& kind) const, g_drive_get_identifier) - _WRAP_METHOD(Glib::StringArrayHandle enumerate_identifiers() const, g_drive_enumerate_identifiers) - - //_WRAP_VFUNC(Glib::ustring get_name() const, get_name) - //Careful of ref-counting: //_WRAP_VFUNC(Glib::RefPtr get_icon() const, get_icon) - //_WRAP_VFUNC(bool has_volumes() const, has_volumes) -}; - -} // namespace Gio - -namespace Glib -{ - -//Pre-declare this so we can use it in TypeTrait: -Glib::RefPtr wrap(GDrive* object, bool take_copy); - -namespace Container_Helpers -{ - -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), - * instead of a specific Glib::wrap(GSomeInterface*), - * would not return a wrapper for an interface. - */ -template <> -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef GDrive* CType; - typedef GDrive* CTypeNonConst; - - static CType to_c_type (const CppType& item) - { return Glib::unwrap (item); } - - static CppType to_cpp_type (const CType& item) - { - //Use a specific Glib::wrap() function, - //because CType has the specific type (not just GObject): - return Glib::wrap(item, true /* take_copy */); - } - - static void release_c_type (CType item) - { - GLIBMM_DEBUG_UNREFERENCE(0, item); - g_object_unref(item); - } -}; - -} // Container_Helpers -} // Glib diff --git a/libs/glibmm2/gio/src/enums.ccg b/libs/glibmm2/gio/src/enums.ccg deleted file mode 100644 index dbdc988aef..0000000000 --- a/libs/glibmm2/gio/src/enums.ccg +++ /dev/null @@ -1,19 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - diff --git a/libs/glibmm2/gio/src/enums.hg b/libs/glibmm2/gio/src/enums.hg deleted file mode 100644 index f5e9a24526..0000000000 --- a/libs/glibmm2/gio/src/enums.hg +++ /dev/null @@ -1,31 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -_DEFS(giomm,gio) - -namespace Gio -{ - -_WRAP_ENUM(DataStreamByteOrder, GDataStreamByteOrder, NO_GTYPE) -_WRAP_ENUM(DataStreamNewlineType, GDataStreamNewlineType, NO_GTYPE) - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/error.ccg b/libs/glibmm2/gio/src/error.ccg deleted file mode 100644 index 1c2ab639f4..0000000000 --- a/libs/glibmm2/gio/src/error.ccg +++ /dev/null @@ -1,25 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/error.hg b/libs/glibmm2/gio/src/error.hg deleted file mode 100644 index e33ace3748..0000000000 --- a/libs/glibmm2/gio/src/error.hg +++ /dev/null @@ -1,52 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -// There have been issues with other libraries defining HOST_NOT_FOUND (e.g. -// netdb.h). As a workaround, we added the alternate name HOST_WAS_NOT_FOUND. -// Portable code should not use HOST_NOT_FOUND. Undefining it here (and -// restoring it below) will allow programs to compile even if they include -// netdb.h. See Bug #529496 -#ifdef HOST_NOT_FOUND -#define GIOMM_SAVED_HOST_NOT_FOUND HOST_NOT_FOUND -#undef HOST_NOT_FOUND -#endif // HOST_NOT_FOUND - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -namespace Gio -{ - -//Note that GIOErrorEnum is not named GIOError in gio because there is already a GIOError in glib, -//But we can have both Glib::Error and Gio::Error in C++. - -/** Exception class for giomm errors. - */ -_WRAP_GERROR(Error, GIOErrorEnum, G_IO_ERROR, NO_GTYPE) - - -} // namespace Gio - -#ifdef GIOMM_SAVED_HOST_NOT_FOUND -// restore the previously-defined HOST_NOT_FOUND macro -#define HOST_NOT_FOUND GIOMM_SAVED_HOST_NOT_FOUND -#undef GIOMM_SAVED_HOST_NOT_FOUND -#endif // GIOMM_SAVED_HOST_NOT_FOUND diff --git a/libs/glibmm2/gio/src/file.ccg b/libs/glibmm2/gio/src/file.ccg deleted file mode 100644 index c1b0835842..0000000000 --- a/libs/glibmm2/gio/src/file.ccg +++ /dev/null @@ -1,2125 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include "slot_async.h" - -namespace -{ - -typedef std::pair LoadPartialSlots; - -static void -SignalProxy_file_progress_callback(goffset current_num_bytes, - goffset total_num_bytes, - gpointer data) -{ - Gio::File::SlotFileProgress* the_slot = static_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - - (*the_slot)(current_num_bytes, total_num_bytes); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete the_slot; -} - -static gboolean -SignalProxy_load_partial_contents_read_more_callback(const char* file_contents, goffset file_size, gpointer data) -{ - LoadPartialSlots* slot_pair = static_cast(data); - Gio::File::SlotReadMore* the_slot = slot_pair->first; - - bool result = false; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - - result = (*the_slot)(file_contents, file_size); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return result; -} - -// Same as SignalProxy_async_callback, except that this one knows that -// the slot is packed in a pair. The operation is assumed to be finished -// after the callback is triggered, so we delete that pair here. -static void -SignalProxy_load_partial_contents_ready_callback(GObject*, GAsyncResult* res, void* data) -{ - LoadPartialSlots* slot_pair = static_cast(data); - Gio::SlotAsyncReady* the_slot = slot_pair->second; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr result = Glib::wrap(res, true /* take copy */); - (*the_slot)(result); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete the_slot; - delete slot_pair->first; // read_more slot - delete slot_pair; -} - -} // anonymous namespace - -namespace Gio { - -Glib::RefPtr -File::create_for_path(const std::string& path) -{ - GFile* cfile = g_file_new_for_path(path.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -Glib::RefPtr -File::create_for_uri(const std::string& uri) -{ - GFile* cfile = g_file_new_for_uri(uri.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -Glib::RefPtr -File::create_for_commandline_arg(const std::string& arg) -{ - GFile* cfile = g_file_new_for_commandline_arg(arg.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -Glib::RefPtr -File::create_for_parse_name(const Glib::ustring& parse_name) -{ - GFile* cfile = g_file_parse_name(parse_name.c_str()); - return Glib::wrap(G_FILE(cfile)); -} - -void -File::read_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_read_async(gobj(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::read_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_read_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::append_to_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_append_to_async(gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::append_to_async(const SlotAsyncReady& slot, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_append_to_async(gobj(), - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -File::create_file_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_create_async(gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::create_file_async(const SlotAsyncReady& slot, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_create_async(gobj(), - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_async(gobj(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_async(const SlotAsyncReady& slot, const std::string& etag, bool make_backup, FileCreateFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_async(gobj(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags) const -#else -Glib::RefPtr File::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_info(const_cast(gobj()), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_info(const std::string& attributes, FileQueryInfoFlags flags) const -#else -Glib::RefPtr File::query_info(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_info(const_cast(gobj()), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -bool File::query_exists() const -{ - return g_file_query_exists(const_cast(gobj()), NULL); -} - -FileType File::query_file_type(FileQueryInfoFlags flags) const -{ - return (FileType)g_file_query_file_type(const_cast(gobj()), (GFileQueryInfoFlags)flags, NULL); -} - -void -File::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_info_async(const_cast(gobj()), - attributes.c_str(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::query_info_async(const SlotAsyncReady& slot, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_info_async(const_cast(gobj()), - attributes.c_str(), - static_cast(flags), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes) -#else -Glib::RefPtr File::query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_filesystem_info(gobj(), attributes.c_str(), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_filesystem_info(const std::string& attributes) -#else -Glib::RefPtr File::query_filesystem_info(const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_filesystem_info(gobj(), attributes.c_str(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -File::query_filesystem_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_filesystem_info_async(const_cast(gobj()), - attributes.c_str(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::query_filesystem_info_async(const SlotAsyncReady& slot, const std::string& attributes, int io_priority) const -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_query_filesystem_info_async(const_cast(gobj()), - attributes.c_str(), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags) -#else -Glib::RefPtr File::enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerate_children(gobj(), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::enumerate_children(const std::string& attributes, FileQueryInfoFlags flags) -#else -Glib::RefPtr File::enumerate_children(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerate_children(gobj(), attributes.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -File::enumerate_children_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerate_children_async(gobj(), - attributes.c_str(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::enumerate_children_async(const SlotAsyncReady& slot, const std::string& attributes, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerate_children_async(gobj(), - attributes.c_str(), - static_cast(flags), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::set_display_name(const Glib::ustring& display_name) -#else -Glib::RefPtr File::set_display_name(const Glib::ustring& display_name, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_set_display_name(gobj(), display_name.c_str(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void -File::set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_display_name_async(gobj(), - display_name.c_str(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_display_name_async(gobj(), - display_name.c_str(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags) -#else -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_copy(gobj(), - destination->gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags) -#else -bool -File::copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_copy(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy(const Glib::RefPtr& destination, FileCopyFlags flags) -#else -bool -File::copy(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res = g_file_copy(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotFileProgress& slot_progress, - const SlotAsyncReady& slot_ready, - const Glib::RefPtr& cancellable, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - SlotFileProgress* slot_progress_copy = new SlotFileProgress(slot_progress); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_file_progress_callback, - slot_progress_copy, - &SignalProxy_async_callback, - slot_ready_copy); -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotAsyncReady& slot_ready, - const Glib::RefPtr& cancellable, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - NULL, - NULL, - &SignalProxy_async_callback, - slot_ready_copy); -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotFileProgress& slot_progress, - const SlotAsyncReady& slot_ready, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - SlotFileProgress* slot_progress_copy = new SlotFileProgress(slot_progress); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - NULL, - &SignalProxy_file_progress_callback, - slot_progress_copy, - &SignalProxy_async_callback, - slot_ready_copy); -} - -void -File::copy_async(const Glib::RefPtr& destination, - const SlotAsyncReady& slot_ready, - FileCopyFlags flags, - int io_priority) -{ - // Create copies of slots. - // Pointers to them will be passed through the callbacks' data parameter - // and deleted in the corresponding callback. - SlotAsyncReady* slot_ready_copy = new SlotAsyncReady(slot_ready); - - g_file_copy_async(gobj(), - destination->gobj(), - static_cast(flags), - io_priority, - NULL, - NULL, - NULL, - &SignalProxy_async_callback, - slot_ready_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags) -#else -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a move of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_move(gobj(), - destination->gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags) -#else -bool -File::move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - // Create a move of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotFileProgress* slot_copy = new SlotFileProgress(slot); - - res = g_file_move(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - &SignalProxy_file_progress_callback, - slot_copy, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::move(const Glib::RefPtr& destination, FileCopyFlags flags) -#else -bool -File::move(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - res = g_file_move(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -void -File::set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_attributes_async(gobj(), - info->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, FileQueryInfoFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_set_attributes_async(gobj(), - info->gobj(), - static_cast(flags), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::set_attributes_finish(const Glib::RefPtr& result, - const Glib::RefPtr& info) -#else -bool -File::set_attributes_finish(const Glib::RefPtr& result, - const Glib::RefPtr& info, - std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - GFileInfo* cinfo = info->gobj(); - bool res; - - res = g_file_set_attributes_finish(gobj(), - result->gobj(), - &cinfo, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_string(gobj(), attribute.c_str(), value.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_byte_string(gobj(), attribute.c_str(), value.c_str(), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_uint32(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_int32(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_uint64(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags) -#else -bool File::set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attribute_int64(gobj(), attribute.c_str(), value, ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void File::mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_mountable(gobj(), - static_cast(flags), - mount_operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_mountable(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_mountable(const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_mountable(MountMountFlags flags) -{ - g_file_mount_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - NULL); -} - -void File::unmount_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_unmount_mountable(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::unmount_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_unmount_mountable(gobj(), - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::unmount_mountable(MountUnmountFlags flags) -{ - g_file_unmount_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - NULL); -} - -void File::mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - mount_operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_enclosing_volume(const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - NULL, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void File::mount_enclosing_volume(MountMountFlags flags) -{ - g_file_mount_enclosing_volume(gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - NULL); -} - -void -File::eject_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_eject_mountable(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::eject_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_eject_mountable(gobj(), - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::eject_mountable(MountUnmountFlags flags) -{ - g_file_eject_mountable(gobj(), - static_cast(flags), - NULL, - NULL, - NULL); -} - -void -File::load_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_load_contents_async(gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::load_contents_async(const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_load_contents_async(gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::load_partial_contents_async(const SlotReadMore& slot_read_more, const SlotAsyncReady& slot_async_ready, const Glib::RefPtr& cancellable) -{ - // Create a new pair which will hold copies of passed slots. - // This will be deleted in the SignalProxy_load_partial_contents_ready_callback() callback - LoadPartialSlots* slots = new LoadPartialSlots(); - SlotReadMore* slot_read_more_copy = new SlotReadMore(slot_read_more); - SlotAsyncReady* slot_async_copy = new SlotAsyncReady(slot_async_ready); - - slots->first = slot_read_more_copy; - slots->second = slot_async_copy; - - g_file_load_partial_contents_async(gobj(), - cancellable->gobj(), - &SignalProxy_load_partial_contents_read_more_callback, - &SignalProxy_load_partial_contents_ready_callback, - slots); -} - -void -File::load_partial_contents_async(const SlotReadMore& slot_read_more, - const SlotAsyncReady& slot_async_ready) -{ - // Create a new pair which will hold copies of passed slots. - // This will be deleted in the SignalProxy_load_partial_contents_ready_callback() callback - LoadPartialSlots* slots = new LoadPartialSlots(); - SlotReadMore* slot_read_more_copy = new SlotReadMore(slot_read_more); - SlotAsyncReady* slot_async_copy = new SlotAsyncReady(slot_async_ready); - - slots->first = slot_read_more_copy; - slots->second = slot_async_copy; - - g_file_load_partial_contents_async(gobj(), - NULL, - &SignalProxy_load_partial_contents_read_more_callback, - &SignalProxy_load_partial_contents_ready_callback, - slots); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents, length, etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents, length, etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents.c_str(), contents.size(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags) -#else -void File::replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_etag_new = 0; - g_file_replace_contents(gobj(), contents.c_str(), contents.size(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), &c_etag_new, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_etag_new) - new_etag = c_etag_new; - else - new_etag = std::string(); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const Glib::RefPtr& cancellable, - const char* contents, - gsize length, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents, - length, - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const char* contents, - gsize length, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents, - length, - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const Glib::RefPtr& cancellable, - const std::string& contents, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents.c_str(), - contents.size(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -File::replace_contents_async(const SlotAsyncReady& slot, - const std::string& contents, - const std::string& etag, - bool make_backup, - FileCreateFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_replace_contents_async(gobj(), - contents.c_str(), - contents.size(), - etag.empty() ? NULL : etag.c_str(), - make_backup, - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents_finish(const Glib::RefPtr& result, std::string& new_etag) -#else -void File::replace_contents_finish(const Glib::RefPtr& result, std::string& new_etag, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* c_new_etag = 0; - g_file_replace_contents_finish(gobj(), Glib::unwrap(result), &c_new_etag, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(c_new_etag) - new_etag = c_new_etag; - else - new_etag = std::string(); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void File::replace_contents_finish(const Glib::RefPtr& result) -#else -void File::replace_contents_finish(const Glib::RefPtr& result, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - g_file_replace_contents_finish(gobj(), Glib::unwrap(result), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::replace(const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags) -#else -Glib::RefPtr File::replace(const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_replace(gobj(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::replace(const std::string& etag, bool make_backup, FileCreateFlags flags) -#else -Glib::RefPtr File::replace(const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_replace(gobj(), etag.empty() ? NULL : etag.c_str(), static_cast(make_backup), ((GFileCreateFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_directory(gobj(), ((GFileMonitorFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_directory(FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_directory(FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_directory(gobj(), ((GFileMonitorFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_file(gobj(), ((GFileMonitorFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor_file(FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor_file(FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor_file(gobj(), ((GFileMonitorFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor(gobj(), ((GFileMonitorFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::monitor(FileMonitorFlags flags) -#else -Glib::RefPtr File::monitor(FileMonitorFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_monitor(gobj(), ((GFileMonitorFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::read() -#else -Glib::RefPtr File::read(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_read(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void File::find_enclosing_mount_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_find_enclosing_mount_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void File::find_enclosing_mount_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_find_enclosing_mount_async(gobj(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags) -#else -bool File::set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attributes_from_info(gobj(), Glib::unwrap(info), ((GFileQueryInfoFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags) -#else -bool File::set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_set_attributes_from_info(gobj(), Glib::unwrap(info), ((GFileQueryInfoFlags)(flags)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags) -#else -bool -File::copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - res = g_file_copy_attributes(gobj(), - destination->gobj(), - static_cast(flags), - cancellable->gobj(), - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool -File::copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags) -#else -bool -File::copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error) -#endif // GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool res; - - res = g_file_copy_attributes(gobj(), - destination->gobj(), - static_cast(flags), - NULL, - &gerror); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if (gerror) - ::Glib::Error::throw_exception(gerror); -#else - if (gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return res; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags) -#else -Glib::RefPtr File::create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_create(gobj(), ((GFileCreateFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::create_file(FileCreateFlags flags) -#else -Glib::RefPtr File::create_file(FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_create(gobj(), ((GFileCreateFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::remove() -#else -bool File::remove(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_delete(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::trash() -#else -bool File::trash(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_trash(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_directory() -#else -bool File::make_directory(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_directory(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::make_symbolic_link(const std::string& symlink_value) -#else -bool File::make_symbolic_link(const std::string& symlink_value, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_make_symbolic_link(gobj(), symlink_value.c_str(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_settable_attributes() -#else -Glib::RefPtr File::query_settable_attributes(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_settable_attributes(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_writable_namespaces() -#else -Glib::RefPtr File::query_writable_namespaces(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_writable_namespaces(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags) -#else -Glib::RefPtr File::append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_append_to(gobj(), ((GFileCreateFlags)(flags)), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::append_to(FileCreateFlags flags) -#else -Glib::RefPtr File::append_to(FileCreateFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_append_to(gobj(), ((GFileCreateFlags)(flags)), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::find_enclosing_mount() -#else -Glib::RefPtr File::find_enclosing_mount(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_find_enclosing_mount(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr File::query_default_handler() -#else -Glib::RefPtr File::query_default_handler(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_query_default_handler(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_contents(gobj(), Glib::unwrap(cancellable), &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_contents(char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_contents(char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_contents(gobj(), NULL, &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_contents_finish(gobj(), Glib::unwrap(result), &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool File::load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out) -#else -bool File::load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gchar* cetag_out = 0; - bool retvalue = g_file_load_partial_contents_finish(gobj(), Glib::unwrap(result), &contents, &(length), &cetag_out, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - etag_out = Glib::convert_return_gchar_ptr_to_stdstring(cetag_out); - - return retvalue; -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/file.hg b/libs/glibmm2/gio/src/file.hg deleted file mode 100644 index 7fa3093a37..0000000000 --- a/libs/glibmm2/gio/src/file.hg +++ /dev/null @@ -1,2107 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include //Because this is thrown by some of these methods. -//#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GFileIface GFileIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -namespace Gio -{ - -class Mount; -class Volume; - -_WRAP_ENUM(FileQueryInfoFlags, GFileQueryInfoFlags, NO_GTYPE) -_WRAP_ENUM(FileCreateFlags, GFileCreateFlags, NO_GTYPE) -_WRAP_ENUM(FileCopyFlags, GFileCopyFlags, NO_GTYPE) -_WRAP_ENUM(FileMonitorFlags, GFileMonitorFlags, NO_GTYPE) -_WRAP_ENUM(MountUnmountFlags, GMountUnmountFlags, NO_GTYPE) -_WRAP_ENUM(MountMountFlags, GMountMountFlags, NO_GTYPE) - -/** File and directory handling. - * Gio::File is a high level abstraction for manipulating files on a virtual file system. Gio::Files are lightweight, immutable objects that do no - * I/O upon creation. It is necessary to understand that a Gio::File object does not represent a file, merely a handle to a file. All file I/O is - * implemented as streaming operations (see Gio::InputStream and Gio::OutputStream). - * - * A GioFile can be constructed from a path, URI, or a command line argument. - * - * You can move through the filesystem with Gio::File handles with get_parent() to get a handle to the parent directory, - * get_child() to get a handle to a child within a directory, and resolve_relative_path() to resolve a relative path between two Gio::Files. - * - * Many Gio::File operations have both synchronous and asynchronous versions to suit your application. Asynchronous versions of synchronous - * functions simply have _async() appended to their function names. The asynchronous I/O functions call a SlotAsyncReady callback slot which is - * then used to finalize the operation, producing a AsyncResult which is then passed to the function's matching _finish() operation. - * - * Some Gio::File operations do not have synchronous analogs, as they may take a very long time to finish, and blocking may leave an application - * unusable. Notable cases include: mount_mountable() to mount a mountable file, unmount_mountable() to unmount a mountable file, - * and eject_mountable() to eject a mountable file. - * - * One notable feature of Gio::Files are entity tags, or "etags" for short. Entity tags are somewhat like a more abstract version of the - * traditional mtime, and can be used to quickly determine if the file has been modified from the version on the file system. - * See the HTTP 1.1 specification for HTTP Etag headers, which are a very similar concept. - * - * @newin2p16 - */ -class File : public Glib::Interface -{ - _CLASS_INTERFACE(File, GFile, G_FILE, GFileIface) - -public: - - - - - _IGNORE(g_file_icon_new) //g_file_icon_new is not a GFile method. - - // Although this is an interface, it is possible to create objects using - // its static create* members. In the implementation, these would lead - // to functions of the default GVfs implementation, which, in case of - // this class' create methods, would rely on concrete GFile implementations - // such as GLocalFile and GDummyFile. - - /** Constructs a File for a given path. - * This operation never fails, but the returned object might not support any I/O operation if path is malformed. - * - * @param path A string containing a relative or absolute path. - * @result A new instantiation of an appropriate Gio::File class. - */ - static Glib::RefPtr create_for_path(const std::string& path); - _IGNORE(g_file_new_for_path) - - /** Constructs a File for a given URI. - * This operation never fails, but the returned object might not support any I/O operation if path is malformed. - * - * @param uri A string containing a URI. - * @result A new instantiation of an appropriate Gio::File class. - */ - static Glib::RefPtr create_for_uri(const std::string& uri); - _IGNORE(g_file_new_for_uri) - - /** Constructs a File for a given argument from the command line. - * The value of @a arg can be either a URI, an absolute path or a relative path resolved relative to the current working directory. - * This operation never fails, but the returned object might not support any I/O operation if arg points to a malformed path. - * - * @param arg A string containing a relative or absolute path. - * @result A new instantiation of an appropriate Gio::File class. - */ - static Glib::RefPtr create_for_commandline_arg(const std::string& arg); - _IGNORE(g_file_new_for_commandline_arg) - - // parse_name is a UTF8-guaranteed "nice" string that can both - // be resolved to a GFile (via create_for_parse_name) and put in - // e.g. a GtkEntry. In practice, it is either a UTF8-only absolute - // filename (if it starts with a /), or an IRI (i.e. a URI that allows - // UTF8-encoded unicode chars instead of escaping them). - static Glib::RefPtr create_for_parse_name(const Glib::ustring& parse_name); - _IGNORE(g_file_parse_name) - - _WRAP_METHOD(Glib::RefPtr dup() const, g_file_dup) - - // The method intended to be used for making hash tables - // (g_hash_table_new in C). - _WRAP_METHOD(guint hash() const, g_file_hash) - - //Not that the implementation of equal() is already virtual via equal_vfunc(). - _WRAP_METHOD(bool equal(const Glib::RefPtr& other) const, g_file_equal) - - _WRAP_METHOD(std::string get_basename() const, g_file_get_basename) - _WRAP_METHOD(std::string get_path() const, g_file_get_path) - _WRAP_METHOD(std::string get_uri() const, g_file_get_uri) - _WRAP_METHOD(Glib::ustring get_parse_name() const, g_file_get_parse_name) - - //Note that these return a reference (usually new instances, - //so we don't need to use refreturn. - - //TODO: Do we need const and unconst versions of these get_*() methods, - //or do we consider that the returned File cannot be used to change "this". - //murrayc. - _WRAP_METHOD(Glib::RefPtr get_parent() const, - g_file_get_parent) - - _WRAP_METHOD(Glib::RefPtr get_child(const std::string& name) const, - g_file_get_child) - - _WRAP_METHOD(Glib::RefPtr get_child_for_display_name(const Glib::ustring& display_name) const, - g_file_get_child_for_display_name, - errthrow) - - _WRAP_METHOD(bool has_prefix(const Glib::RefPtr& prefix) const, - g_file_has_prefix) - _WRAP_METHOD(std::string get_relative_path(const Glib::RefPtr& descendant) const, - g_file_get_relative_path) - _WRAP_METHOD(Glib::RefPtr resolve_relative_path(const std::string& relative_path) const, - g_file_resolve_relative_path) - _WRAP_METHOD(bool is_native() const, g_file_is_native) - _WRAP_METHOD(bool has_uri_scheme(const std::string& uri_scheme) const, - g_file_has_uri_scheme) - - _WRAP_METHOD(std::string get_uri_scheme() const, g_file_get_uri_scheme) - - //TODO: We don't have both const and unconst versions because a FileInputStream can't really change the File. - _WRAP_METHOD(Glib::RefPtr read(const Glib::RefPtr& cancellable), - g_file_read, - refreturn, errthrow) - - /** Opens a file for reading. The result is a FileInputStream that - * can be used to read the contents of the file. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is a directory, a Gio::Error with IS_DIRECTORY will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @return FileInputStream or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr read(); - #else - Glib::RefPtr read(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Asynchronously opens the file for reading. - * For more details, see read() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call read_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param io_priority The I/O priority of the request. - */ - void read_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously opens the file for reading. - * For more details, see read() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call read_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void read_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_read_async) - - _WRAP_METHOD(Glib::RefPtr read_finish(const Glib::RefPtr& result), - g_file_read_finish, - refreturn, errthrow) - - - /** Gets an output stream for appending data to the file. If - * the file doesn't already exist it is created. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME. - * If the file is a directory a Gio::Error with IS_DIRECTORY will be - * thrown. Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * @param flags A set of FileCreateFlags. - * @param cancellable Optional Cancellable object. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr append_to(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Gets an output stream for appending data to the file. If - * the file doesn't already exist it is created. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME. - * If the file is a directory a Gio::Error with IS_DIRECTORY will be - * thrown. Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * @param flags A set of FileCreateFlags. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr append_to(FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr append_to(FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_append_to) - - //We renamed this to create_file from (g_file_create()), to avoid confusion with static create() methods, - //but I would still like to choose a different word, but can't think of a good one. murrayc. - - /** Creates a new file and returns an output stream for writing to it. - * The file must not already exists. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If a file with this name already exists a Gio::Error with EXISTS - * will be thrown. If the file is a directory a Gio::Error with IS_DIRECTORY - * will be thrown. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME, and if the name - * is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. - * Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags a set of FileCreateFlags. - * @return A FileOutputStream for the newly created file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr create_file(const Glib::RefPtr& cancellable, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Creates a new file and returns an output stream for writing to it. - * The file must not already exists. - * - * By default files created are generally readable by everyone, - * but if you pass FILE_CREATE_PRIVATE in @a flags the file - * will be made readable only to the current user, to the level that - * is supported on the target filesystem. - * - * If a file with this name already exists a Gio::Error with EXISTS - * will be thrown. If the file is a directory a Gio::Error with IS_DIRECTORY - * will be thrown. - * - * Some filesystems don't allow all filenames, and may - * throw a Gio::Error with INVALID_FILENAME, and if the name - * is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. - * Other errors are possible too, and depend on what kind of - * filesystem the file is on. - * - * @param flags a set of FileCreateFlags. - * @return A FileOutputStream for the newly created file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr create_file(FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr create_file(FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_create) - - - /** Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. - * This will try to replace the file in the safest way possible so that any errors during the writing will - * not affect an already existing copy of the file. For instance, for local files it may write to a - * temporary file and then atomically rename over the destination when the stream is closed. - * - * By default files created are generally readable by everyone, but if you pass FILE_CREATE_PRIVATE in - * @a flags the file will be made readable only to the current user, to the level that is supported on the - * target filesystem. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If you pass in an etag value, then this value is compared to the current entity tag of the file, - * and if they differ a Gio::Error with WRONG_ETAG will be thrown. This generally means that the file has - * been changed since you last read it. You can get the new etag from FileOutputStream::get_etag() - * after you've finished writing and closed the FileOutputStream. When you load a new file you can - * use FileInputStream::query_info() to get the etag of the file. - * - * If @a make_backup is true, this function will attempt to make a backup of the current file before - * overwriting it. If this fails aa Gio::Error with CANT_CREATE_BACKUP will be thrown. If you want to replace - * anyway, try again with @a make_backup set to false. - * - * If the file is a directory a Gio::Error with IS_DIRECTORY will be thrown, and if the file is some - * other form of non-regular file then aa Gio::Error with NOT_REGULAR_FILE will be thrown. Some file - * systems don't allow all file names, and may throw a Gio::Error with INVALID_FILENAME, and if the - * name is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. Other errors are possible too, and - * depend on what kind of filesystem the file is on. - * - * @param etag An optional entity tag for the current Glib::File. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr replace(const Glib::RefPtr& cancellable, const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr replace(const Glib::RefPtr& cancellable, const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. - * This will try to replace the file in the safest way possible so that any errors during the writing will - * not affect an already existing copy of the file. For instance, for local files it may write to a - * temporary file and then atomically rename over the destination when the stream is closed. - * - * By default files created are generally readable by everyone, but if you pass FILE_CREATE_PRIVATE in - * @a flags the file will be made readable only to the current user, to the level that is supported on the - * target filesystem. - * - * If you pass in an etag value, then this value is compared to the current entity tag of the file, - * and if they differ a Gio::Error with WRONG_ETAG will be thrown. This generally means that the file has - * been changed since you last read it. You can get the new etag from FileOutputStream::get_etag() - * after you've finished writing and closed the FileOutputStream. When you load a new file you can - * use FileInputStream::query_info() to get the etag of the file. - * - * If @a make_backup is true, this function will attempt to make a backup of the current file before - * overwriting it. If this fails aa Gio::Error with CANT_CREATE_BACKUP will be thrown. If you want to replace - * anyway, try again with @a make_backup set to false. - * - * If the file is a directory a Gio::Error with IS_DIRECTORY will be thrown, and if the file is some - * other form of non-regular file then aa Gio::Error with NOT_REGULAR_FILE will be thrown. Some file - * systems don't allow all file names, and may throw a Gio::Error with INVALID_FILENAME, and if the - * name is to longa Gio::Error with FILENAME_TOO_LONG will be thrown. Other errors are possible too, and - * depend on what kind of filesystem the file is on. - * - * @param etag An optional entity tag for the current Glib::File. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @return A FileOutputStream. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr replace(const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - Glib::RefPtr replace(const std::string& etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _IGNORE(g_file_replace) - - - /** Asynchronously opens the file for appending. - * For more details, see append_to() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call append_to_finish() to get the result of the operation. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void append_to_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously opens the file for appending. - * For more details, see append_to() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call append_to_finish() to get the result of the operation. - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void append_to_async(const SlotAsyncReady& slot, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_append_to_async) - - _WRAP_METHOD(Glib::RefPtr append_to_finish(const Glib::RefPtr& result), - g_file_append_to_finish, - refreturn, errthrow) - - - //We renamed this to create_file_async from (g_file_create_async()), to avoid confusion with static create() methods, - //but I would still like to choose a different word, but can't think of a good one. murrayc. See also create_file(). - - /** Asynchronously creates a new file and returns an output stream for writing to it. The file must not already exist. - * For more details, see create_file() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call create_file_finish() to get the result of the operation. - * - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void create_file_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously creates a new file and returns an output stream for writing to it. The file must not already exist. - * For more details, see create_file() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call create_file_finish() to get the result of the operation. - * - * @param flags a set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void create_file_async(const SlotAsyncReady& slot, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_create_async) - - _WRAP_METHOD(Glib::RefPtr create_file_finish(const Glib::RefPtr& result), - g_file_create_finish, - refreturn, errthrow) - - /** Asyncronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first. - * For more details, see replace() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call replace_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param etag An entity tag for the current Gio::File. - * @param make_backup true if a backup of the existing file should be made. - * @param flags A set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void replace_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asyncronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first. - * For more details, see replace() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call replace_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param etag An entity tag for the current Gio::File. - * @param make_backup true if a backup of the existing file should be made. - * @param flags A set of FileCreateFlags. - * @param io_priority The I/O priority of the request. - */ - void replace_async(const SlotAsyncReady& slot, const std::string& etag = std::string(), bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_replace_async) - - _WRAP_METHOD(Glib::RefPtr replace_finish(const Glib::RefPtr& result), - g_file_replace_finish, - refreturn, errthrow) - - /** Gets the requested information about the file. The result - * is a FileInfo object that contains key-value attributes (such as the type or size - * of the file). - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if it's not possible to read a particular - * requested attribute from a file - it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * For symlinks, normally the information about the target of the - * symlink is returned, rather than information about the symlink itself. - * However if you pass FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @a flags the - * information about the symlink itself will be returned. Also, for symlinks - * that point to non-existing files the information about the symlink itself - * will be returned. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * - * @param cancellable A Cancellable object. - * @param attributes: An attribute query string. - * @param flags: A set of FileQueryInfoFlags. - * @result a FileInfo for the file, or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE) const; - #else - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const; - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Gets the requested information about the file. The result - * is a FileInfo object that contains key-value attributes (such as the type or size - * of the file). - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if it's not possible to read a particular - * requested attribute from a file - it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - * - * For symlinks, normally the information about the target of the - * symlink is returned, rather than information about the symlink itself. - * However if you pass FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @a flags the - * information about the symlink itself will be returned. Also, for symlinks - * that point to non-existing files the information about the symlink itself - * will be returned. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * - * @param attributes: An attribute query string. - * @param flags: A set of FileQueryInfoFlags. - * @result a FileInfo for the file, or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE) const; - #else - Glib::RefPtr query_info(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error) const; - #endif //GLIBMM_EXCEPTIONS_ENABLED - - _IGNORE(g_file_query_info) - - _WRAP_METHOD(bool query_exists(const Glib::RefPtr& cancellable) const, g_file_query_exists) - - /** Utility function to check if a particular file exists. This is - * implemented using query_info() and as such does blocking I/O. - * - * Note that in many cases it is racy to first check for file existance - * and then execute something based on the outcome of that, because the - * file might have been created or removed inbetween the operations. The - * general approach to handling that is to not check, but just do the - * operation and handle the errors as they come. - * - * As an example of race-free checking, take the case of reading a file, and - * if it doesn't exist, creating it. There are two racy versions: read it, and - * on error create it; and: check if it exists, if not create it. These - * can both result in two processes creating the file (with perhaps a partially - * written file as the result). The correct approach is to always try to create - * the file with g_file_create() which will either atomically create the file - * or throw a Gio::Error with EXISTS. - * - * However, in many cases an existance check is useful in a user - * interface, for instance to make a menu item sensitive/insensitive, so that - * you don't have to fool users that something is possible and then just show - * and error dialog. If you do this, you should make sure to also handle the - * errors that can happen due to races when you execute the operation. - * - * @result true if the file exists (and can be detected without error), false otherwise (or if cancelled). - */ - bool query_exists() const; - - - _WRAP_METHOD(FileType query_file_type(FileQueryInfoFlags flags, const Glib::RefPtr& cancellable) const, g_file_query_file_type) - - /** Utility function to inspect the #GFileType of a file. This is - * implemented using query_info() and as such does blocking I/O. - * - * The primary use case of this method is to check if a file is a regular file, - * directory, or symlink. - * - * @param flags: a set of FileQueryInfoFlags passed to query_info(). - * @results The FileType of the file, or FILE_TYPE_UNKNOWN if the file does not exist. - * - * @newin2p18 - */ - FileType query_file_type(FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE) const; - - /** Asynchronously gets the requested information about specified file. The result is a FileInfo object that contains key-value attributes (such as type or size for the file). - * - * For more details, see query_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT) const; - - /** Asynchronously gets the requested information about specified file. The result is a FileInfo object that contains key-value attributes (such as type or size for the file). - * - * For more details, see query_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT) const; - _IGNORE(g_file_query_info_async) - - - _WRAP_METHOD(Glib::RefPtr query_info_finish(const Glib::RefPtr& result), - g_file_query_info_finish, - refreturn, errthrow) - - /** Similar to query_info(), but obtains information - * about the filesystem the file is on, rather than the file itself. - * For instance the amount of space availible and the type of - * the filesystem. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "fs:*" means all attributes in the fs - * namespace. The standard namespace for filesystem attributes is "fs". - * Common attributes of interest are FILE_ATTRIBUTE_FILESYSTEM_SIZE - * (the total size of the filesystem in bytes), FILE_ATTRIBUTE_FILESYSTEM_FREE (number of - * bytes availible), and FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @param cancellable A Cancellable object. - * @param attributes An attribute query string. - * @return A FileInfo or an empty RefPtr if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*"); -#else - Glib::RefPtr query_filesystem_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Similar to query_info(), but obtains information - * about the filesystem the file is on, rather than the file itself. - * For instance the amount of space availible and the type of - * the filesystem. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "fs:*" means all attributes in the fs - * namespace. The standard namespace for filesystem attributes is "fs". - * Common attributes of interest are FILE_ATTRIBUTE_FILESYSTEM_SIZE - * (the total size of the filesystem in bytes), FILE_ATTRIBUTE_FILESYSTEM_FREE (number of - * bytes availible), and FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - * - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * Other errors are possible too, and depend on what kind of filesystem the file is on. - * @param attributes An attribute query string. - * @return A FileInfo or an empty RefPtr if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_filesystem_info(const std::string& attributes = "*"); -#else - Glib::RefPtr query_filesystem_info(const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_query_filesystem_info) - - _WRAP_METHOD(Glib::RefPtr find_enclosing_mount(const Glib::RefPtr& cancellable), - g_file_find_enclosing_mount, retreturn, errthrow) - - - /** Asynchronously gets the requested information about the filesystem - * that the file is on. The result is a FileInfo object - * that contains key-value attributes (such as type or size for the - * file). - * - * For more details, see query_filesystem_info() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call query_filesystem_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes An attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_filesystem_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT) const; - - /** Asynchronously gets the requested information about the filesystem - * that the file is on. The result is a FileInfo object - * that contains key-value attributes (such as type or size for the - * file). - * - * For more details, see query_filesystem_info() which is the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call query_filesystem_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes An attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_filesystem_info_async(const SlotAsyncReady& slot, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT) const; - _IGNORE(g_file_query_filesystem_info_async) - - - _WRAP_METHOD(Glib::RefPtr query_filesystem_info_finish(const Glib::RefPtr& result), - g_file_query_filesystem_info_finish, - refreturn, errthrow) - - - /** Gets a Mount for the File. - * - * If the FileIface for the file does not have a mount (e.g. possibly a - * remote share), an Gio::Error wtih NOT_FOUND will be thrown and an empty RefPtr - * will be returned. - * - * @param cancellable Cancellable object. - * @return A Mount where the file is located. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr find_enclosing_mount(); -#else - Glib::RefPtr find_enclosing_mount(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously gets the mount for the file. - * - * For more details, see find_enclosing_mount() which is - * the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call - * find_enclosing_mount_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void find_enclosing_mount_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously gets the mount for the file. - * - * For more details, see find_enclosing_mount() which is - * the synchronous version of this call. - * - * When the operation is finished, @a slot will be called. You can then call - * find_enclosing_mount_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void find_enclosing_mount_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_find_enclosing_mount_async) - - _WRAP_METHOD(Glib::RefPtr find_enclosing_mount_finish(const Glib::RefPtr& result), - g_file_find_enclosing_mount_finish, refreturn, errthrow) - - - /** Gets the requested information about the files in a directory. The result - * is a FileEnumerator object that will give out FileInfo objects for - * all the files in the directory. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are availible as defines, like FILE_ATTRIBUTE_STANDARD_NAME. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is not a directory, a Glib::FileError with NOTDIR will be thrown. - * Other errors are possible too. - * - * @param cancellable A Cancellable object. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @return A FileEnumerator if successful. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - Glib::RefPtr enumerate_children(const Glib::RefPtr& cancellable, const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_enumerate_children) - - /** Gets the requested information about the files in a directory. The result - * is a FileEnumerator object that will give out FileInfo objects for - * all the files in the directory. - * - * The @a attribute value is a string that specifies the file attributes that - * should be gathered. It is not an error if its not possible to read a particular - * requested attribute from a file, it just won't be set. @a attribute should - * be a comma-separated list of attribute or attribute wildcards. The wildcard "*" - * means all attributes, and a wildcard like "standard::*" means all attributes in the standard - * namespace. An example attribute query be "standard::*,owner::user". - * The standard attributes are availible as defines, like FILE_ATTRIBUTE_STANDARD_NAME. - * - * If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. - * If the file is not a directory, a Glib::FileError with NOTDIR will be thrown. - * Other errors are possible too. - * - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @return A FileEnumerator if successful. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr enumerate_children(const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - Glib::RefPtr enumerate_children(const std::string& attributes, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_enumerate_children) - - - - /** Asynchronously gets the requested information about the files in a directory. The result is a GFileEnumerator object that will give out GFileInfo objects for all the files in the directory. - * - * For more details, see enumerate_children() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call enumerate_children_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void enumerate_children_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously gets the requested information about the files in a directory. The result is a GFileEnumerator object that will give out GFileInfo objects for all the files in the directory. - * - * For more details, see enumerate_children() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call enumerate_children_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes An attribute query string. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void enumerate_children_async(const SlotAsyncReady& slot, const std::string& attributes = "*", FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_enumerate_children_async) - - _WRAP_METHOD(Glib::RefPtr enumerate_children_finish(const Glib::RefPtr& result), - g_file_enumerate_children_finish, - errthrow) - - _WRAP_METHOD(Glib::RefPtr set_display_name(const Glib::ustring& display_name, const Glib::RefPtr& cancellable), - g_file_set_display_name, - refreturn, errthrow) - - /** Renames the file to the specified display name. - * - * The display name is converted from UTF8 to the correct encoding for the target - * filesystem if possible and the file is renamed to this. - * - * If you want to implement a rename operation in the user interface the edit name - * (G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the initial value in the rename - * widget, and then the result after editing should be passed to set_display_name(). - * - * On success the resulting converted filename is returned. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param display_name A string. - * @return A Glib::File specifying what the file was renamed to, or an empty RefPtr if there was an error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr set_display_name(const Glib::ustring& display_name); -#else - Glib::RefPtr set_display_name(const Glib::ustring& display_name, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Asynchronously sets the display name for a given Gio::File. For the synchronous version of this function, see set_display_name(). - * When the operation is finished, @a slot will be called. You can then call set_display_name_finish() to get the result of the operation. - * - * @param display_name A string. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param io_priority The I/O priority of the request. - */ - void set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously sets the display name for a given Gio::File. For the synchronous version of this function, see set_display_name(). - * When the operation is finished, @a slot will be called. You can then call set_display_name_finish() to get the result of the operation. - * - * @param display_name A string. - * @param slot A callback slot which will be called when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void set_display_name_async(const Glib::ustring& display_name, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_set_display_name_async) - - _WRAP_METHOD(Glib::RefPtr set_display_name_finish(const Glib::RefPtr& result), - g_file_set_display_name_finish, - errthrow) - - //TODO: remember to add the docs manually, as we name the method differently. - _WRAP_METHOD(bool remove(const Glib::RefPtr& cancellable), - g_file_delete, - errthrow) - - /** Deletes a file. - * - * @return true if the file was deleted. false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool remove(); -#else - bool remove(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool trash(const Glib::RefPtr& cancellable), - g_file_trash, - errthrow) - - /** Sends the file to the "Trashcan", if possible. This is similar to - * deleting it, but the user can recover it before emptying the trashcan. - * Not all filesystems support trashing, so this call can throw a Gio::Error - * with NOT_SUPPORTED. - * - * @return true on successful trash, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool trash(); -#else - bool trash(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** A signal handler would be, for instance: - * void on_file_progress(goffset current_num_bytes, goffset total_num_bytes); - */ - typedef sigc::slot SlotFileProgress; - - /** Copies the file source to the location specified by destination. Can not handle recursive copies of directories. - * If the flag FILE_COPY_OVERWRITE is specified an already existing destination file is overwritten. - * If the flag FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks will be copied as symlinks, otherwise the target of the source symlink will be copied. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The operation can be monitored via the @a slot callback. - * - * If the source file does not exist then a Gio::Error with NOT_FOUND will be thrown, independent on the status of the destination. - * - * If FILE_COPY_OVERWRITE is not specified and the target exists, then a Gio::Error with EXISTS will be thrown. - * - * If trying to overwrite a file over a directory a Gio::Error with IS_DIRECTORY will be thrown. - * If trying to overwrite a directory with a directory a Gio::Error with WOULD_MERGE will be thrown. - * - * If the source is a directory and the target does not exist, or FILE_COPY_OVERWRITE is specified and the target is a file, - * then a Gio::Error with WOULD_RECURSE will be thrown. - * - * If you are interested in copying the Gio::File object itself (not the on-disk file), see File::dup(). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error); -#endif - - //TODO: Documentation. -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error); -#endif - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy(const Glib::RefPtr& destination, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_copy) - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * The function specified by @a slot_progress will be called just like - * in copy(), however the callback will run in the main loop, not in - * the thread that is doing the I/O operation. - * - * @param destination Destination File - * @param slot_progress The callback slot to be called with progress information - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param cancellable A Cancellable object which can be used to cancel the operation - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotFileProgress& slot_progress, const SlotAsyncReady& slot_ready, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * @param destination Destination File - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param cancellable A Cancellable object which can be used to cancel the operation - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotAsyncReady& slot_ready, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * The function specified by @a slot_progress will be called just like - * in copy(), however the callback will run in the main loop, not in - * the thread that is doing the I/O operation. - * - * @param destination Destination File - * @param slot_progress The callback slot to be called with progress information - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotFileProgress& slot_progress, const SlotAsyncReady& slot_ready, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Copies the file to the location specified by @a destination asynchronously. - * For details of the behaviour, see copy(). - * - * When the operation is finished, @a slot_ready will be called. - * You can then call copy_finish() to get the result of the operation. - * - * @param destination Destination File - * @param slot_ready A SlotAsyncReady to call when the request is satisfied - * @param flags Set of FileCopyFlags - * @param io_priority The I/O priority of the request - */ - void copy_async(const Glib::RefPtr& destination, const SlotAsyncReady& slot_ready, FileCopyFlags flags = FILE_COPY_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_copy_async) - - _WRAP_METHOD(bool copy_finish(const Glib::RefPtr& result), - g_file_copy_finish, - errthrow) - - /** Tries to move the file or directory source to the location specified by destination. If native move operations are supported then this is - * used, otherwise a copy and delete fallback is used. The native implementation may support moving directories (for instance on moves inside - * the same filesystem), but the fallback code does not. - * - * If the flag FILE_COPY_OVERWRITE is specified an already existing destination file is overwritten. - * - * If the flag FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks will be copied as symlinks, otherwise the target of the source symlink will be copied. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The operation can be monitored via the @a slot callback. - * If the source file does not exist then a Gio::Error with NOT_FOUND will be thrown, independent on the status of the destination. - * - * If G_FILE_COPY_OVERWRITE is not specified and the target exists, then a Gio::Error with EXISTS will be thrown. - * - * If trying to overwrite a file over a directory a Gio::Error with IS_DIRECTORY will be thrown. - * If trying to overwrite a directory with a directory a Gio::Error with WOULD_MERGE will be thrown. - * - * If the source is a directory and the target does not exist, or FILE_COPY_OVERWRITE is specified and the target is a file, then a Gio::Error with WOULD_RECURSE may be thrown (if the native move operation isn't available). - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error); -#endif - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool move(const Glib::RefPtr& destination, const SlotFileProgress& slot, FileCopyFlags flags, std::auto_ptr& error); -#endif - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool move(const Glib::RefPtr& destination, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool move(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_move) - - _WRAP_METHOD(bool make_directory(const Glib::RefPtr& cancellable), - g_file_make_directory, - errthrow) - - /** Creates a directory. - * Note that this will only create a child directory of the immediate parent - * directory of the path or URI given by the File. To recursively create - * directories, see make_directory_with_parents(). This function will fail if - * the parent directory does not exist, throwing an exception with - * IO_ERROR_NOT_FOUND. If the file system doesn't support creating directories, - * this function will fail, throwing an exception with IO_ERROR_NOT_SUPPORTED. - * - * @return true on successful creation, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_directory(); -#else - bool make_directory(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - _WRAP_METHOD(bool make_directory_with_parents(const Glib::RefPtr& cancellable), - g_file_make_directory_with_parents, - errthrow) - - /** Creates a directory and any parent directories that may not exist, similar to 'mkdir -p'. - * If the file system does not support creating directories, this function will fail, - * throwing an exception with IO_ERROR_NOT_SUPPORTED. - * - * @return true on successful creation, false otherwise. - * - * @newin2p18 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_directory_with_parents(); -#else - bool make_directory_with_parents(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool make_symbolic_link(const std::string& symlink_value, const Glib::RefPtr& cancellable), - g_file_make_symbolic_link, - errthrow) - - /** Creates a symbolic link. - * - * @param symlink_value A string with the value of the new symlink. - * @return true on the creation of a new symlink, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool make_symbolic_link(const std::string& symlink_value); -#else - bool make_symbolic_link(const std::string& symlink_value, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(Glib::RefPtr query_settable_attributes(const Glib::RefPtr& cancellable), - g_file_query_settable_attributes, - errthrow) - - /** Obtain the list of settable attributes for the file. - * - * Returns: a FileAttributeInfoList describing the settable attributes. - * @return A FileAttributeInfoList describing the settable attributes. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_settable_attributes(); -#else - Glib::RefPtr query_settable_attributes(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(Glib::RefPtr query_writable_namespaces(const Glib::RefPtr& cancellable), - g_file_query_writable_namespaces, - errthrow) - - /** Obtain the list of attribute namespaces where new attributes - * can be created by a user. An example of this is extended - * attributes (in the "xattr" namespace). - * - * @return A FileAttributeInfoList describing the writable namespaces. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_writable_namespaces(); -#else - Glib::RefPtr query_writable_namespaces(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /* This seems to be very generic (see the gpointer parameter), - in a C kind of way. Hopefully we don't need it. murrayc - gboolean g_file_set_attribute (GFile *file, - const char *attribute, - GFileAttributeType type, - gpointer value_p, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); - */ - - /** Tries to set all attributes in the FileInfo on the target values, - * not stopping on the first error. - * - * If there is any error during this operation then a Gio::Error will be thrown. - * Error on particular fields are flagged by setting - * the "status" field in the attribute value to - * FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect - * further errors. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * @param info A FileInfo. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags A set of FileQueryInfoFlags. - * @return true if there was any error, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - bool set_attributes_from_info(const Glib::RefPtr& info, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to set all attributes in the FileInfo on the target values, - * not stopping on the first error. - * - * If there is any error during this operation then a Gio::Error will be thrown. - * Error on particular fields are flagged by setting - * the "status" field in the attribute value to - * FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect - * further errors. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * @param info A FileInfo. - * @param flags A set of FileQueryInfoFlags. - * @return true if there was any error, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE); -#else - bool set_attributes_from_info(const Glib::RefPtr& info, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_set_attributes_from_info) - - - /** Asynchronously sets the attributes of file with info. - * - * For more details, see set_attributes_from_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call set_attributes_finish() to get the result of the operation. - * - * @param info A FileInfo. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Asynchronously sets the attributes of file with info. - * - * For more details, see set_attributes_from_info() which is the synchronous version of this call. - * When the operation is finished, @a slot will be called. You can then call set_attributes_finish() to get the result of the operation. - * - * @param info A FileInfo. - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags A set of FileQueryInfoFlags. - * @param io_priority The I/O priority of the request. - */ - void set_attributes_async(const Glib::RefPtr& info, const SlotAsyncReady& slot, FileQueryInfoFlags flags = FILE_QUERY_INFO_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_set_attributes_async) - _IGNORE(g_file_set_attributes_finish) // takes GFileInfo** - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attributes_finish(const Glib::RefPtr& result, const Glib::RefPtr& info); -#else - bool set_attributes_finish(const Glib::RefPtr& result, const Glib::RefPtr& info, std::auto_ptr& error); -#endif // GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable), - g_file_set_attribute_string, - errthrow) - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_STRING to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A string containing the attribute's value. - * @param flags FileQueryInfoFlags. - * @return true if the @a attribute was successfully set, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags); -#else - bool set_attribute_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable), - g_file_set_attribute_byte_string, - errthrow) - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_BYTE_STRING to @a value. - * If @a attribute is of a different type, this operation will fail, - * returning false. - * - * @param attribute A string containing the attribute's name. - * @param value A string containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags); -#else - bool set_attribute_byte_string(const std::string& attribute, const std::string& value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable), - g_file_set_attribute_uint32, - errthrow) - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_UINT32 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #guint32 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags); -#else - bool set_attribute_uint32(const std::string& attribute, guint32 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable), - g_file_set_attribute_int32, - errthrow) - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_INT32 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #gint32 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags); -#else - bool set_attribute_int32(const std::string& attribute, gint32 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable), - g_file_set_attribute_uint64, - errthrow) - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_UINT64 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #guint64 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set to @a value - * in the @a file, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags); -#else - bool set_attribute_uint64(const std::string& attribute, guint64 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, const Glib::RefPtr& cancellable), - g_file_set_attribute_int64, - errthrow) - - /** Sets @a attribute of type FILE_ATTRIBUTE_TYPE_INT64 to @a value. - * If @a attribute is of a different type, this operation will fail. - * - * @param attribute A string containing the attribute's name. - * @param value A #guint64 containing the attribute's new value. - * @param flags A FileQueryInfoFlags. - * @return true if the @a attribute was successfully set, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags); -#else - bool set_attribute_int64(const std::string& attribute, gint64 value, FileQueryInfoFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - * When this operation has completed, @a slot will be called with, - * and the operation can be finalized with mount_enclosing_volume_finish(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * @param mount_operation A MountOperation. - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object. - */ - void mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - * When this operation has completed, @a slot will be called with, - * and the operation can be finalized with mount_enclosing_volume_finish(). - * - * @param mount_operation A MountOperation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_enclosing_volume(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - * When this operation has completed, @a slot will be called with, - * and the operation can be finalized with mount_enclosing_volume_finish(). - * - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_enclosing_volume(const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - _IGNORE(g_file_mount_enclosing_volume) - - /** Starts a @a mount_operation, mounting the volume that contains the file. - * - */ - void mount_enclosing_volume(MountMountFlags flags = MOUNT_MOUNT_NONE); - _IGNORE(g_file_mount_enclosing _volume) - - _WRAP_METHOD(bool mount_enclosing_volume_finish(const Glib::RefPtr& result), - g_file_mount_enclosing_volume_finish, - errthrow) - - /** Mounts a file of type FILE_TYPE_MOUNTABLE. Using @a mount_operation, you can request callbacks when, for instance, - * passwords are needed during authentication. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call mount_mountable_finish() to get the result of the operation. - * - * @param mount_operation A MountOperation. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a file of type FILE_TYPE_MOUNTABLE. Using @a mount_operation, you can request callbacks when, for instance, - * passwords are needed during authentication. - * - * When the operation is finished, @a slot will be called. You can then call mount_mountable_finish() to get the result of the operation. - * - * @param mount_operation A MountOperation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_mountable(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a file of type FILE_TYPE_MOUNTABLE without user interaction. - * - * When the operation is finished, @a slot will be called. You can then call mount_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - */ - void mount_mountable(const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a file of type FILE_TYPE_MOUNTABLE without user interaction. - */ - void mount_mountable(MountMountFlags flags = MOUNT_MOUNT_NONE); - _IGNORE(g_file_mount_mountable) - - _WRAP_METHOD(Glib::RefPtr mount_mountable_finish(const Glib::RefPtr& result), - g_file_mount_mountable_finish, - refreturn, errthrow) - - /** Unmounts a file of type FILE_TYPE_MOUNTABLE. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call unmount_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the operation. - */ - void unmount_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a file of type FILE_TYPE_MOUNTABLE. - * - * When the operation is finished, @a slot will be called. You can then call unmount_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags Flags affecting the operation. - */ - void unmount_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a file of type FILE_TYPE_MOUNTABLE. - * - * @param flags Flags affecting the operation. - */ - void unmount_mountable(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - _IGNORE(g_file_unmount_mountable) - - _WRAP_METHOD(bool unmount_mountable_finish(const Glib::RefPtr& result), - g_file_unmount_mountable_finish, - errthrow) - - /** Starts an asynchronous eject on a mountable. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call eject_mountable_finish() to get the result of the operation. - * - * @param flags Flags affecting the operation. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback slot which will be called when the request is satisfied. - */ - void eject_mountable(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Starts an asynchronous eject on a mountable. - * - * When the operation is finished, @a slot will be called. You can then call eject_mountable_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param flags Flags affecting the operation. - */ - void eject_mountable(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Starts an asynchronous eject on a mountable. - * - * @param flags Flags affecting the operation. - */ - void eject_mountable(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - _IGNORE(g_file_eject_mountable) - - _WRAP_METHOD(bool eject_mountable_finish(const Glib::RefPtr& result), - g_file_eject_mountable_finish, - errthrow) - - /** Copies the file attributes from @a source to @a destination. - * - * Normally only a subset of the file attributes are copied, - * those that are copies in a normal file copy operation - * (which for instance does not include e.g. mtime). However - * if FILE_COPY_ALL_METADATA is specified in @a flags, then - * all the metadata that is possible to copy is copied. - * - * @param destination A File to copy attributes to. - * @param cancellable A Cancellable object. - * @param flags A set of FileMonitorFlags. - * @result true if the attributes were copied successfully, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy_attributes(const Glib::RefPtr& destination, const Glib::RefPtr& cancellable, FileCopyFlags flags, std::auto_ptr& error); -#endif - - /** Copies the file attributes from @a source to @a destination. - * - * Normally only a subset of the file attributes are copied, - * those that are copies in a normal file copy operation - * (which for instance does not include e.g. mtime). However - * if FILE_COPY_ALL_METADATA is specified in @a flags, then - * all the metadata that is possible to copy is copied. - * - * @param destination A File to copy attributes to. - * @param flags A set of FileMonitorFlags. - * @result true if the attributes were copied successfully, false otherwise. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags = FILE_COPY_NONE); -#else - bool copy_attributes(const Glib::RefPtr& destination, FileCopyFlags flags, std::auto_ptr& error); -#endif - _IGNORE(g_file_copy_attributes) - - /** Obtains a directory monitor for the given file. - * This may fail if directory monitoring is not supported. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param cancellable A Cancellable object. - * @param flags A set of FileMonitorFlags. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_directory(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Obtains a directory monitor for the given file. - * This may fail if directory monitoring is not supported. - * - * @param flags A set of FileMonitorFlags. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_directory(FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_directory(FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_monitor_directory) - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_file(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor_file(FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor_file(FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_monitor_file) - - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - * - * @newin2p18 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor(const Glib::RefPtr& cancellable, FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Obtains a file monitor for the given file. If no file notification - * mechanism exists, then regular polling of the file is used. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param flags A set of FileMonitorFlags. - * @param A Cancellable object. - * @return A FileMonitor for the file. - * - * @newin2p18 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr monitor(FileMonitorFlags flags = FILE_MONITOR_NONE); -#else - Glib::RefPtr monitor(FileMonitorFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_monitor) - - - _WRAP_METHOD(Glib::RefPtr query_default_handler(const Glib::RefPtr& cancellable), - g_file_query_default_handler, - errthrow) - -/** Returns the AppInfo that is registered as the default - * application to handle the file specified by the file. - * - * @result A AppInfo if the handle was found, or an empty RefPtr if there were errors. - **/ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_default_handler(); -#else - Glib::RefPtr query_default_handler(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - //TODO: Something better than char*& for contents? - /** Loads the content of the file into memory, returning the size of the data. - * The data is always zero terminated, but this is not included in the resultant @a length. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error exception with CANCELLED will be returned. - * - * @param cancellable A cancellable object. - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out); -#else - bool load_contents(const Glib::RefPtr& cancellable, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error); -#endif - //TODO: Something better than char*& for contents? - /** Loads the content of the file into memory, returning the size of the data. - * The data is always zero terminated, but this is not included in the resultant @a length. - * - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_contents(char*& contents, gsize& length, std::string& etag_out); -#else - bool load_contents(char*& contents, gsize& length, std::string& etag_out, - std::auto_ptr& error); -#endif - _IGNORE(g_file_load_contents) - - /** Starts an asynchronous load of the file's contents. - * For more details, see load_contents() which is the synchronous version of this call. - * - * When the load operation has completed, the @a slot will be called. To finish the operation, - * call load_contents_finish() with the AsyncResult provided to the @a slot. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object. - */ - void load_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable); - - /** Starts an asynchronous load of the file's contents. - * For more details, see load_contents() which is the synchronous version of this call. - * - * When the load operation has completed, the @a slot will be called. To finish the operation, - * call load_contents_finish() with the AsyncResult provided to the @a slot. - * - * @param slot A callback slot which will be called when the request is satisfied. - */ - void load_contents_async(const SlotAsyncReady& slot); - _IGNORE(g_file_load_contents_async) - - /** Finishes an asynchronous load of the @a file's contents. - * The contents are placed in @a contents, and @a length is set to the - * size of the @a contents string. If @a etag_out is present, it will be - * set to the new entity tag for the @a file. - * @param res A AsyncResult. - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - * @return true if the load was successful. If false and @a error is - * present, it will be set appropriately. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out); -#else - bool load_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_load_contents_finish) - - - /** A signal handler would be, for instance: - * bool on_read_more(const char* file_contents, goffset file_size); - */ - typedef sigc::slot SlotReadMore; - - //Note that slot_read_more can be NULL but that would not be a useful method overload, because the documentation says that it would - //then be equivalent to load_contents_async. - - /** Reads the partial contents of a file. - * The @a slot_read_more callback slot should be used to stop reading from the file when appropriate. This operation can be finished by load_partial_contents_finish(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call load_partial_contents_finish() to get the result of the operation. - * - * @param slot_read_more A callback to receive partial data and to specify whether further data should be read. - * @param slot_async_ready A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - */ - void load_partial_contents_async(const SlotReadMore& slot_read_more, const SlotAsyncReady& slot_async_ready, const Glib::RefPtr& cancellable); - - /** Reads the partial contents of a file. - * The @a slot_read_more callback slot should be used to stop reading from the file when appropriate. This operation can be finished by load_partial_contents_finish(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call load_partial_contents_finish() to get the result of the operation. - * - * @param slot_read_more A callback to receive partial data and to specify whether further data should be read. - * @param slot_async_ready A callback slot which will be called when the request is satisfied. - */ - void load_partial_contents_async(const SlotReadMore& slot_read_more, const SlotAsyncReady& slot_async_ready); - _IGNORE(g_file_load_partial_contents_async) - - - /** Finishes an asynchronous partial load operation that was started - * with load_partial_contents_async(). - * @param res A AsyncResult. - * @param contents A location to place the contents of the file. - * @param length A location to place the length of the contents of the file. - * @param etag_out A location to place the current entity tag for the file. - * @return true if the load was successful. If false and @a error is - * present, it will be set appropriately. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out); -#else - bool load_partial_contents_finish(const Glib::RefPtr& result, char*& contents, gsize& length, std::string& etag_out, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_load_partial_contents_finish) - - /** Replaces the contents of the file with @a contents of @a length bytes. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param length The length of @a contents in bytes. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - * @param cancellable A Cancellable object. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Replaces the contents of the file with @a contents of @a length bytes. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param length The length of @a contents in bytes. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const char* contents, gsize length, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Replaces the contents of the file with @a contents. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - * @param cancellable A Cancellable object. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, const Glib::RefPtr& cancellable, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Replaces the contents of the file with @a contents. - * - * If @a etag is specified (not an empty string) any existing file must have that etag, or - * a Gio::Error with WRONG_ETAG will be thrown. - * - * If @a make_backup is true, this function will attempt to make a backup of the file. - * - * The returned @a new_etag can be used to verify that the file hasn't changed the - * next time it is saved over. - * @param contents A string containing the new contents for the file. - * @param etag The old entity tag - * for the document. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - * @param new_etag A location to a new entity tag - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); -#else - void replace_contents(const std::string& contents, const std::string& etag, std::string& new_etag, bool make_backup, FileCreateFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_replace_contents) - - - //TODO: Add replace_contents() without the etags? - - - /** Starts an asynchronous replacement of the file with the given - * @a contents of @a length bytes. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param contents String of contents to replace the file with. - * @param length The length of @a contents in bytes. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const char* contents, gsize length, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - /** Starts an asynchronous replacement of the file with the given - * @a contents of @a length bytes. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param contents String of contents to replace the file with. - * @param length The length of @a contents in bytes. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const char* contents, gsize length, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - /** Starts an asynchronous replacement of the file with the given - * @a contents of @a length bytes. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param contents String of contents to replace the file with. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& contents, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - /** Starts an asynchronous replacement of the file with the given - * @a contents. @a etag will replace the document's - * current entity tag. - * - * When this operation has completed, @a slot will be called - * and the operation can be finalized with replace_contents_finish(). - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * - * If @a make_backup is true, this function will attempt to - * make a backup of the file. - * - * @param slot: A callback to call when the request is satisfied. - * @param contents String of contents to replace the file with. - * @param etag a new entity tag for the file. - * @param make_backup true if a backup should be created. - * @param flags A set of FileCreateFlags. - */ - void replace_contents_async(const SlotAsyncReady& slot, const std::string& contents, const std::string& etag, bool make_backup = false, FileCreateFlags flags = FILE_CREATE_NONE); - - _IGNORE(g_file_replace_contents_async) - - /** Finishes an asynchronous replace of the given file . See - * replace_contents_async(). Sets @a new_etag to the new entity - * tag for the document. - * @param result A AsyncResult. - * @param new_etag A location of a new entity tag - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents_finish(const Glib::RefPtr& result, std::string& etag); -#else - void replace_contents_finish(const Glib::RefPtr& result, std::string& etag, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Finishes an asynchronous replace of the given file . See - * replace_contents_async(). Sets @a new_etag to the new entity - * tag for the document. - * @param result A AsyncResult. - * for the document. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void replace_contents_finish(const Glib::RefPtr& result); -#else - void replace_contents_finish(const Glib::RefPtr& result, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_replace_contents_finish) - - // *** vfuncs *** - - //_WRAP_VFUNC(Glib::RefPtr dup() const, "dup") - //_WRAP_VFUNC(guint hash() const, "hash") - //TODO: equal() vfunc - - //_WRAP_VFUNC(std::string get_basename() const, "get_basename") - //_WRAP_VFUNC(std::string get_path() const, "get_path") - //_WRAP_VFUNC(std::string get_uri() const, "get_uri") - //_WRAP_VFUNC(std::string get_parse_name() const, "get_parse_name") - - //Careful of refcounting: //_WRAP_VFUNC(Glib::RefPtr get_parent() const, "get_parent") - - // GFileIface does not define get_child(). Perhaps it's not intentional. - // //_WRAP_VFUNC(Glib::RefPtr get_child(const std::string& name) const, "get_child") - - // howto wrap a vfunc that takes a GError** -// //_WRAP_VFUNC(Glib::RefPtr get_child_for_display_name(const Glib::ustring& display_name) const, -// "get_child_for_display_name", -// errthrow) - -#m4 _CONVERSION(`GFile*',`const Glib::RefPtr&',`Glib::wrap($3, true)') - - //_WRAP_VFUNC(bool has_prefix(const Glib::RefPtr& prefix) const, "has_prefix") - - //_WRAP_VFUNC(std::string get_relative_path(const Glib::RefPtr& descendant) const, "get_relative_path") - - //Careful of refcounting: //_WRAP_VFUNC(Glib::RefPtr resolve_relative_path(const std::string& relative_path) const, "resolve_relative_path") - - //_WRAP_VFUNC(bool is_native() const, "is_native") - //_WRAP_VFUNC(bool has_uri_scheme(const std::string& uri_scheme) const, "has_uri_scheme") -}; - - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileattributeinfo.ccg b/libs/glibmm2/gio/src/fileattributeinfo.ccg deleted file mode 100644 index 3dc9cfe992..0000000000 --- a/libs/glibmm2/gio/src/fileattributeinfo.ccg +++ /dev/null @@ -1,70 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -FileAttributeInfo::FileAttributeInfo(const GFileAttributeInfo* ginfo) - : - m_name(ginfo->name ? ginfo->name : ""), - m_type(static_cast(ginfo->type)), - m_flags(static_cast(ginfo->flags)) -{ -} - -FileAttributeInfo::FileAttributeInfo(const FileAttributeInfo& other) -{ - *this = other; -} - -FileAttributeInfo& -FileAttributeInfo::operator=(const FileAttributeInfo& other) -{ - m_name = other.m_name; - m_type = other.m_type; - m_flags = other.m_flags; - return *this; -} - -FileAttributeInfo::~FileAttributeInfo() -{ -} - -std::string -FileAttributeInfo::get_name() const -{ - return m_name; -} - -FileAttributeType -FileAttributeInfo::get_type() const -{ - return m_type; -} - -FileAttributeInfoFlags -FileAttributeInfo::get_flags() const -{ - return m_flags; -} - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileattributeinfo.hg b/libs/glibmm2/gio/src/fileattributeinfo.hg deleted file mode 100644 index a5da344e49..0000000000 --- a/libs/glibmm2/gio/src/fileattributeinfo.hg +++ /dev/null @@ -1,62 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include //TODO: avoid this include -#include - -_DEFS(giomm,gio) - -namespace Gio -{ - -//TODO: Fix the need for NO_GTYPE. -//It guesses gfile_attribute_type_get_type() instead of g_file_attribute_type_get_type(). murrayc. -_WRAP_ENUM(FileAttributeType, GFileAttributeType, NO_GTYPE) -_WRAP_ENUM(FileAttributeInfoFlags, GFileAttributeInfoFlags, NO_GTYPE) -_WRAP_ENUM(FileAttributeStatus, GFileAttributeStatus, NO_GTYPE) - - -/** Information about a specific attribute - see FileAttributeInfoList. - * - * @newin2p16 - */ -class FileAttributeInfo -{ - _CLASS_GENERIC(FileAttributeInfo, GFileAttributeInfo) -public: - explicit FileAttributeInfo(const GFileAttributeInfo* ginfo); - - FileAttributeInfo(const FileAttributeInfo& other); - FileAttributeInfo& operator=(const FileAttributeInfo& other); - - ~FileAttributeInfo(); - - std::string get_name() const; - FileAttributeType get_type() const; - FileAttributeInfoFlags get_flags() const; - -protected: - std::string m_name; - FileAttributeType m_type; - FileAttributeInfoFlags m_flags; -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileattributeinfolist.ccg b/libs/glibmm2/gio/src/fileattributeinfolist.ccg deleted file mode 100644 index a49e468227..0000000000 --- a/libs/glibmm2/gio/src/fileattributeinfolist.ccg +++ /dev/null @@ -1,46 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -FileAttributeInfoList::operator bool() const -{ - return !empty(); -} - -bool FileAttributeInfoList::empty() const -{ - return gobj() == 0; -} - -FileAttributeInfo -FileAttributeInfoList::lookup(const std::string& name) const -{ - GFileAttributeInfoList* cobject = const_cast(gobj()); - const GFileAttributeInfo* cinfo = - g_file_attribute_info_list_lookup (cobject, name.c_str()); - - FileAttributeInfo info(cinfo); - return info; -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/fileattributeinfolist.hg b/libs/glibmm2/gio/src/fileattributeinfolist.hg deleted file mode 100644 index 60bd0afd63..0000000000 --- a/libs/glibmm2/gio/src/fileattributeinfolist.hg +++ /dev/null @@ -1,80 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -_DEFS(giomm,gio) - -namespace Gio -{ - -/** Key-Value paired file attributes. - * File attributes in GIO consist of a list of key-value pairs. - * - * Keys are strings that contain a key namespace and a key name, separated by a colon, e.g. "namespace:keyname". - * Namespaces are included to sort key-value pairs by namespaces for relevance. Keys can be retreived using wildcards, - * e.g. "standard::*" will return all of the keys in the "standard" namespace. - * - * Values are stored within the list in Gio::FileAttributeValue structures. Values can store different types, listed in the enum - * Gio::FileAttributeType. Upon creation of a Gio::FileAttributeValue, the type will be set to Gio::FILE_ATTRIBUTE_TYPE_INVALID. - * - * The list of possible attributes for a filesystem (pointed to by a Gio::File) is availible as a Gio::FileAttributeInfoList. - * This list is queryable by key names as indicated earlier. - * - * Classes that implement Gio::FileIface will create a Gio::FileAttributeInfoList and install default keys and values for their given file - * system, architecture, and other possible implementation details (e.g., on a UNIX system, a file attribute key will be registered for - * the user id for a given file). - * - * See http://library.gnome.org/devel/gio/unstable/gio-GFileAttribute.html for the list of default namespaces and the list of default keys. - * - * @newin2p16 - */ -class FileAttributeInfoList -{ - _CLASS_OPAQUE_REFCOUNTED(FileAttributeInfoList, GFileAttributeInfoList, - g_file_attribute_info_list_new, - g_file_attribute_info_list_ref, - g_file_attribute_info_list_unref) - _IGNORE(g_file_attribute_info_list_new, g_file_attribute_info_list_ref, g_file_attribute_info_list_unref) -public: - - /** Whether the FileAttributeInfoList is valid and non empty. - * @result true if this FileAttributeInfoList is not empty. - */ - operator bool() const; - - /** Whether the FileAttributeInfoList is empty or invalid. - * @result true if this FileAttributeInfoList is empty. - */ - bool empty() const; - - /** Gets the file attribute with the name name from list. - * @param name The name of the attribute to lookup. - * @result A FileAttributeInfo for the name. - */ - FileAttributeInfo lookup(const std::string& name) const; - _IGNORE(g_file_attribute_info_list_lookup) - - _WRAP_METHOD(Glib::RefPtr dup() const, g_file_attribute_info_list_dup) - - _WRAP_METHOD(void add(const std::string& name, FileAttributeType type, FileAttributeInfoFlags flags = FILE_ATTRIBUTE_INFO_NONE), g_file_attribute_info_list_add) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileenumerator.ccg b/libs/glibmm2/gio/src/fileenumerator.ccg deleted file mode 100644 index 8ad8b7c4f6..0000000000 --- a/libs/glibmm2/gio/src/fileenumerator.ccg +++ /dev/null @@ -1,132 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -void -FileEnumerator::next_files_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int num_files, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_next_files_async(gobj(), - num_files, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileEnumerator::next_files_async(const SlotAsyncReady& slot, int num_files, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_next_files_async(gobj(), - num_files, - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -FileEnumerator::close_async(int io_priority, - const Glib::RefPtr& cancellable, - const SlotAsyncReady& slot) -{ -// Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_close_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileEnumerator::close_async(int io_priority, - const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_enumerator_close_async(gobj(), - io_priority, - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileEnumerator::next_file() -#else -Glib::RefPtr FileEnumerator::next_file(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_enumerator_next_file(gobj(), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool FileEnumerator::close() -#else -bool FileEnumerator::close(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_file_enumerator_close(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/fileenumerator.hg b/libs/glibmm2/gio/src/fileenumerator.hg deleted file mode 100644 index a41c7ca855..0000000000 --- a/libs/glibmm2/gio/src/fileenumerator.hg +++ /dev/null @@ -1,167 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include -//#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -class File; - -//TODO: Consider wrapping this like a std::iterator (or at least renaming it), though the asyncness probably makes that unsuitable. - -/** Enumerated Files Routines. - * FileEnumerator allows you to operate on a set of Gio::Files, returning a Gio::FileInfo instance for each file enumerated - * (e.g. Gio::File::enumerate_children() will return a FileEnumerator for each of the children within a directory). - * - * To get the next file's information from a Gio::FileEnumerator, use next_file() or its asynchronous version, next_file_async(). - * Note that the asynchronous version will return a list of Gio::FileInfos, whereas the synchronous version will only return the next - * file in the enumerator. - * - * To close a Gio::FileEnumerator, use FileEnumerator::close(), or its asynchronous version, close_async(). Once a FileEnumerator is closed, - * no further actions may be performed on it. - * - * @newin2p16 - */ -class FileEnumerator : public Glib::Object -{ - _CLASS_GOBJECT(FileEnumerator, GFileEnumerator, G_FILE_ENUMERATOR, Glib::Object, GObject) - -public: - _WRAP_METHOD(Glib::RefPtr next_file(const Glib::RefPtr& cancellable), - g_file_enumerator_next_file, - errthrow) - - /** - * @return A FileInfo or an empty RefPtr on error or end of enumerator. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr next_file(); - #else - Glib::RefPtr next_file(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool close(const Glib::RefPtr& cancellable), - g_file_enumerator_close, - errthrow) - - /** Releases all resources used by this enumerator, making the - * enumerator throw a Gio::Error with CLOSED on all calls. - * - * This will be automatically called when the last reference - * is dropped, but you might want to call this method to make sure resources - * are released as early as possible. - * @return #true on success or an empty RefPtr on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(); - #else - bool close(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Request information for a number of files from the enumerator asynchronously. - * When all I/O for the operation is finished the callback slot will be called with the requested information. - * - * The callback could be called with less than num_files files in case of error or at the end of the enumerator. - * In case of a partial error the callback will be called with any succeeding items and no error, and on the next request the error will be reported. - * If a request is cancelled the callback will be called with ERROR_CANCELLED. - * - * During an async request no other sync and async calls are allowed, and will result in ERROR_PENDING errors. - * - * Any outstanding I/O request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. - * The default priority is PRIORITY_DEFAULT. - * @param slot A callback to call when the request is satisfied. - * @param cancellable An cancellable object which can be used to cancel the request. - * @param num_files The number of file info objects to request. - * @param io_priority The I/O priority of the request. - */ - void next_files_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int num_files = 1, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request information for a number of files from the enumerator asynchronously. - * When all I/O for the operation is finished the callback slot will be called with the requested information. - * - * The callback could be called with less than num_files files in case of error or at the end of the enumerator. - * In case of a partial error the callback will be called with any succeeding items and no error, and on the next request the error will be reported. - * If a request is cancelled the callback will be called with ERROR_CANCELLED. - * - * During an async request no other sync and async calls are allowed, and will result in ERROR_PENDING errors. - * - * Any outstanding I/O request with higher priority (lower numerical value) will be executed before an outstanding request with lower priority. - * The default priority is PRIORITY_DEFAULT. - * @param slot A callback to call when the request is satisfied. - * @param num_files The number of file info objects to request. - * @param io_priority The I/O priority of the request. - */ - void next_files_async(const SlotAsyncReady& slot, int num_files = 1, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_file_enumerator_next_files_async) - -#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >', `$2(($3), Glib::OWNERSHIP_DEEP)') - _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr > next_files_finish(const Glib::RefPtr& result), - g_file_enumerator_next_files_finish, - errthrow) - - - - /** Asynchronously closes the file enumerator. - * - * See close(), which is the synchronous version of this function. - * - * The operation can be cancelled by triggering the cancellable object from another thread. - * If the operation was cancelled, a Gio::Error with CANCELLED will be thrown by close_finish(). - * - * @param io_priority The I/O priority of the request. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param slot A callback to call when the request is satisfied. - */ - void close_async(int io_priority, const Glib::RefPtr& cancellable, const SlotAsyncReady& slot); - - /** Asynchronously closes the file enumerator. - * - * See close(), which is the synchronous version of this function. - * - * @param io_priority The I/O priority of the request. - * @param slot A callback to call when the request is satisfied. - */ - void close_async(int io_priority, const SlotAsyncReady& slot); - _IGNORE(g_file_enumerator_close_async) - - _WRAP_METHOD(bool close_finish(const Glib::RefPtr& result), - g_file_enumerator_close_finish, - errthrow) - - _WRAP_METHOD(bool is_closed() const, g_file_enumerator_is_closed) - _WRAP_METHOD(bool has_pending() const, g_file_enumerator_has_pending) - _WRAP_METHOD(void set_pending(bool pending = true), g_file_enumerator_set_pending) - - _WRAP_METHOD(Glib::RefPtr get_container(), g_file_enumerator_get_container, refreturn) - _WRAP_METHOD(Glib::RefPtr get_container() const, g_file_enumerator_get_container, refreturn) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileicon.ccg b/libs/glibmm2/gio/src/fileicon.ccg deleted file mode 100644 index 7a72047fa3..0000000000 --- a/libs/glibmm2/gio/src/fileicon.ccg +++ /dev/null @@ -1,20 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include diff --git a/libs/glibmm2/gio/src/fileicon.hg b/libs/glibmm2/gio/src/fileicon.hg deleted file mode 100644 index 971924c0ce..0000000000 --- a/libs/glibmm2/gio/src/fileicon.hg +++ /dev/null @@ -1,54 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -/** FileIcon specifies an icon by pointing to an image file to be used as icon. - * - * @newin2p16 - */ -class FileIcon -: public Glib::Object, - //Already derived by LoadableIcon: public Icon, - public LoadableIcon -{ - _CLASS_GOBJECT(FileIcon, GFileIcon, G_FILE_ICON, Glib::Object, GObject) - _IMPLEMENTS_INTERFACE(Icon) - _IMPLEMENTS_INTERFACE(LoadableIcon) - -protected: - _CTOR_DEFAULT() - -public: - _WRAP_CREATE() - - _WRAP_METHOD(Glib::RefPtr get_file(), g_file_icon_get_file, refreturn) - _WRAP_METHOD(Glib::RefPtr get_file() const, g_file_icon_get_file, refreturn, constversion) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/fileinfo.ccg b/libs/glibmm2/gio/src/fileinfo.ccg deleted file mode 100644 index d4e2167e33..0000000000 --- a/libs/glibmm2/gio/src/fileinfo.ccg +++ /dev/null @@ -1,39 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - -// FileAttributeMatcher - -Glib::RefPtr -FileAttributeMatcher::create(const std::string& attributes) -{ - return Glib::wrap(g_file_attribute_matcher_new(attributes.c_str())); -} - -Glib::TimeVal FileInfo::modification_time() const -{ - Glib::TimeVal result; - g_file_info_get_modification_time(const_cast(gobj()), (GTimeVal*)(&result)); - return result; -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/fileinfo.hg b/libs/glibmm2/gio/src/fileinfo.hg deleted file mode 100644 index f77b4a3a95..0000000000 --- a/libs/glibmm2/gio/src/fileinfo.hg +++ /dev/null @@ -1,178 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -// Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN because the former is a -// define in a Windows header (winbase.h, included from windows.h). -_WRAP_ENUM(FileType, GFileType, NO_GTYPE, s#FILE_TYPE_UNKNOWN#FILE_TYPE_NOT_KNOWN#) - -// Provide FILE_TYPE_UNKNOWN for backwards compatibility. -#ifndef DOXYGEN_SHOULD_SKIP_THIS -#ifndef FILE_TYPE_UNKNOWN -const FileType FILE_TYPE_UNKNOWN = FILE_TYPE_NOT_KNOWN; -#endif -#endif - -//TODO: attribute strings - -/** FileAttributeMatcher allows for searching through a FileInfo for attributes. - * - * @newin2p16 - */ -class FileAttributeMatcher -{ - _CLASS_OPAQUE_REFCOUNTED(FileAttributeMatcher, GFileAttributeMatcher, - NONE, g_file_attribute_matcher_ref, g_file_attribute_matcher_unref) - -public: - /** Creates a new file attribute matcher, which matches attributes against a given string. - * The attribute string should be formatted with specific keys separated from namespaces with a double colon. - * Several "namespace::key" strings may be concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). - * The wildcard "*" may be used to match all keys and namespaces, or "namespace::*" will match all keys in a given namespace. - * - * @param attributes The attributes string. - * @result a new FileAttributeMatcher. - */ - static Glib::RefPtr create(const std::string& attributes = "*"); - - _WRAP_METHOD(bool matches(const std::string& full_name) const, g_file_attribute_matcher_matches) - _WRAP_METHOD(bool matches_only(const std::string& full_name) const, g_file_attribute_matcher_matches_only) - _WRAP_METHOD(bool enumerate_namespace(const std::string& ns), g_file_attribute_matcher_enumerate_namespace) - _WRAP_METHOD(std::string enumerate_next(), g_file_attribute_matcher_enumerate_next) -}; - -/** FileInfo implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. - * See FileAttribute for more information on how GIO handles file attributes. - * - * To obtain a FileInfo for a File, use File::query_info() (or its async variant). - * To obtain a FileInfo for a file input or output stream, use FileInput::stream_query_info() or FileOutput::stream_query_info() - * (or their async variants). - * - * FileAttributeMatcher allows for searching through a FileInfo for attributes. - */ -class FileInfo : public Glib::Object -{ - _CLASS_GOBJECT(FileInfo, GFileInfo, G_FILE_INFO, Glib::Object, GObject) - -public: - _CTOR_DEFAULT() - - _WRAP_METHOD(Glib::RefPtr dup() const, - g_file_info_dup) - _WRAP_METHOD(void copy_into(Glib::RefPtr& dest) const, - g_file_info_copy_into) - _WRAP_METHOD(bool has_attribute(const std::string& attribute) const, - g_file_info_has_attribute) - _WRAP_METHOD(Glib::StringArrayHandle list_attributes(const std::string& name_space) const, - g_file_info_list_attributes) - _WRAP_METHOD(FileAttributeType get_attribute_type(const std::string& attribute) const, - g_file_info_get_attribute_type) - _WRAP_METHOD(void remove_attribute(const std::string& attribute), - g_file_info_remove_attribute) - _WRAP_METHOD(std::string get_attribute_string(const std::string& attribute) const, - g_file_info_get_attribute_string) - _WRAP_METHOD(Glib::ustring get_attribute_as_string(const std::string& attribute) const, - g_file_info_get_attribute_as_string) - _WRAP_METHOD(std::string get_attribute_byte_string(const std::string& attribute) const, - g_file_info_get_attribute_byte_string) - _WRAP_METHOD(bool get_attribute_boolean(const std::string& attribute) const, - g_file_info_get_attribute_boolean) - _WRAP_METHOD(guint32 get_attribute_uint32(const std::string& attribute) const, - g_file_info_get_attribute_uint32) - _WRAP_METHOD(gint32 get_attribute_int32(const std::string& attribute) const, - g_file_info_get_attribute_int32) - _WRAP_METHOD(guint64 get_attribute_uint64(const std::string& attribute) const, - g_file_info_get_attribute_uint64) - _WRAP_METHOD(gint64 get_attribute_int64(const std::string& attribute) const, - g_file_info_get_attribute_int64) - _WRAP_METHOD(Glib::RefPtr get_attribute_object(const std::string& attribute) const, - g_file_info_get_attribute_object) - _WRAP_METHOD(void set_attribute_string(const std::string& attribute, const std::string& value), - g_file_info_set_attribute_string) - _WRAP_METHOD(void set_attribute_byte_string(const std::string& attribute, const std::string& value), - g_file_info_set_attribute_byte_string) - _WRAP_METHOD(void set_attribute_boolean(const std::string& attribute, bool value), - g_file_info_set_attribute_boolean) - _WRAP_METHOD(void set_attribute_uint32(const std::string& attribute, guint32 value), - g_file_info_set_attribute_uint32) - _WRAP_METHOD(void set_attribute_int32(const std::string& attribute, gint32 value), - g_file_info_set_attribute_int32) - _WRAP_METHOD(void set_attribute_uint64(const std::string& attribute, guint64 value), - g_file_info_set_attribute_uint64) - _WRAP_METHOD(void set_attribute_int64(const std::string& attribute, gint64 value), - g_file_info_set_attribute_int64) - _WRAP_METHOD(void set_attribute_object(const std::string& attribute, const Glib::RefPtr& object), - g_file_info_set_attribute_object) - _WRAP_METHOD(void clear_status(), g_file_info_clear_status) - - // helper getters - - _WRAP_METHOD(FileType get_file_type() const, g_file_info_get_file_type) - _WRAP_METHOD(bool is_hidden() const, g_file_info_get_is_hidden) - _WRAP_METHOD(bool is_backup() const, g_file_info_get_is_backup) - _WRAP_METHOD(bool is_symlink() const, g_file_info_get_is_symlink) - _WRAP_METHOD(std::string get_name() const, g_file_info_get_name) - _WRAP_METHOD(std::string get_display_name() const, g_file_info_get_display_name) - _WRAP_METHOD(std::string get_edit_name() const, g_file_info_get_edit_name) - - _WRAP_METHOD(Glib::RefPtr get_icon(), g_file_info_get_icon, refreturn) - _WRAP_METHOD(Glib::RefPtr get_icon() const, g_file_info_get_icon, refreturn, constversion) - - _WRAP_METHOD(std::string get_content_type() const, g_file_info_get_content_type) - _WRAP_METHOD(goffset get_size() const, g_file_info_get_size) - - Glib::TimeVal modification_time() const; - - _WRAP_METHOD(std::string get_symlink_target() const, g_file_info_get_symlink_target) - _WRAP_METHOD(std::string get_etag() const, g_file_info_get_etag) - _WRAP_METHOD(gint32 get_sort_order() const, g_file_info_get_sort_order) - _WRAP_METHOD(void set_attribute_mask(const Glib::RefPtr& mask), - g_file_info_set_attribute_mask) - _WRAP_METHOD(void unset_attribute_mask(), g_file_info_unset_attribute_mask) - - // helper setters - - _WRAP_METHOD(void set_file_type(FileType type), g_file_info_set_file_type) - _WRAP_METHOD(void set_is_hidden(bool is_hidden = true), g_file_info_set_is_hidden) - _WRAP_METHOD(void set_is_symlink(bool is_symlink = true), g_file_info_set_is_symlink) - _WRAP_METHOD(void set_name(const std::string& name), g_file_info_set_name) - _WRAP_METHOD(void set_display_name(const std::string& display_name), g_file_info_set_display_name) - _WRAP_METHOD(void set_edit_name(const std::string& edit_name), g_file_info_set_edit_name) - _WRAP_METHOD(void set_icon(const Glib::RefPtr& icon), g_file_info_set_icon) - _WRAP_METHOD(void set_content_type(const std::string& content_type), g_file_info_set_content_type) - _WRAP_METHOD(void set_size(goffset size), g_file_info_set_size) - - _WRAP_METHOD(void set_modification_time(const Glib::TimeVal& mtime), g_file_info_set_modification_time) - _WRAP_METHOD(void set_symlink_target(const std::string& symlink_target), g_file_info_set_symlink_target) - _WRAP_METHOD(void set_sort_order(gint32 sort_order), g_file_info_set_sort_order) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileinputstream.ccg b/libs/glibmm2/gio/src/fileinputstream.ccg deleted file mode 100644 index b4b00812c7..0000000000 --- a/libs/glibmm2/gio/src/fileinputstream.ccg +++ /dev/null @@ -1,97 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include "slot_async.h" -#include - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileInputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes) -#else -Glib::RefPtr FileInputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_input_stream_query_info(gobj(), g_strdup((attributes).c_str()), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileInputStream::query_info(const std::string& attributes) -#else -Glib::RefPtr FileInputStream::query_info(const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_input_stream_query_info(gobj(), g_strdup((attributes).c_str()), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -FileInputStream::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_input_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileInputStream::query_info_async(const SlotAsyncReady& slot, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_input_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/fileinputstream.hg b/libs/glibmm2/gio/src/fileinputstream.hg deleted file mode 100644 index 68ba6cab4e..0000000000 --- a/libs/glibmm2/gio/src/fileinputstream.hg +++ /dev/null @@ -1,125 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/inputstream_p.h) - -namespace Gio -{ - -/** FileInputStream provides input streams that take their content from a file. - * - * FileInputStream implements Seekable, which allows the input stream to jump to arbitrary positions in the file, - * provided the file system of the file allows it. - * Use the methods of the Seekable base class for seeking and positioning. - * - * @ingroup Streams - * - * @newin2p16 - */ -class FileInputStream -: public Gio::InputStream, - public Seekable -{ - _CLASS_GOBJECT(FileInputStream, GFileInputStream, G_FILE_INPUT_STREAM, Gio::InputStream, GInputStream) - _IMPLEMENTS_INTERFACE(Seekable) - -public: - - /** Queries a file input stream the given @a attributes. This function blocks - * while querying the stream. For the asynchronous (non-blocking) version - * of this function, see query_info_async(). While the - * stream is blocked, the stream will set the pending flag internally, and - * any other operations on the stream will throw a Gio::Error with PENDING. - * - * @param attributes A file attribute query string. - * @param cancellable A Cancellable object. - * @return A FileInfo, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Queries a file input stream the given @a attributes. This function blocks - * while querying the stream. For the asynchronous (non-blocking) version - * of this function, see query_info_async(). While the - * stream is blocked, the stream will set the pending flag internally, and - * any other operations on the stream will throw a Gio::Error with PENDING. - * - * @param attributes A file attribute query string. - * @return A FileInfo, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_input_stream_query_info) - - - /** Queries the stream information asynchronously. For the synchronous version of this function, see query_info(). - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, - * a Gio::Error with CANCELLED will be thrown. - * - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param cancellable A Cancellable object which can be used to cancel the operation. - * @param attributes A file attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT); - - /** Queries the stream information asynchronously. For the synchronous version of this function, see query_info(). - * - * When the operation is finished, @a slot will be called. You can then call query_info_finish() to get the result of the operation. - * - * @param slot A callback slot which will be called when the request is satisfied. - * @param attributes A file attribute query string. - * @param io_priority The I/O priority of the request. - */ - void query_info_async(const SlotAsyncReady& slot, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT); - - _IGNORE(g_file_input_stream_query_info_async) - - _WRAP_METHOD(Glib::RefPtr query_info_finish(const Glib::RefPtr& result), - g_file_input_stream_query_info_finish, - errthrow) - - //These seem to be just C convenience functions - they are already in the Seekable base class: - //See http://bugzilla.gnome.org/show_bug.cgi?id=509990 - _IGNORE(g_file_input_stream_tell, g_file_input_stream_can_seek, g_file_input_stream_seek) -// _WRAP_METHOD(goffset tell() const, g_file_input_stream_tell) -// _WRAP_METHOD(bool can_seek() const, g_file_input_stream_can_seek) -// _WRAP_METHOD(bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable), -// g_file_input_stream_seek, -// errthrow) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/filemonitor.ccg b/libs/glibmm2/gio/src/filemonitor.ccg deleted file mode 100644 index b927b4ad2e..0000000000 --- a/libs/glibmm2/gio/src/filemonitor.ccg +++ /dev/null @@ -1,26 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio { - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/filemonitor.hg b/libs/glibmm2/gio/src/filemonitor.hg deleted file mode 100644 index d5852a699b..0000000000 --- a/libs/glibmm2/gio/src/filemonitor.hg +++ /dev/null @@ -1,67 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) -_PINCLUDE(gio/gio.h) - -namespace Gio -{ - -_WRAP_ENUM(FileMonitorEvent, GFileMonitorEvent, NO_GTYPE) - -class File; - -/** Monitors a file or directory for changes. - * To obtain a FileMonitor for a file or directory, use File::monitor_file() or - * File::monitor_directory(). - * - * To get informed about changes to the file or directory you are monitoring, - * connect to signal_changed. - * - * @newin2p16 - */ -class FileMonitor : public Glib::Object -{ - _CLASS_GOBJECT(FileMonitor, GFileMonitor, G_FILE_MONITOR, Glib::Object, GObject) -protected: - -public: - - _WRAP_METHOD(bool cancel(), g_file_monitor_cancel) - _WRAP_METHOD(bool is_cancelled() const, g_file_monitor_is_cancelled) - _WRAP_METHOD(void set_rate_limit(int limit_msecs), g_file_monitor_set_rate_limit) - - //g_file_monitor_emit_event is for implementations. - _IGNORE(g_file_monitor_emit_event) - -#m4 _CONVERSION(`GFile*',`const Glib::RefPtr&',`Glib::wrap($3, true)') - _WRAP_SIGNAL(void changed(const Glib::RefPtr& file, const Glib::RefPtr& other_file, FileMonitorEvent event_type), "changed") - - //_WRAP_VFUNC(bool cancel(), cancel); - - _WRAP_PROPERTY("rate-limit", int) - _WRAP_PROPERTY("cancelled", bool) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/filenamecompleter.ccg b/libs/glibmm2/gio/src/filenamecompleter.ccg deleted file mode 100644 index b927b4ad2e..0000000000 --- a/libs/glibmm2/gio/src/filenamecompleter.ccg +++ /dev/null @@ -1,26 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Gio { - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/filenamecompleter.hg b/libs/glibmm2/gio/src/filenamecompleter.hg deleted file mode 100644 index d93b91c81b..0000000000 --- a/libs/glibmm2/gio/src/filenamecompleter.hg +++ /dev/null @@ -1,54 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) -_PINCLUDE(gio/gio.h) - -namespace Gio -{ - -class File; - -/** Completes partial file and directory names given a partial string by looking in the file system for clues. - * Can return a list of possible completion strings for widget implementation. - * - * @newin2p16 - */ -class FilenameCompleter : public Glib::Object -{ - _CLASS_GOBJECT(FilenameCompleter, GFilenameCompleter, G_FILENAME_COMPLETER, Glib::Object, GObject) -protected: - _CTOR_DEFAULT - _IGNORE(g_filename_completer_new) -public: - _WRAP_CREATE() - - _WRAP_METHOD(std::string get_completion_suffix(const std::string& initial_text) const, g_filename_completer_get_completion_suffix) - _WRAP_METHOD(Glib::StringArrayHandle get_completions(const std::string& initial_text) const, g_filename_completer_get_completions) - _WRAP_METHOD(void set_dirs_only(bool dirs_only = true), g_filename_completer_set_dirs_only) - - _WRAP_SIGNAL(void got_completion_data(), got_completion_data) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/fileoutputstream.ccg b/libs/glibmm2/gio/src/fileoutputstream.ccg deleted file mode 100644 index 7da156636f..0000000000 --- a/libs/glibmm2/gio/src/fileoutputstream.ccg +++ /dev/null @@ -1,103 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileOutputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes) -#else -Glib::RefPtr FileOutputStream::query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_output_stream_query_info(gobj(), g_strdup((attributes).c_str()), const_cast(Glib::unwrap(cancellable)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr FileOutputStream::query_info(const std::string& attributes) -#else -Glib::RefPtr FileOutputStream::query_info(const std::string& attributes, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::RefPtr retvalue = Glib::wrap(g_file_output_stream_query_info(gobj(), g_strdup((attributes).c_str()), NULL, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - if(retvalue) - retvalue->reference(); //The function does not do a ref for us. - return retvalue; -} - -void -FileOutputStream::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_output_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -FileOutputStream::query_info_async(const SlotAsyncReady& slot, const std::string& attributes, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_file_output_stream_query_info_async(gobj(), - const_cast(attributes.c_str()), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/fileoutputstream.hg b/libs/glibmm2/gio/src/fileoutputstream.hg deleted file mode 100644 index a8e1d48c30..0000000000 --- a/libs/glibmm2/gio/src/fileoutputstream.hg +++ /dev/null @@ -1,166 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/outputstream_p.h) - -namespace Gio -{ - - -/** FileOutputStream provides output streams that write their content to a file. - * - * FileOutputStream implements Seekable, which allows the output stream to jump - * to arbitrary positions in the file and to truncate the file, provided the - * file system of the file supports these operations. - * Use the methods of the Seekable base class for seeking and positioning. - * - * @ingroup Streams - * - * @newin2p16 - */ -class FileOutputStream -: public OutputStream, - public Seekable -{ - _CLASS_GOBJECT(FileOutputStream, GFileOutputStream, G_FILE_OUTPUT_STREAM, Gio::OutputStream, GOutputStream) - _IMPLEMENTS_INTERFACE(Seekable) - -public: - - /** Queries a file output stream for the given @a attributes . - * This function blocks while querying the stream. For the asynchronous - * version of this function, see query_info_async(). - * While the stream is blocked, the stream will set the pending flag - * internally, and any other operations on the stream will throw a Gio::Error with - * PENDING. - * - * Can fail if the stream was already closed (with a - * CLOSED error), the stream has pending operations (with a PENDING error), - * or if querying info is not supported for - * the stream's interface (with a NOT_SUPPORTED error). In - * all cases of failure, an empty RefPtr will be returned. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED may be thrown, and an empty RefPtr will - * be returned. - * - * @param cancellable A Cancellable object. - * @param attributes A file attribute query string. - * @return A FileInfo for the stream, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const Glib::RefPtr& cancellable, const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Queries a file output stream for the given @a attributes . - * This function blocks while querying the stream. For the asynchronous - * version of this function, see query_info_async(). - * While the stream is blocked, the stream will set the pending flag - * internally, and any other operations on the stream will throw a Gio::Error with - * PENDING. - * - * Can fail if the stream was already closed (with a CLOSED error), - * the stream has pending operations (with an PENDING error), - * or if querying info is not supported for - * the stream's interface (with a NOT_SUPPORTED error). In - * all cases of failure, an empty RefPtr will be returned. - * - * The operation can be cancelled by triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED may be thrown, and an empty RefPtr will - * be returned. - * - * @param cancellable A Cancellable object. - * @param attributes A file attribute query string. - * @return A FileInfo for the stream, or an empty RefPtr on error. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr query_info(const std::string& attributes = "*"); -#else - Glib::RefPtr query_info(const std::string& attributes, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_file_output_stream_query_info) - - - - /** Queries the stream information asynchronously. - * When the operation is finished @a slot will be called. - * You can then call query_info_finish() - * to get the result of the operation. - * - * For the synchronous version of this function, - * see query_info(). - * - * If @a cancellable is not %NULL, then the operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED may be thrown - * - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param attributes A file attribute query string. - * @param io_priority The & cancellable, const std::string& attributes = "*", int io_priority = Glib::PRIORITY_DEFAULT); - - /** Queries the stream information asynchronously. - * When the operation is finished @a slot will be called. - * You can then call query_info_finish() - * to get the result of the operation. - * - * For the synchronous version of this function, - * see query_info(). - * - * @param slot Callback to call when the request is satisfied. - * @param attributes A file attribute query string. - * @param io_priority The query_info_finish(const Glib::RefPtr& result), - g_file_output_stream_query_info_finish, - refreturn, errthrow) - - _WRAP_METHOD(std::string get_etag() const, g_file_output_stream_get_etag) - - //These seem to be just C convenience functions - they are already in the Seekable base class: - //See http://bugzilla.gnome.org/show_bug.cgi?id=509990 - _IGNORE(g_file_output_stream_tell, g_file_output_stream_can_seek, g_file_output_stream_seek, - g_file_output_stream_can_truncate, g_file_output_stream_truncate) -// _WRAP_METHOD(goffset tell() const, g_file_output_stream_tell) -// _WRAP_METHOD(bool can_seek() const, g_file_output_stream_can_seek) -// _WRAP_METHOD(bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable), -// g_file_output_stream_seek, -// errthrow) -// _WRAP_METHOD(bool can_truncate() const, g_file_output_stream_can_truncate) -// _WRAP_METHOD(bool truncate(goffset size, const Glib::RefPtr& cancellable), -// g_file_output_stream_truncate, -// errthrow) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/filterinputstream.ccg b/libs/glibmm2/gio/src/filterinputstream.ccg deleted file mode 100644 index 76af10b3dc..0000000000 --- a/libs/glibmm2/gio/src/filterinputstream.ccg +++ /dev/null @@ -1,20 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include diff --git a/libs/glibmm2/gio/src/filterinputstream.hg b/libs/glibmm2/gio/src/filterinputstream.hg deleted file mode 100644 index ad2d6e51aa..0000000000 --- a/libs/glibmm2/gio/src/filterinputstream.hg +++ /dev/null @@ -1,52 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/inputstream_p.h) - -namespace Gio -{ - -//TODO: Proper documentation. - -/** Filter Input Stream. - * - * @ingroup Streams - * - * @newin2p16 - */ -class FilterInputStream : public Gio::InputStream -{ - _CLASS_GOBJECT(FilterInputStream, GFilterInputStream, G_FILTER_INPUT_STREAM, Gio::InputStream, GInputStream) -public: - _WRAP_METHOD(Glib::RefPtr get_base_stream(), - g_filter_input_stream_get_base_stream, - refreturn) - - _WRAP_METHOD(Glib::RefPtr get_base_stream() const, - g_filter_input_stream_get_base_stream, - refreturn, constversion) - - _WRAP_PROPERTY("base-stream", Glib::RefPtr) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/filteroutputstream.ccg b/libs/glibmm2/gio/src/filteroutputstream.ccg deleted file mode 100644 index 76af10b3dc..0000000000 --- a/libs/glibmm2/gio/src/filteroutputstream.ccg +++ /dev/null @@ -1,20 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include diff --git a/libs/glibmm2/gio/src/filteroutputstream.hg b/libs/glibmm2/gio/src/filteroutputstream.hg deleted file mode 100644 index f7311b361a..0000000000 --- a/libs/glibmm2/gio/src/filteroutputstream.hg +++ /dev/null @@ -1,52 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/outputstream_p.h) - -namespace Gio -{ - -//TODO: Proper documentation: - -/** Filter Output Stream. - * - * @ingroup Streams - * - * @newin2p16 - */ -class FilterOutputStream : public Gio::OutputStream -{ - _CLASS_GOBJECT(FilterOutputStream, GFilterOutputStream, G_FILTER_OUTPUT_STREAM, Gio::OutputStream, GOutputStream) -public: - _WRAP_METHOD(Glib::RefPtr get_base_stream(), - g_filter_output_stream_get_base_stream, - refreturn) - - _WRAP_METHOD(Glib::RefPtr get_base_stream() const, - g_filter_output_stream_get_base_stream, - refreturn, constversion) - - _WRAP_PROPERTY("base-stream", Glib::RefPtr) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/gio.defs b/libs/glibmm2/gio/src/gio.defs deleted file mode 100644 index 152d7ef8df..0000000000 --- a/libs/glibmm2/gio/src/gio.defs +++ /dev/null @@ -1,6 +0,0 @@ -(include gio_methods.defs) -(include gio_others.defs) -(include gio_enums.defs) -(include gio_signals.defs) -(include gio_vfuncs.defs) - diff --git a/libs/glibmm2/gio/src/gio_docs.xml b/libs/glibmm2/gio/src/gio_docs.xml deleted file mode 100644 index 8d65e9ae63..0000000000 --- a/libs/glibmm2/gio/src/gio_docs.xml +++ /dev/null @@ -1,12045 +0,0 @@ - - - -Adds a new attribute with @name to the @list, setting -its @type and @flags. - - - - - a #GFileAttributeInfoList. - - - - the name of the attribute to add. - - - - the #GFileAttributeType for the attribute. - - - - #GFileAttributeInfoFlags for the attribute. - - - - - - - - -Flushes a stream asynchronously. -For behaviour details see g_output_stream_flush(). - -When the operation is finished @callback will be -called. You can then call g_output_stream_flush_finish() to get the -result of the operation. - - - - - a #GOutputStream. - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Clears the pending flag on @stream. - - - - - input stream - - - - - - - - -References a file attribute info list. - - - - - - a #GFileAttributeInfoList to reference. - - - - #GFileAttributeInfoList or %NULL on error. - - - - - -Checks if the file enumerator has been closed. - - - - - - a #GFileEnumerator. - - - - %TRUE if the @enumerator is closed. - - - - - -Loads a loadable icon. For the asynchronous version of this function, -see g_loadable_icon_load_async(). - - - - - - a #GLoadableIcon. - - - - an integer. - - - - a location to store the type of the loaded icon, %NULL to ignore. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GInputStream to read the icon from. - - - - - -Ejects a mount. This is an asynchronous operation, and is -finished by calling g_mount_eject_finish() with the @mount -and #GAsyncResults data returned in the @callback. - - - - - a #GMount. - - - - flags affecting the unmount if required for eject - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - user data passed to @callback. - - - - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a string. - - - - - - - - -Checks if @drive is capabable of automatically detecting media changes. - - - - - - a #GDrive. - - - - %TRUE if the @drive is capabable of automatically detecting media changes, %FALSE otherwise. - - - - - -Resets @cancellable to its uncancelled state. - - - - - a #GCancellable object. - - - - - - - - -Gets a new #GUnixMountMonitor. - - - - - - a #GUnixMountMonitor. - - - - - -Adds a content type to the application information to indicate the -application is capable of opening files with the given content type. - - - - - - a #GAppInfo. - - - - a string. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Gets the file's size. - - - - - - a #GFileInfo. - - - - a #goffset containing the file's size. - - - - - -Sets the @attribute to contain the given value, if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GFileAttributeType - - - - pointer to the value - - - - - - - - -Creates a symbolic link. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string with the value of the new symlink. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - %TRUE on the creation of a new symlink, %FALSE otherwise. - - - - - -Finishes a stream skip operation. - - - - - - a #GInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - the size of the bytes skipped, or %-1 on error. - - - - - -Gets the value of a boolean attribute. If the attribute does not -contain a boolean value, %FALSE will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - the boolean value contained within the attribute. - - - - - -Sets the mount operation's domain. - - - - - a #GMountOperation. - - - - the domain to set. - - - - - - - - -Sets the sort order attribute in the file info structure. See -%G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. - - - - - a #GFileInfo. - - - - a sort order integer. - - - - - - - - -Checks if a unix mount point is a loopback device. - - - - - - a #GUnixMountPoint. - - - - %TRUE if the mount point is a loopback. %FALSE otherwise. - - - - - -Gets a password from the mount operation. - - - - - - a #GMountOperation. - - - - a string containing the password within @op. - - - - - -Request information for a number of files from the enumerator asynchronously. -When all i/o for the operation is finished the @callback will be called with -the requested information. - -The callback can be called with less than @num_files files in case of error -or at the end of the enumerator. In case of a partial error the callback will -be called with any succeeding items and no error, and on the next request the -error will be reported. If a request is cancelled the callback will be called -with %G_IO_ERROR_CANCELLED. - -During an async request no other sync and async calls are allowed, and will -result in %G_IO_ERROR_PENDING errors. - -Any outstanding i/o request with higher priority (lower numerical value) will -be executed before an outstanding request with lower priority. Default -priority is %G_PRIORITY_DEFAULT. - - - - - a #GFileEnumerator. - - - - the number of file info objects to request - - - - the &lt;link linkend="gioscheduler"&gt;io priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Asynchronously gets the requested information about the files in a directory. The result -is a #GFileEnumerator object that will give out #GFileInfo objects for -all the files in the directory. - -For more details, see g_file_enumerate_children() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_enumerate_children_finish() to get the result of the operation. - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Get the user name from the mount operation. - - - - - - a #GMountOperation. - - - - a string containing the user name. - - - - - -Asynchronously queries the @stream for a #GFileInfo. When completed, -@callback will be called with a #GAsyncResult which can be used to -finish the operation with g_file_output_stream_query_info_finish(). - -For the synchronous version of this function, see -g_file_output_stream_query_info(). - - - - - - a #GFileOutputStream. - - - - a file attribute query string. - - - - the &lt;link linkend="gio-GIOScheduler"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Sets the file type in a #GFileInfo to @type. -See %G_FILE_ATTRIBUTE_STANDARD_TYPE. - - - - - a #GFileInfo. - - - - a #GFileType. - - - - - - - - -Reads a 16-bit/2-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a signed 16-bit/2-byte value read from @stream or %0 if -an error occurred. - - - - - -Creates a new file attribute info list. - - - - - - a #GFileAttributeInfoList. - - - - - -Gets the parse name of the @file. -A parse name is a UTF-8 string that describes the -file such that one can get the #GFile back using -g_file_parse_name(). - -This is generally used to show the #GFile as a nice -full-pathname kind of string in a user interface, -like in a location entry. - -For local files with names that can safely be converted -to UTF8 the pathname is used, otherwise the IRI is used -(a form of URI that allows UTF8 characters unescaped). - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing the #GFile's parse name. The returned -string should be freed with g_free() when no longer needed. - - - - - -Gets the user data from a #GAsyncResult. - - - - - - a #GAsyncResult. - - - - the user data for @res. - - - - - -Gets a list of strings containing all the registered content types -known to the system. The list and its data should be freed using -@g_list_foreach(list, g_free, NULL) and @g_list_free(list) - - - - - #GList of the registered content types. - - - - - -Creates a new GIOModule that will load the specific -shared library when in use. - - - - - - filename of the shared library module. - - - - a #GIOModule from given @filename, -or %NULL on error. - - - - - -Clears the status information from @info. - - - - - a #GFileInfo. - - - - - - - - -Starts an asynchronous eject on a mountable. -When this operation has completed, @callback will be called with -@user_user data, and the operation can be finalized with -g_file_eject_mountable_finish(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - flags affecting the operation - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Checks if a file is a backup file. - - - - - - a #GFileInfo. - - - - %TRUE if file is a backup file, %FALSE otherwise. - - - - - - - - - - - - - - - - - - - - - - -Starts an asynchronous load of the @file's contents. - -For more details, see g_file_load_contents() which is -the synchronous version of this call. - -When the load operation has completed, @callback will be called -with @user data. To finish the operation, call -g_file_load_contents_finish() with the #GAsyncResult returned by -the @callback. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Gets a file's type (whether it is a regular file, symlink, etc). -This is different from the file's content type, see g_file_info_get_content_type(). - - - - - - a #GFileInfo. - - - - a #GFileType for the given file. - - - - - -Emitted when a file has been changed. - - - - - a #GFileMonitor. - - - - a #GFile. - - - - a #GFile. - - - - a #GFileMonitorEvent. - - - - - - - - -Duplicates a file info structure. - - - - - - a #GFileInfo. - - - - a duplicate #GFileInfo of @other. - - - - - -Checks if a file is a symlink. - - - - - - a #GFileInfo. - - - - %TRUE if the given @info is a symlink. - - - - - -Checks if @mount can be mounted. - - - - - - a #GMount. - - - - %TRUE if the @mount can be unmounted. - - - - - -Finishes an asynchronous filesystem info query. See -g_file_query_filesystem_info_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError. - - - - #GFileInfo for given @file or %NULL on error. - - - - - -Creates a new filename completer. - - - - - - a #GFilenameCompleter. - - - - - -Puts a signed 16-bit integer into the output stream. - - - - - - a #GDataOutputStream. - - - - a #gint16. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Looks up an existing extension point. - - - - - - the name of the extension point - - - - the #GIOExtensionPoint, or %NULL if there is no -registered extension point with the given name - - - - - -Gets the identifier of the given kind for @volume. -See the &lt;link linkend="volume-identifier"&gt;introduction&lt;/link&gt; -for more information about volume identifiers. - - - - - - a #GVolume - - - - the kind of identifier to return - - - - a newly allocated string containing the -requested identfier, or %NULL if the #GVolume -doesn't have this kind of identifier - - - - - -Sets the content type attribute for a given #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. - - - - - a #GFileInfo. - - - - a content type. See #GContentType. - - - - - - - - -Information about an installed application from a desktop file. - - - - - - - - - -Guesses the icon of a Unix mount point. - - - - - - a #GUnixMountPoint - - - - a #GIcon - - - - - -Gets the required type for @extension_point. - - - - - - a #GIOExtensionPoint - - - - the #GType that all implementations must have, -or #G_TYPE_INVALID if the extension point has no required type - - - - - -Loads an icon asynchronously. To finish this function, see -g_loadable_icon_load_finish(). For the synchronous, blocking -version of this function, see g_loadable_icon_load(). - - - - - a #GLoadableIcon. - - - - an integer. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -This function sets the byte order for the given @stream. All subsequent -reads from the @stream will be read in the given @order. - - - - - - a given #GDataInputStream. - - - - a #GDataStreamByteOrder to set. - - - - - - - - -Finishes setting a display name started with -g_file_set_display_name_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFile or %NULL on error. - - - - - -Sets the edit name for the current file. -See %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. - - - - - a #GFileInfo. - - - - a string containing an edit name. - - - - - - - - -Frees a unix mount point. - - - - - unix mount point to free. - - - - - - - - -Initiates startup notification for the applicaiont and returns the -DESKTOP_STARTUP_ID for the launched operation, if supported. - -Startup notification IDs are defined in the FreeDesktop.Org Startup -Notifications standard, at -&lt;ulink url="http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt"/&gt;. - - - - - - a #GAppLaunchContext. - - - - a #GAppInfo. - - - - a #GList of files. - - - - a startup notification ID for the application, or %NULL if -not supported. - - - - - -Finishes an asynchronous file info query. -See g_file_query_info_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError. - - - - #GFileInfo for given @file or %NULL on error. - - - - - -Finishes an asynchronous find mount request. -See g_file_find_enclosing_mount_async(). - - - - - - a #GFile - - - - a #GAsyncResult - - - - a #GError - - - - #GMount for given @file or %NULL on error. - - - - - -Finishes closing a file enumerator, started from g_file_enumerator_close_async(). - -If the file enumerator was already closed when g_file_enumerator_close_async() -was called, then this function will report %G_IO_ERROR_CLOSED in @error, and -return %FALSE. If the file enumerator had pending operation when the close -operation was started, then this function will report %G_IO_ERROR_PENDING, and -return %FALSE. If @cancellable was not %NULL, then the operation may have been -cancelled by triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be set, and %FALSE will be -returned. - - - - - - a #GFileEnumerator. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the close operation has finished successfully. - - - - - -Sets the application as the default handler for a given type. - - - - - - a #GAppInfo. - - - - the content type. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Emitted when the operation has been cancelled from another thread. - -Can be used by implementations of cancellable operations. This will -be emitted in the thread that tried to cancel the operation, not the -thread the is running the operation. - - - - - a #GCancellable. - - - - - - - - -Gets a #GUnixMountEntry for a given mount path. If @time_read -is set, it will be filled with a unix timestamp for checking -if the mounts have changed since with g_unix_mounts_changed_since(). - - - - - - path for a possible unix mount. - - - - guint64 to contain a timestamp. - - - - a #GUnixMount. - - - - - -Copies the file @source to the location specified by @destination -asynchronously. For details of the behaviour, see g_file_copy(). - -If @progress_callback is not %NULL, then that function that will be called -just like in g_file_copy(), however the callback will run in the main loop, -not in the thread that is doing the I/O operation. - -When the operation is finished, @callback will be called. You can then call -g_file_copy_finish() to get the result of the operation. - - - - - input #GFile. - - - - destination #GFile - - - - set of #GFileCopyFlags - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - function to callback with progress information - - - - user data to pass to @progress_callback - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Checks if a cancellable job has been cancelled. - - - - - - a #GCancellable or NULL. - - - - %TRUE if @cancellable is cancelled, -FALSE if called with %NULL or if item is not cancelled. - - - - - -Gets the kinds of identifiers that @drive has. -Use g_drive_get_identifer() to obtain the identifiers -themselves. - - - - - - a #GDrive - - - - a %NULL-terminated array of strings containing -kinds of identifiers. Use g_strfreev() to free. - - - - - -Gets a list of the volumes on the system. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GVolumeMonitor. - - - - a #GList of #GVolume&lt;!-- --&gt;s. - - - - - -Creates a new #GMemoryInputStream with data in memory of a given size. - - - - - - input data - - - - length of the data, may be -1 if @data is a nul-terminated string - - - - function that is called to free @data, or %NULL - - - - new #GInputStream read from @data of @len bytes. - - - - - -Checks if a file is hidden. - - - - - - a #GFileInfo. - - - - %TRUE if the file is a hidden file, %FALSE otherwise. - - - - - -Gets the names of icons from within @icon. - - - - - - a #GThemedIcon. - - - - a list of icon names. - - - - - -Checks if an input stream is closed. - - - - - - input stream. - - - - %TRUE if the stream is closed. - - - - - -Check if @drive has any mountable volumes. - - - - - - a #GDrive. - - - - %TRUE if the @drive contains volumes, %FALSE otherwise. - - - - - -Gets a human-readable description of an installed application. - - - - - - a #GAppInfo. - - - - a string containing a description of the -application @appinfo, or %NULL if none. - - - - - -Checks if two #GAppInfos are equal. - - - - - - the first #GAppInfo. - - - - the second #GAppInfo. - - - - %TRUE if @appinfo1 is equal to @appinfo2. %FALSE otherwise. - - - - - -Guesses the name of a Unix mount. -The result is a translated string. - - - - - - a #GUnixMountEntry - - - - A newly allocated string that must -be freed with g_free() - - - - - -Checks if an output stream has already been closed. - - - - - - a #GOutputStream. - - - - %TRUE if @stream is closed. %FALSE otherwise. - - - - - -Gets the local pathname for #GFile, if one exists. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string containing the #GFile's path, or %NULL if -no such path exists. The returned string should be -freed with g_free() when no longer needed. - - - - - -Requests an asynchronous closes of the stream, releasing resources related to it. -When the operation is finished @callback will be called. -You can then call g_input_stream_close_finish() to get the result of the -operation. - -For behaviour details see g_input_stream_close(). - -The asyncronous methods have a default fallback that uses threads to implement -asynchronicity, so they are optional for inheriting classes. However, if you -override one you must override all. - - - - - A #GInputStream. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional cancellable object - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Queries a file input stream the given @attributes. This function blocks -while querying the stream. For the asynchronous (non-blocking) version -of this function, see g_file_input_stream_query_info_async(). While the -stream is blocked, the stream will set the pending flag internally, and -any other operations on the stream will fail with %G_IO_ERROR_PENDING. - - - - - - a #GFileInputStream. - - - - a file attribute query string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GFileInfo, or %NULL on error. - - - - - -Checks if a volume can be mounted. - - - - - - a #GVolume. - - - - %TRUE if the @volume can be mounted. %FALSE otherwise. - - - - - -Gets the source tag for the #GSimpleAsyncResult. - - - - - - a #GSimpleAsyncResult. - - - - a #gpointer to the source object for the #GSimpleAsyncResult. - - - - - -Gets an output stream for appending data to the file. If -the file doesn't already exist it is created. - -By default files created are generally readable by everyone, -but if you pass #G_FILE_CREATE_PRIVATE in @flags the file -will be made readable only to the current user, to the level that -is supported on the target filesystem. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -Some file systems don't allow all file names, and may -return an G_IO_ERROR_INVALID_FILENAME error. -If the file is a directory the G_IO_ERROR_IS_DIRECTORY error will be -returned. Other errors are possible too, and depend on what kind of -filesystem the file is on. - - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileOutputStream. - - - - - -Gets the volume monitor used by gio. - - - - - - a reference to the #GVolumeMonitor used by gio. Call -g_object_unref() when done with it. - - - - - -Returns: read-only buffer - - - - - a #GBufferedInputStream. - - - - a #gsize to get the number of bytes available in the buffer. - - - - read-only buffer - - - - - -Emitted when the physical eject button (if any) of a drive have been pressed. - - - - - - a #GDrive. - - - - - - - - -Finishes a mount operation started by g_file_mount_enclosing_volume(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Sets @stream to have actions pending. If the pending flag is -already set or @stream is closed, it will return %FALSE and set -@error. - - - - - - input stream - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if pending was previously unset and is now set. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT32 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #gint32 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Cancels a file monitor. - - - - - - a #GFileMonitor. - - - - %TRUE if monitor was cancelled. - - - - - -Creates a new data output stream for @base_stream. - - - - - - a #GOutputStream. - - - - #GDataOutputStream. - - - - - -Gets the root directory on @mount. - - - - - - a #GMount. - - - - a #GFile. - - - - - -Gets the #GFile associated with the given @icon. - - - - - - a #GIcon. - - - - a #GFile, or %NULL. - - - - - -Creates a new #GUnixInputStream for the given @fd. If @close_fd_at_close -is %TRUE, the file descriptor will be closed when the stream is closed. - - - - - - unix file descriptor. - - - - a #gboolean. - - - - a #GUnixInputStream. - - - - - -Reads an unsigned 8-bit/1-byte value from @stream. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 8-bit/1-byte value read from the @stream or %0 -if an error occurred. - - - - - -Launches the application. Passes @files to the launched application -as arguments, using the optional @launch_context to get information -about the details of the launcher (like what screen it is on). -On error, @error will be set accordingly. - -To lauch the application without arguments pass a %NULL @files list. - -Note that even if the launch is successful the application launched -can fail to start if it runs into problems during startup. There is -no way to detect this. - -Some URIs can be changed when passed through a GFile (for instance -unsupported uris with strange formats like mailto:), so if you have -a textual uri you want to pass in as argument, consider using -g_app_info_launch_uris() instead. - - - - - - a #GAppInfo. - - - - a #GList of #GFile objects. - - - - a #GAppLaunchContext. - - - - a #GError. - - - - %TRUE on successful launch, %FALSE otherwise. - - - - - -Deletes a file. If the @file is a directory, it will only be deleted if it -is empty. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the file was deleted. %FALSE otherwise. - - - - - -Seeks in the stream by the given @offset, modified by @type. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a #GSeekable. - - - - a #goffset. - - - - a #GSeekType. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Creates a new #GDesktopAppInfo. - - - - - - a string containing a file name. - - - - a new #GDesktopAppInfo or %NULL on error. - - - - - -Finds a #GIOExtension for an extension point by name. - - - - - - a #GIOExtensionPoint - - - - the name of the extension to get - - - - the #GIOExtension for @extension_point that has the -given name, or %NULL if there is no extension with that name - - - - - -Gets the current newline type for the @stream. - - - - - - a given #GDataInputStream. - - - - #GDataStreamNewlineType for the given @stream. - - - - - -Checks if a drive can be polled for media changes. - - - - - - a #GDrive. - - - - %TRUE if the @drive can be polled for media changes. %FALSE otherwise. - - - - - -Finishes a stream write operation. - - - - - - a #GOutputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #gssize containing the number of bytes written to the stream. - - - - - -Creates a new empty #GMemoryInputStream. - - - - - - a new #GInputStream - - - - - -Checks if a volume can be ejected. - - - - - - a #GVolume. - - - - %TRUE if the @volume can be ejected. %FALSE otherwise. - - - - - -Creates a new #GAppInfo from the given information. - - - - - - the commandline to use - - - - the application name, or %NULL to use @commandline - - - - flags that can specify details of the created #GAppInfo - - - - a #GError location to store the error occuring, %NULL to ignore. - - - - new #GAppInfo for given command. - - - - - -Finishes an asynchronous info query operation. - - - - - - a #GFileInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, -or %NULL to ignore. - - - - #GFileInfo. - - - - - - - - - - Universal Resource Identifier for the dummy file object. - - - - a new #GFile. - - - - - -Creates a new #GDesktopAppInfo. - - - - - - the desktop file id - - - - a new #GDesktopAppInfo, or %NULL if no desktop file with that id - - - - - -Used from an I/O job to send a callback to be run asynchronously -in the main loop (main thread). The callback will be run when the -main loop is available, but at that time the I/O job might have -finished. The return value from the callback is ignored. - -Note that if you are passing the @user_data from g_io_scheduler_push_job() -on to this function you have to ensure that it is not freed before -@func is called, either by passing %NULL as @notify to -g_io_scheduler_push_job() or by using refcounting for @user_data. - - - - - a #GIOSchedulerJob - - - - a #GSourceFunc callback that will be called in the main thread - - - - data to pass to @func - - - - a #GDestroyNotify for @user_data, or %NULL - - - - - - - - -Gets an array of completion strings for a given initial text. - - - - - - the filename completer. - - - - text to be completed. - - - - array of strings with possible completions for @initial_text. -This array must be freed by g_strfreev() when finished. - - - - - -Gets the byte order for the stream. - - - - - - a #GDataOutputStream. - - - - the #GDataStreamByteOrder for the @stream. - - - - - -Sets the result from a #GError. - - - - - a #GSimpleAsyncResult. - - - - #GError. - - - - - - - - -Renames @file to the specified display name. - -The display name is converted from UTF8 to the correct encoding for the target -filesystem if possible and the @file is renamed to this. - -If you want to implement a rename operation in the user interface the edit name -(#G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the initial value in the rename -widget, and then the result after editing should be passed to g_file_set_display_name(). - -On success the resulting converted filename is returned. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFile specifying what @file was renamed to, or %NULL if there was an error. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - - a #GFileInfo. - - - - attribute name to set. - - - - int64 value to set attribute to. - - - - - - - - -Reads an unsigned 16-bit/2-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 16-bit/2-byte value read from the @stream or %0 if -an error occurred. - - - - - -Finishes remounting a mount. If any errors occurred during the operation, -@error will be set to contain the errors and %FALSE will be returned. - - - - - - a #GMount. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the mount was successfully remounted. %FALSE otherwise. - - - - - -Gets the icon for a file. - - - - - - a #GFileInfo. - - - - #GIcon for the given @info. - - - - - -Creates a #GFile with the given argument from the command line. The value of -@arg can be either a URI, an absolute path or a relative path resolved -relative to the current working directory. -This operation never fails, but the returned object might not support any -I/O operation if @arg points to a malformed path. - - - - - - a command line string. - - - - a new #GFile. - - - - - -Gets the GIO Error Quark. - - - - - - a #GQuark. - - - - - -Sets the required type for @extension_point to @type. -All implementations must henceforth have this type. - - - - - a #GIOExtensionPoint - - - - the #GType to require - - - - - - - - -This signal is emitted when the #GVolume have been removed. If -the recipient is holding references to the object they should -release them so the object can be finalized. - - - - - - - - - -Obtain the list of settable attributes for the file. - -Returns: a #GFileAttributeInfoList describing the settable attributes. - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileAttributeInfoList describing the settable attributes. -When you are done with it, release it with g_file_attribute_info_list_unref() - - - - - -Determines the byte ordering that is used when writing -multi-byte entities (such as integers) to the stream. - - - - - - - - - -Gets the child of @file for a given @display_name (i.e. a UTF8 -version of the name). If this function fails, it returns %NULL and @error will be -set. This is very useful when constructing a GFile for a new file -and the user entered the filename in the user interface, for instance -when you select a directory and type a filename in the file selector. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string to a possible child. - - - - #GError. - - - - a #GFile to the specified child, or -%NULL if the display name couldn't be converted. - - - - - -Asynchronously gets the requested information about specified @file. The result -is a #GFileInfo object that contains key-value attributes (such as type or size -for the file). - -For more details, see g_file_query_info() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_query_info_finish() to get the result of the operation. - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Removes a supported type from an application, if possible. - - - - - - a #GAppInfo. - - - - a string. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Schedules the I/O job to run. - -@notify will be called on @user_data after @job_func has returned, -regardless whether the job was cancelled or has run to completion. - -If @cancellable is not %NULL, it can be used to cancel the I/O job -by calling g_cancellable_cancel() or by calling -g_io_scheduler_cancel_all_jobs(). - - - - - a #GIOSchedulerJobFunc. - - - - data to pass to @job_func - - - - a #GDestroyNotify for @user_data, or %NULL - - - - the &lt;link linkend="gioscheduler"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to @value. -If @attribute is of a different type, this operation will fail, -returning %FALSE. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a string containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Sets the newline type for the @stream. - -Note that using G_DATA_STREAM_NEWLINE_TYPE_ANY is slightly unsafe. If a read -chunk ends in "CR" we must read an additional byte to know if this is "CR" or -"CR LF", and this might block if there is no more data availible. - - - - - - a #GDataInputStream. - - - - the type of new line return as #GDataStreamNewlineType. - - - - - - - - -Sets the operation result to a boolean within the asynchronous result. - - - - - a #GSimpleAsyncResult. - - - - a #gboolean. - - - - - - - - -Peeks in the buffer, copying data of size @count into @buffer, -offset @offset bytes. - - - - - - a #GBufferedInputStream. - - - - a pointer to an allocated chunk of memory. - - - - a #gsize. - - - - a #gsize. - - - - a #gsize of the number of bytes peeked, or %-1 on error. - - - - - -Sets the mount operation's password to @password. - - - - - - a #GMountOperation. - - - - password to set. - - - - - - - - -Sets the mount operation to use an anonymous user if @anonymous is %TRUE. - - - - - a #GMountOperation. - - - - boolean value. - - - - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - an unsigned 32-bit integer. - - - - - - - - -Gets the name of @volume. - - - - - - a #GVolume. - - - - the name for the given @volume. The returned string should -be freed when no longer needed. - - - - - -Completes an asynchronous function in the main event loop using -an idle function. - - - - - a #GSimpleAsyncResult. - - - - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a byte string. - - - - - - - - -Gets the file system type for the mount point. - - - - - - a #GUnixMountPoint. - - - - a string containing the file system type. - - - - - -Checks if the @drive has media. Note that the OS may not be polling -the drive for media changes; see g_drive_is_media_check_automatic() -for more details. - - - - - - a #GDrive. - - - - %TRUE if @drive has media, %FALSE otherwise. - - - - - -Checks if the matcher will match all of the keys in a given namespace. -This will always return %TRUE if a wildcard character is in use (e.g. if -matcher was created with "standard::*" and @ns is "standard", or if matcher was created -using "*" and namespace is anything.) - -TODO: this is awkwardly worded. - - - - - - a #GFileAttributeMatcher. - - - - a string containing a file attribute namespace. - - - - %TRUE if the matcher matches all of the entries -in the given @ns, %FALSE otherwise. - - - - - -Gets the operation result boolean from within the asynchronous result. - - - - - - a #GSimpleAsyncResult. - - - - %TRUE if the operation's result was %TRUE, %FALSE -if the operation's result was %FALSE. - - - - - -Sets the operation result within the asynchronous result to -the given @op_res. - - - - - a #GSimpleAsyncResult. - - - - a #gssize. - - - - - - - - -Gets the icon for a content type. - - - - - - a content type string. - - - - #GIcon corresponding to the content type. - - - - - -Reload the mime information for the @dir. - - - - - directory path which needs reloading. - - - - - - - - -Finishes an asynchronous icon load started in g_loadable_icon_load_async(). - - - - - - a #GLoadableIcon. - - - - a #GAsyncResult. - - - - a location to store the type of the loaded icon, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GInputStream to read the icon from. - - - - - -Gets the requested information about specified @file. The result -is a #GFileInfo object that contains key-value attributes (such as -the type or size of the file). - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "standard::*" means all attributes in the standard -namespace. An example attribute query be "standard::*,owner::user". -The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -For symlinks, normally the information about the target of the -symlink is returned, rather than information about the symlink itself. -However if you pass #G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @flags the -information about the symlink itself will be returned. Also, for symlinks -that point to non-existing files the information about the symlink itself -will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - a #GFileInfo for the given @file, or %NULL on error. - - - - - -Checks if a file info structure has an attribute named @attribute. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - %TRUE if @Ginfo has an attribute named @attribute, -%FALSE otherwise. - - - - - -Get a list of mountable volumes for @drive. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GDrive. - - - - #GList containing any #GVolume&lt;!----&gt;s on the given @drive. - - - - - -Sets the name of the desktop that the application is running in. -This is used by g_app_info_should_show() to evaluate the -&lt;literal&gt;OnlyShowIn&lt;/literal&gt; and &lt;literal&gt;NotShowIn&lt;/literal&gt; -desktop entry fields. - -The &lt;ulink url="http://standards.freedesktop.org/menu-spec/latest/"&gt;Desktop -Menu specification&lt;/ulink&gt; recognizes the following: -&lt;simplelist&gt; -&lt;member&gt;GNOME&lt;/member&gt; -&lt;member&gt;KDE&lt;/member&gt; -&lt;member&gt;ROX&lt;/member&gt; -&lt;member&gt;XFCE&lt;/member&gt; -&lt;member&gt;Old&lt;/member&gt; -&lt;/simplelist&gt; - -Should be called only once; subsequent calls are ignored. - - - - - a string specifying what desktop this is - - - - - - - - -This signal is emitted when the #GMount have been -unmounted. If the recipient is holding references to the -object they should release them so the object can be -finalized. - - - - - - - - - -Finishes ejecting a mount. If any errors occurred during the operation, -@error will be set to contain the errors and %FALSE will be returned. - - - - - - a #GMount. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the mount was successfully ejected. %FALSE otherwise. - - - - - -Sets @stream to have actions pending. If the pending flag is -already set or @stream is closed, it will return %FALSE and set -@error. - - - - - - a #GOutputStream. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if pending was previously unset and is now set. - - - - - -Gets the attribute status for an attribute key. - - - - - - a #GFileInfo - - - - a file attribute key - - - - a #GFileAttributeStatus for the given @attribute, or -%G_FILE_ATTRIBUTE_STATUS_UNSET if the key is invalid. - - - - - - -Creates a new #GCancellable object. - -Applications that want to start one or more operations -that should be cancellable should create a #GCancellable -and pass it to the operations. - -One #GCancellable can be used in multiple consecutive -operations, but not in multiple concurrent operations. - - - - - - a #GCancellable. - - - - - -Tries to skip @count bytes from the stream. Will block during the operation. - -This is identical to g_input_stream_read(), from a behaviour standpoint, -but the bytes that are skipped are not returned to the user. Some -streams have an implementation that is more efficient than reading the data. - -This function is optional for inherited classes, as the default implementation -emulates it using read. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - a #GInputStream. - - - - the number of bytes that will be skipped from the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes skipped, or -1 on error - - - - - -Sets the state of saving passwords for the mount operation. - - - - - - a #GMountOperation. - - - - a set of #GPasswordSave flags. - - - - - - - - -Utility function that launches the default application -registered to handle the specified uri. Synchronous I/O -is done on the uri to detext the type of the file if -required. - - - - - - the uri to show - - - - an optional #GAppLaunchContext. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Makes a duplicate of a file attribute info list. - - - - - - a #GFileAttributeInfoList to duplicate. - - - - a copy of the given @list. - - - - - -Sets the file enumerator as having pending operations. - - - - - a #GFileEnumerator. - - - - a boolean value. - - - - - - - - -Gets the file descriptor for a cancellable job. This can be used to -implement cancellable operations on Unix systems. The returned fd will -turn readable when @cancellable is cancelled. - - - - - - a #GCancellable. - - - - A valid file descriptor. %-1 if the file descriptor -is not supported, or on errors. - - - - - -Finishes an asynchronous read. - - - - - - a #GBufferedInputStream. - - - - a #GAsyncResult. - - - - a #GError. - - - - a #gssize of the read stream, or %-1 on an error. - - - - - -Gets the icon for @mount. - - - - - - a #GMount. - - - - a #GIcon. - - - - - -Emits the #GMountOperation::reply signal. - - - - - a #GMountOperation - - - - a #GMountOperationResult - - - - - - - - -Creates a new themed icon for @iconname, and all the names -that can be created by shortening @iconname at '-' characters. - -In the following example, @icon1 and @icon2 are equivalent: -|[ -const char *names[] = { -"gnome-dev-cdrom-audio", -"gnome-dev-cdrom", -"gnome-dev", -"gnome" -}; - -icon1 = g_themed_icon_new_from_names (names, 4); -icon2 = g_themed_icon_new_with_default_fallbacks ("gnome-dev-cdrom-audio"); -]| - - - - - - a string containing an icon name - - - - a new #GThemedIcon. - - - - - -Creates a directory. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE on successful creation, %FALSE otherwise. - - - - - -Checks if a drive can be ejected. - - - - - - pointer to a #GDrive. - - - - %TRUE if the @drive can be ejected. %FALSE otherwise. - - - - - -This function should be called by any #GVolumeMonitor -implementation when a new #GMount object is created that is not -associated with a #GVolume object. It must be called just before -emitting the @mount_added signal. - -If the return value is not %NULL, the caller must associate the -returned #GVolume object with the #GMount. This involves returning -it in it's g_mount_get_volume() implementation. The caller must -also listen for the "removed" signal on the returned object -and give up it's reference when handling that signal - -Similary, if implementing g_volume_monitor_adopt_orphan_mount(), -the implementor must take a reference to @mount and return it in -it's g_volume_get_mount() implemented. Also, the implementor must -listen for the "unmounted" signal on @mount and give up it's -reference upon handling that signal. - -There are two main use cases for this function. - -One is when implementing a user space file system driver that reads -blocks of a block device that is already represented by the native -volume monitor (for example a CD Audio file system driver). Such -a driver will generate it's own #GMount object that needs to be -assoicated with the #GVolume object that represents the volume. - -The other is for implementing a #GVolumeMonitor whose sole purpose -is to return #GVolume objects representing entries in the users -"favorite servers" list or similar. - - - - - - a #GMount object to find a parent for - - - - the #GVolume object that is the parent for @mount or %NULL -if no wants to adopt the #GMount. - - - - - -Closes an output stream. - - - - - - a #GOutputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if stream was successfully closed, %FALSE otherwise. - - - - - -Pushes @cancellable onto the cancellable stack. The current -cancllable can then be recieved using g_cancellable_get_current(). - -This is useful when implementing cancellable operations in -code that does not allow you to pass down the cancellable object. - -This is typically called automatically by e.g. #GFile operations, -so you rarely have to call this yourself. - - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Request an asynchronous write of @count bytes from @buffer into -the stream. When the operation is finished @callback will be called. -You can then call g_output_stream_write_finish() to get the result of the -operation. - -During an async request no other sync and async calls are allowed, -and will result in %G_IO_ERROR_PENDING errors. - -A value of @count larger than %G_MAXSSIZE will cause a -%G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes written will be passed to the -@callback. It is not an error if this is not the same as the -requested size, as it can happen e.g. on a partial I/O error, -but generally we try to write as many bytes as requested. - -Any outstanding I/O request with higher priority (lower numerical -value) will be executed before an outstanding request with lower -priority. Default priority is %G_PRIORITY_DEFAULT. - -The asyncronous methods have a default fallback that uses threads -to implement asynchronicity, so they are optional for inheriting -classes. However, if you override one you must override all. - -For the synchronous, blocking version of this function, see -g_output_stream_write(). - - - - - A #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Return value: a #GList containing the desktop ids which claim - - - - - a mime type. - - - - a #GList containing the desktop ids which claim -to handle @mime_type. - - - - - -Return value: A #GFileInfo or %NULL on error or end of enumerator - - - - - a #GFileEnumerator. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - A #GFileInfo or %NULL on error or end of enumerator - - - - - -Sets the %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info -to the given symlink target. - - - - - a #GFileInfo. - - - - a static string containing a path to a symlink target. - - - - - - - - -Gets the domain of the mount operation. - - - - - - a #GMountOperation. - - - - a string set to the domain. - - - - - -Compares two unix mount points. - - - - - - a #GUnixMount. - - - - a #GUnixMount. - - - - 1, 0 or -1 if @mount1 is greater than, equal to, -or less than @mount2, respectively. - - - - - -Gets the identifier of the given kind for @drive. - - - - - - a #GDrive - - - - the kind of identifier to return - - - - a newly allocated string containing the -requested identfier, or %NULL if the #GDrive -doesn't have this kind of identifier - - - - - -Unreferences @matcher. If the reference count falls below 1, -the @matcher is automatically freed. - - - - - - a #GFileAttributeMatcher. - - - - - - - - -Gets a signed 32-bit integer contained within the attribute. If the -attribute does not contain a signed 32-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a signed 32-bit integer from the attribute. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT32 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint32 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - - - - - - a new #GVolumeMonitor. - - - - - -Gets the mount for the @volume. - - - - - - a #GVolume. - - - - a #GMount or %NULL if @volume isn't mounted. - - - - - -Checks whether @file has the prefix specified by @prefix. In other word, if the -names of inital elements of @file&lt;!-- --&gt;s pathname match @prefix. - -This call does no i/o, as it works purely on names. As such it can sometimes -return %FALSE even if @file is inside a @prefix (from a filesystem point of view), -because the prefix of @file is an alias of @prefix. - - - - - - input #GFile. - - - - input #GFile. - - - - %TRUE if the @files's parent, grandparent, etc is @prefix. %FALSE otherwise. - - - - - -Emitted when the unix mount points have changed. - - - - - - - - - -Gets the drive for the @mount. - -This is a convenience method for getting the #GVolume and then -using that object to get the #GDrive. - - - - - - a #GMount. - - - - a #GDrive or %NULL if @mount is not associated with a volume or a drive. - - - - - -Ejects a drive. - - - - - - a #GDrive. - - - - flags affecting the unmount if required for eject - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Guesses whether a Unix mount should be displayed in the UI. - - - - - - a #GUnixMountEntry - - - - %TRUE if @mount_entry is deemed to be displayable. - - - - - -Finds a #GMount object by it's UUID (see g_mount_get_uuid()) - - - - - - a #GVolumeMonitor. - - - - the UUID to look for - - - - a #GMount or %NULL if no such mount is available. - - - - - - - - - - File Descriptor. - - - - #GFileInputStream for the given file descriptor. - - - - - -Gets the base stream for the filter stream. - - - - - - a #GFilterInputStream. - - - - a #GInputStream. - - - - - -Checks equality of two given #GFile&lt;!-- --&gt;s. Note that two -#GFile&lt;!-- --&gt;s that differ can still refer to the same -file on the filesystem due to various forms of filename -aliasing. - -This call does no blocking i/o. - - - - - - the first #GFile. - - - - the second #GFile. - - - - %TRUE if @file1 and @file2 are equal. -%FALSE if either is not a #GFile. - - - - - -Asynchronously sets the attributes of @file with @info. - -For more details, see g_file_set_attributes_from_info() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_set_attributes_finish() to get the result of the operation. - - - - - input #GFile. - - - - a #GFileInfo. - - - - a #GFileQueryInfoFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback. - - - - a #gpointer. - - - - - - - - -Reports an error in an asynchronous function in an idle function by -directly setting the contents of the #GAsyncResult with the given error -information. - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - a #GQuark containing the error domain (usually #G_IO_ERROR). - - - - a specific error code. - - - - a formatted error reporting string. - - - - a list of variables to fill in @format. - - - - - - - - - - - - - a #GVolumeMonitor. - - - - a #GUnixMountPoint. - - - - a #GUnixVolume for the given #GUnixMountPoint. - - - - - -Sets the rate limit to which the @monitor will report -consecutive change events to the same file. - - - - - - a #GFileMonitor. - - - - a integer with the limit in milliseconds to -poll for changes. - - - - - - - - -If the @cancelalble is cancelled, sets the error to notify -that the operation was cancelled. - - - - - - a #GCancellable object. - - - - #GError to append error state to. - - - - %TRUE if @cancellable was cancelled, %FALSE if it was not. - - - - - -Gets a child of @file with basename equal to @name. - -Note that the file with that specific name might not exist, but -you can still have a #GFile that points to it. You can use this -for instance to create that file. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string containing the child's basename. - - - - a #GFile to a child specified by @name. - - - - - -Finishes an asynchronous file create operation started with -g_file_create_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFileOutputStream or %NULL on error. - - - - - -Requests an asynchronous close of the stream, releasing resources -related to it. When the operation is finished @callback will be -called. You can then call g_output_stream_close_finish() to get -the result of the operation. - -For behaviour details see g_output_stream_close(). - -The asyncronous methods have a default fallback that uses threads -to implement asynchronicity, so they are optional for inheriting -classes. However, if you override one you must override all. - - - - - A #GOutputStream. - - - - the io priority of the request. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - optional cancellable object - - - - - - - - -Gets the state of saving passwords for the mount operation. - - - - - - a #GMountOperation. - - - - a #GPasswordSave flag. - - - - - -Creates a new #GInputStream from the given @base_stream, with -a buffer set to the default size (4 kilobytes). - - - - - - a #GInputStream. - - - - a #GInputStream for the given @base_stream. - - - - - -Guesses the content type based on example data. If the function is -uncertain, @result_uncertain will be set to %TRUE. - - - - - - a string. - - - - a stream of data. - - - - the size of @data. - - - - a flag indicating the certainty of the -result. - - - - a string indicating a guessed content type for the -given data. - - - - - -Sets an error within the asynchronous result without a #GError. -Unless writing a binding, see g_simple_async_result_set_error(). - - - - - a #GSimpleAsyncResult. - - - - a #GQuark (usually #G_IO_ERROR). - - - - an error code. - - - - a formatted error reporting string. - - - - va_list of arguments. - - - - - - - - -Checks if the file enumerator has pending operations. - - - - - - a #GFileEnumerator. - - - - %TRUE if the @enumerator has pending operations. - - - - - -Constructs a #GFile for a given URI. This operation never -fails, but the returned object might not support any I/O -operation if @uri is malformed or if the uri type is -not supported. - - - - - - a string containing a URI. - - - - a #GFile for the given @uri. - - - - - -Obtain the list of attribute namespaces where new attributes -can be created by a user. An example of this is extended -attributes (in the "xattr" namespace). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileAttributeInfoList describing the writable namespaces. -When you are done with it, release it with g_file_attribute_info_list_unref() - - - - - - - - - - - - - - -#GIcon is a very minimal interface for icons. It provides functions -for checking the equality of two icons and hashing of icons. - -#GIcon does not provide the actual pixmap for the icon as this is out -of GIO's scope, however implementations of #GIcon may contain the name -of an icon (see #GThemedIcon), or the path to an icon (see #GLoadableIcon). - -To obtain a hash of a #GIcon, see g_icon_hash(). - -To check if two #GIcons are equal, see g_icon_equal(). - - - - - Interface for icons - - - - gio/gio.h - - - - - - - - - - - - - filename of the directory to monitor. - - - - #GFileMonitorFlags. - - - - new #GFileMonitor for the given @dirname. - - - - - -Emitted when a drive changes. - - - - - The volume monitor emitting the signal. - - - - the drive that changed - - - - - - - - -Gets a choice from the mount operation. - - - - - - a #GMountOperation. - - - - an integer containing an index of the user's choice from -the choice's list, or %0. - - - - - -Cancels all cancellable I/O jobs. - -A job is cancellable if a #GCancellable was passed into -g_io_scheduler_push_job(). - - - - - - - - - -Polls @drive to see if media has been inserted or removed. - - - - - - a #GDrive. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Sends @file to the "Trashcan", if possible. This is similar to -deleting it, but the user can recover it before emptying the trashcan. -Not all file systems support trashing, so this call can return the -%G_IO_ERROR_NOT_SUPPORTED error. - - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - #GFile to send to trash. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE on successful trash, %FALSE otherwise. - - - - - -Gets a #GList of strings containing the unix mounts. -If @time_read is set, it will be filled with the mount -timestamp, allowing for checking if the mounts have changed -with g_unix_mounts_changed_since(). - - - - - - guint64 to contain a timestamp. - - - - a #GList of the UNIX mounts. - - - - - -Sets whether to handle cancellation within the asynchronous operation. - - - - - - a #GSimpleAsyncResult. - - - - a #gboolean. - - - - - - - - -Gets the parent directory for the @file. -If the @file represents the root directory of the -file system, then %NULL will be returned. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a #GFile structure to the parent of the given -#GFile or %NULL if there is no parent. - - - - - -Returns: %TRUE if monitor is canceled. %FALSE otherwise. - - - - - a #GFileMonitor - - - - %TRUE if monitor is canceled. %FALSE otherwise. - - - - - -Tries to set all attributes in the #GFileInfo on the target values, -not stopping on the first error. - -If there is any error during this operation then @error will be set to -the first error. Error on particular fields are flagged by setting -the "status" field in the attribute value to -%G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect -further errors. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a #GFileInfo. - - - - #GFileQueryInfoFlags - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if there was any error, %FALSE otherwise. - - - - - -Asynchronously creates a new file and returns an output stream for writing to it. -The file must not already exists. - -For more details, see g_file_create() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_create_finish() to get the result of the operation. - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Puts an unsigned 32-bit integer into the stream. - - - - - - a #GDataOutputStream. - - - - a #guint32. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Checks if a attribute matcher only matches a given attribute. Always -Returns: %TRUE if the matcher only matches @attribute. %FALSE otherwise. - - - - - a #GFileAttributeMatcher. - - - - a file attribute key. - - - - %TRUE if the matcher only matches @attribute. %FALSE otherwise. - - - - - -Gets the path for @descendant relative to @parent. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - input #GFile. - - - - string with the relative path from @descendant -to @parent, or %NULL if @descendant doesn't have @parent as prefix. The returned string should be freed with -g_free() when no longer needed. - - - - - -Gets the installed name of the application. - - - - - - a #GAppInfo. - - - - the name of the application for @appinfo. - - - - - -Determines if @mount_path is considered an implementation of the -OS. This is primarily used for hiding mountable and mounted volumes -that only are used in the OS and has little to no relevance to the -casual user. - - - - - - a mount path, e.g. &lt;filename&gt;/media/disk&lt;/filename&gt; -or &lt;filename&gt;/usr&lt;/filename&gt; - - - - %TRUE if @mount_path is considered an implementation detail -of the OS. - - - - - -Gets the &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for a given -#GFileInfo. See %G_FILE_ATTRIBUTE_ETAG_VALUE. - - - - - - a #GFileInfo. - - - - a string containing the value of the "etag:value" attribute. - - - - - -Finishes mounting a volume. - - - - - - pointer to a #GVolume. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE, %FALSE if operation failed. - - - - - -Gets the icon for the application. - - - - - - a #GAppInfo. - - - - the default #GIcon for @appinfo. - - - - - -Constructs a #GFile with the given @parse_name (i.e. something given by g_file_get_parse_name()). -This operation never fails, but the returned object might not support any I/O -operation if the @parse_name cannot be parsed. - - - - - - a file name or path to be parsed. - - - - a new #GFile. - - - - - -Gets a list of drives connected to the system. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GVolumeMonitor. - - - - a #GList of connected #GDrive&lt;!-- --&gt;s - - - - - -Returns: a new #GVfs handle. - - - - - a new #GVfs handle. - - - - - -Ejects a volume. - - - - - a #GVolume. - - - - flags affecting the unmount if required for eject - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Gets the mount path for a unix mount point. - - - - - - a #GUnixMountPoint. - - - - a string containing the mount path. - - - - - -Checks if an ouput stream has pending actions. - - - - - - a #GOutputStream. - - - - %TRUE if @stream has pending actions. - - - - - -Gets the base stream for the filter stream. - - - - - - a #GFilterOutputStream. - - - - a #GOutputStream. - - - - - -Compares two unix mounts. - - - - - - first #GUnixMountEntry to compare. - - - - second #GUnixMountEntry to compare. - - - - 1, 0 or -1 if @mount1 is greater than, equal to, -or less than @mount2, respectively. - - - - - -Gets the local #GVfs for the system. - - - - - - a #GVfs. - - - - - -Checks to see if a file is native to the platform. - -A native file s one expressed in the platform-native filename format, -e.g. "C:\Windows" or "/usr/bin/". This does not mean the file is local, -as it might be on a locally mounted remote filesystem. - -On some systems non-native files may be available using -the native filesystem via a userspace filesystem (FUSE), in -these cases this call will return %FALSE, but g_file_get_path() -will still return a native path. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - %TRUE if file is native. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint64 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Finishes flushing an output stream. - - - - - - a #GOutputStream. - - - - a GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if flush operation suceeded, %FALSE otherwise. - - - - - -Checks if the @drive supports removable media. - - - - - - a #GDrive. - - - - %TRUE if @drive supports removable media, %FALSE otherwise. - - - - - -Gets the icon for @volume. - - - - - - a #GVolume. - - - - a #GIcon. - - - - - -Gets the attribute type, value and status for an attribute key. - - - - - - a #GFileInfo - - - - a file attribute key - - - - return location for the attribute type, or %NULL - - - - return location for the attribute value, or %NULL - - - - return location for the attribute status, or %NULL - - - - %TRUE if @info has an attribute named @attribute, -%FALSE otherwise. - - - - - -Tests if the stream can be truncated. - - - - - - a #GSeekable. - - - - %TRUE if the stream can be truncated, %FALSE otherwise. - - - - - -Splices a stream asynchronously. -When the operation is finished @callback will be called. -You can then call g_output_stream_splice_finish() to get the -result of the operation. - -For the synchronous, blocking version of this function, see -g_output_stream_splice(). - - - - - a #GOutputStream. - - - - a #GInputStream. - - - - a set of #GOutputStreamSpliceFlags. - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - - - - - -The :newline-type property determines what is considered -as a line ending when reading complete lines from the stream. - - - - - - - - - -Puts a byte into the output stream. - - - - - - a #GDataOutputStream. - - - - a #guchar. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Checks if the unix mounts have changed since a given unix time. - - - - - - guint64 to contain a timestamp. - - - - %TRUE if the mounts have changed since @time. - - - - - -Flushed any outstanding buffers in the stream. Will block during -the operation. Closing the stream will implicitly cause a flush. - -This function is optional for inherited classes. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a #GOutputStream. - - - - optional cancellable object - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on error - - - - - -Gets a signed 64-bit integer contained within the attribute. If the -attribute does not contain an signed 64-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a signed 64-bit integer from the attribute. - - - - - -Gets the name under which @extension was registered. - -Note that the same type may be registered as extension -for multiple extension points, under different names. - - - - - - a #GIOExtension - - - - the name of @extension. - - - - - -Truncates a stream with a given #offset. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - a #GSeekable. - - - - a #goffset. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Tries to read a single byte from the stream or the buffer. Will block -during this read. - -On success, the byte read from the stream is returned. On end of stream --1 is returned but it's not an exceptional error and @error is not set. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - - - - - - #GBufferedInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore. - - - - the byte read from the @stream, or -1 on end of stream or error. - - - - - -Finishes ejecting a drive. - - - - - - a #GDrive. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE if the drive has been ejected successfully, -%FALSE otherwise. - - - - - -Asynchronously opens @file for reading. - -For more details, see g_file_read() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_read_finish() to get the result of the operation. - - - - - input #GFile. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Gets the size of the input buffer. - - - - - - #GBufferedInputStream. - - - - the current buffer size. - - - - - -Reads the partial contents of a file. A #GFileReadMoreCallback should be -used to stop reading from the file when appropriate, else this function -will behave exactly as g_file_load_contents_async(). This operation -can be finished by g_file_load_partial_contents_finish(). - -Users of this function should be aware that @user_data is passed to -both the @read_more_callback and the @callback. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GFileReadMoreCallback to receive partial data and to specify whether further data should be read. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to the callback functions. - - - - - - - - -Finishes an asynchronous stream splice operation. - - - - - - a #GOutputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #gssize of the number of bytes spliced. - - - - - - - - - - a string. - - - - a #GCancellable, or %NULL - - - - a #GMount for given @mount_path or %NULL. - - - - - -Obtains a completion for @initial_text from @completer. - - - - - - the filename completer. - - - - text to be completed. - - - - a completed string, or %NULL if no completion exists. -This string is not owned by GIO, so remember to g_free() it -when finished. - - - - - -Creates a new icon for a file. - - - - - - a #GFile. - - - - a #GIcon for the given @file, or %NULL on error. - - - - - -Gets a #GFile for @uri. - -This operation never fails, but the returned object -might not support any I/O operation if the uri -is malformed or if the uri type is not supported. - - - - - - a#GVfs. - - - - a string containing a URI path. - - - - a #GFile. - - - - - - -Gets the default application for launching applications -using this URI scheme. A URI scheme is the initial part -of the URI, up to but not including the ':', e.g. "http", -"ftp" or "sip". - - - - - - a string containing a URI scheme. - - - - #GAppInfo for given @uri_scheme or %NULL on error. - - - - - -Gets a #GFile for @path. - - - - - - a #GVfs. - - - - a string containing a VFS path. - - - - a #GFile. - - - - - -Finishes setting an attribute started in g_file_set_attributes_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GFileInfo. - - - - a #GError, or %NULL - - - - %TRUE if the attributes were set correctly, %FALSE otherwise. - - - - - -Unmounts a file of type G_FILE_TYPE_MOUNTABLE. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -When the operation is finished, @callback will be called. You can then call -g_file_unmount_mountable_finish() to get the result of the operation. - - - - - input #GFile. - - - - flags affecting the operation - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Guesses the name of a Unix mount point. -The result is a translated string. - - - - - - a #GUnixMountPoint - - - - A newly allocated string that must -be freed with g_free() - - - - - -Guesses whether a Unix mount point can be ejected. - - - - - - a #GUnixMountPoint - - - - %TRUE if @mount_point is deemed to be ejectable. - - - - - -Completes an asynchronous I/O job. - - - - - a #GSimpleAsyncResult. - - - - - - - - -Gets the icon for @drive. - - - - - - a #GDrive. - - - - #GIcon for the @drive. - - - - - -Finishes an async enumerate children operation. -See g_file_enumerate_children_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError. - - - - a #GFileEnumerator or %NULL if an error occurred. - - - - - -Frees a unix mount. - - - - - a #GUnixMount. - - - - - - - - -Checks if an input stream has pending actions. - - - - - - input stream. - - - - %TRUE if @stream has pending actions. - - - - - -Append a name to the list of icons from within @icon. - - - - - a #GThemedIcon - - - - name of icon to append to list of icons from within @icon. - - - - - - - - -Gets the value of a byte string attribute. If the attribute does -not contain a byte string, %NULL will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - the contents of the @attribute value as a byte string, or -%NULL otherwise. - - - - - -Creates a new buffered output stream with a given buffer size. - - - - - - a #GOutputStream. - - - - a #gsize. - - - - a #GOutputStream with an internal buffer set to @size. - - - - - -Reads an unsigned 64-bit/8-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 64-bit/8-byte read from @stream or %0 if -an error occurred. - - - - - - - - - - - - - - - - - - - - - - -Puts an unsigned 64-bit integer into the stream. - - - - - - a #GDataOutputStream. - - - - a #guint64. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Creates a hash value for a #GFile. - -This call does no blocking i/o. - - - - - - #gconstpointer to a #GFile. - - - - 0 if @file is not a valid #GFile, otherwise an -integer that can be used as hash value for the #GFile. -This function is intended for easily hashing a #GFile to -add to a #GHashTable or similar data structure. - - - - - -Initializes the inotify backend. This must be called before -any other functions in this module. - - - - - - #TRUE if initialization succeeded, #FALSE otherwise - - - - - -Queries a file output stream for the given @attributes. -This function blocks while querying the stream. For the asynchronous -version of this function, see g_file_output_stream_query_info_async(). -While the stream is blocked, the stream will set the pending flag -internally, and any other operations on the stream will fail with -%G_IO_ERROR_PENDING. - -Can fail if the stream was already closed (with @error being set to -%G_IO_ERROR_CLOSED), the stream has pending operations (with @error being -set to %G_IO_ERROR_PENDING), or if querying info is not supported for -the stream's interface (with @error being set to %G_IO_ERROR_NOT_SUPPORTED). In -all cases of failure, %NULL will be returned. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be set, and %NULL will -be returned. - - - - - - a #GFileOutputStream. - - - - a file attribute query string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - a #GFileInfo for the @stream, or %NULL on error. - - - - - -Gets the type associated with @extension. - - - - - - a #GIOExtension - - - - the type of @extension - - - - - -Gets the top cancellable from the stack. - - - - - - a #GCancellable from the top of the stack, or %NULL -if the stack is empty. - - - - - -Copies the file @source to the location specified by @destination. -Can not handle recursive copies of directories. - -If the flag #G_FILE_COPY_OVERWRITE is specified an already -existing @destination file is overwritten. - -If the flag #G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks -will be copied as symlinks, otherwise the target of the -@source symlink will be copied. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If @progress_callback is not %NULL, then the operation can be monitored by -setting this to a #GFileProgressCallback function. @progress_callback_data -will be passed to this function. It is guaranteed that this callback will -be called after all data has been transferred with the total number of bytes -copied during the operation. - -If the @source file does not exist then the G_IO_ERROR_NOT_FOUND -error is returned, independent on the status of the @destination. - -If #G_FILE_COPY_OVERWRITE is not specified and the target exists, then the -error G_IO_ERROR_EXISTS is returned. - -If trying to overwrite a file over a directory the G_IO_ERROR_IS_DIRECTORY -error is returned. If trying to overwrite a directory with a directory the -G_IO_ERROR_WOULD_MERGE error is returned. - -If the source is a directory and the target does not exist, or #G_FILE_COPY_OVERWRITE is -specified and the target is a file, then the G_IO_ERROR_WOULD_RECURSE error -is returned. - -If you are interested in copying the #GFile object itself (not the on-disk -file), see g_file_dup(). - - - - - - input #GFile. - - - - destination #GFile - - - - set of #GFileCopyFlags - - - - optional #GCancellable object, %NULL to ignore. - - - - function to callback with progress information - - - - user data to pass to @progress_callback - - - - #GError to set on error, or %NULL - - - - %TRUE on success, %FALSE otherwise. - - - - - -Puts a signed 32-bit integer into the output stream. - - - - - - a #GDataOutputStream. - - - - a #gint32. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Gets the byte order for the data input stream. - - - - - - a given #GDataInputStream. - - - - the @stream's current #GDataStreamByteOrder. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT64 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint64 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set, %FALSE otherwise. - - - - - -If @dirs_only is %TRUE, @completer will only -complete directory names, and not file names. - - - - - the filename completer. - - - - a #gboolean. - - - - - - - - -Finishes the asynchronous operation started with g_file_enumerator_next_files_async(). - - - - - - a #GFileEnumerator. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GList of #GFileInfo&lt;!----&gt;s. You must free the list with g_list_free -and unref the infos with g_object_unref when your done with them. - - - - - -Reports an error in an idle function. Similar to -g_simple_async_report_error_in_idle(), but takes a #GError rather -than building a new one. - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - the #GError to report - - - - - - - - -Gets the name of @drive. - - - - - - a #GDrive. - - - - a string containing @drive's name. The returned -string should be freed when no longer needed. - - - - - -Gets a list of the mounts on the system. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GVolumeMonitor. - - - - a #GList of #GMount&lt;!-- --&gt;s - - - - - -Sets whether or not the @stream's buffer should automatically grow. -If @auto_grow is true, then each write will just make the buffer -larger, and you must manually flush the buffer to actually write out -the data to the underlying stream. - - - - - a #GBufferedOutputStream. - - - - a #gboolean. - - - - - - - - -Gets the size of the loaded data from the @ostream. - -Note that the returned size may become invalid on the next -write or truncate operation on the stream. - - - - - - a #GMemoryOutputStream - - - - the size of the stream's data - - - - - -Checks if a unix mount is a system path. - - - - - - a #GUnixMount. - - - - %TRUE if the unix mount is for a system path. - - - - - -Gets the file's content type. - - - - - - a #GFileInfo. - - - - a string containing the file's content type.s - - - - - -Copies all of the #GFileAttribute&lt;!-- --&gt;s from @src_info to @dest_info. - - - - - source to copy attributes from. - - - - destination to copy attributes to. - - - - - - - - -Sets an error within the asynchronous result without a #GError. - - - - - a #GSimpleAsyncResult. - - - - a #GQuark (usually #G_IO_ERROR). - - - - an error code. - - - - a formatted error reporting string. - - - - a list of variables to fill in @format. - - - - - - - - -Gets the device path for a unix mount point. - - - - - - a #GUnixMountPoint. - - - - a string containing the device path. - - - - - -Sets the %G_FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file -info to the given time value. - - - - - a #GFileInfo. - - - - a #GTimeVal. - - - - - - - - -Removes all cases of @attribute from @info if it exists. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - - - - - -Creates a new data input stream for the @base_stream. - - - - - - a #GInputStream. - - - - a new #GDataInputStream. - - - - - -Gets the executable's name for the installed application. - - - - - - a #GAppInfo. - - - - a string containing the @appinfo's application -binary's name. - - - - - -Gets the value of a string attribute. If the attribute does -not contain a string, %NULL will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - the contents of the @attribute value as a string, or -%NULL otherwise. - - - - - -Compares two content types for equality. - - - - - - a content type string. - - - - a content type string. - - - - %TRUE if the two strings are identical or equivalent, -%FALSE otherwise. - - - - - -Sets the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info -to the given size. - - - - - a #GFileInfo. - - - - a #goffset containing the file's size. - - - - - - - - -Finishes an asynchronous eject operation started by -g_file_eject_mountable(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - %TRUE if the @file was ejected successfully. %FALSE -otherwise. - - - - - -Gets a #GMount for the #GFile. - -If the #GFileIface for @file does not have a mount (e.g. possibly a -remote share), @error will be set to %G_IO_ERROR_NOT_FOUND and %NULL -will be returned. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - a #GMount where the @file is located or %NULL on error. - - - - - -Sets the application as the default handler for the given file extention. - - - - - - a #GAppInfo. - - - - a string containing the file extension (without the dot). - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Tries to read @count bytes from the stream into the buffer starting at -@buffer. Will block during this read. - -This function is similar to g_input_stream_read(), except it tries to -read as many bytes as requested, only stopping on an error or end of stream. - -On a successful read of @count bytes, or if we reached the end of the -stream, %TRUE is returned, and @bytes_read is set to the number of bytes -read into @buffer. - -If there is an error during the operation %FALSE is returned and @error -is set to indicate the error status, @bytes_read is updated to contain -the number of bytes read into @buffer before the error occurred. - - - - - - a #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - location to store the number of bytes that was read from the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE if there was an error - - - - - -Finishes closing a stream asynchronously, started from g_input_stream_close_async(). - - - - - - a #GInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the stream was closed successfully. - - - - - - - - - - path name to monitor. - - - - #GFileMonitorFlags. - - - - a new #GFileMonitor for the given @pathname. - - - - - -Gets the volume for the @mount. - - - - - - a #GMount. - - - - a #GVolume or %NULL if @mount is not associated with a volume. - - - - - -Checks if the content type is the generic "unknown" type. -On unix this is the "application/octet-stream" mimetype, -while on win32 it is "*". - - - - - - a content type string. - - - - %TRUE if the type is the unknown type. - - - - - -Pops @cancellable off the cancellable stack (verifying that @cancellable -is on the top of the stack). - - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Gets the source object from a #GAsyncResult. - - - - - - a #GAsyncResult. - - - - the source object for the @res. - - - - - -Asynchronously overwrites the file, replacing the contents, possibly -creating a backup copy of the file first. - -For more details, see g_file_replace() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_replace_finish() to get the result of the operation. - - - - - input #GFile. - - - - an &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for the -current #GFile, or NULL to ignore. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Sets the byte order of the data output stream to @order. - - - - - a #GDataOutputStream. - - - - a %GDataStreamByteOrder. - - - - - - - - -Lists the file info structure's attributes. - - - - - - a #GFileInfo. - - - - a file attribute key's namespace. - - - - a null-terminated array of strings of all of the -possible attribute types for the given @name_space, or -%NULL on error. - - - - - -Sets a default choice for the mount operation. - - - - - a #GMountOperation. - - - - an integer. - - - - - - - - -Reads a 64-bit/8-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a signed 64-bit/8-byte value read from @stream or %0 if -an error occurred. - - - - - -Polls @file for changes. - - - - - - a #GFile. - - - - a new #GFileMonitor for the given #GFile. - - - - - -Gets the UUID for the @mount. The reference is typically based on -the file system UUID for the mount in question and should be -considered an opaque string. Returns %NULL if there is no UUID -available. - - - - - - a #GMount. - - - - the UUID for @mount or %NULL if no UUID can be computed. - - - - - -Finalizes the asynchronous query started -by g_file_output_stream_query_info_async(). - - - - - - a #GFileOutputStream. - - - - a #GAsyncResult. - - - - a #GError, %NULL to ignore. - - - - A #GFileInfo for the finished query. - - - - - -Resolves a relative path for @file to an absolute path. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a given relative path string. - - - - #GFile to the resolved path. %NULL if @relative_path -is %NULL or if @file is invalid. - - - - - -Tries to read @count bytes from the stream into the buffer. -Will block during this read. - -If @count is zero, returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes read into the buffer is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - -For the asynchronous, non-blocking, version of this function, see -g_buffered_input_stream_fill_async(). - - - - - - #GBufferedInputStream. - - - - the number of bytes that will be read from the stream. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore. - - - - the number of bytes read into @stream's buffer, up to @count, -or -1 on error. - - - - - -Reads a signed 32-bit/4-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a signed 32-bit/4-byte value read from the @stream or %0 if -an error occurred. - - - - - -Sets the display name for the current #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. - - - - - a #GFileInfo. - - - - a string containing a display name. - - - - - - - - -Finishes an asynchronous file append operation started with -g_file_append_to_async(). - - - - - - input #GFile. - - - - #GAsyncResult - - - - a #GError, or %NULL - - - - a valid #GFileOutputStream or %NULL on error. - - - - - -Starts a @mount_operation, mounting the volume that contains the file @location. - -When this operation has completed, @callback will be called with -@user_user data, and the operation can be finalized with -g_file_mount_enclosing_volume_finish(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - flags affecting the operation - - - - a #GMountOperation or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Tests if the stream supports the #GSeekableIface. - - - - - - a #GSeekable. - - - - %TRUE if @seekable can be seeked. %FALSE otherwise. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GObject. - - - - - - - - -Returns: a #GFileOutputStream or %NULL on error. - - - - - input #GFile. - - - - an optional &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for the -current #GFile, or #NULL to ignore. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileOutputStream or %NULL on error. - - - - - -Creates a new mount operation. - - - - - - a #GMountOperation. - - - - - -Creates a new file attribute matcher, which matches attributes -against a given string. #GFileAttributeMatcher&lt;!-- --&gt;s are reference -counted structures, and are created with a reference count of 1. If -the number of references falls to 0, the #GFileAttributeMatcher is -automatically destroyed. - -The @attribute string should be formatted with specific keys separated -from namespaces with a double colon. Several "namespace::key" strings may be -concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). -The wildcard "*" may be used to match all keys and namespaces, or -"namespace::*" will match all keys in a given namespace. - -Examples of strings to use: -&lt;table&gt; -&lt;title&gt;File Attribute Matcher strings and results&lt;/title&gt; -&lt;tgroup cols='2' align='left'&gt;&lt;thead&gt; -&lt;row&gt;&lt;entry&gt; Matcher String &lt;/entry&gt;&lt;entry&gt; Matches &lt;/entry&gt;&lt;/row&gt;&lt;/thead&gt; -&lt;tbody&gt; -&lt;row&gt;&lt;entry&gt;"*"&lt;/entry&gt;&lt;entry&gt;matches all attributes.&lt;/entry&gt;&lt;/row&gt; -&lt;row&gt;&lt;entry&gt;"standard::is-hidden"&lt;/entry&gt;&lt;entry&gt;matches only the key is-hidden in the standard namespace.&lt;/entry&gt;&lt;/row&gt; -&lt;row&gt;&lt;entry&gt;"standard::type,unix::*"&lt;/entry&gt;&lt;entry&gt;matches the type key in the standard namespace and -all keys in the unix namespace.&lt;/entry&gt;&lt;/row&gt; -&lt;/tbody&gt;&lt;/tgroup&gt; -&lt;/table&gt; - - - - - - an attribute string to match. - - - - a #GFileAttributeMatcher. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a string containing the attribute's value. - - - - #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set, %FALSE otherwise. - - - - - -Loads all the modules in the specified directory. - - - - - - pathname for a directory containing modules to load. - - - - a list of #GIOModules loaded from the directory, -All the modules are loaded into memory, if you want to -unload them (enabling on-demand loading) you must call -g_type_module_unuse() on all the modules. Free the list -with g_list_free(). - - - - - -Gets a list of all extensions that implement this extension point. -The list is sorted by priority, beginning with the highest priority. - - - - - - a #GIOExtensionPoint - - - - a #GList of #GIOExtension&lt;!-- --&gt;s. The list is owned by -GIO and should not be modified - - - - - -Mounts a volume. - - - - - a #GVolume. - - - - flags affecting the operation - - - - a #GMountOperation or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Registers @type as extension for the extension point with name -@extension_point_name. - -If @type has already been registered as an extension for this -extension point, the existing #GIOExtension object is returned. - - - - - - the name of the extension point - - - - the #GType to register as extension - - - - the name for the extension - - - - the priority for the extension - - - - a #GIOExtension object for #GType - - - - - -Checks if a unix mount is mounted read only. - - - - - - a #GUnixMount. - - - - %TRUE if @mount_entry is read only. - - - - - -Finishes ejecting a volume. - - - - - - pointer to a #GVolume. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE, %FALSE if operation failed. - - - - - -Gets the attribute type for an attribute key. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GFileAttributeType for the given @attribute, or -%G_FILE_ATTRIBUTE_TYPE_INVALID if the key is invalid. - - - - - -Gets the file attribute with the name @name from @list. - - - - - - a #GFileAttributeInfoList. - - - - the name of the attribute to lookup. - - - - a #GFileAttributeInfo for the @name, or %NULL if an -attribute isn't found. - - - - - -Gets the ID of an application. An id is a string that -identifies the application. The exact format of the id is -platform dependent. For instance, on Unix this is the -desktop file id from the xdg menu specification. - -Note that the returned ID may be %NULL, depending on how -the @appinfo has been constructed. - - - - - - a #GAppInfo. - - - - a string containing the application's ID. - - - - - -The index of the user's choice when a question is asked during the -mount operation. See the #GMountOperation::ask-question signal. - - - - - - - - - -Creates a new file and returns an output stream for writing to it. -The file must not already exists. - -By default files created are generally readable by everyone, -but if you pass #G_FILE_CREATE_PRIVATE in @flags the file -will be made readable only to the current user, to the level that -is supported on the target filesystem. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If a file or directory with this name already exists the G_IO_ERROR_EXISTS -error will be returned. -Some file systems don't allow all file names, and may -return an G_IO_ERROR_INVALID_FILENAME error, and if the name -is to long G_IO_ERROR_FILENAME_TOO_LONG will be returned. -Other errors are possible too, and depend on what kind of -filesystem the file is on. - - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileOutputStream for the newly created file, or -%NULL on error. - - - - - -Appends @data to data that can be read from the input stream - - - - - a #GMemoryInputStream - - - - input data - - - - length of the data, may be -1 if @data is a nul-terminated string - - - - function that is called to free @data, or %NULL - - - - - - - - -Gets the human readable description of the content type. - - - - - - a content type string. - - - - a short description of the content type @type. - - - - - -Loads the content of the file into memory, returning the size of -the data. The data is always zero terminated, but this is not -included in the resultant @length. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the @file's contents were successfully loaded. -%FALSE if there were errors.. - - - - - -Puts a signed 64-bit integer into the stream. - - - - - - a #GDataOutputStream. - - - - a #gint64. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Closes the stream, releasing resources related to it. - -Once the stream is closed, all other operations will return %G_IO_ERROR_CLOSED. -Closing a stream multiple times will not return an error. - -Closing a stream will automatically flush any outstanding buffers in the -stream. - -Streams will be automatically closed when the last reference -is dropped, but you might want to call this function to make sure -resources are released as early as possible. - -Some streams might keep the backing store of the stream (e.g. a file descriptor) -open after the stream is closed. See the documentation for the individual -stream for details. - -On failure the first error that happened will be reported, but the close -operation will finish as much as possible. A stream that failed to -close will still return %G_IO_ERROR_CLOSED for all operations. Still, it -is important to check and report the error to the user, otherwise -there might be a loss of data as all data might not be written. - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. -Cancelling a close will still leave the stream closed, but there some streams -can use a faster close that doesn't block to e.g. check errors. On -cancellation (as with any error) there is no guarantee that all written -data will reach the target. - - - - - - A #GOutputStream. - - - - optional cancellable object - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on failure - - - - - -Replaces the contents of @file with @contents of @length bytes. - -If @etag is specified (not %NULL) any existing file must have that etag, or -the error %G_IO_ERROR_WRONG_ETAG will be returned. - -If @make_backup is %TRUE, this function will attempt to make a backup of @file. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -The returned @new_etag can be used to verify that the file hasn't changed the -next time it is saved over. - - - - - - input #GFile. - - - - a string containing the new contents for @file. - - - - the length of @contents in bytes. - - - - the old &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - a location to a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. This should be freed with g_free() when no longer -needed. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Finds a #GVolume object by it's UUID (see g_volume_get_uuid()) - - - - - - a #GVolumeMonitor. - - - - the UUID to look for - - - - a #GVolume or %NULL if no such volume is available. - - - - - -Launches the application. Passes @uris to the launched application -as arguments, using the optional @launch_context to get information -about the details of the launcher (like what screen it is on). -On error, @error will be set accordingly. - -To lauch the application without arguments pass a %NULL @uris list. - -Note that even if the launch is successful the application launched -can fail to start if it runs into problems during startup. There is -no way to detect this. - - - - - - a #GAppInfo. - - - - a #GList containing URIs to launch. - - - - a #GAppLaunchContext. - - - - a #GError. - - - - %TRUE on successful launch, %FALSE otherwise. - - - - - -Guesses the icon of a Unix mount. - - - - - - a #GUnixMountEntry - - - - a #GIcon - - - - - -Unsets a mask set by g_file_info_set_attribute_mask(), if one -is set. - - - - - #GFileInfo. - - - - - - - - - - - - - - - - - -Gets a gssize from the asynchronous result. - - - - - - a #GSimpleAsyncResult. - - - - a gssize returned from the asynchronous function. - - - - - -Sets the name attribute for the current #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_NAME. - - - - - a #GFileInfo. - - - - a string containing a name. - - - - - - - - -Asynchronously opens @file for appending. - -For more details, see g_file_append_to() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_append_to_finish() to get the result of the operation. - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Gets the default #GVfs for the system. - - - - - - a #GVfs. - - - - - -Finishes a mount operation. See g_file_mount_mountable() for details. - -Finish an asynchronous mount operation that was started -with g_file_mount_mountable(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFile or %NULL on error. - - - - - -Finishes poll_for_mediaing a drive. - - - - - - a #GDrive. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE if the drive has been poll_for_mediaed successfully, -%FALSE otherwise. - - - - - -Asynchronously gets the mount for the file. - -For more details, see g_file_find_enclosing_mount() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_find_enclosing_mount_finish() to get the result of the operation. - - - - - a #GFile - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. -See %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. - - - - - a #GFileInfo. - - - - a #gboolean. - - - - - - - - -Checks if a content type can be executable. Note that for instance -things like text files can be executables (i.e. scripts and batch files). - - - - - - a content type string. - - - - %TRUE if the file type corresponds to a type that -can be executable, %FALSE otherwise. - - - - - -Reads a line from the data input stream. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - a #gsize to get the length of the data read in. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a string with the line that was read in (including the newlines). -Set @length to a #gsize to get the length of the read line. Returns %NULL on an error. - - - - - -Gets the value of a attribute, formated as a string. -This escapes things as needed to make the string valid -utf8. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a UTF-8 string associated with the given @attribute. -When you're done with the string it must be freed with g_free(). - - - - - - - - - - - - - - - - - - -Sets @mask on @info to match specific attribute types. - - - - - a #GFileInfo. - - - - a #GFileAttributeMatcher. - - - - - - - - -Unmounts a mount. This is an asynchronous operation, and is -finished by calling g_mount_unmount_finish() with the @mount -and #GAsyncResults data returned in the @callback. - - - - - a #GMount. - - - - flags affecting the operation - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - user data passed to @callback. - - - - - - - - -Returns: a #GAppInfo if the handle was found, %NULL if there were errors. - - - - - a #GFile to open. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GAppInfo if the handle was found, %NULL if there were errors. -When you are done with it, release it with g_object_unref() - - - - - -Checks if the application accepts files as arguments. - - - - - - a #GAppInfo. - - - - %TRUE if the @appinfo supports files. - - - - - -Checks if a unix mount point is mountable by the user. - - - - - - a #GUnixMountPoint. - - - - %TRUE if the mount point is user mountable. - - - - - -Checks if the application supports reading files and directories from URIs. - - - - - - a #GAppInfo. - - - - %TRUE if the @appinfo supports URIs. - - - - - -Sets the icon for a given #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_ICON. - - - - - a #GFileInfo. - - - - a #GIcon. - - - - - - - - -Gets the priority with which @extension was registered. - - - - - - a #GIOExtension - - - - the priority of @extension - - - - - -Queries the stream information asynchronously. -When the operation is finished @callback will be called. -You can then call g_file_input_stream_query_info_finish() -to get the result of the operation. - -For the synchronous version of this function, -see g_file_input_stream_query_info(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be set - - - - - - a #GFileInputStream. - - - - a file attribute query string. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Reads a string from the data input stream, up to the first -occurrance of any of the stop characters. - - - - - - a given #GDataInputStream. - - - - characters to terminate the read. - - - - a #gsize to get the length of the data read in. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a string with the data that was read before encountering -any of the stop characters. Set @length to a #gsize to get the length -of the string. This function will return %NULL on an error. - - - - - -Called when an application has failed to launch, so that it can cancel -the application startup notification started in g_app_launch_context_get_startup_notify_id(). - - - - - - a #GAppLaunchContext. - - - - the startup notification id that was returned by g_app_launch_context_get_startup_notify_id(). - - - - - - - - -Guesses whether a Unix mount can be ejected. - - - - - - a #GUnixMountEntry - - - - %TRUE if @mount_entry is deemed to be ejectable. - - - - - -Creates a new application launch context. This is not normally used, -instead you instantiate a subclass of this, such as #GdkAppLaunchContext. - - - - - - a #GAppLaunchContext. - - - - - -Sets the operation result within the asynchronous result to a pointer. - - - - - a #GSimpleAsyncResult. - - - - a pointer result from an asynchronous function. - - - - a #GDestroyNotify function. - - - - - - - - -Sets the size of the internal buffer of @stream to @size, or to the -size of the contents of the buffer. The buffer can never be resized -smaller than its current contents. - - - - - #GBufferedInputStream. - - - - a #gsize. - - - - - - - - -Checks to see if a #GFile has a given URI scheme. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing a URI scheme. - - - - %TRUE if #GFile's backend supports the -given URI scheme, %FALSE if URI scheme is %NULL, -not supported, or #GFile is invalid. - - - - - -Gets the device path for a unix mount. - - - - - - a #GUnixMount. - - - - a string containing the device path. - - - - - -Sets the "is_hidden" attribute in a #GFileInfo according to @is_symlink. -See %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. - - - - - a #GFileInfo. - - - - a #gboolean. - - - - - - - - -Tries to read @count bytes from the stream into the buffer starting at -@buffer. Will block during this read. - -If count is zero returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes read into the buffer is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - - - - - - a #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes read, or -1 on error - - - - - -Creates a new themed icon for @iconnames. - - - - - - an array of strings containing icon names. - - - - the number of elements in the @iconnames array. - - - - a new #GThemedIcon. - - - - - -Creates a new #GBufferedInputStream from the given @base_stream, -with a buffer set to @size. - - - - - - a #GOutputStream. - - - - a #gsize. - - - - a #GInputStream. - - - - - -Converts errno.h error codes into GIO error codes. - - - - - - Error number as defined in errno.h. - - - - #GIOErrorEnum value for the given errno.h error number. - - - - - -Checks if @mount can be eject. - - - - - - a #GMount. - - - - %TRUE if the @mount can be ejected. - - - - - -Gets the requested information about the files in a directory. The result -is a #GFileEnumerator object that will give out #GFileInfo objects for -all the files in the directory. - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "standard::*" means all attributes in the standard -namespace. An example attribute query be "standard::*,owner::user". -The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -If the file is not a directory, the G_FILE_ERROR_NOTDIR error will be returned. -Other errors are possible too. - - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - A #GFileEnumerator if successful, %NULL on error. - - - - - -Clears the pending flag on @stream. - - - - - output stream - - - - - - - - -Gets the name for a file. - - - - - - a #GFileInfo. - - - - a string containing the file name. - - - - - -Check to see whether the mount operation is being used -for an anonymous user. - - - - - - a #GMountOperation. - - - - %TRUE if mount operation is anonymous. - - - - - -Gets a pointer result as returned by the asynchronous function. - - - - - - a #GSimpleAsyncResult. - - - - a pointer from the result. - - - - - -Used from an I/O job to send a callback to be run in the -main loop (main thread), waiting for the result (and thus -blocking the I/O job). - - - - - - a #GIOSchedulerJob - - - - a #GSourceFunc callback that will be called in the main thread - - - - data to pass to @func - - - - a #GDestroyNotify for @user_data, or %NULL - - - - The return value of @func - - - - - -Gets the filesystem type for the unix mount. - - - - - - a #GUnixMount. - - - - a string containing the file system type. - - - - - -Reads an unsigned 32-bit/4-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 32-bit/4-byte value read from the @stream or %0 if -an error occurred. - - - - - -Gets the UUID for the @volume. The reference is typically based on -the file system UUID for the volume in question and should be -considered an opaque string. Returns %NULL if there is no UUID -available. - - - - - - a #GVolume. - - - - the UUID for @volume or %NULL if no UUID can be computed. - - - - - -Creates a #GSimpleAsyncResult. - - - - - - a #GObject the asynchronous function was called with. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - the asynchronous function. - - - - a #GSimpleAsyncResult. - - - - - -Gets the mime-type for the content type. If one is registered - - - - - - a content type string. - - - - the registered mime-type for the given @type, or NULL if unknown. - - - - - -Emits the #GFileMonitor::changed signal if a change -has taken place. Should be called from file monitor -implementations only. - -The signal will be emitted from an idle handler. - - - - - a #GFileMonitor. - - - - a #GFile. - - - - a #GFile. - - - - a set of #GFileMonitorEvent flags. - - - - - - - - -Finishes copying the file started with -g_file_copy_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a %TRUE on success, %FALSE on error. - - - - - -Gets the name of @mount. - - - - - - a #GMount. - - - - the name for the given @mount. The returned string should -be freed when no longer needed. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a boolean value. - - - - - - - - -Gets the URI scheme for a #GFile. -RFC 3986 decodes the scheme as: -&lt;programlisting&gt; -URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] -&lt;/programlisting&gt; -Common schemes include "file", "http", "ftp", etc. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing the URI scheme for the given -#GFile. The returned string should be freed with g_free() -when no longer needed. - - - - - -Checks if the application info should be shown in menus that -list available applications. - - - - - - a #GAppInfo. - - - - %TRUE if the @appinfo should be shown, %FALSE otherwise. - - - - - -Checks if an attribute will be matched by an attribute matcher. If -the matcher was created with the "*" matching string, this function -will always return %TRUE. - - - - - - a #GFileAttributeMatcher. - - - - a file attribute key. - - - - %TRUE if @attribute matches @matcher. %FALSE otherwise. - - - - - -Gets a list of all of the applications currently registered -on this system. - -For desktop files, this includes applications that have -&lt;literal&gt;NoDisplay=true&lt;/literal&gt; set or are excluded from -display by means of &lt;literal&gt;OnlyShowIn&lt;/literal&gt; or -&lt;literal&gt;NotShowIn&lt;/literal&gt;. See g_app_info_should_show(). -The returned list does not include applications which have -the &lt;literal&gt;Hidden&lt;/literal&gt; key set. - - - - - - a newly allocated #GList of references to #GAppInfo&lt;!----&gt;s. - - - - - -Gets an unsigned 32-bit integer contained within the attribute. If the -attribute does not contain an unsigned 32-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - an unsigned 32-bit integer from the attribute. - - - - - -Gets the base name (the last component of the path) for a given #GFile. - -If called for the top level of a system (such as the filesystem root -or a uri like sftp://host/) it will return a single directory separator -(and on Windows, possibly a drive letter). - -The base name is a byte string (*not* UTF-8). It has no defined encoding -or rules other than it may not contain zero bytes. If you want to use -filenames in a user interface you should use the display name that you -can get by requesting the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME -attribute with g_file_query_info(). - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string containing the #GFile's base name, or %NULL -if given #GFile is invalid. The returned string should be -freed with g_free() when no longer needed. - - - - - -Gets the drive for the @volume. - - - - - - a #GVolume. - - - - a #GDrive or %NULL if @volume is not associated with a drive. - - - - - -Gets the default application for launching applications -using this URI scheme for a particular GDesktopAppInfoLookup -implementation. - -The GDesktopAppInfoLookup interface and this function is used -to implement g_app_info_get_default_for_uri_scheme() backends -in a GIO module. There is no reason for applications to use it -directly. Applications should use g_app_info_get_default_for_uri_scheme(). - - - - - - a #GDesktopAppInfoLookup - - - - a string containing a URI scheme. - - - - #GAppInfo for given @uri_scheme or %NULL on error. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a signed 32-bit integer - - - - - - - - -Checks if the buffer automatically grows as data is added. - - - - - - a #GBufferedOutputStream. - - - - %TRUE if the @stream's buffer automatically grows, -%FALSE otherwise. - - - - - -Will set @cancellable to cancelled, and will emit the CANCELLED -signal. - -This function is thread-safe. In other words, you can safely call it from -another thread than the one running an operation that was passed -the @cancellable. - - - - - a #GCancellable object. - - - - - - - - -Gets the next matched attribute from a #GFileAttributeMatcher. - - - - - - a #GFileAttributeMatcher. - - - - a string containing the next attribute or %NULL if -no more attribute exist. - - - - - -Closes the stream, releasing resources related to it. - -Once the stream is closed, all other operations will return %G_IO_ERROR_CLOSED. -Closing a stream multiple times will not return an error. - -Streams will be automatically closed when the last reference -is dropped, but you might want to call this function to make sure -resources are released as early as possible. - -Some streams might keep the backing store of the stream (e.g. a file descriptor) -open after the stream is closed. See the documentation for the individual -stream for details. - -On failure the first error that happened will be reported, but the close -operation will finish as much as possible. A stream that failed to -close will still return %G_IO_ERROR_CLOSED for all operations. Still, it -is important to check and report the error to the user. - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. -Cancelling a close will still leave the stream closed, but some streams -can use a faster close that doesn't block to e.g. check errors. - - - - - - A #GInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on failure - - - - - -Mounts a file of type G_FILE_TYPE_MOUNTABLE. -Using @mount_operation, you can request callbacks when, for instance, -passwords are needed during authentication. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -When the operation is finished, @callback will be called. You can then call -g_file_mount_mountable_finish() to get the result of the operation. - - - - - input #GFile. - - - - flags affecting the operation - - - - a #GMountOperation, or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Reads data into @stream's buffer asynchronously, up to @count size. -@io_priority can be used to prioritize reads. For the synchronous -version of this function, see g_buffered_input_stream_fill(). - - - - - #GBufferedInputStream. - - - - a #gssize. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object - - - - a #GAsyncReadyCallback. - - - - a #gpointer. - - - - - - - - -Releases all resources used by this enumerator, making the -enumerator return %G_IO_ERROR_CLOSED on all calls. - -This will be automatically called when the last reference -is dropped, but you might want to call this function to make -sure resources are released as early as possible. - - - - - - a #GFileEnumerator. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - #TRUE on success or #FALSE on error. - - - - - -Checks if two icons are equal. - - - - - - pointer to the first #GIcon. - - - - pointer to the second #GIcon. - - - - %TRUE if @icon1 is equal to @icon2. %FALSE otherwise. - - - - - -Returns: %TRUE if the volume should be automatically mounted. - - - - - a #GVolume - - - - %TRUE if the volume should be automatically mounted. - - - - - -Gets any loaded data from the @ostream. - -Note that the returned pointer may become invalid on the next -write or truncate operation on the stream. - - - - - - a #GMemoryOutputStream - - - - pointer to the stream's data - - - - - -Gets the mount path for a unix mount. - - - - - - input #GUnixMountEntry to get the mount path for. - - - - the mount path for @mount_entry. - - - - - -Splices an input stream into an output stream. - - - - - - a #GOutputStream. - - - - a #GInputStream. - - - - a set of #GOutputStreamSpliceFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #gssize containing the size of the data spliced. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - an unsigned 64-bit integer. - - - - - - - - -Gets the kinds of &lt;link linkend="volume-identifier"&gt;identifiers&lt;/link&gt; -that @volume has. Use g_volume_get_identifer() to obtain -the identifiers themselves. - - - - - - a #GVolume - - - - a %NULL-terminated array of strings containing -kinds of identifiers. Use g_strfreev() to free. - - - - - -Gets a #GList of strings containing the unix mount points. -If @time_read is set, it will be filled with the mount timestamp, -allowing for checking if the mounts have changed with -g_unix_mounts_points_changed_since(). - - - - - - guint64 to contain a timestamp. - - - - a #GList of the UNIX mountpoints. - - - - - -Removes a reference from the given @list. If the reference count -falls to zero, the @list is deleted. - - - - - The #GFileAttributeInfoList to unreference. - - - - - - - - -Request an asynchronous skip of @count bytes from the stream into the buffer -starting at @buffer. When the operation is finished @callback will be called. -You can then call g_input_stream_skip_finish() to get the result of the -operation. - -During an async request no other sync and async calls are allowed, and will -result in %G_IO_ERROR_PENDING errors. - -A value of @count larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes skipped will be passed to the -callback. It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file, but generally we try to skip -as many bytes as requested. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -Any outstanding i/o request with higher priority (lower numerical value) will -be executed before an outstanding request with lower priority. Default -priority is %G_PRIORITY_DEFAULT. - -The asyncronous methods have a default fallback that uses threads to implement -asynchronicity, so they are optional for inheriting classes. However, if you -override one you must override all. - - - - - A #GInputStream. - - - - the number of bytes that will be skipped from the stream - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Constructs a #GFile for a given path. This operation never -fails, but the returned object might not support any I/O -operation if @path is malformed. - - - - - - a string containing a relative or absolute path. - - - - a new #GFile for the given @path. - - - - - -Copies the file attributes from @source to @destination. - -Normally only a subset of the file attributes are copied, -those that are copies in a normal file copy operation -(which for instance does not include e.g. mtime). However -if #G_FILE_COPY_ALL_METADATA is specified in @flags, then -all the metadata that is possible to copy is copied. - - - - - - a #GFile with attributes. - - - - a #GFile to copy attributes to. - - - - a set of #GFileCopyFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if the attributes were copied successfully, %FALSE otherwise. - - - - - -Utility function to check if a particular file exists. This is -implemented using g_file_query_info() and as such does blocking I/O. - -Note that in many cases it is racy to first check for file existance -and then execute something based on the outcome of that, because the -file might have been created or removed inbetween the operations. The -general approach to handling that is to not check, but just do the -operation and handle the errors as they come. - -As an example of race-free checking, take the case of reading a file, and -if it doesn't exist, creating it. There are two racy versions: read it, and -on error create it; and: check if it exists, if not create it. These -can both result in two processes creating the file (with perhaps a partially -written file as the result). The correct approach is to always try to create -the file with g_file_create() which will either atomically create the file -or fail with a G_IO_ERROR_EXISTS error. - -However, in many cases an existance check is useful in a user -interface, for instance to make a menu item sensitive/insensitive, so that -you don't have to fool users that something is possible and then just show -and error dialog. If you do this, you should make sure to also handle the -errors that can happen due to races when you execute the operation. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - %TRUE if the file exists (and can be detected without error), %FALSE otherwise (or if cancelled). - - - - - -Gets a reference to the class for the type that is -associated with @extension. - - - - - - a #GIOExtension - - - - the #GTypeClass for the type of @extension - - - - - -Gets the #GAppInfo that correspond to a given content type. - - - - - - the content type to find a #GAppInfo for - - - - if %TRUE, the #GAppInfo is expected to -support URIs - - - - #GAppInfo for given @content_type or %NULL on error. - - - - - -Similar to g_file_query_info(), but obtains information -about the filesystem the @file is on, rather than the file itself. -For instance the amount of space available and the type of -the filesystem. - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "fs:*" means all attributes in the fs -namespace. The standard namespace for filesystem attributes is "fs". -Common attributes of interest are #G_FILE_ATTRIBUTE_FILESYSTEM_SIZE -(the total size of the filesystem in bytes), #G_FILE_ATTRIBUTE_FILESYSTEM_FREE (number of -bytes available), and #G_FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - input #GFile. - - - - an attribute query string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - a #GFileInfo or %NULL if there was an error. - - - - - -Remounts a mount. This is an asynchronous operation, and is -finished by calling g_mount_remount_finish() with the @mount -and #GAsyncResults data returned in the @callback. - -Remounting is useful when some setting affecting the operation -of the volume has been changed, as these may need a remount to -take affect. While this is semantically equivalent with unmounting -and then remounting not all backends might need to actually be -unmounted. - - - - - a #GMount. - - - - flags affecting the operation - - - - a #GMountOperation or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - user data passed to @callback. - - - - - - - - -Finishes an asynchronous file read operation started with -g_file_read_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFileInputStream or %NULL on error. - - - - - -Gets the symlink target for a given #GFileInfo. - - - - - - a #GFileInfo. - - - - a string containing the symlink target. - - - - - -Runs the asynchronous job in a separated thread. - - - - - a #GSimpleAsyncResult. - - - - a #GSimpleAsyncThreadFunc. - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Finishes an asynchronous partial load operation that was started -with g_file_load_partial_contents_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the load was successful. If %FALSE and @error is -present, it will be set appropriately. - - - - - -Tries to write @count bytes from @buffer into the stream. Will block -during the operation. - -If count is zero returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes written to the stream is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. on a partial i/o error, or if there is not enough -storage in the stream. All writes either block until at least one byte -is written, so zero is never returned (unless @count is zero). - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - - - - - - a #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - optional cancellable object - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes written, or -1 on error - - - - - -Tries to write @count bytes from @buffer into the stream. Will block -during the operation. - -This function is similar to g_output_stream_write(), except it tries to -write as many bytes as requested, only stopping on an error. - -On a successful write of @count bytes, %TRUE is returned, and @bytes_written -is set to @count. - -If there is an error during the operation FALSE is returned and @error -is set to indicate the error status, @bytes_written is updated to contain -the number of bytes written into the stream before the error occurred. - - - - - - a #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - location to store the number of bytes that was -written to the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE if there was an error - - - - - -Gets a list of URI schemes supported by @vfs. - - - - - - a #GVfs. - - - - a list of strings. - - - - - -Obtains a file monitor for the given file. If no file notification -mechanism exists, then regular polling of the file is used. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a set of #GFileMonitorFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL. - - - - a #GFileMonitor for the given @file. - - - - - -Gets the entity tag for the file when it has been written. -This must be called after the stream has been written -and closed, as the etag can change while writing. - - - - - - a #GFileOutputStream. - - - - the entity tag for the stream. - - - - - - -Tries to move the file or directory @source to the location specified by @destination. -If native move operations are supported then this is used, otherwise a copy + delete -fallback is used. The native implementation may support moving directories (for instance -on moves inside the same filesystem), but the fallback code does not. - -If the flag #G_FILE_COPY_OVERWRITE is specified an already -existing @destination file is overwritten. - -If the flag #G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks -will be copied as symlinks, otherwise the target of the -@source symlink will be copied. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If @progress_callback is not %NULL, then the operation can be monitored by -setting this to a #GFileProgressCallback function. @progress_callback_data -will be passed to this function. It is guaranteed that this callback will -be called after all data has been transferred with the total number of bytes -copied during the operation. - -If the @source file does not exist then the G_IO_ERROR_NOT_FOUND -error is returned, independent on the status of the @destination. - -If #G_FILE_COPY_OVERWRITE is not specified and the target exists, then the -error G_IO_ERROR_EXISTS is returned. - -If trying to overwrite a file over a directory the G_IO_ERROR_IS_DIRECTORY -error is returned. If trying to overwrite a directory with a directory the -G_IO_ERROR_WOULD_MERGE error is returned. - -If the source is a directory and the target does not exist, or #G_FILE_COPY_OVERWRITE is -specified and the target is a file, then the G_IO_ERROR_WOULD_RECURSE error -may be returned (if the native move operation isn't available). - - - - - - #GFile pointing to the source location. - - - - #GFile pointing to the destination location. - - - - set of #GFileCopyFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GFileProgressCallback function for updates. - - - - gpointer to user data for the callback function. - - - - #GError for returning error conditions, or %NULL - - - - %TRUE on successful move, %FALSE otherwise. - - - - - -Creates a new buffered output stream for a base stream. - - - - - - a #GOutputStream. - - - - a #GOutputStream for the given @base_stream. - - - - - -Gets the edit name for a file. - - - - - - a #GFileInfo. - - - - a string containing the edit name. - - - - - -Sets an attribute in the file with attribute name @attribute to @value. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - The type of the attribute - - - - a pointer to the value (or the pointer itself if the type is a pointer type) - - - - a set of #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the attribute was set, %FALSE otherwise. - - - - - -Asynchronously closes the file enumerator. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned in -g_file_enumerator_close_finish(). - - - - - a #GFileEnumerator. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Checks if a unix mount point is read only. - - - - - - a #GUnixMountPoint. - - - - %TRUE if a mount point is read only. - - - - - -Opens a file for reading. The result is a #GFileInputStream that -can be used to read the contents of the file. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -If the file is a directory, the G_IO_ERROR_IS_DIRECTORY error will be returned. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - #GFile to read. - - - - a #GCancellable - - - - a #GError, or %NULL - - - - #GFileInputStream or %NULL on error. - - - - - -Creates a duplicate of a #GAppInfo. - - - - - - a #GAppInfo. - - - - a duplicate of @appinfo. - - - - - -Propagates an error from within the simple asynchronous result to -a given destination. - - - - - - a #GSimpleAsyncResult. - - - - a location to propegate the error to. - - - - %TRUE if the error was propegated to @dest. %FALSE otherwise. - - - - - -Gets the display string for the display. This is used to ensure new -applications are started on the same display as the launching -application. - - - - - - a #GAppLaunchContext. - - - - a #GAppInfo. - - - - a #GList of files. - - - - a display string for the display. - - - - - -A desktop file is hidden if the Hidden key in it is -set to True. - - - - - - a #GDesktopAppInfo. - - - - %TRUE if hidden, %FALSE otherwise. - - - - - - - - - - filename of the file to create. - - - - new local #GFile. - - - - - -Puts a string into the output stream. - - - - - - a #GDataOutputStream. - - - - a string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @string was successfully added to the @stream. - - - - - -This operation never fails, but the returned object might -not support any I/O operations if the @parse_name cannot -be parsed by the #GVfs module. - - - - - - a #GVfs. - - - - a string to be parsed by the VFS module. - - - - a #GFile for the given @parse_name. - - - - - -Checks if the VFS is active. - - - - - - a #GVfs. - - - - %TRUE if construction of the @vfs was successful and it is now active. - - - - - -Registers an extension point. - - - - - - The name of the extension point - - - - the new #GIOExtensionPoint. This object is owned by GIO -and should not be freed - - - - - -Creates a #GSimpleAsyncResult from an error condition. - - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - a #GError location. - - - - a #GSimpleAsyncResult. - - - - - -Request an asynchronous read of @count bytes from the stream into the buffer -starting at @buffer. When the operation is finished @callback will be called. -You can then call g_input_stream_read_finish() to get the result of the -operation. - -During an async request no other sync and async calls are allowed, and will -result in %G_IO_ERROR_PENDING errors. - -A value of @count larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes read into the buffer will be passed to the -callback. It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file, but generally we try to read -as many bytes as requested. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -Any outstanding i/o request with higher priority (lower numerical value) will -be executed before an outstanding request with lower priority. Default -priority is %G_PRIORITY_DEFAULT. - -The asyncronous methods have a default fallback that uses threads to implement -asynchronicity, so they are optional for inheriting classes. However, if you -override one you must override all. - - - - - A #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Gets the value of the sort_order attribute from the #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. - - - - - - a #GFileInfo. - - - - a #gint32 containing the value of the "standard::sort_order" attribute. - - - - - -Creates a new themed icon for @iconname. - - - - - - a string containing an icon name. - - - - a new #GThemedIcon. - - - - - -Finishes an asynchronous load of the @file's contents. -The contents are placed in @contents, and @length is set to the -size of the @contents string. If @etag_out is present, it will be -set to the new entity tag for the @file. - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the load was successful. If %FALSE and @error is -present, it will be set appropriately. - - - - - -Finishes an asynchronous stream read operation. - - - - - - a #GInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - number of bytes read in, or -1 on error. - - - - - -Finishes an asynchronous replace of the given @file. See -g_file_replace_contents_async(). Sets @new_etag to the new entity -tag for the document, if present. - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a location of a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. This should be freed with g_free() when it is no -longer needed. - - - - a #GError, or %NULL - - - - %TRUE on success, %FALSE on failure. - - - - - -Tells the current position within the stream. - - - - - - a #GSeekable. - - - - the offset from the beginning of the buffer. - - - - - -Gets the size of the available data within the stream. - - - - - - #GBufferedInputStream. - - - - size of the available stream. - - - - - -Creates a new #GMemoryOutputStream. - -If @data is non-%NULL, the stream will use that for its internal storage. -If @realloc_fn is non-%NULL, it will be used for resizing the internal -storage when necessary. To construct a fixed-size output stream, -pass %NULL as @realloc_fn. -|[ -/&ast; a stream that can grow &ast;/ -stream = g_memory_output_stream_new (NULL, 0, realloc, free); - -/&ast; a fixed-size stream &ast;/ -data = malloc (200); -stream2 = g_memory_output_stream_new (data, 200, NULL, free); -]| - - - - - - pointer to a chunk of memory to use, or %NULL - - - - the size of @data - - - - a function with realloc() semantics to be called when -@data needs to be grown, or %NULL - - - - a function to be called on @data when the stream is finalized, -or %NULL - - - - A newly created #GMemoryOutputStream object. - - - - - -Gets a display name for a file. - - - - - - a #GFileInfo. - - - - a string containing the display name. - - - - - - - - - - - - - - - - - - #GUnixVolume for the given @mount_path. - - - - - -Obtains a directory monitor for the given file. -This may fail if directory monitoring is not supported. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a set of #GFileMonitorFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL. - - - - a #GFileMonitor for the given @file, -or %NULL on error. - - - - - -Duplicates a #GFile handle. This operation does not duplicate -the actual file or directory represented by the #GFile; see -g_file_copy() if attempting to copy a file. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - #GFile that is a duplicate of the given #GFile. - - - - - -Sets the size of the internal buffer to @size. - - - - - a #GBufferedOutputStream. - - - - a #gsize. - - - - - - - - -Checks if the unix mount points have changed since a given unix time. - - - - - - guint64 to contain a timestamp. - - - - %TRUE if the mount points have changed since @time. - - - - - -Starts an asynchronous replacement of @file with the given -@contents of @length bytes. @etag will replace the document's -current entity tag. - -When this operation has completed, @callback will be called with -@user_user data, and the operation can be finalized with -g_file_replace_contents_finish(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If @make_backup is %TRUE, this function will attempt to -make a backup of @file. - - - - - input #GFile. - - - - string of contents to replace the file with. - - - - the length of @contents in bytes. - - - - a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for the @file. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Finishes unmounting a mount. If any errors occurred during the operation, -@error will be set to contain the errors and %FALSE will be returned. - - - - - - a #GMount. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the mount was successfully unmounted. %FALSE otherwise. - - - - - -Gets the size of the buffer in the @stream. - - - - - - a #GBufferedOutputStream. - - - - the current size of the buffer. - - - - - -Gets a hash for an icon. - - - - - - #gconstpointer to an icon object. - - - - a #guint containing a hash for the @icon, suitable for -use in a #GHashTable or similar data structure. - - - - - -Gets the value of a #GObject attribute. If the attribute does -not contain a #GObject, %NULL will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GObject associated with the given @attribute, or -%NULL otherwise. - - - - - -References a file attribute matcher. - - - - - - a #GFileAttributeMatcher. - - - - a #GFileAttributeMatcher. - - - - - -Emitted when the file name completion information comes available. - - - - - - - - - -Finishes an asynchronous file replace operation started with -g_file_replace_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFileOutputStream, or %NULL on error. - - - - - -Creates a new file info structure. - - - - - - a #GFileInfo. - - - - - -Creates a new unix output stream for @fd. If @close_fd_at_close -is %TRUE, the fd will be closed when the output stream is destroyed. - - - - - - unix's file descriptor. - - - - a #gboolean. - - - - #GOutputStream. If @close_fd_at_close is %TRUE, then -@fd will be closed when the #GOutputStream is closed. - - - - - -Puts an unsigned 16-bit integer into the output stream. - - - - - - a #GDataOutputStream. - - - - a #guint16. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Creates a new #GSimpleAsyncResult with a set error. - - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - a #GQuark. - - - - an error code. - - - - a string with format characters. - - - - a list of values to insert into @format. - - - - a #GSimpleAsyncResult. - - - - - -Gets a list of all #GAppInfo s for a given content type. - - - - - - the content type to find a #GAppInfo for - - - - #GList of #GAppInfo s for given @content_type -or %NULL on error. - - - - - -Asynchronously sets the display name for a given #GFile. - -For more details, see g_set_display_name() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_set_display_name_finish() to get the result of the operation. - - - - - input #GFile. - - - - a string. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Finishes an unmount operation, see g_file_unmount_mountable() for details. - -Finish an asynchronous unmount operation that was started -with g_file_unmount_mountable(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - %TRUE if the operation finished successfully. %FALSE -otherwise. - - - - - -Gets a unsigned 64-bit integer contained within the attribute. If the -attribute does not contain an unsigned 64-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a unsigned 64-bit integer from the attribute. - - - - - -Checks if a supported content type can be removed from an application. - - - - - - a #GAppInfo. - - - - %TRUE if it is possible to remove supported -content types from a given @appinfo, %FALSE if not. - - - - - -Gets the modification time of the current @info and sets it -in @result. - - - - - a #GFileInfo. - - - - a #GTimeVal. - - - - - - - - -Gets the URI for the @file. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing the #GFile's URI. -The returned string should be freed with g_free() when no longer needed. - - - - - -Sets the user name within @op to @username. - - - - - - a #GMountOperation. - - - - input username. - - - - - - - - -Determines if @type is a subset of @supertype. - - - - - - a content type string. - - - - a string. - - - - %TRUE if @type is a kind of @supertype, -%FALSE otherwise. - - - - - -Asynchronously gets the requested information about the filesystem -that the specified @file is on. The result is a #GFileInfo object -that contains key-value attributes (such as type or size for the -file). - -For more details, see g_file_query_filesystem_info() which is the -synchronous version of this call. - -When the operation is finished, @callback will be called. You can -then call g_file_query_info_finish() to get the result of the -operation. - - - - - input #GFile. - - - - an attribute query string. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - diff --git a/libs/glibmm2/gio/src/gio_docs_override.xml b/libs/glibmm2/gio/src/gio_docs_override.xml deleted file mode 100644 index 4ab66551ba..0000000000 --- a/libs/glibmm2/gio/src/gio_docs_override.xml +++ /dev/null @@ -1,1737 +0,0 @@ - - - -Creates a symbolic link. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string with the value of the new symlink. - - - - Cancellable object. - - - - a #GError. - - - - %TRUE on the creation of a new symlink, %FALSE otherwise. - - - - - - -Finishes closing a file enumerator, started from g_file_enumerator_close_async(). - -If the file enumerator was already closed when g_file_enumerator_close_async() -was called, then this function will throw a Gio::Error with CLOSED, and -return %FALSE. If the file enumerator had pending operation when the close -operation was started, then this function will throw a Gio::Error with PENDING, and -return %FALSE. The operation may have been -cancelled by triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error with CANCELLED will be thrown, and %FALSE will be -returned. - - - - - - a #GFileEnumerator. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the close operation has finished successfully. - - - - - -Gets an output stream for appending data to the file. If -the file doesn't already exist it is created. - -By default files created are generally readable by everyone, -but if you pass #G_FILE_CREATE_PRIVATE in @flags the file -will be made readable only to the current user, to the level that -is supported on the target filesystem. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -Some file systems don't allow all file names, and may -throw a Gio::Error with INVALID_FILENAME. -If the file is a directory a Gio::Error with IS_DIRECTORY will be -thrown. Other errors are possible too, and depend on what kind of -filesystem the file is on. - - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - a #GFileOutputStream. - - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT32 to @value. -If @attribute is of a different type, this operation will fail. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #gint32 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Deletes a file. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the file was deleted. %FALSE otherwise. - - - - - -Seeks in the stream by the given @offset, modified by @type. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a #GSeekable. - - - - a #goffset. - - - - a #GSeekType. - - - - Cancellable object. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Renames @file to the specified display name. - -The display name is converted from UTF8 to the correct encoding for the target -filesystem if possible and the @file is renamed to this. - -If you want to implement a rename operation in the user interface the edit name -(#G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the initial value in the rename -widget, and then the result after editing should be passed to g_file_set_display_name(). - -On success the resulting converted filename is returned. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - a #GFile specifying what @file was renamed to, or %NULL if there was an error. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to @value. -If @attribute is of a different type, this operation will fail, -returning %FALSE. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a string containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Gets the requested information about specified @file. The result -is a #GFileInfo object that contains key-value attributes (such as -the type or size of the file). - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "standard::*" means all attributes in the standard -namespace. An example attribute query be "standard::*,owner::user". -The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -For symlinks, normally the information about the target of the -symlink is returned, rather than information about the symlink itself. -However if you pass #G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @flags the -information about the symlink itself will be returned. Also, for symlinks -that point to non-existing files the information about the symlink itself -will be returned. - -If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError. - - - - a #GFileInfo for the given @file, or %NULL on error. - - - - - -Tries to skip @count bytes from the stream. Will block during the operation. - -This is identical to g_input_stream_read(), from a behaviour standpoint, -but the bytes that are skipped are not returned to the user. Some -streams have an implementation that is more efficient than reading the data. - -This function is optional for inherited classes, as the default implementation -emulates it using read. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - a #GInputStream. - - - - the number of bytes that will be skipped from the stream - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes skipped, or -1 on error - - - - - -Creates a directory. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE on successful creation, %FALSE otherwise. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT32 to @value. -If @attribute is of a different type, this operation will fail. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint32 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Obtain the list of attribute namespaces where new attributes -can be created by a user. An example of this is extended -attributes (in the "xattr" namespace). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - a #GFileAttributeInfoList describing the writable namespaces. -When you are done with it, release it with g_file_attribute_info_list_unref() - - - - - -Sends @file to the "Trashcan", if possible. This is similar to -deleting it, but the user can recover it before emptying the trashcan. -Not all file systems support trashing, so this call can throw a Gio::Error with - NOT_SUPPORTED. - - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - #GFile to send to trash. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE on successful trash, %FALSE otherwise. - - - - - -Tries to set all attributes in the #GFileInfo on the target values, -not stopping on the first error. - -If there is any error during this operation then @error will be set to -the first error. Error on particular fields are flagged by setting -the "status" field in the attribute value to -%G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect -further errors. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a #GFileInfo. - - - - #GFileQueryInfoFlags - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if there was any error, %FALSE otherwise. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value. -If @attribute is of a different type, this operation will fail. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint64 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Flushed any outstanding buffers in the stream. Will block during -the operation. Closing the stream will implicitly cause a flush. - -This function is optional for inherited classes. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a #GOutputStream. - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on error - - - - - - -Truncates a stream with a given #offset. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - a #GSeekable. - - - - a #goffset. - - - - Cancellable object. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Tries to read a single byte from the stream or the buffer. Will block -during this read. - -On success, the byte read from the stream is returned. On end of stream --1 is returned but it's not an exceptional error and @error is not set. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - - - #GBufferedInputStream. - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore. - - - - the byte read from the @stream, or -1 on end of stream or error. - - - - - - -Reads an unsigned 64-bit/8-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order(). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a given #GDataInputStream. - - - - Cancellable object. - - - - #GError for error reporting. - - - - an unsigned 64-bit/8-byte read from @stream or %0 if -an error occurred. - - - - - -Queries a file output stream for the given @attributes. -This function blocks while querying the stream. For the asynchronous -version of this function, see g_file_output_stream_query_info_async(). -While the stream is blocked, the stream will set the pending flag -internally, and any other operations on the stream will fail with -PENDING. - -Can fail if the stream was already closed (throwing a Gio::Error with -CLOSED), the stream has pending operations (throwing a Gio::Error with -PENDING), or if querying info is not supported for -the stream's interface (throwing a Gio::Error with NOT_SUPPORTED). In -all cases of failure, %NULL will be returned. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED, and %NULL will -be returned. - - - - - - a #GFileOutputStream. - - - - a file attribute query string. - - - - Cancellable object. - - - - a #GError, %NULL to ignore. - - - - a #GFileInfo for the @stream, or %NULL on error. - - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT64 to @value. -If @attribute is of a different type, this operation will fail. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint64 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set, %FALSE otherwise. - - - - - -Gets a #GMount for the #GFile. - -If the #GFileIface for @file does not have a mount (e.g. possibly a -remote share), a Gio::Error will be thrown with NOT_FOUND and %NULL -will be returned. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - Cancellable object. - - - - a #GError. - - - - a #GMount where the @file is located or %NULL on error. - - - - - -Reads a 64-bit/8-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a given #GDataInputStream. - - - - Cancellable object. - - - - #GError for error reporting. - - - - a signed 64-bit/8-byte value read from @stream or %0 if -an error occurred. - - - - - -Tries to read @count bytes from the stream into the buffer. -Will block during this read. - -If @count is zero, returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a Gio::Error to be thrown, with INVALID_ARGUMENT. - -On success, the number of bytes read into the buffer is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - -For the asynchronous, non-blocking, version of this function, see -g_buffered_input_stream_fill_async(). - - - - - - #GBufferedInputStream. - - - - the number of bytes that will be read from the stream. - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore. - - - - the number of bytes read into @stream's buffer, up to @count, -or -1 on error. - - - - - -Reads a signed 32-bit/4-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a given #GDataInputStream. - - - - Cancellable object. - - - - #GError for error reporting. - - - - a signed 32-bit/4-byte value read from the @stream or %0 if -an error occurred. - - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value. -If @attribute is of a different type, this operation will fail. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a string containing the attribute's value. - - - - #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set, %FALSE otherwise. - - - - - - -Creates a new file and returns an output stream for writing to it. -The file must not already exists. - -By default files created are generally readable by everyone, -but if you pass #G_FILE_CREATE_PRIVATE in @flags the file -will be made readable only to the current user, to the level that -is supported on the target filesystem. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -If a file or directory with this name already exists a Gio::Error with EXISTS -will be thrown. -Some file systems don't allow all file names, and may -throw a Gio::Error with INVALID_FILENAME, and if the name -is to long a Gio::Error with FILENAME_TOO_LONG will be thrown. -Other errors are possible too, and depend on what kind of -filesystem the file is on. - - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - a #GFileOutputStream for the newly created file, or -%NULL on error. - - - - - -Loads the content of the file into memory, returning the size of -the data. The data is always zero terminated, but this is not -included in the resultant @length. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - Cancellable object. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the @file's contents were successfully loaded. -%FALSE if there were errors.. - - - - - -Closes the stream, releasing resources related to it. - -Once the stream is closed, all other operations will throw a Gio::Error with -CLOSED. Closing a stream multiple times will not cause an error to be -thrown. - -Closing a stream will automatically flush any outstanding buffers in the -stream. - -Streams will be automatically closed when the last reference -is dropped, but you might want to call this function to make sure -resources are released as early as possible. - -Some streams might keep the backing store of the stream (e.g. a file descriptor) -open after the stream is closed. See the documentation for the individual -stream for details. - -On failure the first error that happened will be reported, but the close -operation will finish as much as possible. A stream that failed to -close will still throw a Gio::Error with CLOSED for all operations. Still, it -is important to check and report the error to the user, otherwise -there might be a loss of data as all data might not be written. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. -Cancelling a close will still leave the stream closed, but there some streams -can use a faster close that doesn't block to e.g. check errors. On -cancellation (as with any error) there is no guarantee that all written -data will reach the target. - - - - - - A #GOutputStream. - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on failure - - - - - -Replaces the contents of @file with @contents of @length bytes. - -If @etag is specified any existing file must have that etag, or -a Gio::Errrow with WRONG_ETAG will be thrown. - -If @make_backup is %TRUE, this function will attempt to make a backup of @file. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -The returned @new_etag can be used to verify that the file hasn't changed the -next time it is saved over. - - - - - - input #GFile. - - - - a string containing the new contents for @file. - - - - the length of @contents in bytes. - - - - the old &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - a location to a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. This should be freed with g_free() when no longer -needed. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - - - -Reads a line from the data input stream. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a given #GDataInputStream. - - - - a #gsize to get the length of the data read in. - - - - Cancellable object. - - - - #GError for error reporting. - - - - a string with the line that was read in (including the newlines). -Set @length to a #gsize to get the length of the read line. Returns %NULL on an error. - - - - - - -Tries to read @count bytes from the stream into the buffer starting at -@buffer. Will block during this read. - -If count is zero returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - -On success, the number of bytes read into the buffer is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - a #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes read, or -1 on error - - - - - -Gets the requested information about the files in a directory. The result -is a #GFileEnumerator object that will give out #GFileInfo objects for -all the files in the directory. - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "standard::*" means all attributes in the standard -namespace. An example attribute query be "standard::*,owner::user". -The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. -If the file is not a directory, a Glib::FileError with NOTDIR will be returned. -Other errors are possible too. - - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - Cancellable object. - - - - #GError for error reporting. - - - - A #GFileEnumerator if successful, %NULL on error. - - - - - -Reads an unsigned 32-bit/4-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - a given #GDataInputStream. - - - - Cancellable object. - - - - #GError for error reporting. - - - - an unsigned 32-bit/4-byte value read from the @stream or %0 if -an error occurred. - - - - - -Closes the stream, releasing resources related to it. - -Once the stream is closed, all other operations will throw a Gio::Error with CLOSED. -Closing a stream multiple times will not return an error. - -Streams will be automatically closed when the last reference -is dropped, but you might want to call this function to make sure -resources are released as early as possible. - -Some streams might keep the backing store of the stream (e.g. a file descriptor) -open after the stream is closed. See the documentation for the individual -stream for details. - -On failure the first error that happened will be reported, but the close -operation will finish as much as possible. A stream that failed to -close will still throw a Gio::Error with CLOSED for all operations. Still, it -is important to check and report the error to the user. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. -Cancelling a close will still leave the stream closed, but some streams -can use a faster close that doesn't block to e.g. check errors. - - - - - - A #GInputStream. - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on failure - - - - - - -Similar to g_file_query_info(), but obtains information -about the filesystem the @file is on, rather than the file itself. -For instance the amount of space available and the type of -the filesystem. - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "fs:*" means all attributes in the fs -namespace. The standard namespace for filesystem attributes is "fs". -Common attributes of interest are #G_FILE_ATTRIBUTE_FILESYSTEM_SIZE -(the total size of the filesystem in bytes), #G_FILE_ATTRIBUTE_FILESYSTEM_FREE (number of -bytes available), and #G_FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - input #GFile. - - - - an attribute query string. - - - - Cancellable object. - - - - a #GError. - - - - a #GFileInfo or %NULL if there was an error. - - - - - -Tries to write @count bytes from @buffer into the stream. Will block -during the operation. - -If count is zero returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - -On success, the number of bytes written to the stream is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. on a partial i/o error, or if there is not enough -storage in the stream. All writes either block until at least one byte -is written, so zero is never returned (unless @count is zero). - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - - - a #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - Cancellable object. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes written, or -1 on error - - - - - -Obtains a file monitor for the given file. If no file notification -mechanism exists, then regular polling of the file is used. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a set of #GFileMonitorFlags. - - - - Cancellable object. - - - - a #GError, or %NULL. - - - - a #GFileMonitor for the given @file. - - - - - -Sets an attribute in the file with attribute name @attribute to @value. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - The type of the attribute - - - - a pointer to the value (or the pointer itself if the type is a pointer type) - - - - a set of #GFileQueryInfoFlags. - - - - Cancellable object. - - - - a #GError, or %NULL - - - - %TRUE if the attribute was set, %FALSE otherwise. - - - - - -Opens a file for reading. The result is a #GFileInputStream that -can be used to read the contents of the file. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - -If the file does not exist, a Gio::Error with NOT_FOUND will be thrown. -If the file is a directory, a Gio::Error with IS_DIRECTORY will be thrown. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - #GFile to read. - - - - a #GCancellable - - - - a #GError, or %NULL - - - - #GFileInputStream or %NULL on error. - - - - - -Obtains a directory monitor for the given file. -This may fail if directory monitoring is not supported. - -The operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, a Gio::Error will be thrown with CANCELLED. - - - - - - input #GFile. - - - - a set of #GFileMonitorFlags. - - - - Cancellable object. - - - - a #GError, or %NULL. - - - - a #GFileMonitor for the given @file, -or %NULL on error. - - - - - -Utility function to check if a particular file exists. This is -implemented using query_info() and as such does blocking I/O. - -Note that in many cases it is racy to first check for file existence -and then execute something based on the outcome of that, because the -file might have been created or removed in between the operations. The -general approach to handling that is to not check, but just do the -operation and handle the errors as they come. - -As an example of race-free checking, take the case of reading a file, and -if it doesn't exist, creating it. There are two racy versions: read it, and -on error create it; and: check if it exists, if not create it. These -can both result in two processes creating the file (with perhaps a partially -written file as the result). The correct approach is to always try to create -the file with File::create() which will either atomically create the file -or fail with a Gio::Error exception with EXISTS. - -However, in many cases an existence check is useful in a user -interface, for instance to make a menu item sensitive/insensitive, so that -you don't have to fool users that something is possible and then just show -and error dialog. If you do this, you should make sure to also handle the -errors that can happen due to races when you execute the operation. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - %TRUE if the file exists (and can be detected without error), %FALSE otherwise (or if cancelled). - - - - - diff --git a/libs/glibmm2/gio/src/gio_enums.defs b/libs/glibmm2/gio/src/gio_enums.defs deleted file mode 100644 index 3ca652f6ee..0000000000 --- a/libs/glibmm2/gio/src/gio_enums.defs +++ /dev/null @@ -1,251 +0,0 @@ -;; From /home/murrayc/svn/gnome220/glib/gio/gioenums.h - -(define-flags-extended AppInfoCreateFlags - (in-module "G") - (c-name "GAppInfoCreateFlags") - (values - '("none" "G_APP_INFO_CREATE_NONE" "0") - '("needs-terminal" "G_APP_INFO_CREATE_NEEDS_TERMINAL" "1 << 0") - '("supports-uris" "G_APP_INFO_CREATE_SUPPORTS_URIS" "1 << 1") - ) -) - -(define-enum-extended DataStreamByteOrder - (in-module "G") - (c-name "GDataStreamByteOrder") - (values - '("big-endian" "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN" "0") - '("little-endian" "G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN" "1") - '("host-endian" "G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN" "2") - ) -) - -(define-enum-extended DataStreamNewlineType - (in-module "G") - (c-name "GDataStreamNewlineType") - (values - '("lf" "G_DATA_STREAM_NEWLINE_TYPE_LF" "0") - '("cr" "G_DATA_STREAM_NEWLINE_TYPE_CR" "1") - '("cr-lf" "G_DATA_STREAM_NEWLINE_TYPE_CR_LF" "2") - '("any" "G_DATA_STREAM_NEWLINE_TYPE_ANY" "3") - ) -) - -(define-enum-extended FileAttributeType - (in-module "G") - (c-name "GFileAttributeType") - (values - '("invalid" "G_FILE_ATTRIBUTE_TYPE_INVALID" "0") - '("string" "G_FILE_ATTRIBUTE_TYPE_STRING" "1") - '("byte-string" "G_FILE_ATTRIBUTE_TYPE_BYTE_STRING" "2") - '("boolean" "G_FILE_ATTRIBUTE_TYPE_BOOLEAN" "3") - '("uint32" "G_FILE_ATTRIBUTE_TYPE_UINT32" "4") - '("int32" "G_FILE_ATTRIBUTE_TYPE_INT32" "5") - '("uint64" "G_FILE_ATTRIBUTE_TYPE_UINT64" "6") - '("int64" "G_FILE_ATTRIBUTE_TYPE_INT64" "7") - '("object" "G_FILE_ATTRIBUTE_TYPE_OBJECT" "8") - ) -) - -(define-flags-extended FileAttributeInfoFlags - (in-module "G") - (c-name "GFileAttributeInfoFlags") - (values - '("none" "G_FILE_ATTRIBUTE_INFO_NONE" "0") - '("copy-with-file" "G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE" "1 << 0") - '("copy-when-moved" "G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED" "1 << 1") - ) -) - -(define-enum-extended FileAttributeStatus - (in-module "G") - (c-name "GFileAttributeStatus") - (values - '("unset" "G_FILE_ATTRIBUTE_STATUS_UNSET" "0") - '("set" "G_FILE_ATTRIBUTE_STATUS_SET" "1") - '("error-setting" "G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING" "2") - ) -) - -(define-flags-extended FileQueryInfoFlags - (in-module "G") - (c-name "GFileQueryInfoFlags") - (values - '("none" "G_FILE_QUERY_INFO_NONE" "0") - '("nofollow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS" "1 << 0") - ) -) - -(define-flags-extended FileCreateFlags - (in-module "G") - (c-name "GFileCreateFlags") - (values - '("none" "G_FILE_CREATE_NONE" "0") - '("private" "G_FILE_CREATE_PRIVATE" "1 << 0") - ) -) - -(define-enum-extended MountMountFlags - (in-module "G") - (c-name "GMountMountFlags") - (values - '("e" "G_MOUNT_MOUNT_NONE" "0") - ) -) - -(define-flags-extended MountUnmountFlags - (in-module "G") - (c-name "GMountUnmountFlags") - (values - '("none" "G_MOUNT_UNMOUNT_NONE" "0") - '("force" "G_MOUNT_UNMOUNT_FORCE" "1 << 0") - ) -) - -(define-flags-extended FileCopyFlags - (in-module "G") - (c-name "GFileCopyFlags") - (values - '("none" "G_FILE_COPY_NONE" "0") - '("overwrite" "G_FILE_COPY_OVERWRITE" "1 << 0") - '("backup" "G_FILE_COPY_BACKUP" "1 << 1") - '("nofollow-symlinks" "G_FILE_COPY_NOFOLLOW_SYMLINKS" "1 << 2") - '("all-metadata" "G_FILE_COPY_ALL_METADATA" "1 << 3") - '("no-fallback-for-move" "G_FILE_COPY_NO_FALLBACK_FOR_MOVE" "1 << 4") - ) -) - -(define-flags-extended FileMonitorFlags - (in-module "G") - (c-name "GFileMonitorFlags") - (values - '("none" "G_FILE_MONITOR_NONE" "0") - '("watch-mounts" "G_FILE_MONITOR_WATCH_MOUNTS" "1 << 0") - ) -) - -(define-enum-extended FileType - (in-module "G") - (c-name "GFileType") - (values - '("unknown" "G_FILE_TYPE_UNKNOWN" "0") - '("regular" "G_FILE_TYPE_REGULAR" "1") - '("directory" "G_FILE_TYPE_DIRECTORY" "2") - '("symbolic-link" "G_FILE_TYPE_SYMBOLIC_LINK" "3") - '("special" "G_FILE_TYPE_SPECIAL" "4") - '("shortcut" "G_FILE_TYPE_SHORTCUT" "5") - '("mountable" "G_FILE_TYPE_MOUNTABLE" "6") - ) -) - -(define-enum-extended FilesystemPreviewType - (in-module "G") - (c-name "GFilesystemPreviewType") - (values - '("if-always" "G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS" "0") - '("if-local" "G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL" "1") - '("never" "G_FILESYSTEM_PREVIEW_TYPE_NEVER" "2") - ) -) - -(define-enum-extended FileMonitorEvent - (in-module "G") - (c-name "GFileMonitorEvent") - (values - '("changed" "G_FILE_MONITOR_EVENT_CHANGED" "0") - '("changes-done-hint" "G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT" "1") - '("deleted" "G_FILE_MONITOR_EVENT_DELETED" "2") - '("created" "G_FILE_MONITOR_EVENT_CREATED" "3") - '("attribute-changed" "G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED" "4") - '("pre-unmount" "G_FILE_MONITOR_EVENT_PRE_UNMOUNT" "5") - '("unmounted" "G_FILE_MONITOR_EVENT_UNMOUNTED" "6") - ) -) - -; We added G_IO_ERROR_HOST_WAS_NOT_FOUND and deprecated G_IO_ERROR_HOST_WAS_NOT_FOUND, -; because it clashes with a HOST_NOT_FOUND define in netdb.h. -; http://bugzilla.gnome.org/show_bug.cgi?id=529496 -; We need to deprecate HOST_NOT_FOUND, but we don't currently document generated enums -; at all: http://bugzilla.gnome.org/show_bug.cgi?id=544692 -; murrayc -(define-enum-extended IOErrorEnum - (in-module "G") - (c-name "GIOErrorEnum") - (values - '("failed" "G_IO_ERROR_FAILED" "0") - '("not-found" "G_IO_ERROR_NOT_FOUND" "1") - '("exists" "G_IO_ERROR_EXISTS" "2") - '("is-directory" "G_IO_ERROR_IS_DIRECTORY" "3") - '("not-directory" "G_IO_ERROR_NOT_DIRECTORY" "4") - '("not-empty" "G_IO_ERROR_NOT_EMPTY" "5") - '("not-regular-file" "G_IO_ERROR_NOT_REGULAR_FILE" "6") - '("not-symbolic-link" "G_IO_ERROR_NOT_SYMBOLIC_LINK" "7") - '("not-mountable-file" "G_IO_ERROR_NOT_MOUNTABLE_FILE" "8") - '("filename-too-long" "G_IO_ERROR_FILENAME_TOO_LONG" "9") - '("invalid-filename" "G_IO_ERROR_INVALID_FILENAME" "10") - '("too-many-links" "G_IO_ERROR_TOO_MANY_LINKS" "11") - '("no-space" "G_IO_ERROR_NO_SPACE" "12") - '("invalid-argument" "G_IO_ERROR_INVALID_ARGUMENT" "13") - '("permission-denied" "G_IO_ERROR_PERMISSION_DENIED" "14") - '("not-supported" "G_IO_ERROR_NOT_SUPPORTED" "15") - '("not-mounted" "G_IO_ERROR_NOT_MOUNTED" "16") - '("already-mounted" "G_IO_ERROR_ALREADY_MOUNTED" "17") - '("closed" "G_IO_ERROR_CLOSED" "18") - '("cancelled" "G_IO_ERROR_CANCELLED" "19") - '("pending" "G_IO_ERROR_PENDING" "20") - '("read-only" "G_IO_ERROR_READ_ONLY" "21") - '("cant-create-backup" "G_IO_ERROR_CANT_CREATE_BACKUP" "22") - '("wrong-etag" "G_IO_ERROR_WRONG_ETAG" "23") - '("timed-out" "G_IO_ERROR_TIMED_OUT" "24") - '("would-recurse" "G_IO_ERROR_WOULD_RECURSE" "25") - '("busy" "G_IO_ERROR_BUSY" "26") - '("would-block" "G_IO_ERROR_WOULD_BLOCK" "27") - '("host-not-found" "G_IO_ERROR_HOST_NOT_FOUND" "28") - '("host-was-not-found" "G_IO_ERROR_HOST_WAS_NOT_FOUND" "28") - '("would-merge" "G_IO_ERROR_WOULD_MERGE" "29") - '("failed-handled" "G_IO_ERROR_FAILED_HANDLED" "30") - ) -) - -(define-flags-extended AskPasswordFlags - (in-module "G") - (c-name "GAskPasswordFlags") - (values - '("need-password" "G_ASK_PASSWORD_NEED_PASSWORD" "1 << 0") - '("need-username" "G_ASK_PASSWORD_NEED_USERNAME" "1 << 1") - '("need-domain" "G_ASK_PASSWORD_NEED_DOMAIN" "1 << 2") - '("saving-supported" "G_ASK_PASSWORD_SAVING_SUPPORTED" "1 << 3") - '("anonymous-supported" "G_ASK_PASSWORD_ANONYMOUS_SUPPORTED" "1 << 4") - ) -) - -(define-enum-extended PasswordSave - (in-module "G") - (c-name "GPasswordSave") - (values - '("never" "G_PASSWORD_SAVE_NEVER" "0") - '("for-session" "G_PASSWORD_SAVE_FOR_SESSION" "1") - '("permanently" "G_PASSWORD_SAVE_PERMANENTLY" "2") - ) -) - -(define-enum-extended MountOperationResult - (in-module "G") - (c-name "GMountOperationResult") - (values - '("handled" "G_MOUNT_OPERATION_HANDLED" "0") - '("aborted" "G_MOUNT_OPERATION_ABORTED" "1") - '("unhandled" "G_MOUNT_OPERATION_UNHANDLED" "2") - ) -) - -(define-flags-extended OutputStreamSpliceFlags - (in-module "G") - (c-name "GOutputStreamSpliceFlags") - (values - '("none" "G_OUTPUT_STREAM_SPLICE_NONE" "0") - '("close-source" "G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE" "1 << 0") - '("close-target" "G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET" "1 << 1") - ) -) - diff --git a/libs/glibmm2/gio/src/gio_methods.defs b/libs/glibmm2/gio/src/gio_methods.defs deleted file mode 100644 index d57cfe6ea9..0000000000 --- a/libs/glibmm2/gio/src/gio_methods.defs +++ /dev/null @@ -1,5375 +0,0 @@ -;; -*- scheme -*- -; object definitions ... -(define-object Info - (in-module "GApp") - (c-name "GAppInfo") - (gtype-id "G_TYPE_APP_INFO") -) - -(define-object LaunchContext - (in-module "GApp") - (parent "GObject") - (c-name "GAppLaunchContext") - (gtype-id "G_TYPE_APP_LAUNCH_CONTEXT") -) - -(define-object Result - (in-module "GAsync") - (c-name "GAsyncResult") - (gtype-id "G_TYPE_ASYNC_RESULT") -) - -(define-object AppInfoLookup - (in-module "GDesktop") - (c-name "GDesktopAppInfoLookup") - (gtype-id "G_TYPE_DESKTOP_APP_INFO_LOOKUP") -) - -(define-object e - (in-module "GDriv") - (c-name "GDrive") - (gtype-id "G_TYPE_DRIVE") -) - -(define-object e - (in-module "GFil") - (c-name "GFile") - (gtype-id "G_TYPE_FILE") -) - -(define-object Enumerator - (in-module "GFile") - (parent "GObject") - (c-name "GFileEnumerator") - (gtype-id "G_TYPE_FILE_ENUMERATOR") -) - -(define-object Monitor - (in-module "GFile") - (parent "GObject") - (c-name "GFileMonitor") - (gtype-id "G_TYPE_FILE_MONITOR") -) - -(define-object n - (in-module "GIco") - (c-name "GIcon") - (gtype-id "G_TYPE_ICON") -) - -(define-object Stream - (in-module "GInput") - (parent "GObject") - (c-name "GInputStream") - (gtype-id "G_TYPE_INPUT_STREAM") -) - -(define-object InputStream - (in-module "GFilter") - (parent "GInputStream") - (c-name "GFilterInputStream") - (gtype-id "G_TYPE_FILTER_INPUT_STREAM") -) - -(define-object InputStream - (in-module "GBuffered") - (parent "GFilterInputStream") - (c-name "GBufferedInputStream") - (gtype-id "G_TYPE_BUFFERED_INPUT_STREAM") -) - -(define-object InputStream - (in-module "GData") - (parent "GBufferedInputStream") - (c-name "GDataInputStream") - (gtype-id "G_TYPE_DATA_INPUT_STREAM") -) - -(define-object InputStream - (in-module "GFile") - (parent "GInputStream") - (c-name "GFileInputStream") - (gtype-id "G_TYPE_FILE_INPUT_STREAM") -) - -(define-object Icon - (in-module "GLoadable") - (c-name "GLoadableIcon") - (gtype-id "G_TYPE_LOADABLE_ICON") -) - -(define-object DirectoryMonitor - (in-module "GLocal") - (parent "GFileMonitor") - (c-name "GLocalDirectoryMonitor") - (gtype-id "G_TYPE_LOCAL_DIRECTORY_MONITOR") -) - -(define-object FileInputStream - (in-module "GLocal") - (parent "GFileInputStream") - (c-name "GLocalFileInputStream") - (gtype-id "G_TYPE_LOCAL_FILE_INPUT_STREAM") -) - -(define-object FileMonitor - (in-module "GLocal") - (parent "GFileMonitor") - (c-name "GLocalFileMonitor") - (gtype-id "G_TYPE_LOCAL_FILE_MONITOR") -) - -(define-object InputStream - (in-module "GMemory") - (parent "GInputStream") - (c-name "GMemoryInputStream") - (gtype-id "G_TYPE_MEMORY_INPUT_STREAM") -) - -(define-object t - (in-module "GMoun") - (c-name "GMount") - (gtype-id "G_TYPE_MOUNT") -) - -(define-object Operation - (in-module "GMount") - (parent "GObject") - (c-name "GMountOperation") - (gtype-id "G_TYPE_MOUNT_OPERATION") -) - -(define-object Stream - (in-module "GOutput") - (parent "GObject") - (c-name "GOutputStream") - (gtype-id "G_TYPE_OUTPUT_STREAM") -) - -(define-object OutputStream - (in-module "GMemory") - (parent "GOutputStream") - (c-name "GMemoryOutputStream") - (gtype-id "G_TYPE_MEMORY_OUTPUT_STREAM") -) - -(define-object OutputStream - (in-module "GFilter") - (parent "GOutputStream") - (c-name "GFilterOutputStream") - (gtype-id "G_TYPE_FILTER_OUTPUT_STREAM") -) - -(define-object OutputStream - (in-module "GData") - (parent "GFilterOutputStream") - (c-name "GDataOutputStream") - (gtype-id "G_TYPE_DATA_OUTPUT_STREAM") -) - -(define-object OutputStream - (in-module "GFile") - (parent "GOutputStream") - (c-name "GFileOutputStream") - (gtype-id "G_TYPE_FILE_OUTPUT_STREAM") -) - -(define-object FileOutputStream - (in-module "GLocal") - (parent "GFileOutputStream") - (c-name "GLocalFileOutputStream") - (gtype-id "G_TYPE_LOCAL_FILE_OUTPUT_STREAM") -) - -(define-object e - (in-module "GSeekabl") - (c-name "GSeekable") - (gtype-id "G_TYPE_SEEKABLE") -) - -(define-object InputStream - (in-module "GUnix") - (parent "GInputStream") - (c-name "GUnixInputStream") - (gtype-id "G_TYPE_UNIX_INPUT_STREAM") -) - -(define-object OutputStream - (in-module "GUnix") - (parent "GOutputStream") - (c-name "GUnixOutputStream") - (gtype-id "G_TYPE_UNIX_OUTPUT_STREAM") -) - -(define-object s - (in-module "GVf") - (parent "GObject") - (c-name "GVfs") - (gtype-id "G_TYPE_VFS") -) - -(define-object e - (in-module "GVolum") - (c-name "GVolume") - (gtype-id "G_TYPE_VOLUME") -) - -(define-object Monitor - (in-module "GVolume") - (parent "GObject") - (c-name "GVolumeMonitor") - (gtype-id "G_TYPE_VOLUME_MONITOR") -) - -(define-object VolumeMonitor - (in-module "GNative") - (parent "GVolumeMonitor") - (c-name "GNativeVolumeMonitor") - (gtype-id "G_TYPE_NATIVE_VOLUME_MONITOR") -) - -;; Enumerations and flags ... - -(define-flags InfoCreateFlags - (in-module "GApp") - (c-name "GAppInfoCreateFlags") - (gtype-id "G_TYPE_APP_INFO_CREATE_FLAGS") - (values - '("none" "G_APP_INFO_CREATE_NONE") - '("needs-terminal" "G_APP_INFO_CREATE_NEEDS_TERMINAL") - '("supports-uris" "G_APP_INFO_CREATE_SUPPORTS_URIS") - ) -) - -(define-enum StreamByteOrder - (in-module "GData") - (c-name "GDataStreamByteOrder") - (gtype-id "G_TYPE_DATA_STREAM_BYTE_ORDER") - (values - '("big-endian" "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN") - '("little-endian" "G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN") - '("host-endian" "G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN") - ) -) - -(define-enum StreamNewlineType - (in-module "GData") - (c-name "GDataStreamNewlineType") - (gtype-id "G_TYPE_DATA_STREAM_NEWLINE_TYPE") - (values - '("lf" "G_DATA_STREAM_NEWLINE_TYPE_LF") - '("cr" "G_DATA_STREAM_NEWLINE_TYPE_CR") - '("cr-lf" "G_DATA_STREAM_NEWLINE_TYPE_CR_LF") - '("any" "G_DATA_STREAM_NEWLINE_TYPE_ANY") - ) -) - -(define-enum AttributeType - (in-module "GFile") - (c-name "GFileAttributeType") - (gtype-id "G_TYPE_FILE_ATTRIBUTE_TYPE") - (values - '("invalid" "G_FILE_ATTRIBUTE_TYPE_INVALID") - '("string" "G_FILE_ATTRIBUTE_TYPE_STRING") - '("byte-string" "G_FILE_ATTRIBUTE_TYPE_BYTE_STRING") - '("boolean" "G_FILE_ATTRIBUTE_TYPE_BOOLEAN") - '("uint32" "G_FILE_ATTRIBUTE_TYPE_UINT32") - '("int32" "G_FILE_ATTRIBUTE_TYPE_INT32") - '("uint64" "G_FILE_ATTRIBUTE_TYPE_UINT64") - '("int64" "G_FILE_ATTRIBUTE_TYPE_INT64") - '("object" "G_FILE_ATTRIBUTE_TYPE_OBJECT") - ) -) - -(define-flags AttributeInfoFlags - (in-module "GFile") - (c-name "GFileAttributeInfoFlags") - (gtype-id "G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS") - (values - '("none" "G_FILE_ATTRIBUTE_INFO_NONE") - '("copy-with-file" "G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE") - '("copy-when-moved" "G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED") - ) -) - -(define-enum AttributeStatus - (in-module "GFile") - (c-name "GFileAttributeStatus") - (gtype-id "G_TYPE_FILE_ATTRIBUTE_STATUS") - (values - '("unset" "G_FILE_ATTRIBUTE_STATUS_UNSET") - '("set" "G_FILE_ATTRIBUTE_STATUS_SET") - '("error-setting" "G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING") - ) -) - -(define-flags QueryInfoFlags - (in-module "GFile") - (c-name "GFileQueryInfoFlags") - (gtype-id "G_TYPE_FILE_QUERY_INFO_FLAGS") - (values - '("ne" "G_FILE_QUERY_INFO_NONE") - '("follow-symlinks" "G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS") - ) -) - -(define-flags CreateFlags - (in-module "GFile") - (c-name "GFileCreateFlags") - (gtype-id "G_TYPE_FILE_CREATE_FLAGS") - (values - '("none" "G_FILE_CREATE_NONE") - '("private" "G_FILE_CREATE_PRIVATE") - ) -) - -(define-enum MountFlags - (in-module "GMount") - (c-name "GMountMountFlags") - (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS") - (values - '("e" "G_MOUNT_MOUNT_NONE") - ) -) - -(define-flags UnmountFlags - (in-module "GMount") - (c-name "GMountUnmountFlags") - (gtype-id "G_TYPE_MOUNT_UNMOUNT_FLAGS") - (values - '("none" "G_MOUNT_UNMOUNT_NONE") - '("force" "G_MOUNT_UNMOUNT_FORCE") - ) -) - -(define-flags CopyFlags - (in-module "GFile") - (c-name "GFileCopyFlags") - (gtype-id "G_TYPE_FILE_COPY_FLAGS") - (values - '("none" "G_FILE_COPY_NONE") - '("overwrite" "G_FILE_COPY_OVERWRITE") - '("backup" "G_FILE_COPY_BACKUP") - '("nofollow-symlinks" "G_FILE_COPY_NOFOLLOW_SYMLINKS") - '("all-metadata" "G_FILE_COPY_ALL_METADATA") - '("no-fallback-for-move" "G_FILE_COPY_NO_FALLBACK_FOR_MOVE") - ) -) - -(define-flags MonitorFlags - (in-module "GFile") - (c-name "GFileMonitorFlags") - (gtype-id "G_TYPE_FILE_MONITOR_FLAGS") - (values - '("none" "G_FILE_MONITOR_NONE") - '("watch-mounts" "G_FILE_MONITOR_WATCH_MOUNTS") - ) -) - -(define-enum Type - (in-module "GFile") - (c-name "GFileType") - (gtype-id "G_TYPE_FILE_TYPE") - (values - '("unknown" "G_FILE_TYPE_UNKNOWN") - '("regular" "G_FILE_TYPE_REGULAR") - '("directory" "G_FILE_TYPE_DIRECTORY") - '("symbolic-link" "G_FILE_TYPE_SYMBOLIC_LINK") - '("special" "G_FILE_TYPE_SPECIAL") - '("shortcut" "G_FILE_TYPE_SHORTCUT") - '("mountable" "G_FILE_TYPE_MOUNTABLE") - ) -) - -(define-enum PreviewType - (in-module "GFilesystem") - (c-name "GFilesystemPreviewType") - (gtype-id "G_TYPE_FILESYSTEM_PREVIEW_TYPE") - (values - '("if-always" "G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS") - '("if-local" "G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL") - '("never" "G_FILESYSTEM_PREVIEW_TYPE_NEVER") - ) -) - -(define-enum MonitorEvent - (in-module "GFile") - (c-name "GFileMonitorEvent") - (gtype-id "G_TYPE_FILE_MONITOR_EVENT") - (values - '("changed" "G_FILE_MONITOR_EVENT_CHANGED") - '("changes-done-hint" "G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT") - '("deleted" "G_FILE_MONITOR_EVENT_DELETED") - '("created" "G_FILE_MONITOR_EVENT_CREATED") - '("attribute-changed" "G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED") - '("pre-unmount" "G_FILE_MONITOR_EVENT_PRE_UNMOUNT") - '("unmounted" "G_FILE_MONITOR_EVENT_UNMOUNTED") - ) -) - -(define-enum Enum - (in-module "GIOError") - (c-name "GIOErrorEnum") - (gtype-id "G_TYPE_IO_ERROR_ENUM") - (values - '("failed" "G_IO_ERROR_FAILED") - '("not-found" "G_IO_ERROR_NOT_FOUND") - '("exists" "G_IO_ERROR_EXISTS") - '("is-directory" "G_IO_ERROR_IS_DIRECTORY") - '("not-directory" "G_IO_ERROR_NOT_DIRECTORY") - '("not-empty" "G_IO_ERROR_NOT_EMPTY") - '("not-regular-file" "G_IO_ERROR_NOT_REGULAR_FILE") - '("not-symbolic-link" "G_IO_ERROR_NOT_SYMBOLIC_LINK") - '("not-mountable-file" "G_IO_ERROR_NOT_MOUNTABLE_FILE") - '("filename-too-long" "G_IO_ERROR_FILENAME_TOO_LONG") - '("invalid-filename" "G_IO_ERROR_INVALID_FILENAME") - '("too-many-links" "G_IO_ERROR_TOO_MANY_LINKS") - '("no-space" "G_IO_ERROR_NO_SPACE") - '("invalid-argument" "G_IO_ERROR_INVALID_ARGUMENT") - '("permission-denied" "G_IO_ERROR_PERMISSION_DENIED") - '("not-supported" "G_IO_ERROR_NOT_SUPPORTED") - '("not-mounted" "G_IO_ERROR_NOT_MOUNTED") - '("already-mounted" "G_IO_ERROR_ALREADY_MOUNTED") - '("closed" "G_IO_ERROR_CLOSED") - '("cancelled" "G_IO_ERROR_CANCELLED") - '("pending" "G_IO_ERROR_PENDING") - '("read-only" "G_IO_ERROR_READ_ONLY") - '("cant-create-backup" "G_IO_ERROR_CANT_CREATE_BACKUP") - '("wrong-etag" "G_IO_ERROR_WRONG_ETAG") - '("timed-out" "G_IO_ERROR_TIMED_OUT") - '("would-recurse" "G_IO_ERROR_WOULD_RECURSE") - '("busy" "G_IO_ERROR_BUSY") - '("would-block" "G_IO_ERROR_WOULD_BLOCK") - '("host-not-found" "G_IO_ERROR_HOST_NOT_FOUND") - '("would-merge" "G_IO_ERROR_WOULD_MERGE") - '("failed-handled" "G_IO_ERROR_FAILED_HANDLED") - ) -) - -(define-flags PasswordFlags - (in-module "GAsk") - (c-name "GAskPasswordFlags") - (gtype-id "G_TYPE_ASK_PASSWORD_FLAGS") - (values - '("need-password" "G_ASK_PASSWORD_NEED_PASSWORD") - '("need-username" "G_ASK_PASSWORD_NEED_USERNAME") - '("need-domain" "G_ASK_PASSWORD_NEED_DOMAIN") - '("saving-supported" "G_ASK_PASSWORD_SAVING_SUPPORTED") - '("anonymous-supported" "G_ASK_PASSWORD_ANONYMOUS_SUPPORTED") - ) -) - -(define-enum Save - (in-module "GPassword") - (c-name "GPasswordSave") - (gtype-id "G_TYPE_PASSWORD_SAVE") - (values - '("never" "G_PASSWORD_SAVE_NEVER") - '("for-session" "G_PASSWORD_SAVE_FOR_SESSION") - '("permanently" "G_PASSWORD_SAVE_PERMANENTLY") - ) -) - -(define-enum OperationResult - (in-module "GMount") - (c-name "GMountOperationResult") - (gtype-id "G_TYPE_MOUNT_OPERATION_RESULT") - (values - '("handled" "G_MOUNT_OPERATION_HANDLED") - '("aborted" "G_MOUNT_OPERATION_ABORTED") - '("unhandled" "G_MOUNT_OPERATION_UNHANDLED") - ) -) - -(define-flags StreamSpliceFlags - (in-module "GOutput") - (c-name "GOutputStreamSpliceFlags") - (gtype-id "G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS") - (values - '("none" "G_OUTPUT_STREAM_SPLICE_NONE") - '("close-source" "G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE") - '("close-target" "G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET") - ) -) - - -;; From gappinfo.h - -(define-function g_app_info_get_type - (c-name "g_app_info_get_type") - (return-type "GType") -) - -(define-function g_app_launch_context_get_type - (c-name "g_app_launch_context_get_type") - (return-type "GType") -) - -(define-function g_app_info_create_from_commandline - (c-name "g_app_info_create_from_commandline") - (return-type "GAppInfo*") - (parameters - '("const-char*" "commandline") - '("const-char*" "application_name") - '("GAppInfoCreateFlags" "flags") - '("GError**" "error") - ) -) - -(define-method dup - (of-object "GAppInfo") - (c-name "g_app_info_dup") - (return-type "GAppInfo*") -) - -(define-method equal - (of-object "GAppInfo") - (c-name "g_app_info_equal") - (return-type "gboolean") - (parameters - '("GAppInfo*" "appinfo2") - ) -) - -(define-method get_id - (of-object "GAppInfo") - (c-name "g_app_info_get_id") - (return-type "const-char*") -) - -(define-method get_name - (of-object "GAppInfo") - (c-name "g_app_info_get_name") - (return-type "const-char*") -) - -(define-method get_description - (of-object "GAppInfo") - (c-name "g_app_info_get_description") - (return-type "const-char*") -) - -(define-method get_executable - (of-object "GAppInfo") - (c-name "g_app_info_get_executable") - (return-type "const-char*") -) - -(define-method get_icon - (of-object "GAppInfo") - (c-name "g_app_info_get_icon") - (return-type "GIcon*") -) - -(define-method launch - (of-object "GAppInfo") - (c-name "g_app_info_launch") - (return-type "gboolean") - (parameters - '("GList*" "files") - '("GAppLaunchContext*" "launch_context") - '("GError**" "error") - ) -) - -(define-method supports_uris - (of-object "GAppInfo") - (c-name "g_app_info_supports_uris") - (return-type "gboolean") -) - -(define-method supports_files - (of-object "GAppInfo") - (c-name "g_app_info_supports_files") - (return-type "gboolean") -) - -(define-method launch_uris - (of-object "GAppInfo") - (c-name "g_app_info_launch_uris") - (return-type "gboolean") - (parameters - '("GList*" "uris") - '("GAppLaunchContext*" "launch_context") - '("GError**" "error") - ) -) - -(define-method should_show - (of-object "GAppInfo") - (c-name "g_app_info_should_show") - (return-type "gboolean") -) - -(define-method set_as_default_for_type - (of-object "GAppInfo") - (c-name "g_app_info_set_as_default_for_type") - (return-type "gboolean") - (parameters - '("const-char*" "content_type") - '("GError**" "error") - ) -) - -(define-method set_as_default_for_extension - (of-object "GAppInfo") - (c-name "g_app_info_set_as_default_for_extension") - (return-type "gboolean") - (parameters - '("const-char*" "extension") - '("GError**" "error") - ) -) - -(define-method add_supports_type - (of-object "GAppInfo") - (c-name "g_app_info_add_supports_type") - (return-type "gboolean") - (parameters - '("const-char*" "content_type") - '("GError**" "error") - ) -) - -(define-method can_remove_supports_type - (of-object "GAppInfo") - (c-name "g_app_info_can_remove_supports_type") - (return-type "gboolean") -) - -(define-method remove_supports_type - (of-object "GAppInfo") - (c-name "g_app_info_remove_supports_type") - (return-type "gboolean") - (parameters - '("const-char*" "content_type") - '("GError**" "error") - ) -) - -(define-function g_app_info_get_all - (c-name "g_app_info_get_all") - (return-type "GList*") -) - -(define-function g_app_info_get_all_for_type - (c-name "g_app_info_get_all_for_type") - (return-type "GList*") - (parameters - '("const-char*" "content_type") - ) -) - -(define-function g_app_info_get_default_for_type - (c-name "g_app_info_get_default_for_type") - (return-type "GAppInfo*") - (parameters - '("const-char*" "content_type") - '("gboolean" "must_support_uris") - ) -) - -(define-function g_app_info_get_default_for_uri_scheme - (c-name "g_app_info_get_default_for_uri_scheme") - (return-type "GAppInfo*") - (parameters - '("const-char*" "uri_scheme") - ) -) - -(define-function g_app_info_launch_default_for_uri - (c-name "g_app_info_launch_default_for_uri") - (return-type "gboolean") - (parameters - '("const-char*" "uri") - '("GAppLaunchContext*" "launch_context") - '("GError**" "error") - ) -) - -(define-function g_app_launch_context_new - (c-name "g_app_launch_context_new") - (is-constructor-of "GAppLaunchContext") - (return-type "GAppLaunchContext*") -) - -(define-method get_display - (of-object "GAppLaunchContext") - (c-name "g_app_launch_context_get_display") - (return-type "char*") - (parameters - '("GAppInfo*" "info") - '("GList*" "files") - ) -) - -(define-method get_startup_notify_id - (of-object "GAppLaunchContext") - (c-name "g_app_launch_context_get_startup_notify_id") - (return-type "char*") - (parameters - '("GAppInfo*" "info") - '("GList*" "files") - ) -) - -(define-method launch_failed - (of-object "GAppLaunchContext") - (c-name "g_app_launch_context_launch_failed") - (return-type "none") - (parameters - '("const-char*" "startup_notify_id") - ) -) - - - -;; From gasynchelper.h - - - -;; From gasyncresult.h - -(define-function g_async_result_get_type - (c-name "g_async_result_get_type") - (return-type "GType") -) - -(define-method get_user_data - (of-object "GAsyncResult") - (c-name "g_async_result_get_user_data") - (return-type "gpointer") -) - -(define-method get_source_object - (of-object "GAsyncResult") - (c-name "g_async_result_get_source_object") - (return-type "GObject*") -) - - - -;; From gbufferedinputstream.h - -(define-function g_buffered_input_stream_get_type - (c-name "g_buffered_input_stream_get_type") - (return-type "GType") -) - -(define-function g_buffered_input_stream_new - (c-name "g_buffered_input_stream_new") - (is-constructor-of "GBufferedInputStream") - (return-type "GInputStream*") - (parameters - '("GInputStream*" "base_stream") - ) -) - -(define-function g_buffered_input_stream_new_sized - (c-name "g_buffered_input_stream_new_sized") - (return-type "GInputStream*") - (parameters - '("GInputStream*" "base_stream") - '("gsize" "size") - ) -) - -(define-method get_buffer_size - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_get_buffer_size") - (return-type "gsize") -) - -(define-method set_buffer_size - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_set_buffer_size") - (return-type "none") - (parameters - '("gsize" "size") - ) -) - -(define-method get_available - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_get_available") - (return-type "gsize") -) - -(define-method peek - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_peek") - (return-type "gsize") - (parameters - '("void*" "buffer") - '("gsize" "offset") - '("gsize" "count") - ) -) - -(define-method peek_buffer - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_peek_buffer") - (return-type "const-void*") - (parameters - '("gsize*" "count") - ) -) - -(define-method fill - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_fill") - (return-type "gssize") - (parameters - '("gssize" "count") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method fill_async - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_fill_async") - (return-type "none") - (parameters - '("gssize" "count") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method fill_finish - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_fill_finish") - (return-type "gssize") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method read_byte - (of-object "GBufferedInputStream") - (c-name "g_buffered_input_stream_read_byte") - (return-type "int") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - - - -;; From gbufferedoutputstream.h - -(define-function g_buffered_output_stream_get_type - (c-name "g_buffered_output_stream_get_type") - (return-type "GType") -) - -(define-function g_buffered_output_stream_new - (c-name "g_buffered_output_stream_new") - (is-constructor-of "GBufferedOutputStream") - (return-type "GOutputStream*") - (parameters - '("GOutputStream*" "base_stream") - ) -) - -(define-function g_buffered_output_stream_new_sized - (c-name "g_buffered_output_stream_new_sized") - (return-type "GOutputStream*") - (parameters - '("GOutputStream*" "base_stream") - '("gsize" "size") - ) -) - -(define-method get_buffer_size - (of-object "GBufferedOutputStream") - (c-name "g_buffered_output_stream_get_buffer_size") - (return-type "gsize") -) - -(define-method set_buffer_size - (of-object "GBufferedOutputStream") - (c-name "g_buffered_output_stream_set_buffer_size") - (return-type "none") - (parameters - '("gsize" "size") - ) -) - -(define-method get_auto_grow - (of-object "GBufferedOutputStream") - (c-name "g_buffered_output_stream_get_auto_grow") - (return-type "gboolean") -) - -(define-method set_auto_grow - (of-object "GBufferedOutputStream") - (c-name "g_buffered_output_stream_set_auto_grow") - (return-type "none") - (parameters - '("gboolean" "auto_grow") - ) -) - - - -;; From gcancellable.h - -(define-function g_cancellable_get_type - (c-name "g_cancellable_get_type") - (return-type "GType") -) - -(define-function g_cancellable_new - (c-name "g_cancellable_new") - (is-constructor-of "GCancellable") - (return-type "GCancellable*") -) - -(define-method is_cancelled - (of-object "GCancellable") - (c-name "g_cancellable_is_cancelled") - (return-type "gboolean") -) - -(define-method set_error_if_cancelled - (of-object "GCancellable") - (c-name "g_cancellable_set_error_if_cancelled") - (return-type "gboolean") - (parameters - '("GError**" "error") - ) -) - -(define-method get_fd - (of-object "GCancellable") - (c-name "g_cancellable_get_fd") - (return-type "int") -) - -(define-function g_cancellable_get_current - (c-name "g_cancellable_get_current") - (return-type "GCancellable*") -) - -(define-method push_current - (of-object "GCancellable") - (c-name "g_cancellable_push_current") - (return-type "none") -) - -(define-method pop_current - (of-object "GCancellable") - (c-name "g_cancellable_pop_current") - (return-type "none") -) - -(define-method reset - (of-object "GCancellable") - (c-name "g_cancellable_reset") - (return-type "none") -) - -(define-method cancel - (of-object "GCancellable") - (c-name "g_cancellable_cancel") - (return-type "none") -) - - - -;; From gcontenttype.h - -(define-function g_content_type_equals - (c-name "g_content_type_equals") - (return-type "gboolean") - (parameters - '("const-char*" "type1") - '("const-char*" "type2") - ) -) - -(define-function g_content_type_is_a - (c-name "g_content_type_is_a") - (return-type "gboolean") - (parameters - '("const-char*" "type") - '("const-char*" "supertype") - ) -) - -(define-function g_content_type_is_unknown - (c-name "g_content_type_is_unknown") - (return-type "gboolean") - (parameters - '("const-char*" "type") - ) -) - -(define-function g_content_type_get_description - (c-name "g_content_type_get_description") - (return-type "char*") - (parameters - '("const-char*" "type") - ) -) - -(define-function g_content_type_get_mime_type - (c-name "g_content_type_get_mime_type") - (return-type "char*") - (parameters - '("const-char*" "type") - ) -) - -(define-function g_content_type_get_icon - (c-name "g_content_type_get_icon") - (return-type "GIcon*") - (parameters - '("const-char*" "type") - ) -) - -(define-function g_content_type_can_be_executable - (c-name "g_content_type_can_be_executable") - (return-type "gboolean") - (parameters - '("const-char*" "type") - ) -) - -(define-function g_content_type_from_mime_type - (c-name "g_content_type_from_mime_type") - (return-type "char*") - (parameters - '("const-char*" "mime_type") - ) -) - -(define-function g_content_type_guess - (c-name "g_content_type_guess") - (return-type "char*") - (parameters - '("const-char*" "filename") - '("const-guchar*" "data") - '("gsize" "data_size") - '("gboolean*" "result_uncertain") - ) -) - -(define-function g_content_type_guess_for_tree - (c-name "g_content_type_guess_for_tree") - (return-type "char**") - (parameters - '("GFile*" "root") - ) -) - -(define-function g_content_types_get_registered - (c-name "g_content_types_get_registered") - (return-type "GList*") -) - - - -;; From gcontenttypeprivate.h - - - -;; From gdatainputstream.h - -(define-function g_data_input_stream_get_type - (c-name "g_data_input_stream_get_type") - (return-type "GType") -) - -(define-function g_data_input_stream_new - (c-name "g_data_input_stream_new") - (is-constructor-of "GDataInputStream") - (return-type "GDataInputStream*") - (parameters - '("GInputStream*" "base_stream") - ) -) - -(define-method set_byte_order - (of-object "GDataInputStream") - (c-name "g_data_input_stream_set_byte_order") - (return-type "none") - (parameters - '("GDataStreamByteOrder" "order") - ) -) - -(define-method get_byte_order - (of-object "GDataInputStream") - (c-name "g_data_input_stream_get_byte_order") - (return-type "GDataStreamByteOrder") -) - -(define-method set_newline_type - (of-object "GDataInputStream") - (c-name "g_data_input_stream_set_newline_type") - (return-type "none") - (parameters - '("GDataStreamNewlineType" "type") - ) -) - -(define-method get_newline_type - (of-object "GDataInputStream") - (c-name "g_data_input_stream_get_newline_type") - (return-type "GDataStreamNewlineType") -) - -(define-method read_byte - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_byte") - (return-type "guchar") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_int16 - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_int16") - (return-type "gint16") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_uint16 - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_uint16") - (return-type "guint16") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_int32 - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_int32") - (return-type "gint32") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_uint32 - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_uint32") - (return-type "guint32") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_int64 - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_int64") - (return-type "gint64") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_uint64 - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_uint64") - (return-type "guint64") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_line - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_line") - (return-type "char*") - (parameters - '("gsize*" "length") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_until - (of-object "GDataInputStream") - (c-name "g_data_input_stream_read_until") - (return-type "char*") - (parameters - '("const-gchar*" "stop_chars") - '("gsize*" "length") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - - - -;; From gdataoutputstream.h - -(define-function g_data_output_stream_get_type - (c-name "g_data_output_stream_get_type") - (return-type "GType") -) - -(define-function g_data_output_stream_new - (c-name "g_data_output_stream_new") - (is-constructor-of "GDataOutputStream") - (return-type "GDataOutputStream*") - (parameters - '("GOutputStream*" "base_stream") - ) -) - -(define-method set_byte_order - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_set_byte_order") - (return-type "none") - (parameters - '("GDataStreamByteOrder" "order") - ) -) - -(define-method get_byte_order - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_get_byte_order") - (return-type "GDataStreamByteOrder") -) - -(define-method put_byte - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_byte") - (return-type "gboolean") - (parameters - '("guchar" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_int16 - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_int16") - (return-type "gboolean") - (parameters - '("gint16" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_uint16 - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_uint16") - (return-type "gboolean") - (parameters - '("guint16" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_int32 - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_int32") - (return-type "gboolean") - (parameters - '("gint32" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_uint32 - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_uint32") - (return-type "gboolean") - (parameters - '("guint32" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_int64 - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_int64") - (return-type "gboolean") - (parameters - '("gint64" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_uint64 - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_uint64") - (return-type "gboolean") - (parameters - '("guint64" "data") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method put_string - (of-object "GDataOutputStream") - (c-name "g_data_output_stream_put_string") - (return-type "gboolean") - (parameters - '("const-char*" "str") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - - - -;; From gdesktopappinfo.h - -(define-function g_desktop_app_info_get_type - (c-name "g_desktop_app_info_get_type") - (return-type "GType") -) - -(define-function g_desktop_app_info_new_from_filename - (c-name "g_desktop_app_info_new_from_filename") - (return-type "GDesktopAppInfo*") - (parameters - '("const-char*" "filename") - ) -) - -(define-function g_desktop_app_info_new_from_keyfile - (c-name "g_desktop_app_info_new_from_keyfile") - (return-type "GDesktopAppInfo*") - (parameters - '("GKeyFile*" "key_file") - ) -) - -(define-function g_desktop_app_info_new - (c-name "g_desktop_app_info_new") - (is-constructor-of "GDesktopAppInfo") - (return-type "GDesktopAppInfo*") - (parameters - '("const-char*" "desktop_id") - ) -) - -(define-method get_is_hidden - (of-object "GDesktopAppInfo") - (c-name "g_desktop_app_info_get_is_hidden") - (return-type "gboolean") -) - -(define-function g_desktop_app_info_set_desktop_env - (c-name "g_desktop_app_info_set_desktop_env") - (return-type "none") - (parameters - '("const-char*" "desktop_env") - ) -) - -(define-function g_desktop_app_info_lookup_get_type - (c-name "g_desktop_app_info_lookup_get_type") - (return-type "GType") -) - -(define-method get_default_for_uri_scheme - (of-object "GDesktopAppInfoLookup") - (c-name "g_desktop_app_info_lookup_get_default_for_uri_scheme") - (return-type "GAppInfo*") - (parameters - '("const-char*" "uri_scheme") - ) -) - - - -;; From gdrive.h - -(define-function g_drive_get_type - (c-name "g_drive_get_type") - (return-type "GType") -) - -(define-method get_name - (of-object "GDrive") - (c-name "g_drive_get_name") - (return-type "char*") -) - -(define-method get_icon - (of-object "GDrive") - (c-name "g_drive_get_icon") - (return-type "GIcon*") -) - -(define-method has_volumes - (of-object "GDrive") - (c-name "g_drive_has_volumes") - (return-type "gboolean") -) - -(define-method get_volumes - (of-object "GDrive") - (c-name "g_drive_get_volumes") - (return-type "GList*") -) - -(define-method is_media_removable - (of-object "GDrive") - (c-name "g_drive_is_media_removable") - (return-type "gboolean") -) - -(define-method has_media - (of-object "GDrive") - (c-name "g_drive_has_media") - (return-type "gboolean") -) - -(define-method is_media_check_automatic - (of-object "GDrive") - (c-name "g_drive_is_media_check_automatic") - (return-type "gboolean") -) - -(define-method can_poll_for_media - (of-object "GDrive") - (c-name "g_drive_can_poll_for_media") - (return-type "gboolean") -) - -(define-method can_eject - (of-object "GDrive") - (c-name "g_drive_can_eject") - (return-type "gboolean") -) - -(define-method eject - (of-object "GDrive") - (c-name "g_drive_eject") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_finish - (of-object "GDrive") - (c-name "g_drive_eject_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method poll_for_media - (of-object "GDrive") - (c-name "g_drive_poll_for_media") - (return-type "none") - (parameters - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method poll_for_media_finish - (of-object "GDrive") - (c-name "g_drive_poll_for_media_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method get_identifier - (of-object "GDrive") - (c-name "g_drive_get_identifier") - (return-type "char*") - (parameters - '("const-char*" "kind") - ) -) - -(define-method enumerate_identifiers - (of-object "GDrive") - (c-name "g_drive_enumerate_identifiers") - (return-type "char**") -) - - - -;; From gdummyfile.h - - - -;; From gfileattribute.h - -(define-function g_file_attribute_info_list_new - (c-name "g_file_attribute_info_list_new") - (is-constructor-of "GFileAttributeInfoList") - (return-type "GFileAttributeInfoList*") -) - -(define-method ref - (of-object "GFileAttributeInfoList") - (c-name "g_file_attribute_info_list_ref") - (return-type "GFileAttributeInfoList*") -) - -(define-method unref - (of-object "GFileAttributeInfoList") - (c-name "g_file_attribute_info_list_unref") - (return-type "none") -) - -(define-method dup - (of-object "GFileAttributeInfoList") - (c-name "g_file_attribute_info_list_dup") - (return-type "GFileAttributeInfoList*") -) - -(define-method lookup - (of-object "GFileAttributeInfoList") - (c-name "g_file_attribute_info_list_lookup") - (return-type "const-GFileAttributeInfo*") - (parameters - '("const-char*" "name") - ) -) - -(define-method add - (of-object "GFileAttributeInfoList") - (c-name "g_file_attribute_info_list_add") - (return-type "none") - (parameters - '("const-char*" "name") - '("GFileAttributeType" "type") - '("GFileAttributeInfoFlags" "flags") - ) -) - - - -;; From gfileattribute-priv.h - - - -;; From gfileenumerator.h - -(define-function g_file_enumerator_get_type - (c-name "g_file_enumerator_get_type") - (return-type "GType") -) - -(define-method next_file - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_next_file") - (return-type "GFileInfo*") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method close - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_close") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method next_files_async - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_next_files_async") - (return-type "none") - (parameters - '("int" "num_files") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method next_files_finish - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_next_files_finish") - (return-type "GList*") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method close_async - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_close_async") - (return-type "none") - (parameters - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method close_finish - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_close_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method is_closed - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_is_closed") - (return-type "gboolean") -) - -(define-method has_pending - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_has_pending") - (return-type "gboolean") -) - -(define-method set_pending - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_set_pending") - (return-type "none") - (parameters - '("gboolean" "pending") - ) -) - -(define-method get_container - (of-object "GFileEnumerator") - (c-name "g_file_enumerator_get_container") - (return-type "GFile*") -) - - - -;; From gfile.h - -(define-function g_file_get_type - (c-name "g_file_get_type") - (return-type "GType") -) - -(define-function g_file_new_for_path - (c-name "g_file_new_for_path") - (return-type "GFile*") - (parameters - '("const-char*" "path") - ) -) - -(define-function g_file_new_for_uri - (c-name "g_file_new_for_uri") - (return-type "GFile*") - (parameters - '("const-char*" "uri") - ) -) - -(define-function g_file_new_for_commandline_arg - (c-name "g_file_new_for_commandline_arg") - (return-type "GFile*") - (parameters - '("const-char*" "arg") - ) -) - -(define-function g_file_parse_name - (c-name "g_file_parse_name") - (return-type "GFile*") - (parameters - '("const-char*" "parse_name") - ) -) - -(define-method dup - (of-object "GFile") - (c-name "g_file_dup") - (return-type "GFile*") -) - -(define-function g_file_hash - (c-name "g_file_hash") - (return-type "guint") - (parameters - '("gconstpointer" "file") - ) -) - -(define-method equal - (of-object "GFile") - (c-name "g_file_equal") - (return-type "gboolean") - (parameters - '("GFile*" "file2") - ) -) - -(define-method get_basename - (of-object "GFile") - (c-name "g_file_get_basename") - (return-type "char*") -) - -(define-method get_path - (of-object "GFile") - (c-name "g_file_get_path") - (return-type "char*") -) - -(define-method get_uri - (of-object "GFile") - (c-name "g_file_get_uri") - (return-type "char*") -) - -(define-method get_parse_name - (of-object "GFile") - (c-name "g_file_get_parse_name") - (return-type "char*") -) - -(define-method get_parent - (of-object "GFile") - (c-name "g_file_get_parent") - (return-type "GFile*") -) - -(define-method get_child - (of-object "GFile") - (c-name "g_file_get_child") - (return-type "GFile*") - (parameters - '("const-char*" "name") - ) -) - -(define-method get_child_for_display_name - (of-object "GFile") - (c-name "g_file_get_child_for_display_name") - (return-type "GFile*") - (parameters - '("const-char*" "display_name") - '("GError**" "error") - ) -) - -(define-method has_prefix - (of-object "GFile") - (c-name "g_file_has_prefix") - (return-type "gboolean") - (parameters - '("GFile*" "prefix") - ) -) - -(define-method get_relative_path - (of-object "GFile") - (c-name "g_file_get_relative_path") - (return-type "char*") - (parameters - '("GFile*" "descendant") - ) -) - -(define-method resolve_relative_path - (of-object "GFile") - (c-name "g_file_resolve_relative_path") - (return-type "GFile*") - (parameters - '("const-char*" "relative_path") - ) -) - -(define-method is_native - (of-object "GFile") - (c-name "g_file_is_native") - (return-type "gboolean") -) - -(define-method has_uri_scheme - (of-object "GFile") - (c-name "g_file_has_uri_scheme") - (return-type "gboolean") - (parameters - '("const-char*" "uri_scheme") - ) -) - -(define-method get_uri_scheme - (of-object "GFile") - (c-name "g_file_get_uri_scheme") - (return-type "char*") -) - -(define-method read - (of-object "GFile") - (c-name "g_file_read") - (return-type "GFileInputStream*") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_async - (of-object "GFile") - (c-name "g_file_read_async") - (return-type "none") - (parameters - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method read_finish - (of-object "GFile") - (c-name "g_file_read_finish") - (return-type "GFileInputStream*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method append_to - (of-object "GFile") - (c-name "g_file_append_to") - (return-type "GFileOutputStream*") - (parameters - '("GFileCreateFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method create - (of-object "GFile") - (c-name "g_file_create") - (return-type "GFileOutputStream*") - (parameters - '("GFileCreateFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method replace - (of-object "GFile") - (c-name "g_file_replace") - (return-type "GFileOutputStream*") - (parameters - '("const-char*" "etag") - '("gboolean" "make_backup") - '("GFileCreateFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method append_to_async - (of-object "GFile") - (c-name "g_file_append_to_async") - (return-type "none") - (parameters - '("GFileCreateFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method append_to_finish - (of-object "GFile") - (c-name "g_file_append_to_finish") - (return-type "GFileOutputStream*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method create_async - (of-object "GFile") - (c-name "g_file_create_async") - (return-type "none") - (parameters - '("GFileCreateFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method create_finish - (of-object "GFile") - (c-name "g_file_create_finish") - (return-type "GFileOutputStream*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method replace_async - (of-object "GFile") - (c-name "g_file_replace_async") - (return-type "none") - (parameters - '("const-char*" "etag") - '("gboolean" "make_backup") - '("GFileCreateFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method replace_finish - (of-object "GFile") - (c-name "g_file_replace_finish") - (return-type "GFileOutputStream*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method query_exists - (of-object "GFile") - (c-name "g_file_query_exists") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - ) -) - -(define-method query_file_type - (of-object "GFile") - (c-name "g_file_query_file_type") - (return-type "GFileType") - (parameters - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - ) -) - -(define-method query_info - (of-object "GFile") - (c-name "g_file_query_info") - (return-type "GFileInfo*") - (parameters - '("const-char*" "attributes") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_info_async - (of-object "GFile") - (c-name "g_file_query_info_async") - (return-type "none") - (parameters - '("const-char*" "attributes") - '("GFileQueryInfoFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method query_info_finish - (of-object "GFile") - (c-name "g_file_query_info_finish") - (return-type "GFileInfo*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method query_filesystem_info - (of-object "GFile") - (c-name "g_file_query_filesystem_info") - (return-type "GFileInfo*") - (parameters - '("const-char*" "attributes") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_filesystem_info_async - (of-object "GFile") - (c-name "g_file_query_filesystem_info_async") - (return-type "none") - (parameters - '("const-char*" "attributes") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method query_filesystem_info_finish - (of-object "GFile") - (c-name "g_file_query_filesystem_info_finish") - (return-type "GFileInfo*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method find_enclosing_mount - (of-object "GFile") - (c-name "g_file_find_enclosing_mount") - (return-type "GMount*") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method find_enclosing_mount_async - (of-object "GFile") - (c-name "g_file_find_enclosing_mount_async") - (return-type "none") - (parameters - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method find_enclosing_mount_finish - (of-object "GFile") - (c-name "g_file_find_enclosing_mount_finish") - (return-type "GMount*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method enumerate_children - (of-object "GFile") - (c-name "g_file_enumerate_children") - (return-type "GFileEnumerator*") - (parameters - '("const-char*" "attributes") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method enumerate_children_async - (of-object "GFile") - (c-name "g_file_enumerate_children_async") - (return-type "none") - (parameters - '("const-char*" "attributes") - '("GFileQueryInfoFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method enumerate_children_finish - (of-object "GFile") - (c-name "g_file_enumerate_children_finish") - (return-type "GFileEnumerator*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method set_display_name - (of-object "GFile") - (c-name "g_file_set_display_name") - (return-type "GFile*") - (parameters - '("const-char*" "display_name") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_display_name_async - (of-object "GFile") - (c-name "g_file_set_display_name_async") - (return-type "none") - (parameters - '("const-char*" "display_name") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method set_display_name_finish - (of-object "GFile") - (c-name "g_file_set_display_name_finish") - (return-type "GFile*") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method delete - (of-object "GFile") - (c-name "g_file_delete") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method trash - (of-object "GFile") - (c-name "g_file_trash") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method copy - (of-object "GFile") - (c-name "g_file_copy") - (return-type "gboolean") - (parameters - '("GFile*" "destination") - '("GFileCopyFlags" "flags") - '("GCancellable*" "cancellable") - '("GFileProgressCallback" "progress_callback") - '("gpointer" "progress_callback_data") - '("GError**" "error") - ) -) - -(define-method copy_async - (of-object "GFile") - (c-name "g_file_copy_async") - (return-type "none") - (parameters - '("GFile*" "destination") - '("GFileCopyFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GFileProgressCallback" "progress_callback") - '("gpointer" "progress_callback_data") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method copy_finish - (of-object "GFile") - (c-name "g_file_copy_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "res") - '("GError**" "error") - ) -) - -(define-method move - (of-object "GFile") - (c-name "g_file_move") - (return-type "gboolean") - (parameters - '("GFile*" "destination") - '("GFileCopyFlags" "flags") - '("GCancellable*" "cancellable") - '("GFileProgressCallback" "progress_callback") - '("gpointer" "progress_callback_data") - '("GError**" "error") - ) -) - -(define-method make_directory - (of-object "GFile") - (c-name "g_file_make_directory") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method make_directory_with_parents - (of-object "GFile") - (c-name "g_file_make_directory_with_parents") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method make_symbolic_link - (of-object "GFile") - (c-name "g_file_make_symbolic_link") - (return-type "gboolean") - (parameters - '("const-char*" "symlink_value") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_settable_attributes - (of-object "GFile") - (c-name "g_file_query_settable_attributes") - (return-type "GFileAttributeInfoList*") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_writable_namespaces - (of-object "GFile") - (c-name "g_file_query_writable_namespaces") - (return-type "GFileAttributeInfoList*") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attribute - (of-object "GFile") - (c-name "g_file_set_attribute") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("GFileAttributeType" "type") - '("gpointer" "value_p") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attributes_from_info - (of-object "GFile") - (c-name "g_file_set_attributes_from_info") - (return-type "gboolean") - (parameters - '("GFileInfo*" "info") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attributes_async - (of-object "GFile") - (c-name "g_file_set_attributes_async") - (return-type "none") - (parameters - '("GFileInfo*" "info") - '("GFileQueryInfoFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method set_attributes_finish - (of-object "GFile") - (c-name "g_file_set_attributes_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GFileInfo**" "info") - '("GError**" "error") - ) -) - -(define-method set_attribute_string - (of-object "GFile") - (c-name "g_file_set_attribute_string") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("const-char*" "value") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attribute_byte_string - (of-object "GFile") - (c-name "g_file_set_attribute_byte_string") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("const-char*" "value") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attribute_uint32 - (of-object "GFile") - (c-name "g_file_set_attribute_uint32") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("guint32" "value") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attribute_int32 - (of-object "GFile") - (c-name "g_file_set_attribute_int32") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("gint32" "value") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attribute_uint64 - (of-object "GFile") - (c-name "g_file_set_attribute_uint64") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("guint64" "value") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method set_attribute_int64 - (of-object "GFile") - (c-name "g_file_set_attribute_int64") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("gint64" "value") - '("GFileQueryInfoFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method mount_enclosing_volume - (of-object "GFile") - (c-name "g_file_mount_enclosing_volume") - (return-type "none") - (parameters - '("GMountMountFlags" "flags") - '("GMountOperation*" "mount_operation") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method mount_enclosing_volume_finish - (of-object "GFile") - (c-name "g_file_mount_enclosing_volume_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method mount_mountable - (of-object "GFile") - (c-name "g_file_mount_mountable") - (return-type "none") - (parameters - '("GMountMountFlags" "flags") - '("GMountOperation*" "mount_operation") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method mount_mountable_finish - (of-object "GFile") - (c-name "g_file_mount_mountable_finish") - (return-type "GFile*") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method unmount_mountable - (of-object "GFile") - (c-name "g_file_unmount_mountable") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method unmount_mountable_finish - (of-object "GFile") - (c-name "g_file_unmount_mountable_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method eject_mountable - (of-object "GFile") - (c-name "g_file_eject_mountable") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_mountable_finish - (of-object "GFile") - (c-name "g_file_eject_mountable_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method copy_attributes - (of-object "GFile") - (c-name "g_file_copy_attributes") - (return-type "gboolean") - (parameters - '("GFile*" "destination") - '("GFileCopyFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method monitor_directory - (of-object "GFile") - (c-name "g_file_monitor_directory") - (return-type "GFileMonitor*") - (parameters - '("GFileMonitorFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method monitor_file - (of-object "GFile") - (c-name "g_file_monitor_file") - (return-type "GFileMonitor*") - (parameters - '("GFileMonitorFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method monitor - (of-object "GFile") - (c-name "g_file_monitor") - (return-type "GFileMonitor*") - (parameters - '("GFileMonitorFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_default_handler - (of-object "GFile") - (c-name "g_file_query_default_handler") - (return-type "GAppInfo*") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method load_contents - (of-object "GFile") - (c-name "g_file_load_contents") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("char**" "contents") - '("gsize*" "length") - '("char**" "etag_out") - '("GError**" "error") - ) -) - -(define-method load_contents_async - (of-object "GFile") - (c-name "g_file_load_contents_async") - (return-type "none") - (parameters - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method load_contents_finish - (of-object "GFile") - (c-name "g_file_load_contents_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "res") - '("char**" "contents") - '("gsize*" "length") - '("char**" "etag_out") - '("GError**" "error") - ) -) - -(define-method load_partial_contents_async - (of-object "GFile") - (c-name "g_file_load_partial_contents_async") - (return-type "none") - (parameters - '("GCancellable*" "cancellable") - '("GFileReadMoreCallback" "read_more_callback") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method load_partial_contents_finish - (of-object "GFile") - (c-name "g_file_load_partial_contents_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "res") - '("char**" "contents") - '("gsize*" "length") - '("char**" "etag_out") - '("GError**" "error") - ) -) - -(define-method replace_contents - (of-object "GFile") - (c-name "g_file_replace_contents") - (return-type "gboolean") - (parameters - '("const-char*" "contents") - '("gsize" "length") - '("const-char*" "etag") - '("gboolean" "make_backup") - '("GFileCreateFlags" "flags") - '("char**" "new_etag") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method replace_contents_async - (of-object "GFile") - (c-name "g_file_replace_contents_async") - (return-type "none") - (parameters - '("const-char*" "contents") - '("gsize" "length") - '("const-char*" "etag") - '("gboolean" "make_backup") - '("GFileCreateFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method replace_contents_finish - (of-object "GFile") - (c-name "g_file_replace_contents_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "res") - '("char**" "new_etag") - '("GError**" "error") - ) -) - - - -;; From gfileicon.h - -(define-function g_file_icon_get_type - (c-name "g_file_icon_get_type") - (return-type "GType") -) - -(define-method icon_new - (of-object "GFile") - (c-name "g_file_icon_new") - (return-type "GIcon*") -) - -(define-method get_file - (of-object "GFileIcon") - (c-name "g_file_icon_get_file") - (return-type "GFile*") -) - - - -;; From gfileinfo.h - -(define-function g_file_info_get_type - (c-name "g_file_info_get_type") - (return-type "GType") -) - -(define-function g_file_info_new - (c-name "g_file_info_new") - (is-constructor-of "GFileInfo") - (return-type "GFileInfo*") -) - -(define-method dup - (of-object "GFileInfo") - (c-name "g_file_info_dup") - (return-type "GFileInfo*") -) - -(define-method copy_into - (of-object "GFileInfo") - (c-name "g_file_info_copy_into") - (return-type "none") - (parameters - '("GFileInfo*" "dest_info") - ) -) - -(define-method has_attribute - (of-object "GFileInfo") - (c-name "g_file_info_has_attribute") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method list_attributes - (of-object "GFileInfo") - (c-name "g_file_info_list_attributes") - (return-type "char**") - (parameters - '("const-char*" "name_space") - ) -) - -(define-method get_attribute_data - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_data") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - '("GFileAttributeType*" "type") - '("gpointer*" "value_pp") - '("GFileAttributeStatus*" "status") - ) -) - -(define-method get_attribute_type - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_type") - (return-type "GFileAttributeType") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method remove_attribute - (of-object "GFileInfo") - (c-name "g_file_info_remove_attribute") - (return-type "none") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_status - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_status") - (return-type "GFileAttributeStatus") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_as_string - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_as_string") - (return-type "char*") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_string - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_string") - (return-type "const-char*") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_byte_string - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_byte_string") - (return-type "const-char*") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_boolean - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_boolean") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_uint32 - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_uint32") - (return-type "guint32") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_int32 - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_int32") - (return-type "gint32") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_uint64 - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_uint64") - (return-type "guint64") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_int64 - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_int64") - (return-type "gint64") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method get_attribute_object - (of-object "GFileInfo") - (c-name "g_file_info_get_attribute_object") - (return-type "GObject*") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method set_attribute - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("GFileAttributeType" "type") - '("gpointer" "value_p") - ) -) - -(define-method set_attribute_string - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_string") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("const-char*" "attr_value") - ) -) - -(define-method set_attribute_byte_string - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_byte_string") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("const-char*" "attr_value") - ) -) - -(define-method set_attribute_boolean - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_boolean") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("gboolean" "attr_value") - ) -) - -(define-method set_attribute_uint32 - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_uint32") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("guint32" "attr_value") - ) -) - -(define-method set_attribute_int32 - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_int32") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("gint32" "attr_value") - ) -) - -(define-method set_attribute_uint64 - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_uint64") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("guint64" "attr_value") - ) -) - -(define-method set_attribute_int64 - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_int64") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("gint64" "attr_value") - ) -) - -(define-method set_attribute_object - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_object") - (return-type "none") - (parameters - '("const-char*" "attribute") - '("GObject*" "attr_value") - ) -) - -(define-method clear_status - (of-object "GFileInfo") - (c-name "g_file_info_clear_status") - (return-type "none") -) - -(define-method get_file_type - (of-object "GFileInfo") - (c-name "g_file_info_get_file_type") - (return-type "GFileType") -) - -(define-method get_is_hidden - (of-object "GFileInfo") - (c-name "g_file_info_get_is_hidden") - (return-type "gboolean") -) - -(define-method get_is_backup - (of-object "GFileInfo") - (c-name "g_file_info_get_is_backup") - (return-type "gboolean") -) - -(define-method get_is_symlink - (of-object "GFileInfo") - (c-name "g_file_info_get_is_symlink") - (return-type "gboolean") -) - -(define-method get_name - (of-object "GFileInfo") - (c-name "g_file_info_get_name") - (return-type "const-char*") -) - -(define-method get_display_name - (of-object "GFileInfo") - (c-name "g_file_info_get_display_name") - (return-type "const-char*") -) - -(define-method get_edit_name - (of-object "GFileInfo") - (c-name "g_file_info_get_edit_name") - (return-type "const-char*") -) - -(define-method get_icon - (of-object "GFileInfo") - (c-name "g_file_info_get_icon") - (return-type "GIcon*") -) - -(define-method get_content_type - (of-object "GFileInfo") - (c-name "g_file_info_get_content_type") - (return-type "const-char*") -) - -(define-method get_size - (of-object "GFileInfo") - (c-name "g_file_info_get_size") - (return-type "goffset") -) - -(define-method get_modification_time - (of-object "GFileInfo") - (c-name "g_file_info_get_modification_time") - (return-type "none") - (parameters - '("GTimeVal*" "result") - ) -) - -(define-method get_symlink_target - (of-object "GFileInfo") - (c-name "g_file_info_get_symlink_target") - (return-type "const-char*") -) - -(define-method get_etag - (of-object "GFileInfo") - (c-name "g_file_info_get_etag") - (return-type "const-char*") -) - -(define-method get_sort_order - (of-object "GFileInfo") - (c-name "g_file_info_get_sort_order") - (return-type "gint32") -) - -(define-method set_attribute_mask - (of-object "GFileInfo") - (c-name "g_file_info_set_attribute_mask") - (return-type "none") - (parameters - '("GFileAttributeMatcher*" "mask") - ) -) - -(define-method unset_attribute_mask - (of-object "GFileInfo") - (c-name "g_file_info_unset_attribute_mask") - (return-type "none") -) - -(define-method set_file_type - (of-object "GFileInfo") - (c-name "g_file_info_set_file_type") - (return-type "none") - (parameters - '("GFileType" "type") - ) -) - -(define-method set_is_hidden - (of-object "GFileInfo") - (c-name "g_file_info_set_is_hidden") - (return-type "none") - (parameters - '("gboolean" "is_hidden") - ) -) - -(define-method set_is_symlink - (of-object "GFileInfo") - (c-name "g_file_info_set_is_symlink") - (return-type "none") - (parameters - '("gboolean" "is_symlink") - ) -) - -(define-method set_name - (of-object "GFileInfo") - (c-name "g_file_info_set_name") - (return-type "none") - (parameters - '("const-char*" "name") - ) -) - -(define-method set_display_name - (of-object "GFileInfo") - (c-name "g_file_info_set_display_name") - (return-type "none") - (parameters - '("const-char*" "display_name") - ) -) - -(define-method set_edit_name - (of-object "GFileInfo") - (c-name "g_file_info_set_edit_name") - (return-type "none") - (parameters - '("const-char*" "edit_name") - ) -) - -(define-method set_icon - (of-object "GFileInfo") - (c-name "g_file_info_set_icon") - (return-type "none") - (parameters - '("GIcon*" "icon") - ) -) - -(define-method set_content_type - (of-object "GFileInfo") - (c-name "g_file_info_set_content_type") - (return-type "none") - (parameters - '("const-char*" "content_type") - ) -) - -(define-method set_size - (of-object "GFileInfo") - (c-name "g_file_info_set_size") - (return-type "none") - (parameters - '("goffset" "size") - ) -) - -(define-method set_modification_time - (of-object "GFileInfo") - (c-name "g_file_info_set_modification_time") - (return-type "none") - (parameters - '("GTimeVal*" "mtime") - ) -) - -(define-method set_symlink_target - (of-object "GFileInfo") - (c-name "g_file_info_set_symlink_target") - (return-type "none") - (parameters - '("const-char*" "symlink_target") - ) -) - -(define-method set_sort_order - (of-object "GFileInfo") - (c-name "g_file_info_set_sort_order") - (return-type "none") - (parameters - '("gint32" "sort_order") - ) -) - -(define-function g_file_attribute_matcher_new - (c-name "g_file_attribute_matcher_new") - (is-constructor-of "GFileAttributeMatcher") - (return-type "GFileAttributeMatcher*") - (parameters - '("const-char*" "attributes") - ) -) - -(define-method ref - (of-object "GFileAttributeMatcher") - (c-name "g_file_attribute_matcher_ref") - (return-type "GFileAttributeMatcher*") -) - -(define-method unref - (of-object "GFileAttributeMatcher") - (c-name "g_file_attribute_matcher_unref") - (return-type "none") -) - -(define-method matches - (of-object "GFileAttributeMatcher") - (c-name "g_file_attribute_matcher_matches") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method matches_only - (of-object "GFileAttributeMatcher") - (c-name "g_file_attribute_matcher_matches_only") - (return-type "gboolean") - (parameters - '("const-char*" "attribute") - ) -) - -(define-method enumerate_namespace - (of-object "GFileAttributeMatcher") - (c-name "g_file_attribute_matcher_enumerate_namespace") - (return-type "gboolean") - (parameters - '("const-char*" "ns") - ) -) - -(define-method enumerate_next - (of-object "GFileAttributeMatcher") - (c-name "g_file_attribute_matcher_enumerate_next") - (return-type "const-char*") -) - - - -;; From gfileinputstream.h - -(define-function g_file_input_stream_get_type - (c-name "g_file_input_stream_get_type") - (return-type "GType") -) - -(define-method query_info - (of-object "GFileInputStream") - (c-name "g_file_input_stream_query_info") - (return-type "GFileInfo*") - (parameters - '("char*" "attributes") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_info_async - (of-object "GFileInputStream") - (c-name "g_file_input_stream_query_info_async") - (return-type "none") - (parameters - '("char*" "attributes") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method query_info_finish - (of-object "GFileInputStream") - (c-name "g_file_input_stream_query_info_finish") - (return-type "GFileInfo*") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - - - -;; From gfilemonitor.h - -(define-function g_file_monitor_get_type - (c-name "g_file_monitor_get_type") - (return-type "GType") -) - -(define-method cancel - (of-object "GFileMonitor") - (c-name "g_file_monitor_cancel") - (return-type "gboolean") -) - -(define-method is_cancelled - (of-object "GFileMonitor") - (c-name "g_file_monitor_is_cancelled") - (return-type "gboolean") -) - -(define-method set_rate_limit - (of-object "GFileMonitor") - (c-name "g_file_monitor_set_rate_limit") - (return-type "none") - (parameters - '("int" "limit_msecs") - ) -) - -(define-method emit_event - (of-object "GFileMonitor") - (c-name "g_file_monitor_emit_event") - (return-type "none") - (parameters - '("GFile*" "child") - '("GFile*" "other_file") - '("GFileMonitorEvent" "event_type") - ) -) - - - -;; From gfilenamecompleter.h - -(define-function g_filename_completer_get_type - (c-name "g_filename_completer_get_type") - (return-type "GType") -) - -(define-function g_filename_completer_new - (c-name "g_filename_completer_new") - (is-constructor-of "GFilenameCompleter") - (return-type "GFilenameCompleter*") -) - -(define-method get_completion_suffix - (of-object "GFilenameCompleter") - (c-name "g_filename_completer_get_completion_suffix") - (return-type "char*") - (parameters - '("const-char*" "initial_text") - ) -) - -(define-method get_completions - (of-object "GFilenameCompleter") - (c-name "g_filename_completer_get_completions") - (return-type "char**") - (parameters - '("const-char*" "initial_text") - ) -) - -(define-method set_dirs_only - (of-object "GFilenameCompleter") - (c-name "g_filename_completer_set_dirs_only") - (return-type "none") - (parameters - '("gboolean" "dirs_only") - ) -) - - - -;; From gfileoutputstream.h - -(define-function g_file_output_stream_get_type - (c-name "g_file_output_stream_get_type") - (return-type "GType") -) - -(define-method query_info - (of-object "GFileOutputStream") - (c-name "g_file_output_stream_query_info") - (return-type "GFileInfo*") - (parameters - '("char*" "attributes") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method query_info_async - (of-object "GFileOutputStream") - (c-name "g_file_output_stream_query_info_async") - (return-type "none") - (parameters - '("char*" "attributes") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method query_info_finish - (of-object "GFileOutputStream") - (c-name "g_file_output_stream_query_info_finish") - (return-type "GFileInfo*") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method get_etag - (of-object "GFileOutputStream") - (c-name "g_file_output_stream_get_etag") - (return-type "char*") -) - - - -;; From gfilterinputstream.h - -(define-function g_filter_input_stream_get_type - (c-name "g_filter_input_stream_get_type") - (return-type "GType") -) - -(define-method get_base_stream - (of-object "GFilterInputStream") - (c-name "g_filter_input_stream_get_base_stream") - (return-type "GInputStream*") -) - - - -;; From gfilteroutputstream.h - -(define-function g_filter_output_stream_get_type - (c-name "g_filter_output_stream_get_type") - (return-type "GType") -) - -(define-method get_base_stream - (of-object "GFilterOutputStream") - (c-name "g_filter_output_stream_get_base_stream") - (return-type "GOutputStream*") -) - - - -;; From gicon.h - -(define-function g_icon_get_type - (c-name "g_icon_get_type") - (return-type "GType") -) - -(define-function g_icon_hash - (c-name "g_icon_hash") - (return-type "guint") - (parameters - '("gconstpointer" "icon") - ) -) - -(define-method equal - (of-object "GIcon") - (c-name "g_icon_equal") - (return-type "gboolean") - (parameters - '("GIcon*" "icon2") - ) -) - - - -;; From ginputstream.h - -(define-function g_input_stream_get_type - (c-name "g_input_stream_get_type") - (return-type "GType") -) - -(define-method read - (of-object "GInputStream") - (c-name "g_input_stream_read") - (return-type "gssize") - (parameters - '("void*" "buffer") - '("gsize" "count") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_all - (of-object "GInputStream") - (c-name "g_input_stream_read_all") - (return-type "gboolean") - (parameters - '("void*" "buffer") - '("gsize" "count") - '("gsize*" "bytes_read") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method skip - (of-object "GInputStream") - (c-name "g_input_stream_skip") - (return-type "gssize") - (parameters - '("gsize" "count") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method close - (of-object "GInputStream") - (c-name "g_input_stream_close") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method read_async - (of-object "GInputStream") - (c-name "g_input_stream_read_async") - (return-type "none") - (parameters - '("void*" "buffer") - '("gsize" "count") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method read_finish - (of-object "GInputStream") - (c-name "g_input_stream_read_finish") - (return-type "gssize") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method skip_async - (of-object "GInputStream") - (c-name "g_input_stream_skip_async") - (return-type "none") - (parameters - '("gsize" "count") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method skip_finish - (of-object "GInputStream") - (c-name "g_input_stream_skip_finish") - (return-type "gssize") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method close_async - (of-object "GInputStream") - (c-name "g_input_stream_close_async") - (return-type "none") - (parameters - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method close_finish - (of-object "GInputStream") - (c-name "g_input_stream_close_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method is_closed - (of-object "GInputStream") - (c-name "g_input_stream_is_closed") - (return-type "gboolean") -) - -(define-method has_pending - (of-object "GInputStream") - (c-name "g_input_stream_has_pending") - (return-type "gboolean") -) - -(define-method set_pending - (of-object "GInputStream") - (c-name "g_input_stream_set_pending") - (return-type "gboolean") - (parameters - '("GError**" "error") - ) -) - -(define-method clear_pending - (of-object "GInputStream") - (c-name "g_input_stream_clear_pending") - (return-type "none") -) - - - -;; From gioalias.h - - - -;; From gioenums.h - - - -;; From gioenumtypes.h - -(define-function g_app_info_create_flags_get_type - (c-name "g_app_info_create_flags_get_type") - (return-type "GType") -) - -(define-function g_data_stream_byte_order_get_type - (c-name "g_data_stream_byte_order_get_type") - (return-type "GType") -) - -(define-function g_data_stream_newline_type_get_type - (c-name "g_data_stream_newline_type_get_type") - (return-type "GType") -) - -(define-function g_file_attribute_type_get_type - (c-name "g_file_attribute_type_get_type") - (return-type "GType") -) - -(define-function g_file_attribute_info_flags_get_type - (c-name "g_file_attribute_info_flags_get_type") - (return-type "GType") -) - -(define-function g_file_attribute_status_get_type - (c-name "g_file_attribute_status_get_type") - (return-type "GType") -) - -(define-function g_file_query_info_flags_get_type - (c-name "g_file_query_info_flags_get_type") - (return-type "GType") -) - -(define-function g_file_create_flags_get_type - (c-name "g_file_create_flags_get_type") - (return-type "GType") -) - -(define-function g_mount_mount_flags_get_type - (c-name "g_mount_mount_flags_get_type") - (return-type "GType") -) - -(define-function g_mount_unmount_flags_get_type - (c-name "g_mount_unmount_flags_get_type") - (return-type "GType") -) - -(define-function g_file_copy_flags_get_type - (c-name "g_file_copy_flags_get_type") - (return-type "GType") -) - -(define-function g_file_monitor_flags_get_type - (c-name "g_file_monitor_flags_get_type") - (return-type "GType") -) - -(define-function g_file_type_get_type - (c-name "g_file_type_get_type") - (return-type "GType") -) - -(define-function g_filesystem_preview_type_get_type - (c-name "g_filesystem_preview_type_get_type") - (return-type "GType") -) - -(define-function g_file_monitor_event_get_type - (c-name "g_file_monitor_event_get_type") - (return-type "GType") -) - -(define-function g_io_error_enum_get_type - (c-name "g_io_error_enum_get_type") - (return-type "GType") -) - -(define-function g_ask_password_flags_get_type - (c-name "g_ask_password_flags_get_type") - (return-type "GType") -) - -(define-function g_password_save_get_type - (c-name "g_password_save_get_type") - (return-type "GType") -) - -(define-function g_mount_operation_result_get_type - (c-name "g_mount_operation_result_get_type") - (return-type "GType") -) - -(define-function g_output_stream_splice_flags_get_type - (c-name "g_output_stream_splice_flags_get_type") - (return-type "GType") -) - - - -;; From gioerror.h - -(define-function g_io_error_quark - (c-name "g_io_error_quark") - (return-type "GQuark") -) - -(define-function g_io_error_from_errno - (c-name "g_io_error_from_errno") - (return-type "GIOErrorEnum") - (parameters - '("gint" "err_no") - ) -) - - - -;; From gio.h - - - -;; From gio-marshal.h - - - -;; From giomodule.h - -(define-function g_io_module_get_type - (c-name "g_io_module_get_type") - (return-type "GType") -) - -(define-function g_io_module_new - (c-name "g_io_module_new") - (is-constructor-of "GIoModule") - (return-type "GIOModule*") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_io_modules_load_all_in_directory - (c-name "g_io_modules_load_all_in_directory") - (return-type "GList*") - (parameters - '("const-char*" "dirname") - ) -) - -(define-function g_io_extension_point_register - (c-name "g_io_extension_point_register") - (return-type "GIOExtensionPoint*") - (parameters - '("const-char*" "name") - ) -) - -(define-function g_io_extension_point_lookup - (c-name "g_io_extension_point_lookup") - (return-type "GIOExtensionPoint*") - (parameters - '("const-char*" "name") - ) -) - -(define-method set_required_type - (of-object "GIOExtensionPoint") - (c-name "g_io_extension_point_set_required_type") - (return-type "none") - (parameters - '("GType" "type") - ) -) - -(define-method get_required_type - (of-object "GIOExtensionPoint") - (c-name "g_io_extension_point_get_required_type") - (return-type "GType") -) - -(define-method get_extensions - (of-object "GIOExtensionPoint") - (c-name "g_io_extension_point_get_extensions") - (return-type "GList*") -) - -(define-method get_extension_by_name - (of-object "GIOExtensionPoint") - (c-name "g_io_extension_point_get_extension_by_name") - (return-type "GIOExtension*") - (parameters - '("const-char*" "name") - ) -) - -(define-function g_io_extension_point_implement - (c-name "g_io_extension_point_implement") - (return-type "GIOExtension*") - (parameters - '("const-char*" "extension_point_name") - '("GType" "type") - '("const-char*" "extension_name") - '("gint" "priority") - ) -) - -(define-method get_type - (of-object "GIOExtension") - (c-name "g_io_extension_get_type") - (return-type "GType") -) - -(define-method get_name - (of-object "GIOExtension") - (c-name "g_io_extension_get_name") - (return-type "const-char*") -) - -(define-method get_priority - (of-object "GIOExtension") - (c-name "g_io_extension_get_priority") - (return-type "gint") -) - -(define-method ref_class - (of-object "GIOExtension") - (c-name "g_io_extension_ref_class") - (return-type "GTypeClass*") -) - -(define-method load - (of-object "GIOModule") - (c-name "g_io_module_load") - (return-type "none") -) - -(define-method unload - (of-object "GIOModule") - (c-name "g_io_module_unload") - (return-type "none") -) - - - -;; From giomodule-priv.h - - - -;; From gioscheduler.h - -(define-function g_io_scheduler_push_job - (c-name "g_io_scheduler_push_job") - (return-type "none") - (parameters - '("GIOSchedulerJobFunc" "job_func") - '("gpointer" "user_data") - '("GDestroyNotify" "notify") - '("gint" "io_priority") - '("GCancellable*" "cancellable") - ) -) - -(define-function g_io_scheduler_cancel_all_jobs - (c-name "g_io_scheduler_cancel_all_jobs") - (return-type "none") -) - -(define-method send_to_mainloop - (of-object "GIOSchedulerJob") - (c-name "g_io_scheduler_job_send_to_mainloop") - (return-type "gboolean") - (parameters - '("GSourceFunc" "func") - '("gpointer" "user_data") - '("GDestroyNotify" "notify") - ) -) - -(define-method send_to_mainloop_async - (of-object "GIOSchedulerJob") - (c-name "g_io_scheduler_job_send_to_mainloop_async") - (return-type "none") - (parameters - '("GSourceFunc" "func") - '("gpointer" "user_data") - '("GDestroyNotify" "notify") - ) -) - - - -;; From giotypes.h - - - -;; From gloadableicon.h - -(define-function g_loadable_icon_get_type - (c-name "g_loadable_icon_get_type") - (return-type "GType") -) - -(define-method load - (of-object "GLoadableIcon") - (c-name "g_loadable_icon_load") - (return-type "GInputStream*") - (parameters - '("int" "size") - '("char**" "type") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method load_async - (of-object "GLoadableIcon") - (c-name "g_loadable_icon_load_async") - (return-type "none") - (parameters - '("int" "size") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method load_finish - (of-object "GLoadableIcon") - (c-name "g_loadable_icon_load_finish") - (return-type "GInputStream*") - (parameters - '("GAsyncResult*" "res") - '("char**" "type") - '("GError**" "error") - ) -) - - - -;; From glocaldirectorymonitor.h - -(define-function g_local_directory_monitor_get_type - (c-name "g_local_directory_monitor_get_type") - (return-type "GType") -) - - - -;; From glocalfileenumerator.h - - - -;; From glocalfile.h - - - -;; From glocalfileinfo.h - - - -;; From glocalfileinputstream.h - - - -;; From glocalfilemonitor.h - -(define-function g_local_file_monitor_get_type - (c-name "g_local_file_monitor_get_type") - (return-type "GType") -) - - - -;; From glocalfileoutputstream.h - - - -;; From glocalvfs.h - - - -;; From gmemoryinputstream.h - -(define-function g_memory_input_stream_get_type - (c-name "g_memory_input_stream_get_type") - (return-type "GType") -) - -(define-function g_memory_input_stream_new - (c-name "g_memory_input_stream_new") - (is-constructor-of "GMemoryInputStream") - (return-type "GInputStream*") -) - -(define-function g_memory_input_stream_new_from_data - (c-name "g_memory_input_stream_new_from_data") - (return-type "GInputStream*") - (parameters - '("const-void*" "data") - '("gssize" "len") - '("GDestroyNotify" "destroy") - ) -) - -(define-method add_data - (of-object "GMemoryInputStream") - (c-name "g_memory_input_stream_add_data") - (return-type "none") - (parameters - '("const-void*" "data") - '("gssize" "len") - '("GDestroyNotify" "destroy") - ) -) - - - -;; From gmemoryoutputstream.h - -(define-function g_memory_output_stream_get_type - (c-name "g_memory_output_stream_get_type") - (return-type "GType") -) - -(define-function g_memory_output_stream_new - (c-name "g_memory_output_stream_new") - (is-constructor-of "GMemoryOutputStream") - (return-type "GOutputStream*") - (parameters - '("gpointer" "data") - '("gsize" "len") - '("GReallocFunc" "realloc_fn") - '("GDestroyNotify" "destroy") - ) -) - -(define-method get_data - (of-object "GMemoryOutputStream") - (c-name "g_memory_output_stream_get_data") - (return-type "gpointer") -) - -(define-method get_size - (of-object "GMemoryOutputStream") - (c-name "g_memory_output_stream_get_size") - (return-type "gsize") -) - -(define-method get_data_size - (of-object "GMemoryOutputStream") - (c-name "g_memory_output_stream_get_data_size") - (return-type "gsize") -) - - - -;; From gmount.h - -(define-function g_mount_get_type - (c-name "g_mount_get_type") - (return-type "GType") -) - -(define-method get_root - (of-object "GMount") - (c-name "g_mount_get_root") - (return-type "GFile*") -) - -(define-method get_name - (of-object "GMount") - (c-name "g_mount_get_name") - (return-type "char*") -) - -(define-method get_icon - (of-object "GMount") - (c-name "g_mount_get_icon") - (return-type "GIcon*") -) - -(define-method get_uuid - (of-object "GMount") - (c-name "g_mount_get_uuid") - (return-type "char*") -) - -(define-method get_volume - (of-object "GMount") - (c-name "g_mount_get_volume") - (return-type "GVolume*") -) - -(define-method get_drive - (of-object "GMount") - (c-name "g_mount_get_drive") - (return-type "GDrive*") -) - -(define-method can_unmount - (of-object "GMount") - (c-name "g_mount_can_unmount") - (return-type "gboolean") -) - -(define-method can_eject - (of-object "GMount") - (c-name "g_mount_can_eject") - (return-type "gboolean") -) - -(define-method unmount - (of-object "GMount") - (c-name "g_mount_unmount") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method unmount_finish - (of-object "GMount") - (c-name "g_mount_unmount_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method eject - (of-object "GMount") - (c-name "g_mount_eject") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_finish - (of-object "GMount") - (c-name "g_mount_eject_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method remount - (of-object "GMount") - (c-name "g_mount_remount") - (return-type "none") - (parameters - '("GMountMountFlags" "flags") - '("GMountOperation*" "mount_operation") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method remount_finish - (of-object "GMount") - (c-name "g_mount_remount_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method guess_content_type - (of-object "GMount") - (c-name "g_mount_guess_content_type") - (return-type "none") - (parameters - '("gboolean" "force_rescan") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method guess_content_type_finish - (of-object "GMount") - (c-name "g_mount_guess_content_type_finish") - (return-type "gchar**") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - - - -;; From gmountoperation.h - -(define-function g_mount_operation_get_type - (c-name "g_mount_operation_get_type") - (return-type "GType") -) - -(define-function g_mount_operation_new - (c-name "g_mount_operation_new") - (is-constructor-of "GMountOperation") - (return-type "GMountOperation*") -) - -(define-method get_username - (of-object "GMountOperation") - (c-name "g_mount_operation_get_username") - (return-type "const-char*") -) - -(define-method set_username - (of-object "GMountOperation") - (c-name "g_mount_operation_set_username") - (return-type "none") - (parameters - '("const-char*" "username") - ) -) - -(define-method get_password - (of-object "GMountOperation") - (c-name "g_mount_operation_get_password") - (return-type "const-char*") -) - -(define-method set_password - (of-object "GMountOperation") - (c-name "g_mount_operation_set_password") - (return-type "none") - (parameters - '("const-char*" "password") - ) -) - -(define-method get_anonymous - (of-object "GMountOperation") - (c-name "g_mount_operation_get_anonymous") - (return-type "gboolean") -) - -(define-method set_anonymous - (of-object "GMountOperation") - (c-name "g_mount_operation_set_anonymous") - (return-type "none") - (parameters - '("gboolean" "anonymous") - ) -) - -(define-method get_domain - (of-object "GMountOperation") - (c-name "g_mount_operation_get_domain") - (return-type "const-char*") -) - -(define-method set_domain - (of-object "GMountOperation") - (c-name "g_mount_operation_set_domain") - (return-type "none") - (parameters - '("const-char*" "domain") - ) -) - -(define-method get_password_save - (of-object "GMountOperation") - (c-name "g_mount_operation_get_password_save") - (return-type "GPasswordSave") -) - -(define-method set_password_save - (of-object "GMountOperation") - (c-name "g_mount_operation_set_password_save") - (return-type "none") - (parameters - '("GPasswordSave" "save") - ) -) - -(define-method get_choice - (of-object "GMountOperation") - (c-name "g_mount_operation_get_choice") - (return-type "int") -) - -(define-method set_choice - (of-object "GMountOperation") - (c-name "g_mount_operation_set_choice") - (return-type "none") - (parameters - '("int" "choice") - ) -) - -(define-method reply - (of-object "GMountOperation") - (c-name "g_mount_operation_reply") - (return-type "none") - (parameters - '("GMountOperationResult" "result") - ) -) - - - -;; From gmountprivate.h - - - -;; From gnativevolumemonitor.h - -(define-function g_native_volume_monitor_get_type - (c-name "g_native_volume_monitor_get_type") - (return-type "GType") -) - - - -;; From goutputstream.h - -(define-function g_output_stream_get_type - (c-name "g_output_stream_get_type") - (return-type "GType") -) - -(define-method write - (of-object "GOutputStream") - (c-name "g_output_stream_write") - (return-type "gssize") - (parameters - '("const-void*" "buffer") - '("gsize" "count") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method write_all - (of-object "GOutputStream") - (c-name "g_output_stream_write_all") - (return-type "gboolean") - (parameters - '("const-void*" "buffer") - '("gsize" "count") - '("gsize*" "bytes_written") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method splice - (of-object "GOutputStream") - (c-name "g_output_stream_splice") - (return-type "gssize") - (parameters - '("GInputStream*" "source") - '("GOutputStreamSpliceFlags" "flags") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method flush - (of-object "GOutputStream") - (c-name "g_output_stream_flush") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method close - (of-object "GOutputStream") - (c-name "g_output_stream_close") - (return-type "gboolean") - (parameters - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method write_async - (of-object "GOutputStream") - (c-name "g_output_stream_write_async") - (return-type "none") - (parameters - '("const-void*" "buffer") - '("gsize" "count") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method write_finish - (of-object "GOutputStream") - (c-name "g_output_stream_write_finish") - (return-type "gssize") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method splice_async - (of-object "GOutputStream") - (c-name "g_output_stream_splice_async") - (return-type "none") - (parameters - '("GInputStream*" "source") - '("GOutputStreamSpliceFlags" "flags") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method splice_finish - (of-object "GOutputStream") - (c-name "g_output_stream_splice_finish") - (return-type "gssize") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method flush_async - (of-object "GOutputStream") - (c-name "g_output_stream_flush_async") - (return-type "none") - (parameters - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method flush_finish - (of-object "GOutputStream") - (c-name "g_output_stream_flush_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method close_async - (of-object "GOutputStream") - (c-name "g_output_stream_close_async") - (return-type "none") - (parameters - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method close_finish - (of-object "GOutputStream") - (c-name "g_output_stream_close_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method is_closed - (of-object "GOutputStream") - (c-name "g_output_stream_is_closed") - (return-type "gboolean") -) - -(define-method has_pending - (of-object "GOutputStream") - (c-name "g_output_stream_has_pending") - (return-type "gboolean") -) - -(define-method set_pending - (of-object "GOutputStream") - (c-name "g_output_stream_set_pending") - (return-type "gboolean") - (parameters - '("GError**" "error") - ) -) - -(define-method clear_pending - (of-object "GOutputStream") - (c-name "g_output_stream_clear_pending") - (return-type "none") -) - - - -;; From gpollfilemonitor.h - - - -;; From gseekable.h - -(define-function g_seekable_get_type - (c-name "g_seekable_get_type") - (return-type "GType") -) - -(define-method tell - (of-object "GSeekable") - (c-name "g_seekable_tell") - (return-type "goffset") -) - -(define-method can_seek - (of-object "GSeekable") - (c-name "g_seekable_can_seek") - (return-type "gboolean") -) - -(define-method seek - (of-object "GSeekable") - (c-name "g_seekable_seek") - (return-type "gboolean") - (parameters - '("goffset" "offset") - '("GSeekType" "type") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-method can_truncate - (of-object "GSeekable") - (c-name "g_seekable_can_truncate") - (return-type "gboolean") -) - -(define-method truncate - (of-object "GSeekable") - (c-name "g_seekable_truncate") - (return-type "gboolean") - (parameters - '("goffset" "offset") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - - - -;; From gsimpleasyncresult.h - -(define-function g_simple_async_result_get_type - (c-name "g_simple_async_result_get_type") - (return-type "GType") -) - -(define-function g_simple_async_result_new - (c-name "g_simple_async_result_new") - (is-constructor-of "GSimpleAsyncResult") - (return-type "GSimpleAsyncResult*") - (parameters - '("GObject*" "source_object") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - '("gpointer" "source_tag") - ) -) - -(define-function g_simple_async_result_new_error - (c-name "g_simple_async_result_new_error") - (return-type "GSimpleAsyncResult*") - (parameters - '("GObject*" "source_object") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - '("GQuark" "domain") - '("gint" "code") - '("const-char*" "format") - ) - (varargs #t) -) - -(define-function g_simple_async_result_new_from_error - (c-name "g_simple_async_result_new_from_error") - (return-type "GSimpleAsyncResult*") - (parameters - '("GObject*" "source_object") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - '("GError*" "error") - ) -) - -(define-method set_op_res_gpointer - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_op_res_gpointer") - (return-type "none") - (parameters - '("gpointer" "op_res") - '("GDestroyNotify" "destroy_op_res") - ) -) - -(define-method get_op_res_gpointer - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_get_op_res_gpointer") - (return-type "gpointer") -) - -(define-method set_op_res_gssize - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_op_res_gssize") - (return-type "none") - (parameters - '("gssize" "op_res") - ) -) - -(define-method get_op_res_gssize - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_get_op_res_gssize") - (return-type "gssize") -) - -(define-method set_op_res_gboolean - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_op_res_gboolean") - (return-type "none") - (parameters - '("gboolean" "op_res") - ) -) - -(define-method get_op_res_gboolean - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_get_op_res_gboolean") - (return-type "gboolean") -) - -(define-method get_source_tag - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_get_source_tag") - (return-type "gpointer") -) - -(define-method set_handle_cancellation - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_handle_cancellation") - (return-type "none") - (parameters - '("gboolean" "handle_cancellation") - ) -) - -(define-method complete - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_complete") - (return-type "none") -) - -(define-method complete_in_idle - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_complete_in_idle") - (return-type "none") -) - -(define-method run_in_thread - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_run_in_thread") - (return-type "none") - (parameters - '("GSimpleAsyncThreadFunc" "func") - '("int" "io_priority") - '("GCancellable*" "cancellable") - ) -) - -(define-method set_from_error - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_from_error") - (return-type "none") - (parameters - '("GError*" "error") - ) -) - -(define-method propagate_error - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_propagate_error") - (return-type "gboolean") - (parameters - '("GError**" "dest") - ) -) - -(define-method set_error - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_error") - (return-type "none") - (parameters - '("GQuark" "domain") - '("gint" "code") - '("const-char*" "format") - ) - (varargs #t) -) - -(define-method set_error_va - (of-object "GSimpleAsyncResult") - (c-name "g_simple_async_result_set_error_va") - (return-type "none") - (parameters - '("GQuark" "domain") - '("gint" "code") - '("const-char*" "format") - '("va_list" "args") - ) -) - -(define-function g_simple_async_report_error_in_idle - (c-name "g_simple_async_report_error_in_idle") - (return-type "none") - (parameters - '("GObject*" "object") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - '("GQuark" "domain") - '("gint" "code") - '("const-char*" "format") - ) - (varargs #t) -) - -(define-function g_simple_async_report_gerror_in_idle - (c-name "g_simple_async_report_gerror_in_idle") - (return-type "none") - (parameters - '("GObject*" "object") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - '("GError*" "error") - ) -) - - - -;; From gthemedicon.h - -(define-function g_themed_icon_get_type - (c-name "g_themed_icon_get_type") - (return-type "GType") -) - -(define-function g_themed_icon_new - (c-name "g_themed_icon_new") - (is-constructor-of "GThemedIcon") - (return-type "GIcon*") - (parameters - '("const-char*" "iconname") - ) -) - -(define-function g_themed_icon_new_with_default_fallbacks - (c-name "g_themed_icon_new_with_default_fallbacks") - (return-type "GIcon*") - (parameters - '("const-char*" "iconname") - ) -) - -(define-function g_themed_icon_new_from_names - (c-name "g_themed_icon_new_from_names") - (return-type "GIcon*") - (parameters - '("char**" "iconnames") - '("int" "len") - ) -) - -(define-method prepend_name - (of-object "GThemedIcon") - (c-name "g_themed_icon_prepend_name") - (return-type "none") - (parameters - '("const-char*" "iconname") - ) -) - -(define-method append_name - (of-object "GThemedIcon") - (c-name "g_themed_icon_append_name") - (return-type "none") - (parameters - '("const-char*" "iconname") - ) -) - - - -;; From gunionvolumemonitor.h - - - -;; From gunixinputstream.h - -(define-function g_unix_input_stream_get_type - (c-name "g_unix_input_stream_get_type") - (return-type "GType") -) - -(define-function g_unix_input_stream_new - (c-name "g_unix_input_stream_new") - (is-constructor-of "GUnixInputStream") - (return-type "GInputStream*") - (parameters - '("int" "fd") - '("gboolean" "close_fd_at_close") - ) -) - - - -;; From gunixmount.h - - - -;; From gunixmounts.h - -(define-function g_unix_mount_free - (c-name "g_unix_mount_free") - (return-type "none") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-method free - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_free") - (return-type "none") -) - -(define-function g_unix_mount_compare - (c-name "g_unix_mount_compare") - (return-type "gint") - (parameters - '("GUnixMountEntry*" "mount1") - '("GUnixMountEntry*" "mount2") - ) -) - -(define-function g_unix_mount_get_mount_path - (c-name "g_unix_mount_get_mount_path") - (return-type "const-char*") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_get_device_path - (c-name "g_unix_mount_get_device_path") - (return-type "const-char*") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_get_fs_type - (c-name "g_unix_mount_get_fs_type") - (return-type "const-char*") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_is_readonly - (c-name "g_unix_mount_is_readonly") - (return-type "gboolean") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_is_system_internal - (c-name "g_unix_mount_is_system_internal") - (return-type "gboolean") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_guess_can_eject - (c-name "g_unix_mount_guess_can_eject") - (return-type "gboolean") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_guess_should_display - (c-name "g_unix_mount_guess_should_display") - (return-type "gboolean") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_guess_name - (c-name "g_unix_mount_guess_name") - (return-type "char*") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-function g_unix_mount_guess_icon - (c-name "g_unix_mount_guess_icon") - (return-type "GIcon*") - (parameters - '("GUnixMountEntry*" "mount_entry") - ) -) - -(define-method compare - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_compare") - (return-type "gint") - (parameters - '("GUnixMountPoint*" "mount2") - ) -) - -(define-method get_mount_path - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_get_mount_path") - (return-type "const-char*") -) - -(define-method get_device_path - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_get_device_path") - (return-type "const-char*") -) - -(define-method get_fs_type - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_get_fs_type") - (return-type "const-char*") -) - -(define-method is_readonly - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_is_readonly") - (return-type "gboolean") -) - -(define-method is_user_mountable - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_is_user_mountable") - (return-type "gboolean") -) - -(define-method is_loopback - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_is_loopback") - (return-type "gboolean") -) - -(define-method guess_can_eject - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_guess_can_eject") - (return-type "gboolean") -) - -(define-method guess_name - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_guess_name") - (return-type "char*") -) - -(define-method guess_icon - (of-object "GUnixMountPoint") - (c-name "g_unix_mount_point_guess_icon") - (return-type "GIcon*") -) - -(define-function g_unix_mount_points_get - (c-name "g_unix_mount_points_get") - (return-type "GList*") - (parameters - '("guint64*" "time_read") - ) -) - -(define-function g_unix_mounts_get - (c-name "g_unix_mounts_get") - (return-type "GList*") - (parameters - '("guint64*" "time_read") - ) -) - -(define-function g_unix_mount_at - (c-name "g_unix_mount_at") - (return-type "GUnixMountEntry*") - (parameters - '("const-char*" "mount_path") - '("guint64*" "time_read") - ) -) - -(define-function g_unix_mounts_changed_since - (c-name "g_unix_mounts_changed_since") - (return-type "gboolean") - (parameters - '("guint64" "time") - ) -) - -(define-function g_unix_mount_points_changed_since - (c-name "g_unix_mount_points_changed_since") - (return-type "gboolean") - (parameters - '("guint64" "time") - ) -) - -(define-function g_unix_mount_monitor_get_type - (c-name "g_unix_mount_monitor_get_type") - (return-type "GType") -) - -(define-function g_unix_mount_monitor_new - (c-name "g_unix_mount_monitor_new") - (is-constructor-of "GUnixMountMonitor") - (return-type "GUnixMountMonitor*") -) - -(define-method set_rate_limit - (of-object "GUnixMountMonitor") - (c-name "g_unix_mount_monitor_set_rate_limit") - (return-type "none") - (parameters - '("int" "limit_msec") - ) -) - -(define-function g_unix_is_mount_path_system_internal - (c-name "g_unix_is_mount_path_system_internal") - (return-type "gboolean") - (parameters - '("const-char*" "mount_path") - ) -) - - - -;; From gunixoutputstream.h - -(define-function g_unix_output_stream_get_type - (c-name "g_unix_output_stream_get_type") - (return-type "GType") -) - -(define-function g_unix_output_stream_new - (c-name "g_unix_output_stream_new") - (is-constructor-of "GUnixOutputStream") - (return-type "GOutputStream*") - (parameters - '("int" "fd") - '("gboolean" "close_fd_at_close") - ) -) - - - -;; From gunixvolume.h - - - -;; From gunixvolumemonitor.h - - - -;; From gvfs.h - -(define-function g_vfs_get_type - (c-name "g_vfs_get_type") - (return-type "GType") -) - -(define-method is_active - (of-object "GVfs") - (c-name "g_vfs_is_active") - (return-type "gboolean") -) - -(define-method get_file_for_path - (of-object "GVfs") - (c-name "g_vfs_get_file_for_path") - (return-type "GFile*") - (parameters - '("const-char*" "path") - ) -) - -(define-method get_file_for_uri - (of-object "GVfs") - (c-name "g_vfs_get_file_for_uri") - (return-type "GFile*") - (parameters - '("const-char*" "uri") - ) -) - -(define-method parse_name - (of-object "GVfs") - (c-name "g_vfs_parse_name") - (return-type "GFile*") - (parameters - '("const-char*" "parse_name") - ) -) - -(define-function g_vfs_get_default - (c-name "g_vfs_get_default") - (return-type "GVfs*") -) - -(define-function g_vfs_get_local - (c-name "g_vfs_get_local") - (return-type "GVfs*") -) - - - -;; From gvolume.h - -(define-function g_volume_get_type - (c-name "g_volume_get_type") - (return-type "GType") -) - -(define-method get_name - (of-object "GVolume") - (c-name "g_volume_get_name") - (return-type "char*") -) - -(define-method get_icon - (of-object "GVolume") - (c-name "g_volume_get_icon") - (return-type "GIcon*") -) - -(define-method get_uuid - (of-object "GVolume") - (c-name "g_volume_get_uuid") - (return-type "char*") -) - -(define-method get_drive - (of-object "GVolume") - (c-name "g_volume_get_drive") - (return-type "GDrive*") -) - -(define-method get_mount - (of-object "GVolume") - (c-name "g_volume_get_mount") - (return-type "GMount*") -) - -(define-method can_mount - (of-object "GVolume") - (c-name "g_volume_can_mount") - (return-type "gboolean") -) - -(define-method can_eject - (of-object "GVolume") - (c-name "g_volume_can_eject") - (return-type "gboolean") -) - -(define-method should_automount - (of-object "GVolume") - (c-name "g_volume_should_automount") - (return-type "gboolean") -) - -(define-method mount - (of-object "GVolume") - (c-name "g_volume_mount") - (return-type "none") - (parameters - '("GMountMountFlags" "flags") - '("GMountOperation*" "mount_operation") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method mount_finish - (of-object "GVolume") - (c-name "g_volume_mount_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method eject - (of-object "GVolume") - (c-name "g_volume_eject") - (return-type "none") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-method eject_finish - (of-object "GVolume") - (c-name "g_volume_eject_finish") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-method get_identifier - (of-object "GVolume") - (c-name "g_volume_get_identifier") - (return-type "char*") - (parameters - '("const-char*" "kind") - ) -) - -(define-method enumerate_identifiers - (of-object "GVolume") - (c-name "g_volume_enumerate_identifiers") - (return-type "char**") -) - -(define-method get_activation_root - (of-object "GVolume") - (c-name "g_volume_get_activation_root") - (return-type "GFile*") -) - - - -;; From gvolumemonitor.h - -(define-function g_volume_monitor_get_type - (c-name "g_volume_monitor_get_type") - (return-type "GType") -) - -(define-function g_volume_monitor_get - (c-name "g_volume_monitor_get") - (return-type "GVolumeMonitor*") -) - -(define-method get_connected_drives - (of-object "GVolumeMonitor") - (c-name "g_volume_monitor_get_connected_drives") - (return-type "GList*") -) - -(define-method get_volumes - (of-object "GVolumeMonitor") - (c-name "g_volume_monitor_get_volumes") - (return-type "GList*") -) - -(define-method get_mounts - (of-object "GVolumeMonitor") - (c-name "g_volume_monitor_get_mounts") - (return-type "GList*") -) - -(define-method get_volume_for_uuid - (of-object "GVolumeMonitor") - (c-name "g_volume_monitor_get_volume_for_uuid") - (return-type "GVolume*") - (parameters - '("const-char*" "uuid") - ) -) - -(define-method get_mount_for_uuid - (of-object "GVolumeMonitor") - (c-name "g_volume_monitor_get_mount_for_uuid") - (return-type "GMount*") - (parameters - '("const-char*" "uuid") - ) -) - -(define-function g_volume_monitor_adopt_orphan_mount - (c-name "g_volume_monitor_adopt_orphan_mount") - (return-type "GVolume*") - (parameters - '("GMount*" "mount") - ) -) - - - -;; From gwin32appinfo.h - -(define-function g_win32_app_info_get_type - (c-name "g_win32_app_info_get_type") - (return-type "GType") -) - - - -;; From gwin32mount.h - - - -;; From gwin32volumemonitor.h - - diff --git a/libs/glibmm2/gio/src/gio_others.defs b/libs/glibmm2/gio/src/gio_others.defs deleted file mode 100644 index 7330612b12..0000000000 --- a/libs/glibmm2/gio/src/gio_others.defs +++ /dev/null @@ -1,34 +0,0 @@ -; h2defs.py does not generate this. murrayc. -(define-function g_themed_icon_get_names - (c-name "g_themed_icon_get_names") - (return-type "const-char*const*") -) - - -; extra_defs does not generate these, for some reason. murrayc: -(define-signal changed - (of-object "GMount") - (return-type "void") - (when "last") -) - -(define-signal unmounted - (of-object "GMount") - (return-type "void") - (when "last") -) - -; extra_defs does not generate these, for some reason. murrayc: -(define-signal changed - (of-object "GVolume") - (return-type "void") - (when "last") -) - -(define-signal removed - (of-object "GVolume") - (return-type "void") - (when "last") -) - - diff --git a/libs/glibmm2/gio/src/gio_signals.defs b/libs/glibmm2/gio/src/gio_signals.defs deleted file mode 100644 index 7513981b3f..0000000000 --- a/libs/glibmm2/gio/src/gio_signals.defs +++ /dev/null @@ -1,439 +0,0 @@ -;; From GAsyncResult - -;; From GCancellable - -(define-signal cancelled - (of-object "GCancellable") - (return-type "void") - (when "last") -) - -;; From GBufferedInputStream - -(define-property base-stream - (of-object "GBufferedInputStream") - (prop-type "GParamObject") - (docs "The underlying base stream the io ops will be done on") - (readable #t) - (writable #t) - (construct-only #t) -) - -(define-property buffer-size - (of-object "GBufferedInputStream") - (prop-type "GParamUInt") - (docs "The size of the backend buffer") - (readable #t) - (writable #t) - (construct-only #f) -) - -;; From GBufferedOutputStream - -(define-property base-stream - (of-object "GBufferedOutputStream") - (prop-type "GParamObject") - (docs "The underlying base stream the io ops will be done on") - (readable #t) - (writable #t) - (construct-only #t) -) - -(define-property buffer-size - (of-object "GBufferedOutputStream") - (prop-type "GParamUInt") - (docs "The size of the backend buffer") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property auto-grow - (of-object "GBufferedOutputStream") - (prop-type "GParamBoolean") - (docs "Whether the buffer should automatically grow") - (readable #t) - (writable #t) - (construct-only #f) -) - -;; From GDataInputStream - -(define-property base-stream - (of-object "GDataInputStream") - (prop-type "GParamObject") - (docs "The underlying base stream the io ops will be done on") - (readable #t) - (writable #t) - (construct-only #t) -) - -(define-property buffer-size - (of-object "GDataInputStream") - (prop-type "GParamUInt") - (docs "The size of the backend buffer") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property byte-order - (of-object "GDataInputStream") - (prop-type "GParamEnum") - (docs "The byte order") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property newline-type - (of-object "GDataInputStream") - (prop-type "GParamEnum") - (docs "The accepted types of line ending") - (readable #t) - (writable #t) - (construct-only #f) -) - -;; From GDataOutputStream - -(define-property base-stream - (of-object "GDataOutputStream") - (prop-type "GParamObject") - (docs "The underlying base stream the io ops will be done on") - (readable #t) - (writable #t) - (construct-only #t) -) - -(define-property byte-order - (of-object "GDataOutputStream") - (prop-type "GParamEnum") - (docs "The byte order") - (readable #t) - (writable #t) - (construct-only #f) -) - -;; From GDrive - -;; From GFile - -;; From GFileEnumerator - -(define-property container - (of-object "GFileEnumerator") - (prop-type "GParamObject") - (docs "The container that is being enumerated") - (readable #f) - (writable #t) - (construct-only #t) -) - -;; From GFileInfo - -;; From GFileIcon - -;; From GFileMonitor - -(define-signal changed - (of-object "GFileMonitor") - (return-type "void") - (when "last") - (parameters - '("GFile*" "p0") - '("GFile*" "p1") - '("GFileMonitorEvent" "p2") - ) -) - -(define-property rate-limit - (of-object "GFileMonitor") - (prop-type "GParamInt") - (docs "The limit of the monitor to watch for changes, in milliseconds") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property cancelled - (of-object "GFileMonitor") - (prop-type "GParamBoolean") - (docs "Whether the monitor has been cancelled") - (readable #t) - (writable #f) - (construct-only #f) -) - -;; From GFilenameCompleter - -(define-signal got-completion-data - (of-object "GFilenameCompleter") - (return-type "void") - (when "last") -) - -;; From GFileInputStream - -;; From GFileOutputStream - -;; From GFilterInputStream - -(define-property base-stream - (of-object "GFilterInputStream") - (prop-type "GParamObject") - (docs "The underlying base stream the io ops will be done on") - (readable #t) - (writable #t) - (construct-only #t) -) - -;; From GFilterOutputStream - -(define-property base-stream - (of-object "GFilterOutputStream") - (prop-type "GParamObject") - (docs "The underlying base stream the io ops will be done on") - (readable #t) - (writable #t) - (construct-only #t) -) - -;; From GInputStream - -;; From GLoadableIcon - -;; From GMemoryInputStream - -;; From GMemoryOutputStream - -;; From GMount - -;; From GMountOperation - -(define-signal ask-password - (of-object "GMountOperation") - (return-type "void") - (when "last") - (parameters - '("const-gchar*" "p0") - '("const-gchar*" "p1") - '("const-gchar*" "p2") - '("GAskPasswordFlags" "p3") - ) -) - -;; p1 is actually a gchar**, -;; but that is equivalent (by typedef) to gchar**, -;; and the declaration in gmountoperation.h adds a const. -;; murrayc -(define-signal ask-question - (of-object "GMountOperation") - (return-type "void") - (when "last") - (parameters - '("const-gchar*" "p0") - '("const-gchar**" "p1") - ) -) - -(define-signal reply - (of-object "GMountOperation") - (return-type "void") - (when "last") - (parameters - '("GMountOperationResult" "p0") - ) -) - -(define-property username - (of-object "GMountOperation") - (prop-type "GParamString") - (docs "The user name") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property password - (of-object "GMountOperation") - (prop-type "GParamString") - (docs "The password") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property anonymous - (of-object "GMountOperation") - (prop-type "GParamBoolean") - (docs "Whether to use an anonymous user") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property domain - (of-object "GMountOperation") - (prop-type "GParamString") - (docs "The domain of the mount operation") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property password-save - (of-object "GMountOperation") - (prop-type "GParamEnum") - (docs "How passwords should be saved") - (readable #t) - (writable #t) - (construct-only #f) -) - -(define-property choice - (of-object "GMountOperation") - (prop-type "GParamInt") - (docs "The users choice") - (readable #t) - (writable #t) - (construct-only #f) -) - -;; From GSeekable - -;; From GSimpleAsyncResult - -;; From GThemedIcon - -(define-property name - (of-object "GThemedIcon") - (prop-type "GParamString") - (docs "The name of the icon") - (readable #f) - (writable #t) - (construct-only #t) -) - -(define-property names - (of-object "GThemedIcon") - (prop-type "GParamBoxed") - (docs "An array containing the icon names") - (readable #t) - (writable #t) - (construct-only #t) -) - -(define-property use-default-fallbacks - (of-object "GThemedIcon") - (prop-type "GParamBoolean") - (docs "Whether to use default fallbacks found by shortening the name at '-' characters. Ignores names after the first if multiple names are given.") - (readable #f) - (writable #t) - (construct-only #t) -) - -;; From GVolume - -;; From GVolumeMonitor - -(define-signal volume-added - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GVolume*" "p0") - ) -) - -(define-signal volume-removed - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GVolume*" "p0") - ) -) - -(define-signal volume-changed - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GVolume*" "p0") - ) -) - -(define-signal mount-added - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GMount*" "p0") - ) -) - -(define-signal mount-removed - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GMount*" "p0") - ) -) - -(define-signal mount-pre-unmount - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GMount*" "p0") - ) -) - -(define-signal mount-changed - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GMount*" "p0") - ) -) - -(define-signal drive-connected - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GDrive*" "p0") - ) -) - -(define-signal drive-disconnected - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GDrive*" "p0") - ) -) - -(define-signal drive-changed - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GDrive*" "p0") - ) -) - -(define-signal drive-eject-button - (of-object "GVolumeMonitor") - (return-type "void") - (when "last") - (parameters - '("GDrive*" "p0") - ) -) - - diff --git a/libs/glibmm2/gio/src/gio_vfuncs.defs b/libs/glibmm2/gio/src/gio_vfuncs.defs deleted file mode 100644 index c7ff5a4a4c..0000000000 --- a/libs/glibmm2/gio/src/gio_vfuncs.defs +++ /dev/null @@ -1,466 +0,0 @@ -;; -*- scheme -*- -; virtual function definitions -; define-vfunc is g*mm-specific -; These are hand-written. - -; GAsyncResult - -(define-vfunc get_source_object - (of-object "GAsyncResult") - (return-type "GObject*") -) - -; GFile - -(define-vfunc dup - (of-object "GFile") - (return-type "GFile*") -) - -(define-vfunc hash - (of-object "GFile") - (return-type "guint") -) - -(define-vfunc get_basename - (of-object "GFile") - (return-type "char*") -) - -(define-vfunc get_path - (of-object "GFile") - (return-type "char*") -) - -(define-vfunc get_uri - (of-object "GFile") - (return-type "char*") -) - -(define-vfunc get_parse_name - (of-object "GFile") - (return-type "char*") -) - -(define-vfunc get_parent - (of-object "GFile") - (return-type "GFile*") -) - -(define-vfunc get_child_for_display_name - (of-object "GFile") - (return-type "GFile*") - (parameters - '("const-char*" "display_name") - '("GError**" "error") - ) -) - -(define-vfunc has_prefix - (of-object "GFile") - (return-type "gboolean") - (parameters - '("GFile*" "prefix") - ) -) - -(define-vfunc get_relative_path - (of-object "GFile") - (return-type "char*") - (parameters - '("GFile*" "descendant") - ) -) - -(define-vfunc resolve_relative_path - (of-object "GFile") - (return-type "GFile*") - (parameters - '("const-char*" "relative_path") - ) -) - -(define-vfunc is_native - (of-object "GFile") - (return-type "gboolean") -) - -(define-vfunc has_uri_scheme - (of-object "GFile") - (return-type "gboolean") - (parameters - '("const-char*" "uri_scheme") - ) -) - -; GDrive - -(define-vfunc get_name - (of-object "GDrive") - (return-type "char*") -) - -(define-vfunc has_volumes - (of-object "GDrive") - (return-type "gboolean") -) - -(define-vfunc is_automounted - (of-object "GDrive") - (return-type "gboolean") -) - -(define-vfunc can_mount - (of-object "GDrive") - (return-type "gboolean") -) - -(define-vfunc can_eject - (of-object "GDrive") - (return-type "gboolean") -) - -; GIcon - -(define-vfunc hash - (of-object "GIcon") - (return-type "guint") -) - -; GLoadableIcon - -(define-vfunc load - (of-object "GLoadableIcon") - (return-type "GInputStream*") - (parameters - '("int" "size") - '("char**" "type") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-vfunc load_async - (of-object "GLoadableIcon") - (return-type "void") - (parameters - '("int" "size") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-vfunc load_finish - (of-object "GLoadableIcon") - (return-type "GInputStream*") - (parameters - '("GAsyncResult*" "res") - '("char**" "type") - '("GError**" "error") - ) -) - -; GAppInfo - -(define-vfunc dup - (of-object "GAppInfo") - (return-type "GAppInfo*") -) - -(define-vfunc equal - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("GAppInfo*" "appinfo2") - ) -) - -(define-vfunc get_id - (of-object "GAppInfo") - (return-type "const-char*") -) - -(define-vfunc get_name - (of-object "GAppInfo") - (return-type "const-char*") -) - -(define-vfunc get_description - (of-object "GAppInfo") - (return-type "const-char*") -) - -(define-vfunc get_executable - (of-object "GAppInfo") - (return-type "const-char*") -) - -(define-vfunc get_icon - (of-object "GAppInfo") - (return-type "GIcon*") -) - -(define-vfunc launch - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("GList*" "filenames") - '("GAppLaunchContext*" "launch_context") - '("GError**" "error") - ) -) - -(define-vfunc supports_uris - (of-object "GAppInfo") - (return-type "gboolean") -) - -(define-vfunc supports_files - (of-object "GAppInfo") - (return-type "gboolean") -) - -(define-vfunc launch_uris - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("GList*" "uris") - '("GAppLaunchContext*" "launch_context") - '("GError**" "error") - ) -) - -(define-vfunc should_show - (of-object "GAppInfo") - (return-type "gboolean") -) - -(define-vfunc set_as_default_for_type - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("const-char*" "content_type") - '("GError**" "error") - ) -) - -(define-vfunc set_as_default_for_extension - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("const-char*" "extension") - '("GError**" "error") - ) -) - -(define-vfunc add_supports_type - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("const-char*" "content_type") - '("GError**" "error") - ) -) - -(define-vfunc can_remove_supports_type - (of-object "GAppInfo") - (return-type "gboolean") -) - -(define-vfunc remove_supports_type - (of-object "GAppInfo") - (return-type "gboolean") - (parameters - '("const-char*" "content_type") - '("GError**" "error") - ) -) - -; GBufferedInputStream - -(define-vfunc fill - (of-object "GBufferedInputStream") - (return-type "gssize") - (parameters - '("gssize" "count") - '("GCancellable*" "cancellable") - '("GError**" "error") - ) -) - -(define-vfunc fill_async - (of-object "GBufferedInputStream") - (return-type "void") - (parameters - '("gssize" "count") - '("int" "io_priority") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-vfunc fill_finish - (of-object "GBufferedInputStream") - (return-type "gssize") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -; GVolume - -(define-vfunc get_name - (of-object "GVolume") - (return-type "char*") -) - -(define-vfunc get_icon - (of-object "GVolume") - (return-type "GIcon*") -) - -(define-vfunc get_uuid - (of-object "GVolume") - (return-type "char*") -) - -(define-vfunc get_drive - (of-object "GVolume") - (return-type "GDrive*") -) - -(define-vfunc get_mount - (of-object "GVolume") - (return-type "GMount*") -) - -(define-vfunc can_mount - (of-object "GVolume") - (return-type "gboolean") -) - -(define-vfunc can_eject - (of-object "GVolume") - (return-type "gboolean") -) - -(define-vfunc mount_fn - (of-object "GVolume") - (return-type "void") - (parameters - '("GMountMountFlags" "flags") - '("GMountOperation*" "mount_operation") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-vfunc mount_finish - (of-object "GVolume") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - - -(define-vfunc eject - (of-object "GVolume") - (return-type "void") - (parameters - '("GMountUnmountFlags" "flags") - '("GCancellable*" "cancellable") - '("GAsyncReadyCallback" "callback") - '("gpointer" "user_data") - ) -) - -(define-vfunc eject_finish - (of-object "GVolume") - (return-type "gboolean") - (parameters - '("GAsyncResult*" "result") - '("GError**" "error") - ) -) - -(define-vfunc get_identifier - (of-object "GVolume") - (return-type "char*") - (parameters - '("const-char*" "kind") - ) -) - -(define-vfunc enumerate_identifiers - (of-object "GVolume") - (return-type "char**") -) - -(define-vfunc should_automount - (of-object "GVolume") - (return-type "gboolean") -) - - -; GVolumeMonitor - -; This doesn't even take a GVolumeMonitor. -; Maybe it is not a real vfunc. murrayc. -(define-vfunc is_supported - (of-object "GVolumeMonitor") - (return-type "gboolean") -) - -(define-vfunc get_connected_drives - (of-object "GVolumeMonitor") - (return-type "GList*") -) - -(define-vfunc get_connected_drives - (of-object "GVolumeMonitor") - (return-type "GList*") -) - -(define-vfunc get_volumes - (of-object "GVolumeMonitor") - (return-type "GList*") -) - -(define-vfunc get_mounts - (of-object "GVolumeMonitor") - (return-type "GList*") -) - -(define-vfunc get_volume_for_uuid - (of-object "GVolumeMonitor") - (return-type "GVolume*") - (parameters - '("const-char*" "uuid") - ) -) - -(define-vfunc get_mount_for_uuid - (of-object "GVolumeMonitor") - (return-type "GMount*") - (parameters - '("const-char*" "uuid") - ) -) - -; This doesn't take a GVolumeMonitor. -; Maybe it is not a real vfunc. murrayc -(define-vfunc adopt_orphan_mount - (of-object "GVolumeMonitor") - (return-type "GVolume*") - (parameters - '("GMount*" "mount") - ) -) - - diff --git a/libs/glibmm2/gio/src/icon.ccg b/libs/glibmm2/gio/src/icon.ccg deleted file mode 100644 index ab167121e2..0000000000 --- a/libs/glibmm2/gio/src/icon.ccg +++ /dev/null @@ -1,32 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - -bool -Icon::equal(const Glib::RefPtr& other) const -{ - return static_cast( - g_icon_equal(const_cast(this->gobj()), - const_cast(other->gobj()))); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/icon.hg b/libs/glibmm2/gio/src/icon.hg deleted file mode 100644 index 5f0671d3ff..0000000000 --- a/libs/glibmm2/gio/src/icon.hg +++ /dev/null @@ -1,62 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GIconIface GIconIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -namespace Gio -{ - -/** This is a very minimal interface for icons. It provides functions for checking the equality of two icons and hashing of icons. - * Glib::Icon does not provide the actual pixmap for the icon as this is out of GIO's scope. However implementations of Icon may contain the name of an - * icon (see ThemedIcon), or the path to an icon (see LoadableIcon). - * - * To obtain a hash of an Icon instance, see hash(). - * - * To check if two Icon instances are equal, see equal(). - * - * @newin2p16 - */ -class Icon : public Glib::Interface -{ - _CLASS_INTERFACE(Icon, GIcon, G_ICON, GIconIface) - -public: - _WRAP_METHOD(guint hash() const, g_icon_hash) - - _IGNORE(g_icon_equal) - // TODO: should this, and File's equal(), be virtual, in order to - // be available to derived classes? - bool equal(const Glib::RefPtr& other) const; - - //_WRAP_VFUNC(guint hash() const, "hash") - - // TODO: also kind of related to equal() being virtual or not, - // do we need to have equal_vfunc()? Or rather, why would we want - // to have it generally... -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/inputstream.ccg b/libs/glibmm2/gio/src/inputstream.ccg deleted file mode 100644 index 92ec39268c..0000000000 --- a/libs/glibmm2/gio/src/inputstream.ccg +++ /dev/null @@ -1,202 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::read(void* buffer, gsize count) -#else -gssize InputStream::read(void* buffer, gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_read(gobj(), buffer, count, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool InputStream::read_all(void* buffer, gsize count, gsize& bytes_read) -#else -bool InputStream::read_all(void* buffer, gsize count, gsize& bytes_read, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_input_stream_read_all(gobj(), buffer, count, &(bytes_read), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize InputStream::skip(gsize count) -#else -gssize InputStream::skip(gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_input_stream_skip(gobj(), count, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool InputStream::close() -#else -bool InputStream::close(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_input_stream_close(gobj(), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void -InputStream::read_async(void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_read_async(gobj(), - buffer, - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::read_async(void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_read_async(gobj(), - buffer, - count, - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - - -void -InputStream::skip_async(gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_skip_async(gobj(), - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::skip_async(gsize count, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_skip_async(gobj(), - count, - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_close_async(gobj(), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -InputStream::close_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_input_stream_close_async(gobj(), - io_priority, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/inputstream.hg b/libs/glibmm2/gio/src/inputstream.hg deleted file mode 100644 index 8b84ce92f5..0000000000 --- a/libs/glibmm2/gio/src/inputstream.hg +++ /dev/null @@ -1,336 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -//TODO: Implement operator << and >> for streams? - -/** Base class for implementing streaming input. - * - * @ingroup Streams - * - * @newin2p16 - */ -class InputStream : public Glib::Object -{ - _CLASS_GOBJECT(InputStream, GInputStream, G_INPUT_STREAM, Glib::Object, GObject) - -public: - _WRAP_METHOD(gssize read(void* buffer, gsize count, const Glib::RefPtr& cancellable), - g_input_stream_read, - errthrow) - - /** Tries to read @a count bytes from the stream into the buffer starting at - * @a buffer. Will block during this read. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * On error -1 is returned. - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @return Number of bytes read, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize read(void* buffer, gsize count); - #else - gssize read(void* buffer, gsize count, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - //TODO: for glibmm 2.17/18, we should decide whether to provide a read() - // function as below, which would presumably read until EOL, or one with - // an additional size parameter, at the same time taking into account - // what operators >> and << (for OutputStream) will do. - //TODO: gssize read(std::string& buffer, const Glib::RefPtr& cancellable); - //TODO: gssize read(std::string& buffer); - - _WRAP_METHOD(bool read_all(void* buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable), - g_input_stream_read_all, - errthrow) - - /** Tries to read @a count bytes from the stream into the buffer starting at - * @a buffer. Will block during this read. - * - * This function is similar to read(), except it tries to - * read as many bytes as requested, only stopping on an error or end of stream. - * - * On a successful read of @a count bytes, or if we reached the end of the - * stream, true is returned, and @a bytes_read is set to the number of bytes - * read into @a buffer . - * - * If there is an error during the operation false is returned and a Gio::Error - * is thrown to indicate the error status, @a bytes_read is updated to contain - * the number of bytes read into @a buffer before the error occured. - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param bytes_read Location to store the number of bytes that was read from the stream. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool read_all(void* buffer, gsize count, gsize& bytes_read); - #else - bool read_all(void* buffer, gsize count, gsize& bytes_read, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - //TODO: bool read_all(std::string& buffer, gsize count, gsize& bytes_read, const Glib::RefPtr& cancellable); - //TODO: bool read_all(std::string& buffer, gsize count, gsize& bytes_read) - - _WRAP_METHOD(gssize skip(gsize count, const Glib::RefPtr& cancellable), - g_input_stream_skip, - errthrow) - - /** Tries to skip @a count bytes from the stream. Will block during the operation. - * - * This is identical to read(), from a behaviour standpoint, - * but the bytes that are skipped are not returned to the user. Some - * streams have an implementation that is more efficient than reading the data. - * - * This function is optional for inherited classes, as the default implementation - * emulates it using read. - * - * @param count The number of bytes that will be skipped from the stream. - * @return Number of bytes skipped, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize skip(gsize count); - #else - gssize skip(gsize count, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool close(const Glib::RefPtr& cancellable), - g_input_stream_close, - errthrow) - - /** Closes the stream, releasing resources related to it. - * - * Once the stream is closed, all other operations will throw a Gio::Error with CLOSED. - * Closing a stream multiple times will not return an error. - * - * Streams will be automatically closed when the last reference - * is dropped, but you might want to call this make sure resources - * are released as early as possible. - * - * Some streams might keep the backing store of the stream (e.g. a file descriptor) - * open after the stream is closed. See the documentation for the individual - * stream for details. - * - * On failure the first error that happened will be reported, but the close - * operation will finish as much as possible. A stream that failed to - * close will still throw a Gio::Error with CLOSED for all operations. Still, it - * is important to check and report the error to the user. - * - * @return true on success, false on failure. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(); - #else - bool close(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Request an asynchronous read of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call read_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer will be passed to the - * @a slot callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to read - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void read_async(void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request an asynchronous read of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call read_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in a Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes read into the buffer will be passed to the - * @a slot callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to read - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param buffer A buffer to read data into (which should be at least count bytes long). - * @param count The number of bytes that will be read from the stream. - * @param slot Callback to call when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void read_async(void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_input_stream_read_async) - - _WRAP_METHOD(gssize read_finish(const Glib::RefPtr& result), - g_input_stream_read_finish, - errthrow) - - //TODO: Use std::size_type instead of gsize? - - /** Request an asynchronous skip of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call skip_finish() to get the result of the operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes skipped will be passed to the - * callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to skip - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param count The number of bytes that will be skipped from the stream. - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void skip_async(gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request an asynchronous skip of @a count bytes from the stream into the buffer - * starting at @a buffer. When the operation is finished @a slot will be called. - * You can then call skip_finish() to get the result of the operation. - * - * During an async request no other sync and async calls are allowed, and will - * result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes skipped will be passed to the - * callback. It is not an error if this is not the same as the requested size, as it - * can happen e.g. near the end of a file, but generally we try to skip - * as many bytes as requested. Zero is returned on end of file - * (or if @a count is zero), but never otherwise. - * - * Any outstanding i/o request with higher priority (lower numerical value) will - * be executed before an outstanding request with lower priority. Default - * priority is PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param count The number of bytes that will be skipped from the stream. - * @param slot Callback to call when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void skip_async(gsize count, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_input_stream_skip_async) - - _WRAP_METHOD(gssize skip_finish(const Glib::RefPtr& result), - g_input_stream_skip_finish, - errthrow) - - /** Requests an asynchronous closes of the stream, releasing resources related to it. - * When the operation is finished @a slot will be called. - * You can then call close_finish() to get the result of the - * operation. - * - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param slot Callback to call when the request is satisfied. - * @param cancellable A Cancellable object. - * @param io_priority The I/O priority of the request. - */ - void close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Requests an asynchronous closes of the stream, releasing resources related to it. - * When the operation is finished @a slot will be called. - * You can then call close_finish() to get the result of the - * operation. - * - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement - * asynchronicity, so they are optional for inheriting classes. However, if you - * override one you must override all. - * - * @param slot Callback to call when the request is satisfied. - * @param io_priority The I/O priority of the request. - */ - void close_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_input_stream_close_async) - - _WRAP_METHOD(gboolean close_finish(const Glib::RefPtr& result), - g_input_stream_close_finish, - errthrow) - - // These are private inside the module (for implementations) - _IGNORE(g_input_stream_has_pending, g_input_stream_is_closed, g_input_stream_set_pending, g_input_stream_clear_pending) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/loadableicon.ccg b/libs/glibmm2/gio/src/loadableicon.ccg deleted file mode 100644 index 2a60328a66..0000000000 --- a/libs/glibmm2/gio/src/loadableicon.ccg +++ /dev/null @@ -1,120 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable) -#else -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - char* c_type; - GError* gerror = 0; - Glib::RefPtr retval = - Glib::wrap(g_loadable_icon_load(gobj(), - size, - &c_type, - cancellable->gobj(), - &gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - type = c_type; - g_free(c_type); - if(retval) - retval->reference(); //The function does not do a ref for us. - return retval; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type) -#else -Glib::RefPtr -LoadableIcon::load(int size, Glib::ustring& type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - char* c_type; - GError* gerror = 0; - Glib::RefPtr retval = - Glib::wrap(g_loadable_icon_load(gobj(), - size, - &c_type, - NULL, - &gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - type = c_type; - g_free(c_type); - if(retval) - retval->reference(); //The function does not do a ref for us. - return retval; -} - -void -LoadableIcon::load_async(int size, const SlotAsyncReady& slot, const - Glib::RefPtr& cancellable) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_loadable_icon_load_async(gobj(), - size, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -LoadableIcon::load_async(int size, const SlotAsyncReady& slot) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_loadable_icon_load_async(gobj(), - size, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/loadableicon.hg b/libs/glibmm2/gio/src/loadableicon.hg deleted file mode 100644 index 521eb7c9bf..0000000000 --- a/libs/glibmm2/gio/src/loadableicon.hg +++ /dev/null @@ -1,88 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The giomm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/icon_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GLoadableIconIface GLoadableIconIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -namespace Gio -{ - -/** Extends the Icon interface and adds the ability to load icons from streams. - * - * @newin2p16 - */ -class LoadableIcon : public Icon -{ - _CLASS_INTERFACE(LoadableIcon, GLoadableIcon, G_LOADABLE_ICON, GLoadableIconIface, Icon, GIcon) - -public: -/** - * Loads a loadable icon. For the asynchronous version of this function, - * see load_async(). - * - * @param size an integer. - * @param type a location to store the type of the loaded icon - * @param cancellable a Cancellable object - * - * @return a InputStream to read the icon from. - **/ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable); -#else - Glib::RefPtr load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - /** Non-cancellable version of load() - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::RefPtr load(int size, Glib::ustring& type); -#else - Glib::RefPtr load(int size, Glib::ustring& type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - //TODO: 'type' can be NULL as well, but I don't really want to add 2 more - //overloads -- one cancellable, and one not... - - /** - * Loads an icon asynchronously. To finish this function, see load_finish(). - * For the synchronous, blocking version of this function, see load(). - * - * @param size an integer. - * @param cancellable a Cancellable object - * @param slot a function to call when the request is satisfied - **/ - void load_async(int size, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable); - /** Non-cancellable version of load_async() - */ - void load_async(int size, const SlotAsyncReady& slot); - //_WRAP_METHOD(Glib::RefPtr load_finish(const Glib::RefPtr& res, Glib::ustring& type), g_loadable_icon_load_finish, errthrow) - -protected: - //_WRAP_VFUNC(Glib::RefPtr load(int size, Glib::ustring& type, const Glib::RefPtr& cancellable), "load") -}; - - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/memoryinputstream.ccg b/libs/glibmm2/gio/src/memoryinputstream.ccg deleted file mode 100644 index 72089d3250..0000000000 --- a/libs/glibmm2/gio/src/memoryinputstream.ccg +++ /dev/null @@ -1,36 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -void MemoryInputStream::add_data(const std::string& data) -{ - g_memory_input_stream_add_data(gobj(), data.c_str(), data.size(), NULL); -} - - -void MemoryInputStream::add_data(const void* data, gssize len) -{ - g_memory_input_stream_add_data(gobj(), data, len, NULL); -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/memoryinputstream.hg b/libs/glibmm2/gio/src/memoryinputstream.hg deleted file mode 100644 index 6be1004034..0000000000 --- a/libs/glibmm2/gio/src/memoryinputstream.hg +++ /dev/null @@ -1,64 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/inputstream_p.h) - -namespace Gio -{ - -/** MemoryInputStream implements InputStream for arbitrary memory chunks. - * - * @ingroup Streams - * - * @newin2p16 - */ -class MemoryInputStream -: public Gio::InputStream, - public Seekable -{ - _CLASS_GOBJECT(MemoryInputStream, GMemoryInputStream, G_MEMORY_INPUT_STREAM, Gio::InputStream, GInputStream) - _IMPLEMENTS_INTERFACE(Seekable) - -protected: - _CTOR_DEFAULT - // TODO: *_new_from_data constructor needs to be fixed? - -public: - _WRAP_CREATE() - - /** Appends to data that can be read from the input stream. - * - * @param data Input data. - */ - void add_data(const std::string& data); - - /** Appends to data that can be read from the input stream. - * - * @param data Input data. - * @param len Length of the data, may be -1 if data is a null-terminated string. - */ - void add_data(const void* data, gssize len); -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/mount.ccg b/libs/glibmm2/gio/src/mount.ccg deleted file mode 100644 index d7940823bc..0000000000 --- a/libs/glibmm2/gio/src/mount.ccg +++ /dev/null @@ -1,193 +0,0 @@ -// -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include "slot_async.h" - -namespace Gio -{ - -void Mount::unmount(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_unmount(gobj(), - GMountUnmountFlags(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::unmount(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_unmount(gobj(), - GMountUnmountFlags(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::unmount(MountUnmountFlags flags) -{ - g_mount_unmount(gobj(), - GMountUnmountFlags(flags), - NULL, - NULL, - NULL); -} - - -void Mount::remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_remount(gobj(), - static_cast(flags), - operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_remount(gobj(), - static_cast(flags), - operation->gobj(), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::remount(const Glib::RefPtr& operation, MountMountFlags flags) -{ - g_mount_remount(gobj(), - static_cast(flags), - operation->gobj(), - NULL, - NULL, - NULL); -} - -void Mount::remount(MountMountFlags flags) -{ - g_mount_remount(gobj(), - static_cast(flags), - NULL, - NULL, - NULL, - NULL); -} - -void Mount::eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_eject(gobj(), - GMountUnmountFlags(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::eject(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_eject(gobj(), - GMountUnmountFlags(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::eject(MountUnmountFlags flags) -{ - g_mount_eject(gobj(), - GMountUnmountFlags(flags), - NULL, - NULL, - NULL); -} - - -void Mount::guess_content_type(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, bool force_rescan) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_guess_content_type(gobj(), - force_rescan, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::guess_content_type(const SlotAsyncReady& slot, bool force_rescan) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_mount_guess_content_type(gobj(), - force_rescan, - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Mount::guess_content_type(bool force_rescan) -{ - g_mount_guess_content_type(gobj(), - force_rescan, - NULL, - NULL, - NULL); -} - - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/mount.hg b/libs/glibmm2/gio/src/mount.hg deleted file mode 100644 index b627792693..0000000000 --- a/libs/glibmm2/gio/src/mount.hg +++ /dev/null @@ -1,276 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include -#include -#include -#include - - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GMountIface GMountIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ - -class Drive; -//class Volume; - -/** The Mount interface represents user-visible mounts. - * Mount is a "mounted" filesystem that you can access. Mounted is in quotes because it's not the same as a unix mount: - * it might be a gvfs mount, but you can still access the files on it if you use GIO. It might or might not be related to a volume object. - * - * Unmounting a Mount instance is an asynchronous operation. For more information about asynchronous operations, see AsyncReady. - * To unmount a Mount instance, first call unmount(). The callback slot will be called when the operation has resolved (either with success or failure), - * and a AsyncReady structure will be passed to the callback. That callback should then call unmount_finish() with the AsyncReady data to see if the operation was completed successfully. - * - * @ingroup Streams - * - * @newin2p16 - */ -class Mount : public Glib::Interface -{ - _CLASS_INTERFACE(Mount, GMount, G_MOUNT, GMountIface) - -public: - - _WRAP_METHOD(Glib::RefPtr get_root(), g_mount_get_root, refreturn) - _WRAP_METHOD(Glib::RefPtr get_root() const, g_mount_get_root, refreturn, constversion) - - _WRAP_METHOD(std::string get_name() const, g_mount_get_name) - - _WRAP_METHOD(Glib::RefPtr get_icon(), g_mount_get_icon, refreturn) - _WRAP_METHOD(Glib::RefPtr get_icon() const, g_mount_get_icon, refreturn, constversion) - - _WRAP_METHOD(std::string get_uuid() const, g_mount_get_uuid) - - _WRAP_METHOD(Glib::RefPtr get_volume(), g_mount_get_volume, refreturn) - _WRAP_METHOD(Glib::RefPtr get_volume() const, g_mount_get_volume, refreturn, constversion) - - _WRAP_METHOD(Glib::RefPtr get_drive(), g_mount_get_drive, refreturn) - _WRAP_METHOD(Glib::RefPtr get_drive() const, g_mount_get_drive, refreturn, constversion) - - _WRAP_METHOD(bool can_unmount() const, g_mount_can_unmount) - _WRAP_METHOD(bool can_eject() const, g_mount_can_eject) - - /** Unmounts a mount. - * This is an asynchronous operation, and is finished by calling unmount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the unmount. - */ - void unmount(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a mount. - * This is an asynchronous operation, and is finished by calling unmount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param flags Flags affecting the unmount. - */ - void unmount(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Unmounts a mount. - * - * @param cancellable A cancellable object which can be used to cancel the operation. - */ - void unmount(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - _IGNORE(g_mount_unmount) - - _WRAP_METHOD(bool unmount_finish(const Glib::RefPtr& result), g_mount_unmount_finish, errthrow) - - /** Remounts a mount. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - * - * @param operation A mount operation. - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - */ - void remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Remounts a mount. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - * - * @param operation A mount operation. - * @param slot A callback which will be called when the operation is completed or canceled. - */ - void remount(const Glib::RefPtr& operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Remounts a mount. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - * - * @param operation A mount operation. - */ - void remount(const Glib::RefPtr& operation, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Remounts a mount, without user interaction. - * - * Remounting is useful when some setting affecting the operation of the volume has been changed, as this may need a remount - * to take affect. While this is semantically equivalent with unmounting and then remounting, not all backends might need to - * actually be unmounted. - */ - void remount(MountMountFlags flags = MOUNT_MOUNT_NONE); - _IGNORE(g_mount_remount) - - - _WRAP_METHOD(bool remount_finish(const Glib::RefPtr& result), g_mount_remount_finish, errthrow) - - /** Ejects a mount. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a mount. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a mount. - * - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - _IGNORE(g_mount_eject) - - _WRAP_METHOD(bool eject_finish(const Glib::RefPtr& result), g_mount_eject_finish, errthrow) - - - - - /** Tries to guess the type of content stored on the mount. - * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera - * memory cards. See the shared-mime-info specification for more on x-content types. - * - * This is an asynchronous operation, and is finished by calling - * guess_content_type_finish(). - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. - * - * @newin2p18 - */ - void guess_content_type(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, bool force_rescan = true); - - /** Tries to guess the type of content stored on the mount. - * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera - * memory cards. See the shared-mime-info specification for more on x-content types. - * - * This is an asynchronous operation, and is finished by calling - * guess_content_type_finish(). - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. - * - * @newin2p18 - */ - void guess_content_type(const SlotAsyncReady& slot, bool force_rescan = true); - - /** Tries to guess the type of content stored on the mount. - * Returns one or more textual identifiers of well-known content types (typically - * prefixed with "x-content/"), e.g. x-content/image-dcf for camera - * memory cards. See the shared-mime-info specification for more on x-content types. - * - * @param force_rescan Whether to force a rescan of the content. Otherwise a cached result will be used if available. - * - * @newin2p18 - */ - void guess_content_type(bool force_rescan = true); - _IGNORE(g_mount_guess_content_type) - - - #m4 _CONVERSION(`gchar**',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)') - - //TODO: Correct the documentation: - _WRAP_METHOD(Glib::StringArrayHandle guess_content_type_finish(const Glib::RefPtr& result), g_mount_guess_content_type_finish, errthrow) - - - _WRAP_SIGNAL(void changed(), changed) - _WRAP_SIGNAL(void unmounted(), unmounted) - - //There are no properties. -}; - -} // namespace Gio - -namespace Glib -{ - -//Pre-declare this so we can use it in TypeTrait: -Glib::RefPtr wrap(GMount* object, bool take_copy); - -namespace Container_Helpers -{ - -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), - * instead of a specific Glib::wrap(GSomeInterface*), - * would not return a wrapper for an interface. - */ -template <> -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef GMount* CType; - typedef GMount* CTypeNonConst; - - static CType to_c_type (const CppType& item) - { return Glib::unwrap (item); } - - static CppType to_cpp_type (const CType& item) - { - //Use a specific Glib::wrap() function, - //because CType has the specific type (not just GObject): - return Glib::wrap(item, true /* take_copy */); - } - - static void release_c_type (CType item) - { - GLIBMM_DEBUG_UNREFERENCE(0, item); - g_object_unref(item); - } -}; - -} // Container_Helpers -} // Glib diff --git a/libs/glibmm2/gio/src/mountoperation.ccg b/libs/glibmm2/gio/src/mountoperation.ccg deleted file mode 100644 index 7a72047fa3..0000000000 --- a/libs/glibmm2/gio/src/mountoperation.ccg +++ /dev/null @@ -1,20 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include diff --git a/libs/glibmm2/gio/src/mountoperation.hg b/libs/glibmm2/gio/src/mountoperation.hg deleted file mode 100644 index 64d2407386..0000000000 --- a/libs/glibmm2/gio/src/mountoperation.hg +++ /dev/null @@ -1,99 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) -_PINCLUDE(gio/gio.h) - -namespace Gio -{ - -_WRAP_ENUM(AskPasswordFlags, GAskPasswordFlags, NO_GTYPE) -_WRAP_ENUM(PasswordSave, GPasswordSave, NO_GTYPE) -_WRAP_ENUM(MountOperationResult, GMountOperationResult, NO_GTYPE) - -/** Authentication methods for mountable locations. - * - * MountOperation provides a mechanism for authenticating mountable operations, such as loop mounting files, hard drive partitions or server locations. - * - * Mounting operations are handed a MountOperation that they can use if they require any privileges or authentication for their volumes to be mounted (e.g. - * a hard disk partition or an encrypted filesystem), or if they are implementing a remote server protocol which requires user credentials such as FTP or - * WebDAV. - * - * Developers should instantiate a subclass of this that implements all the various callbacks to show the required dialogs. - * - * @newin2p16 - */ -class MountOperation : public Glib::Object -{ - _CLASS_GOBJECT(MountOperation, GMountOperation, G_MOUNT_OPERATION, Glib::Object, GObject) - -protected: - _CTOR_DEFAULT - -public: - _WRAP_CREATE() - - _WRAP_METHOD(Glib::ustring get_username() const, - g_mount_operation_get_username) - _WRAP_METHOD(void set_username(const Glib::ustring& username), - g_mount_operation_set_username) - _WRAP_METHOD(Glib::ustring get_password() const, - g_mount_operation_get_password) - _WRAP_METHOD(void set_password(const Glib::ustring& password), - g_mount_operation_set_password) - _WRAP_METHOD(bool get_anonymous() const, - g_mount_operation_get_anonymous) - _WRAP_METHOD(void set_anonymous(bool anonymous = true), - g_mount_operation_set_anonymous) - _WRAP_METHOD(Glib::ustring get_domain() const, - g_mount_operation_get_domain) - _WRAP_METHOD(void set_domain(const Glib::ustring& domain), - g_mount_operation_set_domain) - _WRAP_METHOD(PasswordSave get_password_save() const, - g_mount_operation_get_password_save) - _WRAP_METHOD(void set_password_save(PasswordSave password_save), - g_mount_operation_set_password_save) - _WRAP_METHOD(int get_choice() const, g_mount_operation_get_choice) - _WRAP_METHOD(void set_choice(int choice), g_mount_operation_set_choice) - _WRAP_METHOD(void reply(MountOperationResult result), g_mount_operation_reply) - - -#m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING) - _WRAP_SIGNAL(void ask_password(const Glib::ustring& message, const Glib::ustring& default_user, const Glib::ustring& default_domain, AskPasswordFlags flags), ask_password) - - //TODO: We really need some test to make sure that our use of StringArrayHandle is correct. murrayc. -#m4 _CONVERSION(`const Glib::StringArrayHandle&',`const gchar**',`const_cast(($3).data())') -#m4 _CONVERSION(`const gchar**',`const Glib::StringArrayHandle&',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)') - _WRAP_SIGNAL(void ask_question(const Glib::ustring& message, const Glib::StringArrayHandle& choices), ask_question) - - _WRAP_SIGNAL(void reply(MountOperationResult result), reply) - - - _WRAP_PROPERTY("username", Glib::ustring) - _WRAP_PROPERTY("password", Glib::ustring) - _WRAP_PROPERTY("anonymous", bool) - _WRAP_PROPERTY("domain", Glib::ustring) - _WRAP_PROPERTY("password-save", PasswordSave) - _WRAP_PROPERTY("choice", int) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/outputstream.ccg b/libs/glibmm2/gio/src/outputstream.ccg deleted file mode 100644 index b6dea0d003..0000000000 --- a/libs/glibmm2/gio/src/outputstream.ccg +++ /dev/null @@ -1,346 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include "slot_async.h" - -namespace Gio { - -void -OutputStream::write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_write_async(gobj(), - buffer, - count, - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_write_async(gobj(), - buffer, - count, - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_splice_async(gobj(), - source->gobj(), - static_cast(flags), - io_priority, - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, OutputStreamSpliceFlags flags, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_splice_async(gobj(), - source->gobj(), - static_cast(flags), - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::flush_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_flush_async(gobj(), - io_priority, - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::flush_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_flush_async(gobj(), - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_close_async(gobj(), - io_priority, - Glib::unwrap(cancellable), - &SignalProxy_async_callback, - slot_copy); -} - -void -OutputStream::close_async(const SlotAsyncReady& slot, int io_priority) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_output_stream_close_async(gobj(), - io_priority, - 0, - &SignalProxy_async_callback, - slot_copy); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const void* buffer, gsize count) -#else -gssize OutputStream::write(const void* buffer, gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer, count, 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const std::string& buffer, const Glib::RefPtr& cancellable) -#else -gssize OutputStream::write(const std::string& buffer, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer.data(), buffer.size(), Glib::unwrap(cancellable), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::write(const std::string& buffer) -#else -gssize OutputStream::write(const std::string& buffer, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_write(gobj(), buffer.data(), buffer.size(), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const void* buffer, gsize count, gsize& bytes_written) -#else -bool OutputStream::write_all(const void* buffer, gsize count, gsize& bytes_written, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer, count, &(bytes_written), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable) -#else -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer.data(), buffer.size(), &(bytes_written), Glib::unwrap(cancellable), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written) -#else -bool OutputStream::write_all(const std::string& buffer, gsize& bytes_written, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_write_all(gobj(), buffer.data(), buffer.size(), &(bytes_written), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags) -#else -gssize OutputStream::splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_splice(gobj(), Glib::unwrap(source), ((GOutputStreamSpliceFlags)(flags)), Glib::unwrap(cancellable), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -gssize OutputStream::splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags) -#else -gssize OutputStream::splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - gssize retvalue = g_output_stream_splice(gobj(), Glib::unwrap(source), ((GOutputStreamSpliceFlags)(flags)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::flush() -#else -bool OutputStream::flush(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_flush(gobj(), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OutputStream::close() -#else -bool OutputStream::close(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_output_stream_close(gobj(), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/outputstream.hg b/libs/glibmm2/gio/src/outputstream.hg deleted file mode 100644 index a5bf35b394..0000000000 --- a/libs/glibmm2/gio/src/outputstream.hg +++ /dev/null @@ -1,455 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -_WRAP_ENUM(OutputStreamSpliceFlags, GOutputStreamSpliceFlags, NO_GTYPE) - -/** Base class for implementing streaming output. - * - * @ingroup Streams - * - * @newin2p16 - */ -class OutputStream : public Glib::Object -{ - _CLASS_GOBJECT(OutputStream, GOutputStream, G_OUTPUT_STREAM, Glib::Object, GObject) - -public: - - _WRAP_METHOD(gssize write(const void* buffer, gsize count, const Glib::RefPtr& cancellable), - g_output_stream_write, - errthrow) - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if the there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * On error -1 is returned. - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write. - * @return Number of bytes written, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const void* buffer, gsize count); - #else - gssize write(const void* buffer, gsize count, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If count is zero returns zero and does nothing. A value of @a count - * larger than MAXSSIZE will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if the there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * On error -1 is returned. - * @param buffer The buffer containing the data to write. - * @param cancellable Cancellable object. - * @return Number of bytes written, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const std::string& buffer, const Glib::RefPtr& cancellable); - #else - gssize write(const std::string& buffer, const Glib::RefPtr& cancellable, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * If string that is larger than MAXSSIZE bytes will cause a Gio::Error with INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written to the stream is returned. - * It is not an error if this is not the same as the requested size, as it - * can happen e.g. on a partial i/o error, or if the there is not enough - * storage in the stream. All writes either block until at least one byte - * is written, so zero is never returned (unless @a count is zero). - * - * On error -1 is returned. - * @param buffer The buffer containing the data to write. - * @return Number of bytes written, or -1 on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize write(const std::string& buffer); - #else - gssize write(const std::string& buffer, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - _WRAP_METHOD(bool write_all(const void* buffer, gsize count, gsize& bytes_written, const Glib::RefPtr& cancellable), - g_output_stream_write_all, - errthrow) - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count . - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occured. - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const void* buffer, gsize count, gsize& bytes_written); - #else - bool write_all(const void* buffer, gsize count, gsize& bytes_written, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count . - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occured. - * @param buffer The buffer containing the data to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @param cancellable Cancellable object. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable); - #else - bool write_all(const std::string& buffer, gsize& bytes_written, const Glib::RefPtr& cancellable, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Tries to write @a count bytes from @a buffer into the stream. Will block - * during the operation. - * - * This function is similar to write(), except it tries to - * write as many bytes as requested, only stopping on an error. - * - * On a successful write of @a count bytes, true is returned, and @a bytes_written - * is set to @a count . - * - * If there is an error during the operation false is returned and @a error - * is set to indicate the error status, @a bytes_written is updated to contain - * the number of bytes written into the stream before the error occured. - * @param buffer The buffer containing the data to write. - * @param bytes_written Location to store the number of bytes that was - * written to the stream. - * @return true on success, false if there was an error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool write_all(const std::string& buffer, gsize& bytes_written); - #else - bool write_all(const std::string& buffer, gsize& bytes_written, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Splices an input stream into an output stream. - * - * @param source An InputStream. - * @param flags A set of OutputStreamSpliceFlags. - * @param cancellable A Cancellable object. - * ignore. - * @return A #gssize containing the size of the data spliced. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE); - #else - gssize splice(const Glib::RefPtr& source, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Splices an input stream into an output stream. - * - * @param source An InputStream. - * @param flags A set of OutputStreamSpliceFlags. - * ignore. - * @return A #gssize containing the size of the data spliced. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - gssize splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE); - #else - gssize splice(const Glib::RefPtr& source, OutputStreamSpliceFlags flags, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_output_stream_splice) - - _WRAP_METHOD(bool flush(const Glib::RefPtr& cancellable), - g_output_stream_flush, - errthrow) - - /** Flushed any outstanding buffers in the stream. Will block during - * the operation. Closing the stream will implicitly cause a flush. - * - * This function is optional for inherited classes. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * @param cancellable Optional cancellable object. - * @return true on success, false on error. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool flush(); - #else - bool flush(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool close(const Glib::RefPtr& cancellable), - g_output_stream_close, - errthrow) - - /** Closes the stream, releasing resources related to it. - * - * Once the stream is closed, all other operations will throw a Gio::Error with CLOSED. - * Closing a stream multiple times will not return an error. - * - * Closing a stream will automatically flush any outstanding buffers in the - * stream. - * - * Streams will be automatically closed when the last reference - * is dropped, but you might want to call make sure resources - * are released as early as possible. - * - * Some streams might keep the backing store of the stream (e.g. a file descriptor) - * open after the stream is closed. See the documentation for the individual - * stream for details. - * - * On failure the first error that happened will be reported, but the close - * operation will finish as much as possible. A stream that failed to - * close will still throw a Gio::Error with CLOSED for all operations. Still, it - * is important to check and report the error to the user, otherwise - * there might be a loss of data as all data might not be written. - * - * The operation can be cancelled by - * triggering the cancellable object from another thread. If the operation - * was cancelled, a Gio::Error with CANCELLED will be thrown. - * Cancelling a close will still leave the stream closed, but there some streams - * can use a faster close that doesn't block to e.g. check errors. On - * cancellation (as with any error) there is no guarantee that all written - * data will reach the target. - * @param cancellable Optional cancellable object. - * @return true on success, false on failure. - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - bool close(); - #else - bool close(std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Request an asynchronous write of @a count bytes from @a buffer into - * the stream. When the operation is finished @a slot will be called. - * You can then call write_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, - * and will result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with - * NVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written will be passed to the - * callback @a slot. It is not an error if this is not the same as the - * requested size, as it can happen e.g. on a partial I/O error, - * but generally we try to write as many bytes as requested. - * - * Any outstanding I/O request with higher priority (lower numerical - * value) will be executed before an outstanding request with lower - * priority. Default priority is Glib::PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads - * to implement asynchronicity, so they are optional for inheriting - * classes. However, if you override one you must override all. - * - * For the synchronous, blocking version of this function, see - * write(). - * - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Request an asynchronous write of @a count bytes from @a buffer into - * the stream. When the operation is finished @a slot will be called. - * You can then call write_finish() to get the result of the - * operation. - * - * During an async request no other sync and async calls are allowed, - * and will result in Gio::Error with PENDING being thrown. - * - * A value of @a count larger than MAXSSIZE will cause a Gio::Error with - * INVALID_ARGUMENT to be thrown. - * - * On success, the number of bytes written will be passed to the - * callback @a slot. It is not an error if this is not the same as the - * requested size, as it can happen e.g. on a partial I/O error, - * but generally we try to write as many bytes as requested. - * - * Any outstanding I/O request with higher priority (lower numerical - * value) will be executed before an outstanding request with lower - * priority. Default priority is Glib::PRIORITY_DEFAULT. - * - * The asyncronous methods have a default fallback that uses threads - * to implement asynchronicity, so they are optional for inheriting - * classes. However, if you override one you must override all. - * - * For the synchronous, blocking version of this function, see - * write(). - * - * @param buffer The buffer containing the data to write. - * @param count The number of bytes to write - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void write_async(const void* buffer, gsize count, const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_output_stream_write_async) - - _WRAP_METHOD(gssize write_finish(const Glib::RefPtr& result), - g_output_stream_write_finish, - errthrow) - - /** Splices a stream asynchronously. - * When the operation is finished @a slot will be called. - * You can then call splice_finish() to get the result of the - * operation. - * - * For the synchronous, blocking version of this function, see - * splice(). - * - * @param source An InputStream. - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Splices a stream asynchronously. - * When the operation is finished @a slot will be called. - * You can then call splice_finish() to get the result of the - * operation. - * - * For the synchronous, blocking version of this function, see - * splice(). - * - * @param source An InputStream. - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void splice_async(const Glib::RefPtr& source, const SlotAsyncReady& slot, OutputStreamSpliceFlags flags = OUTPUT_STREAM_SPLICE_NONE, int io_priority = Glib::PRIORITY_DEFAULT); - - _IGNORE(g_output_stream_splice_async) - - _WRAP_METHOD(gssize splice_finish(const Glib::RefPtr& result), - g_output_stream_splice_finish, - errthrow) - - /** Flushes a stream asynchronously. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call flush_finish() to get the result of the operation. - * For behaviour details see flush(). - * - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void flush_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Flushes a stream asynchronously. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call flush_finish() to get the result of the operation. - * For behaviour details see flush(). - * - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void flush_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_output_stream_flush_async) - - _WRAP_METHOD(bool flush_finish(const Glib::RefPtr& result), - g_output_stream_flush_finish, - errthrow) - - /** Requests an asynchronous close of the stream, releasing resources related to it. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call close_finish() to get the result of the operation. - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement asynchronicity, - * so they are optional for inheriting classes. However, if you override one you must override all. - * - * @param slot Callback slot to call when the request is satisfied. - * @param cancellable Cancellable object. - * @param io_priority The io priority of the request. - */ - void close_async(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, int io_priority = Glib::PRIORITY_DEFAULT); - - /** Requests an asynchronous close of the stream, releasing resources related to it. - * When the operation is finished the @a slot will be called, giving the results. - * You can then call close_finish() to get the result of the operation. - * For behaviour details see close(). - * - * The asyncronous methods have a default fallback that uses threads to implement asynchronicity, - * so they are optional for inheriting classes. However, if you override one you must override all. - * - * @param slot Callback slot to call when the request is satisfied. - * @param io_priority The io priority of the request. - */ - void close_async(const SlotAsyncReady& slot, int io_priority = Glib::PRIORITY_DEFAULT); - _IGNORE(g_output_stream_close_async) - - _WRAP_METHOD(bool close_finish(const Glib::RefPtr& result), - g_output_stream_close_finish, - errthrow) - - // These are private inside the module (for implementations) - _IGNORE(g_output_stream_has_pending, g_output_stream_is_closed, g_output_stream_set_pending, g_output_stream_clear_pending) - -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/seekable.ccg b/libs/glibmm2/gio/src/seekable.ccg deleted file mode 100644 index 9deb7beff9..0000000000 --- a/libs/glibmm2/gio/src/seekable.ccg +++ /dev/null @@ -1,67 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Seekable::seek(goffset offset, Glib::SeekType type) -#else -bool Seekable::seek(goffset offset, Glib::SeekType type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_seekable_seek(gobj(), offset, ((GSeekType)(type)), NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Seekable::truncate(goffset offset) -#else -bool Seekable::truncate(goffset offset, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_seekable_truncate(gobj(), offset, NULL, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/seekable.hg b/libs/glibmm2/gio/src/seekable.hg deleted file mode 100644 index 86e9f78a45..0000000000 --- a/libs/glibmm2/gio/src/seekable.hg +++ /dev/null @@ -1,99 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GSeekableIface GSeekableIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ - -/** Stream seeking interface. - * Seekable is implemented by streams (implementations of InputStream or OutputStream) that support seeking. - * To find the position of a stream, use tell(). To find - * out if a stream supports seeking, use can_seek(). To position a - * stream, use seek(). To find out if a stream supports - * truncating, use can_truncate(). To truncate a stream, use - * truncate(). - * - * @ingroup Streams - * - * @newin2p16 - */ -class Seekable : public Glib::Interface -{ - _CLASS_INTERFACE(Seekable, GSeekable, G_SEEKABLE, GSeekableIface) - -public: - _WRAP_METHOD(goffset tell() const, g_seekable_tell) - _WRAP_METHOD(bool can_seek() const, g_seekable_can_seek) - - _WRAP_METHOD(bool seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable), g_seekable_seek, errthrow) - - //TODO: Document the exception: http://bugzilla.gnome.org/show_bug.cgi?id=509990 - /** Seeks in the stream by the given @a offset, modified by @a type . - * - * @param offset A #goffset. - * @param type A Glib::SeekType. - * @return true if successful. If an error - * has occurred, this function will return false. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool seek(goffset offset, Glib::SeekType type); -#else - bool seek(goffset offset, Glib::SeekType type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - _WRAP_METHOD(bool can_truncate() const, g_seekable_can_truncate) - - _WRAP_METHOD(bool truncate(goffset offset, const Glib::RefPtr& cancellable), g_seekable_truncate, errthrow) - - //TODO: Document the exception: http://bugzilla.gnome.org/show_bug.cgi?id=509990 - /** Truncates a stream with a given #offset. - * - * @param offset A #goffset. - * @return true if successful. If an error - * has occured, this function will return false. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool truncate(goffset offset); -#else - bool truncate(goffset offset, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - //_WRAP_VFUNC(goffset tell() const, tell) - //_WRAP_VFUNC(goffset can_seek() const, can_seek) - //_WRAP_VFUNC(goffset seek(goffset offset, Glib::SeekType type, const Glib::RefPtr& cancellable, GError** error), seek) - //_WRAP_VFUNC(goffset can_truncate() const, can_truncate) - - //Renamed to truncate() - we don't know why it's called truncate_fn in C. - //_WRAP_VFUNC(goffset truncate(goffset offset, const Glib::RefPtr& cancellable, GError** error), truncate_fn) - - //There are no properties or signals. -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/themedicon.ccg b/libs/glibmm2/gio/src/themedicon.ccg deleted file mode 100644 index 9d65ca8de0..0000000000 --- a/libs/glibmm2/gio/src/themedicon.ccg +++ /dev/null @@ -1,31 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio -{ - -ThemedIcon::ThemedIcon(const std::string& iconname, bool use_default_callbacks) -: - _CONSTRUCT("name", iconname.c_str(), "use-default-fallbacks", gboolean(use_default_callbacks)) -{} - - -} //namespace Gio diff --git a/libs/glibmm2/gio/src/themedicon.hg b/libs/glibmm2/gio/src/themedicon.hg deleted file mode 100644 index 78407a40dc..0000000000 --- a/libs/glibmm2/gio/src/themedicon.hg +++ /dev/null @@ -1,75 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -/** Icon theming support - * ThemedIcon is an implementation of Gio::Icon that supports icon themes. - * ThemedIcon contains a list of all of the icons present in an icon - * theme, so that icons can be looked up quickly. ThemedIcon does - * not provide actual pixmaps for icons, just the icon names. - * Ideally something like Gtk::IconTheme::choose_icon() should be used to - * resolve the list of names so that fallback icons work nicely with - * themes that inherit other themes. - * - * @newin2p16 - */ -class ThemedIcon -: public Glib::Object, - public Icon -{ - _CLASS_GOBJECT(ThemedIcon, GThemedIcon, G_THEMED_ICON, Glib::Object, GObject) - _IMPLEMENTS_INTERFACE(Icon) - -protected: - //TODO: Documentation: - explicit ThemedIcon(const std::string& iconname, bool use_default_callbacks = false); - _IGNORE(g_themed_icon_new, g_themed_icon_new_with_default_fallbacks) - -public: - _WRAP_CREATE(const std::string& iconname, bool use_default_callbacks = false) - - //TODO: GIcon *g_themed_icon_new_from_names (char **iconnames, int len); - - _WRAP_METHOD(void prepend_name(const std::string& iconname), g_themed_icon_prepend_name) - _WRAP_METHOD(void append_name(const std::string& iconname), g_themed_icon_append_name) - -#m4 _CONVERSION(`const char*const*',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)') - //TODO: gmmproc complains about the wrong number of arguments, but I can't see why. murrayc. - //_WRAP_METHOD(Glib::StringArrayHandle get_names() const, g_themed_icon_get_names) - - - //There are no signals. - - //TODO: Remove these when we can break ABI. They are write-only and construct-only. - _WRAP_PROPERTY("name", std::string) - //An array: This is awkward to wrap_WRAP_PROPERTY("names", ) - _WRAP_PROPERTY("use-default-fallbacks", bool) -}; - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/unixinputstream.ccg b/libs/glibmm2/gio/src/unixinputstream.ccg deleted file mode 100644 index bf77e74538..0000000000 --- a/libs/glibmm2/gio/src/unixinputstream.ccg +++ /dev/null @@ -1,21 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include diff --git a/libs/glibmm2/gio/src/unixinputstream.hg b/libs/glibmm2/gio/src/unixinputstream.hg deleted file mode 100644 index 8bee297612..0000000000 --- a/libs/glibmm2/gio/src/unixinputstream.hg +++ /dev/null @@ -1,50 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/inputstream_p.h) - -namespace Gio -{ - -/** - * UnixInputStream implements InputStream for reading from a unix file - * descriptor, including asynchronous operations. The file descriptor must be - * selectable, so it doesn't work with opened files. - * - * @ingroup Streams - * - * @newin2p16 - */ -class UnixInputStream : public Gio::InputStream -{ - _CLASS_GOBJECT(UnixInputStream, GUnixInputStream, G_UNIX_INPUT_STREAM, Gio::InputStream, GInputStream) - _GTKMMPROC_WIN32_NO_WRAP - -protected: - _WRAP_CTOR(UnixInputStream(int fd, bool close_fd_at_close), g_unix_input_stream_new) - -public: - _WRAP_CREATE(int fd, bool close_fd_at_close) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/unixoutputstream.ccg b/libs/glibmm2/gio/src/unixoutputstream.ccg deleted file mode 100644 index 2af03e83fb..0000000000 --- a/libs/glibmm2/gio/src/unixoutputstream.ccg +++ /dev/null @@ -1,21 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include diff --git a/libs/glibmm2/gio/src/unixoutputstream.hg b/libs/glibmm2/gio/src/unixoutputstream.hg deleted file mode 100644 index 3cafdc1610..0000000000 --- a/libs/glibmm2/gio/src/unixoutputstream.hg +++ /dev/null @@ -1,49 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -_DEFS(giomm,gio) -_PINCLUDE(giomm/private/outputstream_p.h) - -namespace Gio -{ - -/** UnixOutputStream implements OutputStream for writing to a a unix file - * descriptor, including asynchronous operations. The file descriptor much be - * selectable, so it doesn't work with opened files. - * - * @ingroup Streams - * - * @newin2p16 - */ -class UnixOutputStream : public Gio::OutputStream -{ - _CLASS_GOBJECT(UnixOutputStream, GUnixOutputStream, G_UNIX_OUTPUT_STREAM, Gio::OutputStream, GOutputStream) - _GTKMMPROC_WIN32_NO_WRAP - -protected: - _WRAP_CTOR(UnixOutputStream(int fd, bool close_fd_at_close), g_unix_output_stream_new) - -public: - _WRAP_CREATE(int fd, bool close_fd_at_close) -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/volume.ccg b/libs/glibmm2/gio/src/volume.ccg deleted file mode 100644 index 43eba66502..0000000000 --- a/libs/glibmm2/gio/src/volume.ccg +++ /dev/null @@ -1,124 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include -#include -#include "slot_async.h" - -namespace Gio { - -void -Volume::mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_mount(gobj(), - static_cast(flags), - mount_operation->gobj(), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); - -} - -void -Volume::mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_mount(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, // cancellable - &SignalProxy_async_callback, - slot_copy); -} - -void -Volume::mount(const Glib::RefPtr& mount_operation, MountMountFlags flags) -{ - g_volume_mount(gobj(), - static_cast(flags), - mount_operation->gobj(), - NULL, // cancellable - NULL, - NULL); -} - -void -Volume::mount(MountMountFlags flags) -{ - g_volume_mount(gobj(), - static_cast(flags), - NULL, - NULL, // cancellable - NULL, - NULL); -} - - -void Volume::eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_eject(gobj(), - static_cast(flags), - cancellable->gobj(), - &SignalProxy_async_callback, - slot_copy); -} - -void Volume::eject(const SlotAsyncReady& slot, MountUnmountFlags flags) -{ - // Create a copy of the slot. - // A pointer to it will be passed through the callback's data parameter - // and deleted in the callback. - SlotAsyncReady* slot_copy = new SlotAsyncReady(slot); - - g_volume_eject(gobj(), - static_cast(flags), - NULL, - &SignalProxy_async_callback, - slot_copy); -} - -void Volume::eject(MountUnmountFlags flags) -{ - g_volume_eject(gobj(), - static_cast(flags), - NULL, - NULL, - NULL); -} - -} // namespace Gio - diff --git a/libs/glibmm2/gio/src/volume.hg b/libs/glibmm2/gio/src/volume.hg deleted file mode 100644 index 21d7b823df..0000000000 --- a/libs/glibmm2/gio/src/volume.hg +++ /dev/null @@ -1,227 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -//#include -//#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/interface_p.h) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GVolumeIface GGVolumeIface; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Gio -{ - -// Making a forward declaration here to avoid circular dependency. -// file.hg already includes volume.h. -class File; -class Drive; - -/** The Volume interface represents user-visible objects that can be mounted. - * - * Mounting a Volume instance is an asynchronous operation. For more information about asynchronous operations, see AsyncReady and SimpleAsyncReady. To - * mount a GVolume, first call mount(), optionally providing a MountOperation object and a SlotAsyncReady callback. - * - * Typically, you will not want to provide a MountOperation if automounting all volumes when a desktop session starts since it's not desirable to - * put up a lot of dialogs asking for credentials. - * - * The callback will be fired when the operation has resolved (either with success or failure), and a AsyncReady structure will be passed to the callback. - * That callback should then call g_volume_mount_finish() with the GVolume instance and the GAsyncReady data to see if the operation was completed - * successfully. If an error is present when finish() is called, then it will be filled with any error information. - * - * @newin2p16 - */ -class Volume : public Glib::Interface -{ - _CLASS_INTERFACE(Volume, GVolume, G_DRIVE, GVolumeIface) -public: - _WRAP_METHOD(std::string get_name() const, g_volume_get_name) - _WRAP_METHOD(std::string get_uuid() const, g_volume_get_uuid) - - _WRAP_METHOD(Glib::RefPtr get_icon(), - g_volume_get_icon, - refreturn) - _WRAP_METHOD(Glib::RefPtr get_icon() const, - g_volume_get_icon, - refreturn, constversion) - - _WRAP_METHOD(Glib::RefPtr get_drive(), - g_volume_get_drive, - refreturn) - _WRAP_METHOD(Glib::RefPtr get_drive() const, - g_volume_get_drive, - refreturn, constversion) - - _WRAP_METHOD(Glib::RefPtr get_mount(), - g_volume_get_mount, - refreturn) - _WRAP_METHOD(Glib::RefPtr get_mount() const, - g_volume_get_mount, - refreturn, constversion) - - _WRAP_METHOD(bool can_mount() const, g_volume_can_mount) - _WRAP_METHOD(bool can_eject() const, g_volume_can_eject) - _WRAP_METHOD(bool should_automount() const, g_volume_should_automount) - - /** Mounts a volume. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param mount_operation A mount operation. - */ - void mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a volume. - * This is an asynchronous operation, and is finished by calling mount_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param mount_operation A mount operation. - */ - void mount(const Glib::RefPtr& mount_operation, const SlotAsyncReady& slot, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a volume. - * - * @param mount_operation A mount operation. - */ - void mount(const Glib::RefPtr& mount_operation, MountMountFlags flags = MOUNT_MOUNT_NONE); - - /** Mounts a volume. - */ - void mount(MountMountFlags flags = MOUNT_MOUNT_NONE); - - _IGNORE(g_volume_mount) - - _WRAP_METHOD(bool mount_finish(const Glib::RefPtr& result), - g_volume_mount_finish, - errthrow) - - /** Ejects a volume. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param cancellable A cancellable object which can be used to cancel the operation. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, const Glib::RefPtr& cancellable, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a volume. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param slot A callback which will be called when the operation is completed or canceled. - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(const SlotAsyncReady& slot, MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - - /** Ejects a volume. - * This is an asynchronous operation, and is finished by calling eject_finish() with the AsyncResult data returned in the callback slot. - * - * @param flags Flags affecting the unmount if required for eject. - */ - void eject(MountUnmountFlags flags = MOUNT_UNMOUNT_NONE); - _IGNORE(g_volume_eject) - - _WRAP_METHOD(bool eject_finish(const Glib::RefPtr& result), - g_volume_eject_finish, - errthrow) - - _WRAP_METHOD(std::string get_identifier(const std::string& kind) const, - g_volume_get_identifier) - - _WRAP_METHOD(Glib::StringArrayHandle enumerate_identifiers() const, - g_volume_enumerate_identifiers) - - _WRAP_METHOD(Glib::RefPtr get_activation_root(), g_volume_get_activation_root) - _WRAP_METHOD(Glib::RefPtr get_activation_root() const, g_volume_get_activation_root) - - _WRAP_SIGNAL(void changed(), changed) - _WRAP_SIGNAL(void removed(), removed) - - //_WRAP_VFUNC(std::string get_name(), get_name) - //_WRAP_VFUNC(Glib::RefPtr get_icon(), get_icon) - //_WRAP_VFUNC(std::string get_uuid(), get_uuid) - -#m4 _CONVERSION(`Glib::RefPtr',`GDrive*',__CONVERT_CONST_REFPTR_TO_P) - //_WRAP_VFUNC(Glib::RefPtr get_drive(), get_drive) - -#m4 _CONVERSION(`Glib::RefPtr',`GMount*',__CONVERT_CONST_REFPTR_TO_P) - //_WRAP_VFUNC(Glib::RefPtr get_mount(), get_mount) - - //_WRAP_VFUNC(bool can_mount(), can_mount) - //_WRAP_VFUNC(bool can_eject(), can_eject) - //_WRAP_VFUNC(void mount_fn(GMountMountFlags flags, GMountOperation* mount_operation, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data), mount_fn) //TODO: Rename to mount()? - //_WRAP_VFUNC(bool mount_finish(GAsyncResult* result, GError** error), mount_finish) - //_WRAP_VFUNC(void eject(GMountUnmountFlags flags, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data), eject) - //_WRAP_VFUNC(bool eject_finish(GAsyncResult* result, GError** error), eject_finish) - - //_WRAP_VFUNC(std::string get_identifier(const std::string& kind), get_identifier) - - //TODO: Use an ArrayHandle. - //_WRAP_VFUNC(char** enumerate_identifiers(), enumerate_identifiers) - - //_WRAP_VFUNC(bool should_automount(), should_automount) -}; - -} // namespace Gio - -namespace Glib -{ - -//Pre-declare this so we can use it in TypeTrait: -Glib::RefPtr wrap(GVolume* object, bool take_copy); - -namespace Container_Helpers -{ - -/** This specialization of TypeTraits exists - * because the default use of Glib::wrap(GObject*), - * instead of a specific Glib::wrap(GSomeInterface*), - * would not return a wrapper for an interface. - */ -template <> -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef GVolume* CType; - typedef GVolume* CTypeNonConst; - - static CType to_c_type (const CppType& item) - { return Glib::unwrap (item); } - - static CppType to_cpp_type (const CType& item) - { - //Use a specific Glib::wrap() function, - //because CType has the specific type (not just GObject): - return Glib::wrap(item, true /* take_copy */); - } - - static void release_c_type (CType item) - { - GLIBMM_DEBUG_UNREFERENCE(0, item); - g_object_unref(item); - } -}; - -} // Container_Helpers -} // Glib diff --git a/libs/glibmm2/gio/src/volumemonitor.ccg b/libs/glibmm2/gio/src/volumemonitor.ccg deleted file mode 100644 index 0d60a87ca9..0000000000 --- a/libs/glibmm2/gio/src/volumemonitor.ccg +++ /dev/null @@ -1,25 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Gio { - - -} // namespace Gio diff --git a/libs/glibmm2/gio/src/volumemonitor.hg b/libs/glibmm2/gio/src/volumemonitor.hg deleted file mode 100644 index cbc84bf8c8..0000000000 --- a/libs/glibmm2/gio/src/volumemonitor.hg +++ /dev/null @@ -1,96 +0,0 @@ -// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- - -/* Copyright (C) 2007 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -_DEFS(giomm,gio) -_PINCLUDE(glibmm/private/object_p.h) - -namespace Gio -{ - -/** Monitors a file or directory for changes. - * VolumeMonitor is for listing the user-interesting devices and volumes on the - * computer. In other words, what a file selector or file manager would show in - * a sidebar. - * - * @newin2p16 - */ -class VolumeMonitor : public Glib::Object -{ - _CLASS_GOBJECT(VolumeMonitor, GVolumeMonitor, G_VOLUME_MONITOR, Glib::Object, GObject) -protected: - -public: - - _WRAP_METHOD(static Glib::RefPtr get(), g_volume_monitor_get) - -#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') - _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr > get_connected_drives(), g_volume_monitor_get_connected_drives) - -#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') - _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr > get_volumes(), g_volume_monitor_get_volumes) - -#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') - _WRAP_METHOD(Glib::ListHandle< Glib::RefPtr > get_mounts(), g_volume_monitor_get_mounts) - - _WRAP_METHOD(Glib::RefPtr get_volume_for_uuid(const std::string& uuid), g_volume_monitor_get_volume_for_uuid, refreturn) - _WRAP_METHOD(Glib::RefPtr get_mount_for_uuid(const std::string& uuid), g_volume_monitor_get_mount_for_uuid, refreturn) - - _WRAP_METHOD(static Glib::RefPtr adopt_orphan_mount(const Glib::RefPtr& mount), g_volume_monitor_adopt_orphan_mount) - -#m4 _CONVERSION(`GVolume*',`const Glib::RefPtr&',`Glib::wrap($3, true)') - _WRAP_SIGNAL(void volume_added(const Glib::RefPtr& volume), volume_added) - _WRAP_SIGNAL(void volume_removed(const Glib::RefPtr& volume), volume_removed) - _WRAP_SIGNAL(void volume_changed(const Glib::RefPtr& volume), volume_changed) - -#m4 _CONVERSION(`GMount*',`const Glib::RefPtr&',`Glib::wrap($3, true)') - _WRAP_SIGNAL(void mount_added(const Glib::RefPtr& mount), mount_added) - _WRAP_SIGNAL(void mount_removed(const Glib::RefPtr& mount), mount_removed) - _WRAP_SIGNAL(void mount_pre_unmount(const Glib::RefPtr& mount), mount_pre_unmount) - _WRAP_SIGNAL(void mount_changed(const Glib::RefPtr& mount), mount_changed) - -#m4 _CONVERSION(`GDrive*',`const Glib::RefPtr&',`Glib::wrap($3, true)') - _WRAP_SIGNAL(void drive_connected(const Glib::RefPtr& drive), drive_connected) - _WRAP_SIGNAL(void drive_disconnected(const Glib::RefPtr& drive), drive_disconnected) - _WRAP_SIGNAL(void drive_changed(const Glib::RefPtr& drive), drive_changed) - - //TODO: Remove no_default_handler when we can break ABI: - _WRAP_SIGNAL(void drive_eject_button(const Glib::RefPtr& drive), drive_eject_button, no_default_handler) - - gboolean (*is_supported) (void); - - //TODO: Use ListHandle? - //_WRAP_VFUNC(GList* get_volumes(), get_volumes) - //_WRAP_VFUNC(GList* get_mounts(), get_mounts) - -#m4 _CONVERSION(`Glib::RefPtr',`GVolume*',__CONVERT_CONST_REFPTR_TO_P) - //_WRAP_VFUNC(Glib::RefPtr get_volume_for_uuid(const std::string& uuid), get_volume_for_uuid) - -#m4 _CONVERSION(`Glib::RefPtr',`GMount*',__CONVERT_CONST_REFPTR_TO_P) - //_WRAP_VFUNC(Glib::RefPtr get_mount_for_uuid(const std::string& uuid), get_mount_for_uuid) - - - //There are no properties. -}; - -} // namespace Gio - diff --git a/libs/glibmm2/gio/stamp-h3 b/libs/glibmm2/gio/stamp-h3 deleted file mode 100644 index 397baac63a..0000000000 --- a/libs/glibmm2/gio/stamp-h3 +++ /dev/null @@ -1 +0,0 @@ -timestamp for gio/giommconfig.h diff --git a/libs/glibmm2/glib/Makefile.am b/libs/glibmm2/glib/Makefile.am deleted file mode 100644 index 933a1e8895..0000000000 --- a/libs/glibmm2/glib/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -SUBDIRS = src glibmm - -EXTRA_DIST = README glibmmconfig.h.in glibmm-2.4.pc.in - -glibmm_includedir = $(includedir)/glibmm-2.4 -glibmm_include_HEADERS = glibmm.h - -glibmm_configdir = $(libdir)/glibmm-2.4/include -glibmm_config_DATA = glibmmconfig.h - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = glibmm-2.4.pc diff --git a/libs/glibmm2/glib/README b/libs/glibmm2/glib/README deleted file mode 100644 index 289d17a7da..0000000000 --- a/libs/glibmm2/glib/README +++ /dev/null @@ -1 +0,0 @@ -glib base dir. diff --git a/libs/glibmm2/glib/glibmm-2.4.pc b/libs/glibmm2/glib/glibmm-2.4.pc deleted file mode 100644 index df92335df7..0000000000 --- a/libs/glibmm2/glib/glibmm-2.4.pc +++ /dev/null @@ -1,12 +0,0 @@ -prefix=/usr/local -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include -gmmprocdir=@GMMPROC_DIR@ - -Name: GLibmm -Description: C++ wrapper for GLib -Requires: gobject-2.0 sigc++-2.0 -Version: 2.14.2 -Libs: -L${libdir} -lglibmm-2.4 -Cflags: -I${includedir}/glibmm-2.4 -I${libdir}/glibmm-2.4/include diff --git a/libs/glibmm2/glib/glibmm-2.4.pc.in b/libs/glibmm2/glib/glibmm-2.4.pc.in deleted file mode 100644 index 554651e3ad..0000000000 --- a/libs/glibmm2/glib/glibmm-2.4.pc.in +++ /dev/null @@ -1,12 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ -gmmprocdir=@GMMPROC_DIR@ - -Name: GLibmm -Description: C++ wrapper for GLib -Requires: gobject-2.0 sigc++-2.0 -Version: @VERSION@ -Libs: -L${libdir} -lglibmm-2.4 -Cflags: -I${includedir}/glibmm-2.4 -I${libdir}/glibmm-2.4/include diff --git a/libs/glibmm2/glib/glibmm.h b/libs/glibmm2/glib/glibmm.h deleted file mode 100644 index 79d4f24ff2..0000000000 --- a/libs/glibmm2/glib/glibmm.h +++ /dev/null @@ -1,77 +0,0 @@ -/* $Id: glibmm.h 700 2008-07-29 10:27:08Z murrayc $ */ - -/* glibmm - a C++ wrapper for the GLib toolkit - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef _GLIBMM_H -#define _GLIBMM_H - -#include -//#include //This must be included by the application, after system headers such as . -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif /* _GLIBMM_H */ - diff --git a/libs/glibmm2/glib/glibmm/Makefile.am b/libs/glibmm2/glib/glibmm/Makefile.am deleted file mode 100644 index 973a33b833..0000000000 --- a/libs/glibmm2/glib/glibmm/Makefile.am +++ /dev/null @@ -1,106 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. - -SUBDIRS = private - -sublib_name = glibmm -sublib_libname = glibmm-2.4 -sublib_libversion = $(LIBGLIBMM_SO_VERSION) -sublib_namespace = Glib -sublib_cflags = $(GLIBMM_CFLAGS) -sublib_topdir = glib -sublib_win32_dlls_libs = - -sublib_files_extra_posix_cc = -sublib_files_extra_win32_cc = - -sublib_files_extra_general_cc = \ - class.cc \ - containers.cc \ - debug.cc \ - dispatcher.cc \ - error.cc \ - exception.cc \ - exceptionhandler.cc \ - init.cc \ - interface.cc \ - main.cc \ - miscutils.cc \ - object.cc \ - objectbase.cc \ - pattern.cc \ - property.cc \ - propertyproxy.cc \ - propertyproxy_base.cc \ - quark.cc \ - random.cc \ - signalproxy.cc \ - signalproxy_connectionnode.cc \ - streamiochannel.cc \ - stringutils.cc \ - threadpool.cc \ - timer.cc \ - timeval.cc \ - ustring.cc \ - utility.cc \ - value.cc \ - value_custom.cc \ - wrap.cc - -sublib_files_extra_posix_h = -sublib_files_extra_win32_h = - -sublib_files_extra_general_h = \ - arrayhandle.h \ - class.h \ - containerhandle_shared.h \ - containers.h \ - debug.h \ - dispatcher.h \ - error.h \ - exception.h \ - exceptionhandler.h \ - helperlist.h \ - init.h \ - i18n-lib.h \ - i18n.h \ - interface.h \ - iochannel.h \ - keyfile.h \ - listhandle.h \ - main.h \ - miscutils.h \ - object.h \ - objectbase.h \ - pattern.h \ - priorities.h \ - property.h \ - propertyproxy.h \ - propertyproxy_base.h \ - quark.h \ - random.h \ - refptr.h \ - sarray.h \ - signalproxy_connectionnode.h \ - slisthandle.h \ - streamiochannel.h \ - stringutils.h \ - threadpool.h \ - timer.h \ - timeval.h \ - ustring.h \ - utility.h \ - value.h \ - value_custom.h \ - wrap.h - -include $(top_srcdir)/build_shared/Makefile_build.am_fragment - -sublib_files_extra_general_cc += value_basictypes.cc -sublib_files_extra_general_h += signalproxy.h value_basictypes.h - -lib_LTLIBRARIES = libglibmm-2.4.la -libglibmm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc) -libglibmm_2_4_la_LDFLAGS = $(common_ldflags) -libglibmm_2_4_la_LIBADD = $(GLIBMM_LIBS) - diff --git a/libs/glibmm2/glib/glibmm/Makefile.in b/libs/glibmm2/glib/glibmm/Makefile.in deleted file mode 100644 index d5a0b1f76a..0000000000 --- a/libs/glibmm2/glib/glibmm/Makefile.in +++ /dev/null @@ -1,832 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Built files - - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(srcdir)/../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(sublib_include_HEADERS) \ - $(top_srcdir)/build_shared/Makefile_build.am_fragment \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment -subdir = glib/glibmm -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" \ - "$(DESTDIR)$(sublib_includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -am__DEPENDENCIES_1 = -libglibmm_2_4_la_DEPENDENCIES = $(am__DEPENDENCIES_1) -am__libglibmm_2_4_la_SOURCES_DIST = checksum.cc convert.cc date.cc \ - fileutils.cc iochannel.cc keyfile.cc markup.cc module.cc \ - optioncontext.cc optionentry.cc optiongroup.cc regex.cc \ - shell.cc spawn.cc thread.cc nodetree.cc unicode.cc uriutils.cc \ - wrap_init.cc class.cc containers.cc debug.cc dispatcher.cc \ - error.cc exception.cc exceptionhandler.cc init.cc interface.cc \ - main.cc miscutils.cc object.cc objectbase.cc pattern.cc \ - property.cc propertyproxy.cc propertyproxy_base.cc quark.cc \ - random.cc signalproxy.cc signalproxy_connectionnode.cc \ - streamiochannel.cc stringutils.cc threadpool.cc timer.cc \ - timeval.cc ustring.cc utility.cc value.cc value_custom.cc \ - wrap.cc value_basictypes.cc -am__objects_1 = checksum.lo convert.lo date.lo fileutils.lo \ - iochannel.lo keyfile.lo markup.lo module.lo optioncontext.lo \ - optionentry.lo optiongroup.lo regex.lo shell.lo spawn.lo \ - thread.lo nodetree.lo unicode.lo uriutils.lo -am__objects_2 = -@OS_WIN32_FALSE@am__objects_3 = $(am__objects_1) $(am__objects_2) \ -@OS_WIN32_FALSE@ $(am__objects_2) -@OS_WIN32_TRUE@am__objects_3 = $(am__objects_1) $(am__objects_2) \ -@OS_WIN32_TRUE@ $(am__objects_2) -am__objects_4 = $(am__objects_3) wrap_init.lo -am__objects_5 = class.lo containers.lo debug.lo dispatcher.lo error.lo \ - exception.lo exceptionhandler.lo init.lo interface.lo main.lo \ - miscutils.lo object.lo objectbase.lo pattern.lo property.lo \ - propertyproxy.lo propertyproxy_base.lo quark.lo random.lo \ - signalproxy.lo signalproxy_connectionnode.lo \ - streamiochannel.lo stringutils.lo threadpool.lo timer.lo \ - timeval.lo ustring.lo utility.lo value.lo value_custom.lo \ - wrap.lo value_basictypes.lo -@OS_WIN32_FALSE@am__objects_6 = $(am__objects_2) $(am__objects_5) -@OS_WIN32_TRUE@am__objects_6 = $(am__objects_2) $(am__objects_5) -am_libglibmm_2_4_la_OBJECTS = $(am__objects_4) $(am__objects_6) -libglibmm_2_4_la_OBJECTS = $(am_libglibmm_2_4_la_OBJECTS) -libglibmm_2_4_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(libglibmm_2_4_la_LDFLAGS) $(LDFLAGS) -o $@ -depcomp = $(SHELL) $(top_srcdir)/scripts/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ -SOURCES = $(libglibmm_2_4_la_SOURCES) -DIST_SOURCES = $(am__libglibmm_2_4_la_SOURCES_DIST) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -sublib_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(sublib_include_HEADERS) -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DG_LOG_DOMAIN=\"$(sublib_name)\" $(extra_win32_defines) -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -SUBDIRS = private -sublib_name = glibmm -sublib_libname = glibmm-2.4 -sublib_libversion = $(LIBGLIBMM_SO_VERSION) -sublib_namespace = Glib -sublib_cflags = $(GLIBMM_CFLAGS) -sublib_topdir = glib -sublib_win32_dlls_libs = -sublib_files_extra_posix_cc = -sublib_files_extra_win32_cc = -sublib_files_extra_general_cc = class.cc containers.cc debug.cc \ - dispatcher.cc error.cc exception.cc exceptionhandler.cc \ - init.cc interface.cc main.cc miscutils.cc object.cc \ - objectbase.cc pattern.cc property.cc propertyproxy.cc \ - propertyproxy_base.cc quark.cc random.cc signalproxy.cc \ - signalproxy_connectionnode.cc streamiochannel.cc \ - stringutils.cc threadpool.cc timer.cc timeval.cc ustring.cc \ - utility.cc value.cc value_custom.cc wrap.cc \ - value_basictypes.cc -sublib_files_extra_posix_h = -sublib_files_extra_win32_h = -sublib_files_extra_general_h = arrayhandle.h class.h \ - containerhandle_shared.h containers.h debug.h dispatcher.h \ - error.h exception.h exceptionhandler.h helperlist.h init.h \ - i18n-lib.h i18n.h interface.h iochannel.h keyfile.h \ - listhandle.h main.h miscutils.h object.h objectbase.h \ - pattern.h priorities.h property.h propertyproxy.h \ - propertyproxy_base.h quark.h random.h refptr.h sarray.h \ - signalproxy_connectionnode.h slisthandle.h streamiochannel.h \ - stringutils.h threadpool.h timer.h timeval.h ustring.h \ - utility.h value.h value_custom.h wrap.h signalproxy.h \ - value_basictypes.h -files_posix_hg = -files_win32_hg = -files_general_hg = checksum.hg convert.hg date.hg fileutils.hg iochannel.hg keyfile.hg markup.hg \ - module.hg optioncontext.hg optionentry.hg optiongroup.hg regex.hg \ - shell.hg spawn.hg thread.hg nodetree.hg unicode.hg uriutils.hg - -files_general_deprecated_hg = -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -@OS_WIN32_FALSE@files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -@OS_WIN32_TRUE@files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -@OS_WIN32_FALSE@files_extra_cc = \ -@OS_WIN32_FALSE@ $(sublib_files_extra_posix_cc) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_TRUE@files_extra_cc = \ -@OS_WIN32_TRUE@ $(sublib_files_extra_win32_cc) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_FALSE@files_extra_h = $(sublib_files_extra_posix_h) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_h) wrap_init.h -@OS_WIN32_TRUE@files_extra_h = $(sublib_files_extra_win32_h) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_h) wrap_init.h -@PLATFORM_WIN32_FALSE@extra_win32_defines = - -# Support for DLL on mingw using libtool > 1.4 -# When creating DLLs on win32, we need to explicitly add a few extra -# libraries at link time to resolve symbols (remember a dll is like an -# executable). -@PLATFORM_WIN32_TRUE@extra_win32_defines = \ -@PLATFORM_WIN32_TRUE@ -D$(shell echo $(sublib_name) | tr [:lower:] [:upper:])_BUILD - -@PLATFORM_WIN32_FALSE@no_undefined = -@PLATFORM_WIN32_TRUE@no_undefined = -no-undefined -Wl,--export-all-symbols -@PLATFORM_WIN32_FALSE@win32_dlls_extra_libs = -@PLATFORM_WIN32_TRUE@win32_dlls_extra_libs = $(sublib_win32_dlls_libs) -common_ldflags = -version-info $(sublib_libversion) $(no_undefined) - -# All modules can include all other modules, -# for instance, so that gdkmm can use headers in pangomm. -all_includes = -I$(top_builddir)/$(sublib_topdir) -I$(top_srcdir)/$(sublib_topdir) \ - -I$(top_builddir)/glib -I$(top_srcdir)/glib -I$(top_builddir) \ - -I$(top_builddir)/gio -I$(top_srcdir)/gio \ - $(sublib_cflags) $(GTHREAD_CFLAGS) - -dist_sources = $(files_all_built_cc) $(files_all_extra_cc) $(files_all_built_h) $(files_all_extra_h) -DISTFILES = $(DIST_COMMON) $(dist_sources) $(TEXINFOS) $(EXTRA_DIST) -DEFAULT_INCLUDES = - -# DISABLE_DEPRECATED_CFLAGS and DISABLE_DEPRECATED_API_CFLAGS are empty unless the appropriate --enable-*=no options are specified to configure: -INCLUDES = $(strip $(all_includes)) $(DISABLE_DEPRECATED_CFLAGS) $(DISABLE_DEPRECATED_API_CFLAGS) -sublib_includedir = $(includedir)/$(sublib_libname)/$(sublib_name) -sublib_include_HEADERS = $(files_all_built_h) $(files_all_extra_h) -lib_LTLIBRARIES = libglibmm-2.4.la -libglibmm_2_4_la_SOURCES = $(files_built_cc) $(files_extra_cc) -libglibmm_2_4_la_LDFLAGS = $(common_ldflags) -libglibmm_2_4_la_LIBADD = $(GLIBMM_LIBS) -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cc .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build_shared/Makefile_build.am_fragment $(srcdir)/../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu glib/glibmm/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu glib/glibmm/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libglibmm-2.4.la: $(libglibmm_2_4_la_OBJECTS) $(libglibmm_2_4_la_DEPENDENCIES) - $(libglibmm_2_4_la_LINK) -rpath $(libdir) $(libglibmm_2_4_la_OBJECTS) $(libglibmm_2_4_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checksum.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/class.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/containers.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/convert.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/date.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debug.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dispatcher.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exceptionhandler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileutils.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/interface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iochannel.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keyfile.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/markup.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/miscutils.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/module.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nodetree.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/objectbase.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/optioncontext.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/optionentry.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/optiongroup.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/property.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/propertyproxy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/propertyproxy_base.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/quark.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/random.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shell.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signalproxy.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signalproxy_connectionnode.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spawn.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/streamiochannel.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringutils.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threadpool.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeval.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unicode.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uriutils.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ustring.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utility.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value_basictypes.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value_custom.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrap.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrap_init.Plo@am__quote@ - -.cc.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-sublib_includeHEADERS: $(sublib_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(sublib_includedir)" || $(MKDIR_P) "$(DESTDIR)$(sublib_includedir)" - @list='$(sublib_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(sublib_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sublib_includedir)/$$f'"; \ - $(sublib_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sublib_includedir)/$$f"; \ - done - -uninstall-sublib_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(sublib_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(sublib_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(sublib_includedir)/$$f"; \ - done - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(LTLIBRARIES) $(HEADERS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sublib_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-sublib_includeHEADERS - -install-dvi: install-dvi-recursive - -install-exec-am: install-libLTLIBRARIES - -install-html: install-html-recursive - -install-info: install-info-recursive - -install-man: - -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-libLTLIBRARIES uninstall-sublib_includeHEADERS - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-libLTLIBRARIES install-man install-pdf \ - install-pdf-am install-ps install-ps-am install-strip \ - install-sublib_includeHEADERS installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-local mostlyclean \ - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-libLTLIBRARIES uninstall-sublib_includeHEADERS - - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_all_built_cc) $(files_all_built_h)) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/glib/glibmm/arrayhandle.h b/libs/glibmm2/glib/glibmm/arrayhandle.h deleted file mode 100644 index ab6bda9259..0000000000 --- a/libs/glibmm2/glib/glibmm/arrayhandle.h +++ /dev/null @@ -1,522 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_ARRAYHANDLE_H -#define _GLIBMM_ARRAYHANDLE_H - -/* $Id: arrayhandle.h 32 2003-04-21 17:39:41Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -namespace Container_Helpers -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/* Count the number of elements in a 0-terminated sequence. - */ -template inline -size_t compute_array_size(const T* array) -{ - const T* pend = array; - - while(*pend) - ++pend; - - return (pend - array); -} - -/* Allocate and fill a 0-terminated array. The size argument - * specifies the number of elements in the input sequence. - */ -template -typename Tr::CType* create_array(For pbegin, size_t size, Tr) -{ - typedef typename Tr::CType CType; - - CType *const array = static_cast(g_malloc((size + 1) * sizeof(CType))); - CType *const array_end = array + size; - - for(CType* pdest = array; pdest != array_end; ++pdest) - { - // Use & to force a warning if the iterator returns a temporary object. - *pdest = Tr::to_c_type(*&*pbegin); - ++pbegin; - } - - *array_end = CType(); - return array; -} - - -/* Convert from any container that supports forward - * iterators and has a size() method. - */ -template -struct ArraySourceTraits -{ - typedef typename Tr::CType CType; - - static size_t get_size(const Cont& cont) - { return cont.size(); } - - static const CType* get_data(const Cont& cont, size_t size) - { return Glib::Container_Helpers::create_array(cont.begin(), size, Tr()); } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -/* Convert from a 0-terminated array. The Cont argument must be a pointer - * to the first element. Note that only arrays of the C type are supported. - */ -template -struct ArraySourceTraits -{ - typedef typename Tr::CType CType; - - static size_t get_size(const CType* array) - { return (array) ? Glib::Container_Helpers::compute_array_size(array) : 0; } - - static const CType* get_data(const CType* array, size_t) - { return array; } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_NONE; -}; - -template -struct ArraySourceTraits : ArraySourceTraits -{}; - -/* Convert from a 0-terminated array. The Cont argument must be a pointer - * to the first element. Note that only arrays of the C type are supported. - * For consistency, the array must be 0-terminated, even though the array - * size is known at compile time. - */ -template -struct ArraySourceTraits -{ - typedef typename Tr::CType CType; - - static size_t get_size(const CType*) - { return (N - 1); } - - static const CType* get_data(const CType* array, size_t) - { return array; } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_NONE; -}; - -template -struct ArraySourceTraits : ArraySourceTraits -{}; - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** - * @ingroup ContHelpers - */ -template -class ArrayHandleIterator -{ -public: - typedef typename Tr::CppType CppType; - typedef typename Tr::CType CType; - - typedef std::random_access_iterator_tag iterator_category; - typedef CppType value_type; - typedef ptrdiff_t difference_type; - typedef value_type reference; - typedef void pointer; - - explicit inline ArrayHandleIterator(const CType* pos); - - inline value_type operator*() const; - inline value_type operator[](difference_type offset) const; - - inline ArrayHandleIterator & operator++(); - inline const ArrayHandleIterator operator++(int); - - // All this random access stuff is only there because STL algorithms - // usually have optimized specializations for random access iterators, - // and we don't want to give away efficiency for nothing. - // - inline ArrayHandleIterator & operator+=(difference_type rhs); - inline ArrayHandleIterator & operator-=(difference_type rhs); - inline const ArrayHandleIterator operator+ (difference_type rhs) const; - inline const ArrayHandleIterator operator- (difference_type rhs) const; - inline difference_type operator-(const ArrayHandleIterator& rhs) const; - - inline bool operator==(const ArrayHandleIterator& rhs) const; - inline bool operator!=(const ArrayHandleIterator& rhs) const; - inline bool operator< (const ArrayHandleIterator& rhs) const; - inline bool operator> (const ArrayHandleIterator& rhs) const; - inline bool operator<=(const ArrayHandleIterator& rhs) const; - inline bool operator>=(const ArrayHandleIterator& rhs) const; - -private: - const CType* pos_; -}; - -} // namespace Container_Helpers - - -/** If a method takes this as an argument, or has this as a return type, then you can use a standard - * container such as std::list or std::vector. - * @ingroup ContHandles - */ -template < class T, class Tr = Glib::Container_Helpers::TypeTraits > -class ArrayHandle -{ -public: - typedef typename Tr::CppType CppType; - typedef typename Tr::CType CType; - - typedef CppType value_type; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - - typedef Glib::Container_Helpers::ArrayHandleIterator const_iterator; - typedef Glib::Container_Helpers::ArrayHandleIterator iterator; - - template inline - ArrayHandle(const Cont& container); - - // Take over ownership of an array created by GTK+ functions. - inline ArrayHandle(const CType* array, size_t array_size, Glib::OwnershipType ownership); - inline ArrayHandle(const CType* array, Glib::OwnershipType ownership); - - // Copying clears the ownership flag of the source handle. - inline ArrayHandle(const ArrayHandle& other); - - ~ArrayHandle(); - - inline const_iterator begin() const; - inline const_iterator end() const; - - template inline operator std::vector() const; - template inline operator std::deque() const; - template inline operator std::list() const; - - template inline - void assign_to(Cont& container) const; - - template inline - void copy(Out pdest) const; - - inline const CType* data() const; - inline size_t size() const; - inline bool empty() const; - -private: - size_t size_; - const CType* parray_; - mutable Glib::OwnershipType ownership_; - - // No copy assignment. - ArrayHandle& operator=(const ArrayHandle&); -}; - -/** If a method takes this as an argument, or has this as a return type, then you can use a standard - * container such as std::list or std::vector. - * @ingroup ContHandles - */ -typedef ArrayHandle StringArrayHandle; - - -/***************************************************************************/ -/* Inline implementation */ -/***************************************************************************/ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -namespace Container_Helpers -{ - -/**** Glib::Container_Helpers::ArrayHandleIterator<> ***********************/ - -template inline -ArrayHandleIterator::ArrayHandleIterator(const CType* pos) -: - pos_ (pos) -{} - -template inline -typename ArrayHandleIterator::value_type ArrayHandleIterator::operator*() const -{ - return Tr::to_cpp_type(*pos_); -} - -template inline -typename ArrayHandleIterator::value_type -ArrayHandleIterator::operator[](difference_type offset) const -{ - return Tr::to_cpp_type(pos_[offset]); -} - -template inline -ArrayHandleIterator& ArrayHandleIterator::operator++() -{ - ++pos_; - return *this; -} - -template inline -const ArrayHandleIterator ArrayHandleIterator::operator++(int) -{ - return ArrayHandleIterator(pos_++); -} - -template inline -ArrayHandleIterator& -ArrayHandleIterator::operator+=(typename ArrayHandleIterator::difference_type rhs) -{ - pos_ += rhs; - return *this; -} - -template inline -ArrayHandleIterator& -ArrayHandleIterator::operator-=(typename ArrayHandleIterator::difference_type rhs) -{ - pos_ -= rhs; - return *this; -} - -template inline -const ArrayHandleIterator -ArrayHandleIterator::operator+(typename ArrayHandleIterator::difference_type rhs) const -{ - return ArrayHandleIterator(pos_ + rhs); -} - -template inline -const ArrayHandleIterator -ArrayHandleIterator::operator-(typename ArrayHandleIterator::difference_type rhs) const -{ - return ArrayHandleIterator(pos_ - rhs); -} - -template inline -typename ArrayHandleIterator::difference_type -ArrayHandleIterator::operator-(const ArrayHandleIterator& rhs) const -{ - return (pos_ - rhs.pos_); -} - -template inline -bool ArrayHandleIterator::operator==(const ArrayHandleIterator& rhs) const -{ - return (pos_ == rhs.pos_); -} - -template inline -bool ArrayHandleIterator::operator!=(const ArrayHandleIterator& rhs) const -{ - return (pos_ != rhs.pos_); -} - -template inline -bool ArrayHandleIterator::operator<(const ArrayHandleIterator& rhs) const -{ - return (pos_ < rhs.pos_); -} - -template inline -bool ArrayHandleIterator::operator>(const ArrayHandleIterator& rhs) const -{ - return (pos_ > rhs.pos_); -} - -template inline -bool ArrayHandleIterator::operator<=(const ArrayHandleIterator& rhs) const -{ - return (pos_ <= rhs.pos_); -} - -template inline -bool ArrayHandleIterator::operator>=(const ArrayHandleIterator& rhs) const -{ - return (pos_ >= rhs.pos_); -} - -} // namespace Container_Helpers - - -/**** Glib::ArrayHandle<> **************************************************/ - -template - template -inline -ArrayHandle::ArrayHandle(const Cont& container) -: - size_ (Glib::Container_Helpers::ArraySourceTraits::get_size(container)), - parray_ (Glib::Container_Helpers::ArraySourceTraits::get_data(container, size_)), - ownership_ (Glib::Container_Helpers::ArraySourceTraits::initial_ownership) -{} - -template inline -ArrayHandle::ArrayHandle(const typename ArrayHandle::CType* array, size_t array_size, - Glib::OwnershipType ownership) -: - size_ (array_size), - parray_ (array), - ownership_ (ownership) -{} - -template inline -ArrayHandle::ArrayHandle(const typename ArrayHandle::CType* array, - Glib::OwnershipType ownership) -: - size_ ((array) ? Glib::Container_Helpers::compute_array_size(array) : 0), - parray_ (array), - ownership_ (ownership) -{} - -template inline -ArrayHandle::ArrayHandle(const ArrayHandle& other) -: - size_ (other.size_), - parray_ (other.parray_), - ownership_ (other.ownership_) -{ - other.ownership_ = Glib::OWNERSHIP_NONE; -} - -template -ArrayHandle::~ArrayHandle() -{ - if(ownership_ != Glib::OWNERSHIP_NONE) - { - if(ownership_ != Glib::OWNERSHIP_SHALLOW) - { - // Deep ownership: release each container element. - const CType *const pend = parray_ + size_; - for(const CType* p = parray_; p != pend; ++p) - Tr::release_c_type(*p); - } - g_free(const_cast(parray_)); - } -} - -template inline -typename ArrayHandle::const_iterator ArrayHandle::begin() const -{ - return Glib::Container_Helpers::ArrayHandleIterator(parray_); -} - -template inline -typename ArrayHandle::const_iterator ArrayHandle::end() const -{ - return Glib::Container_Helpers::ArrayHandleIterator(parray_ + size_); -} - -template - template -inline -ArrayHandle::operator std::vector() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::vector(this->begin(), this->end()); -#else - std::vector temp; - temp.reserve(this->size()); - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -ArrayHandle::operator std::deque() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::deque(this->begin(), this->end()); -#else - std::deque temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -ArrayHandle::operator std::list() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::list(this->begin(), this->end()); -#else - std::list temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -void ArrayHandle::assign_to(Cont& container) const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - container.assign(this->begin(), this->end()); -#else - Cont temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - container.swap(temp); -#endif -} - -template - template -inline -void ArrayHandle::copy(Out pdest) const -{ - std::copy(this->begin(), this->end(), pdest); -} - -template inline -const typename ArrayHandle::CType* ArrayHandle::data() const -{ - return parray_; -} - -template inline -size_t ArrayHandle::size() const -{ - return size_; -} - -template inline -bool ArrayHandle::empty() const -{ - return (size_ == 0); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - - -#endif /* _GLIBMM_ARRAYHANDLE_H */ - diff --git a/libs/glibmm2/glib/glibmm/checksum.cc b/libs/glibmm2/glib/glibmm/checksum.cc deleted file mode 100644 index ed4a2b7aa4..0000000000 --- a/libs/glibmm2/glib/glibmm/checksum.cc +++ /dev/null @@ -1,160 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -/* $Id$ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -Checksum::Checksum(ChecksumType type) -: gobject_(g_checksum_new((GChecksumType)type)) -{ -} - -Checksum::operator bool() const -{ - return gobject_ != 0; -} - -gssize Checksum::get_length(ChecksumType checksum_type) -{ - return g_checksum_type_get_length((GChecksumType)checksum_type); -} - -std::string Checksum::compute_checksum(ChecksumType type, const std::string& data) -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_compute_checksum_for_string(((GChecksumType)type), data.c_str(), data.size())); -} - -void Checksum::update(const std::string& data) -{ - g_checksum_update(gobj(), (const guchar*)data.c_str(), data.size()); -} - -} // Glib namespace - - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - -Glib::Checksum wrap(GChecksum* object, bool take_copy /* = false */) -{ - return Glib::Checksum(object, take_copy); -} - -} // namespace Glib - - -namespace Glib -{ - - -Checksum::Checksum() -: - gobject_ (0) // Allows creation of invalid wrapper, e.g. for output arguments to methods. -{} - -Checksum::Checksum(const Checksum& src) -: - gobject_ ((src.gobject_) ? g_checksum_copy(src.gobject_) : 0) -{} - -Checksum::Checksum(GChecksum* castitem, bool make_a_copy /* = false */) -{ - if(!make_a_copy) - { - // It was given to us by a function which has already made a copy for us to keep. - gobject_ = castitem; - } - else - { - // We are probably getting it via direct access to a struct, - // so we can not just take it - we have to take a copy of it. - if(castitem) - gobject_ = g_checksum_copy(castitem); - else - gobject_ = 0; - } -} - -Checksum& Checksum::operator=(const Checksum& src) -{ - GChecksum *const new_gobject = (src.gobject_) ? g_checksum_copy(src.gobject_) : 0; - - if(gobject_) - g_checksum_free(gobject_); - - gobject_ = new_gobject; - - return *this; -} - -Checksum::~Checksum() -{ - if(gobject_) - g_checksum_free(gobject_); -} - -GChecksum* Checksum::gobj_copy() const -{ - return g_checksum_copy(gobject_); -} - - -void Checksum::reset() -{ -g_checksum_reset(gobj()); -} - -void Checksum::update(const guchar* data, gsize length) -{ -g_checksum_update(gobj(), data, length); -} - -void Checksum::get_digest(guint8 * buffer, gsize * digest_len) const -{ -g_checksum_get_digest(const_cast(gobj()), buffer, digest_len); -} - -std::string Checksum::get_string() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_checksum_get_string(const_cast(gobj()))); -} - -std::string Checksum::compute_checksum(ChecksumType type, const guchar* data, gsize length) -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_compute_checksum_for_data(((GChecksumType)type), data, length)); -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/checksum.h b/libs/glibmm2/glib/glibmm/checksum.h deleted file mode 100644 index 56262baeca..0000000000 --- a/libs/glibmm2/glib/glibmm/checksum.h +++ /dev/null @@ -1,224 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_CHECKSUM_H -#define _GLIBMM_CHECKSUM_H - - -/* $Id$ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -#ifndef DOXYGEN_SHOUD_SKIP_THIS -extern "C" { typedef struct _GChecksum GChecksum; } -#endif - -namespace Glib -{ - -/** Computes the checksum for data. - * This is a generic API for computing checksums (or "digests") for a sequence of arbitrary bytes, - * using various hashing algorithms like MD5, SHA-1 and SHA-256. Checksums are commonly used in various environments and specifications. - * - * glibmm supports incremental checksums by calling update() as long as there's data available and then using get_string() - * or get_digest() to compute the checksum and return it either as a string in hexadecimal form, or as a raw sequence of bytes. - * To compute the checksum for binary blobs and NULL-terminated strings in one go, use the static compute_checksum() convenience functions(). - * - * @newin2p16 - */ -class Checksum -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef Checksum CppObjectType; - typedef GChecksum BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - Checksum(); - - // Use make_a_copy=true when getting it directly from a struct. - explicit Checksum(GChecksum* castitem, bool make_a_copy = false); - - Checksum(const Checksum& src); - Checksum& operator=(const Checksum& src); - - ~Checksum(); - - GChecksum* gobj() { return gobject_; } - const GChecksum* gobj() const { return gobject_; } - - ///Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. - GChecksum* gobj_copy() const; - -protected: - GChecksum* gobject_; - -private: - - -public: - - /** - * @class ChecksumType: - * @a CHECKSUM_MD5: Use the MD5 hashing algorithm - * @a CHECKSUM_SHA1: Use the SHA-1 hashing algorithm - * @a CHECKSUM_SHA256: Use the SHA-256 hashing algorithm - * - * The hashing algorithm to be used by Checksum when performing the - * digest of some data. - * - * Note that the ChecksumType enumeration may be extended at a later - * date to include new hashing algorithm types. - * - * @newin2p16 - */ - /** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - */ -enum ChecksumType -{ - CHECKSUM_MD5, - CHECKSUM_SHA1, - CHECKSUM_SHA256 -}; - - - /** Creates a new Checksum, using the checksum algorithm @a checksum_type. - * If the checksum_type is not known, then operator bool() will return false. - * - * @param type checksum type, one of defined above. - */ - explicit Checksum(ChecksumType checksum_type); - - /** Returns true if the Checksum object is valid. - * This will return false, for instance, if an unsupported checksum type was provided to the constructor. - */ - operator bool() const; - - - /** Resets the state of the @a checksum back to it's initial state. - * - * @newin2p18 - */ - void reset(); - - - /** Feeds @a data into an existing Checksum. The checksum must still be - * open, that is g_checksum_get_string() or g_checksum_get_digest() must - * not have been called on @a checksum. - * - * @newin2p16 - * @param data Buffer used to compute the checksum. - * @param length Size of the buffer, or -1 if it is a null-terminated string. - */ - void update(const guchar* data, gsize length); - - /** Feeds data into an existing Checksum. - * The checksum must still be open, that is get_string() or get_digest() must not have been called on the checksum. - * - * @param data Buffer used to compute the checksum - */ - void update(const std::string& data); - - - /** Gets the digest from @a checksum as a raw binary vector and places it - * into @a buffer. The size of the digest depends on the type of checksum. - * - * Once this function has been called, the Checksum is closed and can - * no longer be updated with g_checksum_update(). - * - * @newin2p16 - * @param buffer Output buffer. - * @param digest_len An inout parameter. The caller initializes it to the size of @a buffer. - * After the call it contains the length of the digest. - */ - void get_digest(guint8 *buffer, gsize *digest_len) const; - - - /** Gets the digest as an hexadecimal string. - * - * Once this function has been called the Checksum can no longer be - * updated with g_checksum_update(). - * @return The hexadecimal representation of the checksum. The - * returned string is owned by the checksum and should not be modified - * or freed. - * - * @newin2p16. - */ - std::string get_string() const; - - - /** Computes the checksum for a binary @a data of @a length. This is a - * convenience wrapper for g_checksum_new(), g_checksum_get_string() - * and g_checksum_free(). - * @param checksum_type A ChecksumType. - * @param data Binary blob to compute the digest of. - * @param length Length of @a data. - * @return The digest of the binary data as a string in hexadecimal. - * The returned string should be freed with g_free() when done using it. - * - * @newin2p16. - */ - static std::string compute_checksum(ChecksumType type, const guchar* data, gsize length); - - /** Computes the checksum of a string. - * - * @param checksum_type A ChecksumType - * @param str The string to compute the checksum of. - * @result The checksum as a hexadecimal string. - */ - static std::string compute_checksum(ChecksumType type, const std::string& str); - - - //We don't use _WRAP_METHOD because this is not really a GCheckSum function: - /** Gets the length in bytes of digests of type @a checksum_type. - * - * @param checksum_type A ChecksumType. - * @result The checksum length, or -1 if @a checksum_type is not supported. - */ - static gssize get_length(ChecksumType checksum_type); - - -}; - -} //namespace Glib - - -namespace Glib -{ - - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Glib::Checksum - */ -Glib::Checksum wrap(GChecksum* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GLIBMM_CHECKSUM_H */ - diff --git a/libs/glibmm2/glib/glibmm/class.cc b/libs/glibmm2/glib/glibmm/class.cc deleted file mode 100644 index 0606f431bb..0000000000 --- a/libs/glibmm2/glib/glibmm/class.cc +++ /dev/null @@ -1,117 +0,0 @@ -// -*- c++ -*- -/* $Id: class.cc 336 2006-10-04 12:06:14Z murrayc $ */ - -/* Copyright (C) 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace Glib -{ - -void Class::register_derived_type(GType base_type) -{ - if(gtype_) - return; // already initialized - - GTypeQuery base_query = { 0, 0, 0, 0, }; - g_type_query(base_type, &base_query); - - const GTypeInfo derived_info = - { - base_query.class_size, - 0, // base_init - 0, // base_finalize - class_init_func_, - 0, // class_finalize - 0, // class_data - base_query.instance_size, - 0, // n_preallocs - 0, // instance_init - 0, // value_table - }; - - Glib::ustring derived_name = "gtkmm__"; - derived_name += base_query.type_name; - - gtype_ = g_type_register_static(base_type, derived_name.c_str(), &derived_info, GTypeFlags(0)); -} - -GType Class::clone_custom_type(const char* custom_type_name) const -{ - std::string full_name ("gtkmm__CustomObject_"); - Glib::append_canonical_typename(full_name, custom_type_name); - - GType custom_type = g_type_from_name(full_name.c_str()); - - if(!custom_type) - { - g_return_val_if_fail(gtype_ != 0, 0); - - // Cloned custom types derive from the wrapper's parent type, - // so that g_type_class_peek_parent() works correctly. - const GType base_type = g_type_parent(gtype_); - - GTypeQuery base_query = { 0, 0, 0, 0, }; - g_type_query(base_type, &base_query); - - const GTypeInfo derived_info = - { - base_query.class_size, - 0, // base_init - 0, // base_finalize - &Class::custom_class_init_function, - 0, // class_finalize - this, // class_data - base_query.instance_size, - 0, // n_preallocs - 0, // instance_init - 0, // value_table - }; - - custom_type = g_type_register_static( - base_type, full_name.c_str(), &derived_info, GTypeFlags(0)); - } - - return custom_type; -} - -// static -void Class::custom_class_init_function(void* g_class, void* class_data) -{ - // The class_data pointer is set to 'this' by clone_custom_type(). - const Class *const self = static_cast(class_data); - - g_return_if_fail(self->class_init_func_ != 0); - - // Call the wrapper's class_init_function() to redirect - // the vfunc and default signal handler callbacks. - (*self->class_init_func_)(g_class, 0); - -#ifdef GLIBMM_PROPERTIES_ENABLED - GObjectClass *const gobject_class = static_cast(g_class); - gobject_class->get_property = &Glib::custom_get_property_callback; - gobject_class->set_property = &Glib::custom_set_property_callback; -#endif //GLIBMM_PROPERTIES_ENABLED -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/class.h b/libs/glibmm2/glib/glibmm/class.h deleted file mode 100644 index 96b58b5653..0000000000 --- a/libs/glibmm2/glib/glibmm/class.h +++ /dev/null @@ -1,77 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_CLASS_H -#define _GLIBMM_CLASS_H - -/* $Id: class.h 291 2006-05-12 08:08:45Z murrayc $ */ - -/* Copyright 2001 Free Software Foundation - * Copyright (C) 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include //Include this here so that the /private/*.h classes have access to GLIBMM_VFUNCS_ENABLED - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -namespace Glib -{ - -class Class -{ -public: - /* No constructor/destructor: - * Glib::Class objects are used only as static data, which would cause - * lots of ugly global constructor invocations. These are avoidable, - * because the C/C++ standard explicitly specifies that all _static_ data - * is zero-initialized at program start. - */ - //Class(); - //~Class(); - - //static void class_init_function(BaseClassType *p); - //static void object_init_function(BaseObjectType *o); - //GType get_type() = 0; //Creates the GType when this is first called. - - // Hook for translating API - //static Glib::Object* wrap_new(GObject*); - - inline GType get_type() const; - GType clone_custom_type(const char* custom_type_name) const; - -protected: - GType gtype_; - GClassInitFunc class_init_func_; - - void register_derived_type(GType base_type); - -private: - static void custom_class_init_function(void* g_class, void* class_data); -}; - -inline -GType Class::get_type() const -{ - return gtype_; -} - -} // namespace Glib - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#endif /* _GLIBMM_CLASS_H */ - diff --git a/libs/glibmm2/glib/glibmm/containerhandle_shared.h b/libs/glibmm2/glib/glibmm/containerhandle_shared.h deleted file mode 100644 index 04258b7ad4..0000000000 --- a/libs/glibmm2/glib/glibmm/containerhandle_shared.h +++ /dev/null @@ -1,357 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_CONTAINERHANDLE_SHARED_H -#define _GLIBMM_CONTAINERHANDLE_SHARED_H - -/* $Id: containerhandle_shared.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -#include -GLIBMM_USING_STD(forward_iterator_tag) -GLIBMM_USING_STD(random_access_iterator_tag) -GLIBMM_USING_STD(distance) -GLIBMM_USING_STD(copy) -GLIBMM_USING_STD(vector) -GLIBMM_USING_STD(deque) -GLIBMM_USING_STD(list) - - -namespace Glib -{ - -/** @defgroup ContHandles Generic container converters - */ - -/** - * @ingroup ContHandles - */ - -//! Ownership of the container -/*! Defines how and if the container will release the list and - * its elemens when it is destroyed - */ -enum OwnershipType -{ - OWNERSHIP_NONE = 0, /*!< Do not release anything */ - OWNERSHIP_SHALLOW, /*!< Release the list, but not its elements, when the container is deleted */ - OWNERSHIP_DEEP /*!< Release the list, and its elements, when the container is deleted. */ -}; - - -/** Utility class holding an iterator sequence. - * @ingroup ContHandles - * This can be used to initialize a Glib container handle (such as - * Glib::ArrayHandle) with an iterator sequence. Use the helper - * function Glib::sequence() to create a Sequence<> object. - */ -template -class Sequence -{ -private: - Iterator pbegin_; - Iterator pend_; - -public: - Sequence(Iterator pbegin, Iterator pend) - : pbegin_(pbegin), pend_(pend) {} - - Iterator begin() const { return pbegin_; } - Iterator end() const { return pend_; } - size_t size() const { return std::distance(pbegin_, pend_); } -}; - -/** Helper function to create a Glib::Sequence<> object, which - * in turn can be used to initialize a container handle. - * @ingroup ContHandles - * - * @par Usage example: - * @code - * combo.set_popdown_strings(Glib::sequence(foo_begin, foo_end)); - * @endcode - */ -template inline -Sequence sequence(Iterator pbegin, Iterator pend) -{ - return Sequence(pbegin, pend); -} - - -namespace Container_Helpers -{ - -/** @defgroup ContHelpers Helper classes - * @ingroup ContHandles - */ - -/** Generic TypeTraits implementation. - * @ingroup ContHelpers - * This can be used if the C++ type is the same as the C type, or if implicit - * conversions between the types are available. Also, the types are required - * to implement copy-by-value semantics. (Ownership is just ignored.) - */ -template -struct TypeTraits -{ - typedef T CppType; - typedef T CType; - typedef T CTypeNonConst; - - static CType to_c_type (const CppType& item) { return item; } - static CppType to_cpp_type (const CType& item) { return item; } - static void release_c_type (const CType&) {} -}; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS /* hide the specializations */ - -//For some (proably, more spec-compliant) compilers, these specializations must -//be next to the objects that they use. -#ifdef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION - -/** Partial specialization for pointers to GtkObject instances. - * @ingroup ContHelpers - */ -template -struct TypeTraits -{ - typedef T * CppType; - typedef typename T::BaseObjectType * CType; - typedef typename T::BaseObjectType * CTypeNonConst; - - static CType to_c_type (CppType ptr) { return Glib::unwrap(ptr); } - static CType to_c_type (CType ptr) { return ptr; } - static CppType to_cpp_type (CType ptr) - { - //We copy/paste the widget wrap() implementation here, - //because we can not use a specific Glib::wrap(T_Impl) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = (GObject*)ptr; - return dynamic_cast(Glib::wrap_auto(cobj, false /* take_copy */)); - } - - static void release_c_type (CType ptr) - { - GLIBMM_DEBUG_UNREFERENCE(0, ptr); - g_object_unref(ptr); - } -}; - -//This confuse the SUN Forte compiler, so we ifdef it out: -#ifdef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -/** Partial specialization for pointers to const GtkObject instances. - * @ingroup ContHelpers - */ -template -struct TypeTraits -{ - typedef const T * CppType; - typedef const typename T::BaseObjectType * CType; - typedef typename T::BaseObjectType * CTypeNonConst; - - static CType to_c_type (CppType ptr) { return Glib::unwrap(ptr); } - static CType to_c_type (CType ptr) { return ptr; } - static CppType to_cpp_type (CType ptr) - { - //We copy/paste the widget wrap() implementation here, - //because we can not use a specific Glib::wrap(T_Impl) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = (GObject*)const_cast(ptr); - return dynamic_cast(Glib::wrap_auto(cobj, false /* take_copy */)); - } - - static void release_c_type (CType ptr) - { - GLIBMM_DEBUG_UNREFERENCE(0, ptr); - g_object_unref(const_cast(ptr)); - } -}; -#endif //GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -/** Partial specialization for pointers to GObject instances. - * @ingroup ContHelpers - * The C++ type is always a Glib::RefPtr<>. - */ -template -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef typename T::BaseObjectType * CType; - typedef typename T::BaseObjectType * CTypeNonConst; - - static CType to_c_type (const CppType& ptr) { return Glib::unwrap(ptr); } - static CType to_c_type (CType ptr) { return ptr; } - static CppType to_cpp_type (CType ptr) - { - //return Glib::wrap(ptr, true); - - //We copy/paste the wrap() implementation here, - //because we can not use a specific Glib::wrap(CType) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = (GObject*)const_cast(ptr); - return Glib::RefPtr( dynamic_cast(Glib::wrap_auto(cobj, true /* take_copy */)) ); - //We use dynamic_cast<> in case of multiple inheritance. - } - - static void release_c_type (CType ptr) - { - GLIBMM_DEBUG_UNREFERENCE(0, ptr); - g_object_unref(ptr); - } -}; - -//This confuse the SUN Forte compiler, so we ifdef it out: -#ifdef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -/** Partial specialization for pointers to const GObject instances. - * @ingroup ContHelpers - * The C++ type is always a Glib::RefPtr<>. - */ -template -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef const typename T::BaseObjectType * CType; - typedef typename T::BaseObjectType * CTypeNonConst; - - static CType to_c_type (const CppType& ptr) { return Glib::unwrap(ptr); } - static CType to_c_type (CType ptr) { return ptr; } - static CppType to_cpp_type (CType ptr) - { - //return Glib::wrap(ptr, true); - - //We copy/paste the wrap() implementation here, - //because we can not use a specific Glib::wrap(CType) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = (GObject*)(ptr); - return Glib::RefPtr( dynamic_cast(Glib::wrap_auto(cobj, true /* take_copy */)) ); - //We use dynamic_cast<> in case of multiple inheritance. - } - - static void release_c_type (CType ptr) - { - GLIBMM_DEBUG_UNREFERENCE(0, ptr); - g_object_unref(const_cast(ptr)); - } -}; - -#endif //GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -#endif //GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION - -/** Specialization for UTF-8 strings. - * @ingroup ContHelpers - * When converting from C++ to C, Glib::ustring will be accepted as well as - * std::string and 'const char*'. However, when converting to the C++ side, - * the output type cannot be 'const char*'. - */ -template <> -struct TypeTraits -{ - typedef Glib::ustring CppType; - typedef const char * CType; - typedef char * CTypeNonConst; - - static CType to_c_type (const Glib::ustring& str) { return str.c_str(); } - static CType to_c_type (const std::string& str) { return str.c_str(); } - static CType to_c_type (CType str) { return str; } - - static CppType to_cpp_type(CType str) - { return (str) ? Glib::ustring(str) : Glib::ustring(); } - - static void release_c_type(CType str) - { g_free(const_cast(str)); } -}; - -/** Specialization for std::string. - * @ingroup ContHelpers - * When converting from C++ to C, std::string will be accepted as well as - * 'const char*'. However, when converting to the C++ side, the output type - * cannot be 'const char*'. - */ -template <> -struct TypeTraits -{ - typedef std::string CppType; - typedef const char * CType; - typedef char * CTypeNonConst; - - static CType to_c_type (const std::string& str) { return str.c_str(); } - static CType to_c_type (const Glib::ustring& str) { return str.c_str(); } - static CType to_c_type (CType str) { return str; } - - static CppType to_cpp_type(CType str) - { return (str) ? std::string(str) : std::string(); } - - static void release_c_type(CType str) - { g_free(const_cast(str)); } -}; - -/** Specialization for bool. - * @ingroup ContHelpers - */ -template <> -struct TypeTraits -{ - typedef bool CppType; - typedef gboolean CType; - typedef gboolean CTypeNonConst; - - static CType to_c_type (CppType item) { return static_cast(item); } - static CType to_c_type (CType item) { return item; } - static CppType to_cpp_type (CType item) { return (item != 0); } - static void release_c_type (CType) {} -}; - -#ifndef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - -/* The STL containers in Sun's libCstd don't support templated sequence - * constructors, for "backward compatibility" reasons. This helper function - * is used in the ContainerHandle -> STL-container conversion workarounds. - */ -template -void fill_container(Cont& container, In pbegin, In pend) -{ - for(; pbegin != pend; ++pbegin) - container.push_back(*pbegin); -} - -#endif /* GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS */ -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Container_Helpers - -} // namespace Glib - -#endif /* _GLIBMM_CONTAINERHANDLE_SHARED_H */ diff --git a/libs/glibmm2/glib/glibmm/containers.cc b/libs/glibmm2/glib/glibmm/containers.cc deleted file mode 100644 index 29f5b9aa0b..0000000000 --- a/libs/glibmm2/glib/glibmm/containers.cc +++ /dev/null @@ -1,33 +0,0 @@ -// -*- c++ -*- - -/* $Id: containers.cc 2 2003-01-07 16:59:16Z murrayc $ */ - -/* containers.h - * - * Copyright (C) 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Glib -{ - -gpointer glibmm_null_pointer=0; - - -} //namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/containers.h b/libs/glibmm2/glib/glibmm/containers.h deleted file mode 100644 index 9faa6cc4e5..0000000000 --- a/libs/glibmm2/glib/glibmm/containers.h +++ /dev/null @@ -1,371 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_CONTAINERS_H -#define _GLIBMM_CONTAINERS_H - -/* $Id: containers.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* containers.h - * - * Copyright (C) 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include /* for backward compatibility */ - -#include -#include - -GLIBMM_USING_STD(bidirectional_iterator_tag) -GLIBMM_USING_STD(forward_iterator_tag) - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -namespace Glib -{ - -template class List_Iterator; -template class List_ConstIterator; -template class List_ReverseIterator; - -// Most of these methods in the non-template classes needs to be moved -// to implementation. - -//Daniel Elstner has ideas about generating these per-widget with m4. murrayc. - - -extern GLIBMM_API gpointer glibmm_null_pointer; - -template -class List_Iterator_Base -{ -public: - typedef T value_type; - typedef T* pointer; - typedef T& reference; -} ; - -///For instance, List_Iterator< Gtk::Widget > -template -class List_Iterator : public List_Iterator_Base -{ -public: - typedef std::bidirectional_iterator_tag iterator_category; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - - typedef typename List_Iterator_Base::pointer pointer; - typedef typename List_Iterator_Base::reference reference; - - GList* const* head_; - GList* node_; - - typedef List_Iterator Self; - - List_Iterator(GList* const& head, GList* node) - : head_(&head), node_(node) - {} - - List_Iterator() - : head_(0), node_(0) - {} - - List_Iterator(const Self& src) - : head_(src.head_), node_(src.node_) - {} - - bool operator==(const Self& src) const { return node_ == src.node_; } - bool operator!=(const Self& src) const { return node_ != src.node_; } - - Self& operator++() - { - if (!node_) - node_ = g_list_first(*head_); - else - node_ = (GList*)g_list_next(node_); - return *this; - } - - Self operator++(int) - { - Self tmp = *this; - ++*this; - return tmp; - } - - Self& operator--() - { - if (!node_) - node_ = g_list_last(*head_); - else - node_ = (GList*)g_list_previous(node_); - - return *this; - } - - Self operator--(int) - { - Self tmp = *this; - --*this; - return tmp; - } - - reference operator*() const - { - return *(pointer)( node_ ? node_->data : glibmm_null_pointer ); - } - - pointer operator -> () const { return &operator*(); } -}; - -///For instance, SList_Iterator< Gtk::Widget > -template -class SList_Iterator : public List_Iterator_Base -{ -public: - typedef std::forward_iterator_tag iterator_category; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - - typedef typename List_Iterator_Base::pointer pointer; - typedef typename List_Iterator_Base::reference reference; - - GSList* node_; - typedef SList_Iterator Self; - - SList_Iterator(GSList* node) - : node_(node) - {} - - SList_Iterator() - : node_(0) - {} - - SList_Iterator(const Self& src) - : node_(src.node_) - {} - - bool operator==(const Self& src) const { return node_ == src.node_; } - bool operator!=(const Self& src) const { return node_ != src.node_; } - - Self& operator++() - { - node_ = g_slist_next(node_); - return *this; - } - - Self operator++(int) - { - Self tmp = *this; - ++*this; - return tmp; - } - - reference operator*() const - { - //g++ complains that this statement has no effect: g_assert(node_); - return reinterpret_cast( node_ ? node_->data : glibmm_null_pointer ); - } - - pointer operator -> () const { return &operator*(); } -}; - - -// This iterator variation returns T_IFace (wrapped from T_Impl) -// For instance, List_Cpp_Iterator is a little like std::list::iterator -template -class List_Cpp_Iterator : public List_Iterator_Base -{ -public: - typedef std::bidirectional_iterator_tag iterator_category; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - - typedef typename List_Iterator_Base::pointer pointer; - typedef typename List_Iterator_Base::reference reference; - - typedef List_Cpp_Iterator Self; - - GList** head_; - GList* node_; - - bool operator==(const Self& src) const { return node_ == src.node_; } - bool operator!=(const Self& src) const { return node_ != src.node_; } - - List_Cpp_Iterator(GList*& head, GList* node ) - : head_(&head), node_(node ) - {} - - List_Cpp_Iterator() - : head_(0), node_(0) - {} - - List_Cpp_Iterator(const Self& src) - : head_(src.head_), node_(src.node_) - {} - - reference operator*() const - { - if (node_ && node_->data) - { - //We copy/paste the widget wrap() implementation here, - //because we can not use a specific Glib::wrap(T_Impl) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = static_cast( (*node_).data ); - - #ifdef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION - return *(dynamic_cast(Glib::wrap_auto(cobj, false /* take_copy */))); - #else - //We really do need to use dynamic_cast<>, so I expect problems if this code is used. murrayc. - return *(static_cast(Glib::wrap_auto(cobj, false /* take_copy */))); - #endif - - } - - return *(pointer)glibmm_null_pointer; - } - - pointer operator->() const { return &operator*(); } - - Self& operator++() - { - if (!node_) - node_ = g_list_first(*head_); - else - node_ = (GList *)g_list_next(node_); - - return *this; - } - - Self operator++(int) - { - Self tmp = *this; - ++*this; - return tmp; - } - - Self& operator--() - { - if (!node_) - node_ = g_list_last(*head_); - else - node_ = (GList *)g_list_previous(node_); - - return *this; - } - - Self operator--(int) - { - Self tmp = *this; - --*this; - return tmp; - } - -}; - -template -class List_ReverseIterator: private T_Base -{ -public: - typedef typename T_Base::iterator_category iterator_category; - typedef typename T_Base::size_type size_type; - typedef typename T_Base::difference_type difference_type; - - typedef typename T_Base::value_type value_type; - typedef typename T_Base::pointer pointer; - typedef typename T_Base::reference reference; - - typedef List_ReverseIterator Self; - - bool operator==(const Self& src) const { return T_Base::operator==(src); } - bool operator!=(const Self& src) const { return T_Base::operator!=(src); } - - List_ReverseIterator(GList* const& head, GList* node) - : T_Base(head, node) - {} - - List_ReverseIterator() - : T_Base() - {} - - List_ReverseIterator(const Self& src) - : T_Base(src) - {} - - List_ReverseIterator(const T_Base& src) - : T_Base(src) - { ++(*this); } - - - Self& operator++() {T_Base::operator--(); return *this;} - Self& operator--() {T_Base::operator++(); return *this;} - Self operator++(int) {Self src = *this; T_Base::operator--(); return src;} - Self operator--(int) {Self src = *this; T_Base::operator++(); return src;} - - reference operator*() const { return T_Base::operator*(); } - pointer operator->() const { return T_Base::operator->(); } -}; - -template -class List_ConstIterator: public T_Base -{ -public: - typedef typename T_Base::iterator_category iterator_category; - typedef typename T_Base::size_type size_type; - typedef typename T_Base::difference_type difference_type; - - typedef const typename T_Base::value_type value_type; - typedef const typename T_Base::pointer pointer; - typedef const typename T_Base::reference reference; - - typedef List_ConstIterator Self; - - bool operator==(const Self& src) const { return T_Base::operator==(src); } - bool operator!=(const Self& src) const { return T_Base::operator!=(src); } - - List_ConstIterator(GList* const& head, GList* node) - : T_Base(head, node) - {} - - List_ConstIterator() - : T_Base() - {} - - List_ConstIterator(const Self& src) - : T_Base(src) - {} - - List_ConstIterator(const T_Base& src) - : T_Base(src) - {} - - Self& operator++() {T_Base::operator++(); return *this;} - Self& operator--() {T_Base::operator--(); return *this;} - Self operator++(int) {Self src = *this; T_Base::operator++(); return src;} - Self operator--(int) {Self src = *this; T_Base::operator--(); return src;} - - reference operator*() const { return T_Base::operator*(); } - pointer operator->() const { return T_Base::operator->(); } -}; - -} // namespace Glib - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -#endif /* _GLIBMM_CONTAINERS_H */ - diff --git a/libs/glibmm2/glib/glibmm/convert.cc b/libs/glibmm2/glib/glibmm/convert.cc deleted file mode 100644 index 9f2bc110de..0000000000 --- a/libs/glibmm2/glib/glibmm/convert.cc +++ /dev/null @@ -1,437 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: convert.ccg,v 1.4 2006/06/05 17:32:14 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //For g_assert() in glib >= 2.15.0 -//#include //For g_assert() in glib < 2.15.0 -#include //For g_assert() in all versions of glib. - -#include - - -namespace Glib -{ - -/**** Glib::IConv **********************************************************/ - -IConv::IConv(const std::string& to_codeset, const std::string& from_codeset) -: - gobject_ (g_iconv_open(to_codeset.c_str(), from_codeset.c_str())) -{ - if(gobject_ == reinterpret_cast(-1)) - { - GError* gerror = 0; - - // Abuse g_convert() to create a GError object. This may seem a weird - // thing to do, but it gives us consistently translated error messages - // at no further cost. - g_convert("", 0, to_codeset.c_str(), from_codeset.c_str(), 0, 0, &gerror); - - // If this should ever fail we're fucked. - g_assert(gerror != 0); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -IConv::IConv(GIConv gobject) -: - gobject_ (gobject) -{} - -IConv::~IConv() -{ - g_iconv_close(gobject_); -} - -size_t IConv::iconv(char** inbuf, gsize* inbytes_left, char** outbuf, gsize* outbytes_left) -{ - return g_iconv(gobject_, inbuf, inbytes_left, outbuf, outbytes_left); -} - -void IConv::reset() -{ - // Apparently iconv() on Solaris <= 7 segfaults if you pass in - // NULL for anything but inbuf; work around that. (NULL outbuf - // or NULL *outbuf is allowed by Unix98.) - - char* outbuf = 0; - gsize inbytes_left = 0; - gsize outbytes_left = 0; - - g_iconv(gobject_, 0, &inbytes_left, &outbuf, &outbytes_left); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string IConv::convert(const std::string& str) -#else -std::string IConv::convert(const std::string& str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert_with_iconv( - str.data(), str.size(), gobject_, 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -/**** charset conversion functions *****************************************/ - -bool get_charset() -{ - return g_get_charset(0); -} - -bool get_charset(std::string& charset) -{ - const char* charset_cstr = 0; - const bool is_utf8 = g_get_charset(&charset_cstr); - - charset = charset_cstr; - return is_utf8; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset) -#else -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert( - str.data(), str.size(), to_codeset.c_str(), from_codeset.c_str(), - 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset) -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert_with_fallback( - str.data(), str.size(), to_codeset.c_str(), from_codeset.c_str(), 0, - 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback) -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert_with_fallback( - str.data(), str.size(), to_codeset.c_str(), from_codeset.c_str(), - const_cast(fallback.c_str()), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring locale_to_utf8(const std::string& opsys_string) -#else -Glib::ustring locale_to_utf8(const std::string& opsys_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_locale_to_utf8( - opsys_string.data(), opsys_string.size(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - const ScopedPtr scoped_buf (buf); - return Glib::ustring(scoped_buf.get(), scoped_buf.get() + bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string locale_from_utf8(const Glib::ustring& utf8_string) -#else -std::string locale_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_locale_from_utf8( - utf8_string.data(), utf8_string.bytes(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_utf8(const std::string& opsys_string) -#else -Glib::ustring filename_to_utf8(const std::string& opsys_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_filename_to_utf8( - opsys_string.data(), opsys_string.size(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - const ScopedPtr scoped_buf (buf); - return Glib::ustring(scoped_buf.get(), scoped_buf.get() + bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_utf8(const Glib::ustring& utf8_string) -#else -std::string filename_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_filename_from_utf8( - utf8_string.data(), utf8_string.bytes(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname) -#else -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - char* hostname_buf = 0; - GError* gerror = 0; - - char *const buf = g_filename_from_uri(uri.c_str(), &hostname_buf, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - // Let's take ownership at this point. - const ScopedPtr scoped_buf (buf); - - if(hostname_buf) - hostname = ScopedPtr(hostname_buf).get(); - else - hostname.erase(); - - return std::string(scoped_buf.get()); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri) -#else -std::string filename_from_uri(const Glib::ustring& uri, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char *const buf = g_filename_from_uri(uri.c_str(), 0, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get()); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname) -#else -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char *const buf = g_filename_to_uri(filename.c_str(), hostname.c_str(), &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return Glib::ustring(ScopedPtr(buf).get()); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename) -#else -Glib::ustring filename_to_uri(const std::string& filename, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char *const buf = g_filename_to_uri(filename.c_str(), 0, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return Glib::ustring(ScopedPtr(buf).get()); -} - -Glib::ustring filename_display_basename(const std::string& filename) -{ - char *const buf = g_filename_display_basename(filename.c_str()); - - return Glib::ustring(ScopedPtr(buf).get()); -} - - -Glib::ustring filename_display_name(const std::string& filename) -{ - char *const buf = g_filename_display_name(filename.c_str()); - - return Glib::ustring(ScopedPtr(buf).get()); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::ConvertError::ConvertError(Glib::ConvertError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_CONVERT_ERROR, error_code, error_message) -{} - -Glib::ConvertError::ConvertError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::ConvertError::Code Glib::ConvertError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::ConvertError::throw_func(GError* gobject) -{ - throw Glib::ConvertError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::ConvertError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::ConvertError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/convert.h b/libs/glibmm2/glib/glibmm/convert.h deleted file mode 100644 index 84c0b99773..0000000000 --- a/libs/glibmm2/glib/glibmm/convert.h +++ /dev/null @@ -1,361 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_CONVERT_H -#define _GLIBMM_CONVERT_H - - -/* $Id: convert.hg,v 1.5 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include /* for gsize */ - -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GIConv* GIConv; } -#endif - - -namespace Glib -{ - -/** @defgroup CharsetConv Character Set Conversion - * Utility functions for converting strings between different character sets. - * @{ - */ - -/** Exception class for charset conversion errors. - * Glib::convert() and friends throw a ConvertError exception if the charset - * conversion failed for some reason. When writing non-trivial applications - * you should always catch those errors, and then try to recover, or tell the - * user the input was invalid. - */ -class ConvertError : public Glib::Error -{ -public: - enum Code - { - NO_CONVERSION, - ILLEGAL_SEQUENCE, - FAILED, - PARTIAL_INPUT, - BAD_URI, - NOT_ABSOLUTE_PATH - }; - - ConvertError(Code error_code, const Glib::ustring& error_message); - explicit ConvertError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** Thin %iconv() wrapper. - * glibmm provides Glib::convert() and Glib::locale_to_utf8() which - * are likely more convenient than the raw iconv wrappers. However, - * creating an IConv object once and using the convert() method could - * be useful when converting multiple times between the same charsets. - */ -class IConv -{ -public: - /** Open new conversion descriptor. - * @param to_codeset Destination codeset. - * @param from_codeset %Source codeset. - * @throw Glib::ConvertError - */ - IConv(const std::string& to_codeset, const std::string& from_codeset); - - explicit IConv(GIConv gobject); - - /** Close conversion descriptor. - */ - ~IConv(); - - /** Same as the standard UNIX routine %iconv(), but may be implemented - * via libiconv on UNIX flavors that lack a native implementation. glibmm - * provides Glib::convert() and Glib::locale_to_utf8() which are likely - * more convenient than the raw iconv wrappers. - * @param inbuf Bytes to convert. - * @param inbytes_left In/out parameter, bytes remaining to convert in @a inbuf. - * @param outbuf Converted output bytes. - * @param outbytes_left In/out parameter, bytes available to fill in @a outbuf. - * @return Count of non-reversible conversions, or static_cast(-1) on error. - */ - size_t iconv(char** inbuf, gsize* inbytes_left, char** outbuf, gsize* outbytes_left); - - /** Reset conversion descriptor to initial state. - * Same as iconv(0, 0, 0, 0), but implemented slightly differently - * in order to work on Sun Solaris <= 7. It's also more obvious so you're - * encouraged to use it. - */ - void reset(); - - /** Convert from one encoding to another. - * @param str The string to convert. - * @return The converted string. - * @throw Glib::ConvertError - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - std::string convert(const std::string& str); - #else - std::string convert(const std::string& str, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - GIConv gobj() { return gobject_; } - -private: - GIConv gobject_; - - // noncopyable - IConv(const IConv&); - IConv& operator=(const IConv&); -}; - - -/** Get the charset used by the current locale. - * @return Whether the current locale uses the UTF-8 charset. - */ -bool get_charset(); - -/** Get the charset used by the current locale. - * @param charset Will be filled with the charset's name. - * @return Whether the current locale uses the UTF-8 charset. - */ -bool get_charset(std::string& charset); - -/** Convert from one encoding to another. - * @param str The string to convert. - * @param to_codeset Name of the target charset. - * @param from_codeset Name of the source charset. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset); -#else -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string from one character set to another, possibly including - * fallback sequences for characters not representable in the output. - * Characters not in the target encoding will be represented as Unicode - * escapes \\x{XXXX} or \\x{XXXXXX}. - * @param str The string to convert. - * @param to_codeset Name of the target charset. - * @param from_codeset Name of the source charset. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset); -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string from one character set to another, possibly including - * fallback sequences for characters not representable in the output. - * @note It is not guaranteed that the specification for the fallback sequences - * in @a fallback will be honored. Some systems may do a approximate conversion - * from @a from_codeset to @a to_codeset in their iconv() functions, in which - * case Glib will simply return that approximate conversion. - * - * @param str The string to convert. - * @param to_codeset Name of the target charset. - * @param from_codeset Name of the source charset. - * @param fallback UTF-8 string to be used in place of characters which aren't - * available in the target encoding. All characters in the fallback string - * @em must be available in the target encoding. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback); -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Convert from the current locale's encoding to UTF-8. - * Convenience wrapper around Glib::convert(). - * @param opsys_string The string to convert. Must be encoded in the charset - * used by the operating system's current locale. - * @return The input string converted to UTF-8 encoding. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring locale_to_utf8(const std::string& opsys_string); -#else -Glib::ustring locale_to_utf8(const std::string& opsys_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Convert from UTF-8 to the current locale's encoding. - * Convenience wrapper around Glib::convert(). - * @param utf8_string The UTF-8 string to convert. - * @return The input string converted to the charset used by the operating - * system's current locale. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string locale_from_utf8(const Glib::ustring& utf8_string); -#else -std::string locale_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string which is in the encoding used for filenames into - * a UTF-8 string. - * @param opsys_string A string in the encoding for filenames. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_utf8(const std::string& opsys_string); -#else -Glib::ustring filename_to_utf8(const std::string& opsys_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string from UTF-8 to the encoding used for filenames. - * @param utf8_string A UTF-8 encoded string. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_utf8(const Glib::ustring& utf8_string); -#else -std::string filename_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an escaped UTF-8 encoded URI to a local filename - * in the encoding used for filenames. - * @param uri A string in the encoding for filenames. - * @param hostname Location to store hostname for the URI. If there is no - * hostname in the URI, "" will be stored in this location. - * @return The resulting filename. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname); -#else -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an escaped UTF-8 encoded URI to a local filename in the encoding - * used for filenames. - * @param uri A string in the encoding for filenames. - * @return The resulting filename. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri); -#else -std::string filename_from_uri(const Glib::ustring& uri, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an absolute filename to an escaped UTF-8 encoded URI. - * @param filename An absolute filename specified in the encoding used - * for filenames by the operating system. - * @param hostname A UTF-8 encoded hostname. - * @return The resulting URI. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname); -#else -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an absolute filename to an escaped UTF-8 encoded URI. - * @param filename An absolute filename specified in the encoding used - * for filenames by the operating system. - * @return The resulting URI. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename); -#else -Glib::ustring filename_to_uri(const std::string& filename, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Returns the display basename for the particular filename, guaranteed - * to be valid UTF-8. The display name might not be identical to the filename, - * for instance there might be problems converting it to UTF-8, and some files - * can be translated in the display - * - * You must pass the whole absolute pathname to this function so that - * translation of well known locations can be done. - * - * This function is preferred over filename_display_name() if you know the - * whole path, as it allows translation. - * - * @param filename An absolute pathname in the GLib file name encoding. - * @result A string containing a rendition of the basename of the filename in valid UTF-8 - */ -Glib::ustring filename_display_basename(const std::string& filename); - -/** Converts a filename into a valid UTF-8 string. The - * conversion is not necessarily reversible, so you - * should keep the original around and use the return - * value of this function only for display purposes. - * Unlike g_filename_to_utf8(), the result is guaranteed - * to be non-empty even if the filename actually isn't in the GLib - * file name encoding. - * - * If you know the whole pathname of the file you should use - * g_filename_display_basename(), since that allows location-based - * translation of filenames. - * - * @param filename: a pathname hopefully in the GLib file name encoding - * @result A string containing a rendition of the filename in valid UTF-8. - */ -Glib::ustring filename_display_name(const std::string& filename); - -/** @} group CharsetConv */ - -} // namespace Glib - - -#endif /* _GLIBMM_CONVERT_H */ - diff --git a/libs/glibmm2/glib/glibmm/date.cc b/libs/glibmm2/glib/glibmm/date.cc deleted file mode 100644 index dab4d50983..0000000000 --- a/libs/glibmm2/glib/glibmm/date.cc +++ /dev/null @@ -1,403 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: date.ccg,v 1.7 2006/07/16 13:54:02 jjongsma Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //For g_assert() in glib >= 2.15.0 -//#include //For g_assert() in glib < 2.15.0 -#include //For g_assert() in all versions of glib. - -#include -#include - -#include -#include - -#include -GLIBMM_USING_STD(max) - -namespace Glib -{ - -Date::Date() -{ - g_date_clear(&gobject_, 1); -} - -Date::Date(Date::Day day, Date::Month month, Date::Year year) -{ - g_date_clear(&gobject_, 1); - g_date_set_dmy(&gobject_, day, (GDateMonth) month, year); -} - -Date::Date(guint32 julian_day) -{ - g_date_clear(&gobject_, 1); - g_date_set_julian(&gobject_, julian_day); -} - -Date::Date(const GDate& castitem) -: - gobject_ (castitem) -{} - -Date::Date(const Date& other) -{ - g_date_clear(&gobject_, 1); - g_date_set_julian(&gobject_, other.get_julian()); -} - -Date& Date::operator=(const Date& other) -{ - if (&other != this) - g_date_set_julian(&gobject_, other.get_julian()); - - return *this; -} - -void Date::clear() -{ - g_date_clear(&gobject_, 1); -} - -void Date::set_parse(const Glib::ustring& str) -{ - g_date_set_parse(&gobject_, str.c_str()); -} - - -#ifndef GLIBMM_DISABLE_DEPRECATED - - -//Avoid a build problem in the case that time_t is equivalent to guint32 (GTime is also guint32) -//That would make the set_time() method overload impossible. -#ifdef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 -void Date::set_time(GTime time) -{ - //This method, and the C function that it wraps, are deprecated. - g_date_set_time(&gobject_, time); -} -#endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 - -#endif // GLIBMM_DISABLE_DEPRECATED - - -void Date::set_time(time_t timet) -{ - g_date_set_time_t(&gobject_, timet); -} - -void Date::set_time_current() -{ - //As suggested in the C documentation: - g_date_set_time_t(&gobject_, time(NULL)); -} - -void Date::set_time(const GTimeVal& timeval) -{ - g_date_set_time_val(&gobject_, const_cast(&timeval)); -} - -void Date::set_month(Date::Month month) -{ - g_date_set_month(&gobject_, (GDateMonth) month); -} - -void Date::set_day(Date::Day day) -{ - g_date_set_day(&gobject_, day); -} - -void Date::set_year(Date::Year year) -{ - g_date_set_year(&gobject_, year); -} - -void Date::set_dmy(Date::Day day, Date::Month month, Date::Year year) -{ - g_date_set_dmy(&gobject_, day, (GDateMonth) month, year); -} - -void Date::set_julian(guint32 julian_day) -{ - g_date_set_julian(&gobject_, julian_day); -} - -Date& Date::add_days(int n_days) -{ - if(n_days >= 0) - g_date_add_days(&gobject_, n_days); - else - g_date_subtract_days(&gobject_, -n_days); - return *this; -} - -Date& Date::subtract_days(int n_days) -{ - if(n_days >= 0) - g_date_subtract_days(&gobject_, n_days); - else - g_date_add_days(&gobject_, -n_days); - return *this; -} - -Date& Date::add_months(int n_months) -{ - if(n_months >= 0) - g_date_add_months(&gobject_, n_months); - else - g_date_subtract_months(&gobject_, -n_months); - return *this; -} - -Date& Date::subtract_months(int n_months) -{ - if(n_months >= 0) - g_date_subtract_months(&gobject_, n_months); - else - g_date_add_months(&gobject_, -n_months); - return *this; -} - -Date& Date::add_years(int n_years) -{ - if(n_years >= 0) - g_date_add_years(&gobject_, n_years); - else - g_date_subtract_years(&gobject_, -n_years); - return *this; -} - -Date& Date::subtract_years(int n_years) -{ - if(n_years >= 0) - g_date_subtract_years(&gobject_, n_years); - else - g_date_add_years(&gobject_, -n_years); - return *this; -} - -int Date::days_between(const Date& rhs) const -{ - return g_date_days_between(&gobject_, &rhs.gobject_); -} - -int Date::compare(const Date& rhs) const -{ - return g_date_compare(&gobject_, &rhs.gobject_); -} - -Date& Date::clamp(const Date& min_date, const Date& max_date) -{ - g_date_clamp(&gobject_, &min_date.gobject_, &max_date.gobject_); - return *this; -} - -Date& Date::clamp_min(const Date& min_date) -{ - g_date_clamp(&gobject_, &min_date.gobject_, 0 /* see the C docs */); - return *this; -} - -Date& Date::clamp_max(const Date& max_date) -{ - g_date_clamp(&gobject_, 0 /* see the C docs */, &max_date.gobject_); - return *this; -} - -void Date::order(Date& other) -{ - g_date_order(&gobject_, &other.gobject_); -} - -Date::Weekday Date::get_weekday() const -{ - return (Date::Weekday) g_date_get_weekday(&gobject_); -} - -Date::Month Date::get_month() const -{ - return (Date::Month) g_date_get_month(&gobject_); -} - -Date::Year Date::get_year() const -{ - return g_date_get_year(&gobject_); -} - -Date::Day Date::get_day() const -{ - return g_date_get_day(&gobject_); -} - -guint32 Date::get_julian() const -{ - return g_date_get_julian(&gobject_); -} - -unsigned int Date::get_day_of_year() const -{ - return g_date_get_day_of_year(&gobject_); -} - -unsigned int Date::get_monday_week_of_year() const -{ - return g_date_get_monday_week_of_year(&gobject_); -} - -unsigned int Date::get_sunday_week_of_year() const -{ - return g_date_get_sunday_week_of_year(&gobject_); -} - -bool Date::is_first_of_month() const -{ - return g_date_is_first_of_month(&gobject_); -} - -bool Date::is_last_of_month() const -{ - return g_date_is_last_of_month(&gobject_); -} - -//static -guint8 Date::get_days_in_month(Date::Month month, Date::Year year) -{ - return g_date_get_days_in_month((GDateMonth) month, year); -} - -//static -guint8 Date::get_monday_weeks_in_year(Date::Year year) -{ - return g_date_get_monday_weeks_in_year(year); -} - -//static -guint8 Date::get_sunday_weeks_in_year(Date::Year year) -{ - return g_date_get_sunday_weeks_in_year(year); -} - -//static -bool Date::is_leap_year(Date::Year year) -{ - return g_date_is_leap_year(year); -} - -Glib::ustring Date::format_string(const Glib::ustring& format) const -{ - struct tm tm_data; - g_date_to_struct_tm(&gobject_, &tm_data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - const std::string locale_format = locale_from_utf8(format); - #else - std::auto_ptr error; //TODO: Check it? - const std::string locale_format = locale_from_utf8(format, error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - gsize bufsize = std::max(2 * locale_format.size(), 128); - - do - { - const ScopedPtr buf (static_cast(g_malloc(bufsize))); - - // Set the first byte to something other than '\0', to be able to - // recognize whether strftime actually failed or just returned "". - buf.get()[0] = '\1'; - const gsize len = strftime(buf.get(), bufsize, locale_format.c_str(), &tm_data); - - if(len != 0 || buf.get()[0] == '\0') - { - g_assert(len < bufsize); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - return locale_to_utf8(std::string(buf.get(), len)); - #else - std::auto_ptr error; //TODO: Check it? - return locale_to_utf8(std::string(buf.get(), len), error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - while((bufsize *= 2) <= 65536); - - // This error is quite unlikely (unless strftime is buggy). - g_warning("Glib::Date::format_string(): maximum size of strftime buffer exceeded, giving up"); - - return Glib::ustring(); -} - -void Date::to_struct_tm(struct tm& dest) const -{ - g_date_to_struct_tm(&gobject_, &dest); -} - -bool Date::valid() const -{ - return g_date_valid(&gobject_); -} - -//static -bool Date::valid_day(Date::Day day) -{ - return g_date_valid_day(day); -} - -//static -bool Date::valid_month(Date::Month month) -{ - return g_date_valid_month((GDateMonth) month); -} - -//static -bool Date::valid_year(Date::Year year) -{ - return g_date_valid_year(year); -} - -//static -bool Date::valid_weekday(Date::Weekday weekday) -{ - return g_date_valid_weekday((GDateWeekday) weekday); -} - -//static -bool Date::valid_julian(guint32 julian_day) -{ - return g_date_valid_julian(julian_day); -} - -//static -bool Date::valid_dmy(Date::Day day, Date::Month month, Date::Year year) -{ - return g_date_valid_dmy(day, (GDateMonth) month, year); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - diff --git a/libs/glibmm2/glib/glibmm/date.h b/libs/glibmm2/glib/glibmm/date.h deleted file mode 100644 index cedd6bc18d..0000000000 --- a/libs/glibmm2/glib/glibmm/date.h +++ /dev/null @@ -1,498 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_DATE_H -#define _GLIBMM_DATE_H - - -/* $Id: date.hg,v 1.6 2005/11/29 15:53:27 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - - #undef G_DISABLE_DEPRECATED //So we can use deprecated functions in our deprecated methods. - -#include - -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { struct tm; } -#endif - -namespace Glib -{ - -/** Julian calendar date. - */ -class Date -{ -public: - typedef guint8 Day; - typedef guint16 Year; - - /** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - */ -enum Month -{ - BAD_MONTH, - JANUARY, - FEBRUARY, - MARCH, - APRIL, - MAY, - JUNE, - JULY, - AUGUST, - SEPTEMBER, - OCTOBER, - NOVEMBER, - DECEMBER -}; - - - /** - * @ingroup glibmmEnums - */ -enum Weekday -{ - BAD_WEEKDAY, - MONDAY, - TUESDAY, - WEDNESDAY, - THURSDAY, - FRIDAY, - SATURDAY, - SUNDAY -}; - - - /** - * @ingroup glibmmEnums - */ -enum DMY -{ - DAY, - MONTH, - YEAR -}; - - - static const Day BAD_DAY = 0; - static const Year BAD_YEAR = 0; - static const guint32 BAD_JULIAN = 0; - - /** Construct an undefined date. - */ - Date(); - - /** Construct a date with the given day, month and year. - * @param day The day. - * @param month The month. - * @param year The year. - */ - Date(Day day, Month month, Year year); - - /** Construct a date from a julian day. - * @param julian_day The julian day (guint32). - */ - explicit Date(guint32 julian_day); - - /** Construct a Glib::Date by copying the contents of a GDate. - * @param castitem The GDate. - * - * @newin2p18 - */ - explicit Date(const GDate& castitem); - - /** Construct a Glib::Date from another. - * @param other the other Glib::Date. - * - * @newin2p18 - */ - Date(const Date& other); - - /** Assign another date to this one. For example: - * @code - * ... - * Glib::Date my_date; - * my_date = other_date; - * @endcode - * - * @param other The other Glib::Date. - * - * @newin2p18 - */ - Date& operator=(const Date& other); - - /// Provides access to the underlying C instance. - GDate* gobj() { return &gobject_; } - - /// Provides access to the underlying C instance. - const GDate* gobj() const { return &gobject_; } - -private: - GDate gobject_; - -public: - /** Clear the date. The cleared dates will not represent an existing date, - * but will not contain garbage. - */ - void clear(); - - /** Parses a user-inputted string str, and try to figure out what date it represents, taking the current locale into account. If the string is successfully parsed, the date will be valid after the call. Otherwise, it will be invalid. - * This function is not appropriate for file formats and the like; it isn't very precise, and its exact behavior varies with the locale. It's intended to be a heuristic routine that guesses what the user means by a given string (and it does work pretty well in that capacity). - * @param str String to parse. - */ - void set_parse (const Glib::ustring& str); - - - #ifndef GLIBMM_DISABLE_DEPRECATED - - - //Avoid a build problem in the case that time_t is equivalent to guint32 (GTime is also guint32) - //That would make the set_time() method overload impossible. - #ifdef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 - /** Sets the value of a date from a GTime (time_t) value. - * - * @param time GTime value to set. - * - * @deprecated Please use set_time(time_t) or set_time(const GTimeVal&). - */ - void set_time(GTime time); - #endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 - - #endif // GLIBMM_DISABLE_DEPRECATED - - - /** Sets the value of a date from a time_t value. - * - * @param timet time_t value to set - * - * @see set_time_current() - * - * Since: 2.10 - */ - void set_time(time_t timet); - - /** Sets the value of a date from a GTimeVal value. Note that the - * tv_usec member is ignored, because Glib::Date can't make use of the - * additional precision. - * - * @see set_time_current() - * - * @param timeval GTimeVal value to set - * - * Since: 2.10 - */ - void set_time(const GTimeVal& timeval); - - /** Set this Glib::Date to the current time. - */ - void set_time_current(); - - /** Sets the month of the year. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param month Month to set. - */ - void set_month(Month month); - - /** Sets the day of the month. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param day Day to set. - */ - void set_day(Day day); - - /** Sets the year. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param year Year to set. - */ - void set_year(Year year); - - /** Sets the value of a day, month, and year.. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param day Day to set. - * @param month Month to set. - * @param year Year to set. - */ - void set_dmy(Day day, Month month, Year year); - - /** Sets the value of a GDate from a Julian day number. - * @param julian_day Julian day to set. - */ - void set_julian(guint32 julian_day); - - //TODO: Why return Date& (which is always *this) from these methods? - //Isn't it enough to also change the current instance? - //murrayc - - /** Add a number of days to a Date. - * @param n_days Days to add. - * @return Resulting Date - */ - Date& add_days(int n_days); - - /** Subtract n_days to a Date. - * @param n_days Days to subtract. - * @return Resulting Date - */ - Date& subtract_days(int n_days); - - /** Add n_months to a Date. - * @param n_months Months to add. - * @return Resulting Date - */ - Date& add_months(int n_months); - - /** Subtract n_months to a Date. - * @param n_months Months to subtract. - * @return Resulting Date - */ - Date& subtract_months(int n_months); - - /** Add n_days to a Date. - * @param n_years Years to add. - * @return Resulting Date - */ - Date& add_years(int n_years); - - /** Subtract n_years to a Date. - * @param n_years Years to subtract. - * @return Resulting Date - */ - Date& subtract_years(int n_years); - - /** Calculate days between two dates. - * @param rhs Date. - * @return Numbers of days. - */ - int days_between(const Date& rhs) const; - - /** Compare two dates. - * @param rhs Date to compare. - * @return Result of comparition. - */ - int compare(const Date& rhs) const; - - /** If date is prior to min_date, sets date equal to min_date. - * If date falls after max_date, sets date equal to max_date. All dates must be valid. - * See also clamp_min() and clamp_max(). - * @param min_date Date minimum value. - * @param max_date Date maximum value. - * @return Date in interval. - */ - Date& clamp(const Date& min_date, const Date& max_date); - - /** If date is prior to min_date, sets date equal to min_date. - * See also clamp(), and clamp_max(). - * @param min_date Date minimum value. - * @return Date in interval. - */ - Date& clamp_min(const Date& min_date); - - /** If date falls after max_date, sets date equal to max_date. - * See also clamp(), and clamp_min(). - * @param max_date Date maximum value. - * @return Date in interval. - */ - Date& clamp_max(const Date& max_date); - - /** Checks if date is less than or equal to other date, and swap the values if this is not the case. - * @param other Date ro compare. - * @return Date. - */ - void order(Date& other); - - /** Returns the day of the week for a Date. The date must be valid. - * @return Day of the week as a Date::Weekday. - */ - Weekday get_weekday() const; - - /** Returns the month of the year. The date must be valid. - * @return Month of the year as a Date::Month. - */ - Month get_month() const; - - /** Returns the year of a Date. The date must be valid. - * @return Year in which the date falls. - */ - Year get_year() const; - - /** Returns the day of the month. The date must be valid. - * @return Day of the month.. - */ - Day get_day() const; - - /** Returns the Julian day or "serial number" of the Date. - * The Julian day is simply the number of days since January 1, Year 1; - * i.e., January 1, Year 1 is Julian day 1; January 2, Year 1 is Julian day 2, etc. - * The date must be valid. - * @return Julian day. - */ - guint32 get_julian() const; - - /** Returns the day of the year, where Jan 1 is the first day of the year. - * The date must be valid. - * @return Julian day. - */ - unsigned int get_day_of_year() const; - - /** Returns the week of the year, where weeks are understood to start on Monday. - * If the date is before the first Monday of the year, return 0. - * The date must be valid. - * @return Week of the year. - */ - unsigned int get_monday_week_of_year() const; - - /** Returns the week of the year during which this date falls, if weeks are understood to being on Sunday. - * Can return 0 if the day is before the first Sunday of the year. - * The date must be valid. - * @return Week of the year. - */ - unsigned int get_sunday_week_of_year() const; - - /** Returns true if the date is on the first of a month. - * The date must be valid. - * @return true if the date is the first of the month. - */ - bool is_first_of_month() const; - - /** Returns true if the date is the last day of the month. - * The date must be valid. - * @return true if the date is the last day of the month. - */ - bool is_last_of_month() const; - - /** Returns the number of days in a month, taking leap years into account. - * @param month Month. - * @param year Year. - * @return Number of days in month during the year. - */ - static guint8 get_days_in_month(Month month, Year year); - - /** Returns the number of weeks in the year, where weeks are taken to start on Monday. Will be 52 or 53. - * (Years always have 52 7-day periods, plus 1 or 2 extra days depending on whether it's a leap year. This function is basically telling you how many Mondays are in the year, i.e. there are 53 Mondays if one of the extra days happens to be a Monday.) - * @param year Year to count weeks in. - * @return Number of weeks. - */ - static guint8 get_monday_weeks_in_year(Year year); - - /** Returns the number of weeks in the year, where weeks are taken to start on Sunday. Will be 52 or 53. - * (Years always have 52 7-day periods, plus 1 or 2 extra days depending on whether it's a leap year. This function is basically telling you how many Sundays are in the year, i.e. there are 53 Sundays if one of the extra days happens to be a Sunday.) - * @param year Year to count weeks in. - * @return Number of weeks. - */ - static guint8 get_sunday_weeks_in_year(Year year); - - /** Returns true if the year is a leap year. - * @param year Year to check. - * @return true if the year is a leap year. - */ - static bool is_leap_year(Year year); - - /** Convert date to string. - * @param format A format string as used by @c strftime(), in UTF-8 - * encoding. Only date formats are allowed, the result of time formats - * is undefined. - * @return The formatted date string. - * @throw Glib::ConvertError - */ - Glib::ustring format_string(const Glib::ustring& format) const; - - /** Fills in the date-related bits of a struct tm using the date value. Initializes the non-date parts with something sane but meaningless. - * @param dest Struct tm to fill. - */ - void to_struct_tm(struct tm& dest) const; - - /** Returns true if the Date represents an existing day. - * @return true if the date is valid. - */ - bool valid() const; - - /** Returns true if the day of the month is valid (a day is valid if it's between 1 and 31 inclusive). - * @param day Day to check. - * @return true if the day is valid. - */ - static bool valid_day(Day day); - - /** Returns true if the month value is valid. The 12 Date::Month enumeration values are the only valid months. - * @param month Month to check. - * @return true if the month is valid. - */ - static bool valid_month(Month month); - - - /** Returns true if the year is valid. - * Any year greater than 0 is valid, though there is a 16-bit limit to what Date will understand. - * @param year Year to check. - * @return true if the year is valid. - */ - static bool valid_year(Year year); - - /** Returns true if the weekday is valid. - * The 7 Date::Weekday enumeration values are the only valid. - * @param weekday Weekday to check. - * @return true if the weekday is valid. - */ - static bool valid_weekday(Weekday weekday); - - /** Returns true if the Julian day is valid. - * Anything greater than zero is basically a valid Julian, though there is a 32-bit limit. - * @param julian_day Julian day to check. - * @return true if the Julian day is valid. - */ - static bool valid_julian(guint32 julian_day); - - - /** Returns true if the day-month-year triplet forms a valid, existing day in the range of days Date understands (Year 1 or later, no more than a few thousand years in the future). - * @param day Day to check. - * @param month Month to check. - * @param year Year to check. - * @return true if the date is a valid one. - */ - static bool valid_dmy(Day day, Month month, Year year); -}; - - -/** @relates Glib::Date */ -inline bool operator==(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) == 0); } - -/** @relates Glib::Date */ -inline bool operator!=(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) != 0); } - -/** @relates Glib::Date */ -inline bool operator<(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) < 0); } - -/** @relates Glib::Date */ -inline bool operator>(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) > 0); } - -/** @relates Glib::Date */ -inline bool operator<=(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) <= 0); } - -/** @relates Glib::Date */ -inline bool operator>=(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) >= 0); } - -} // namespace Glib - - -#endif /* _GLIBMM_DATE_H */ - diff --git a/libs/glibmm2/glib/glibmm/debug.cc b/libs/glibmm2/glib/glibmm/debug.cc deleted file mode 100644 index 65f3c18719..0000000000 --- a/libs/glibmm2/glib/glibmm/debug.cc +++ /dev/null @@ -1,21 +0,0 @@ -/* $Id: debug.cc 2 2003-01-07 16:59:16Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - diff --git a/libs/glibmm2/glib/glibmm/debug.h b/libs/glibmm2/glib/glibmm/debug.h deleted file mode 100644 index 1b7033b38d..0000000000 --- a/libs/glibmm2/glib/glibmm/debug.h +++ /dev/null @@ -1,83 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_DEBUG_H -#define _GLIBMM_DEBUG_H - -/* $Id: debug.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -// Some stuff that's useful when debugging gtkmm internals: - -#ifdef GLIBMM_DEBUG_REFCOUNTING - -/* We can't use G_GNUC_PRETTY_FUNCTION because it's always disabled in C++, - * even though __PRETTY_FUNCTION__ works fine in C++ as well if you use it - * right (i.e. concatenation with string literals isn't allowed). - */ -#ifdef __GNUC__ -#define GLIBMM_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ -#else -#define GLIBMM_GNUC_PRETTY_FUNCTION "" -#endif - -#define GLIBMM_DEBUG_REFERENCE(cppInstance, cInstance) \ - G_STMT_START{ \ - void *const cppInstance__ = (void*) (cppInstance); \ - void *const cInstance__ = (void*) (cInstance); \ - g_log(G_LOG_DOMAIN, \ - G_LOG_LEVEL_DEBUG, \ - "file %s: line %d (%s):\n" \ - "ref: C++ instance: %p; C instance: %p, ref_count = %u, type = %s\n", \ - __FILE__, \ - __LINE__, \ - GLIBMM_GNUC_PRETTY_FUNCTION, \ - cppInstance__, \ - cInstance__, \ - G_OBJECT(cInstance__)->ref_count, \ - G_OBJECT_TYPE_NAME(cInstance__)); \ - }G_STMT_END - -#define GLIBMM_DEBUG_UNREFERENCE(cppInstance, cInstance) \ - G_STMT_START{ \ - void *const cppInstance__ = (void*) (cppInstance); \ - void *const cInstance__ = (void*) (cInstance); \ - g_log(G_LOG_DOMAIN, \ - G_LOG_LEVEL_DEBUG, \ - "file %s: line %d (%s):\n" \ - "unref: C++ instance: %p; C instance: %p, ref_count = %u, type = %s\n", \ - __FILE__, \ - __LINE__, \ - GLIBMM_GNUC_PRETTY_FUNCTION, \ - cppInstance__, \ - cInstance__, \ - G_OBJECT(cInstance__)->ref_count, \ - G_OBJECT_TYPE_NAME(cInstance__)); \ - }G_STMT_END - -#else - -#define GLIBMM_DEBUG_REFERENCE(cppInstance,cInstance) G_STMT_START{ (void)0; }G_STMT_END -#define GLIBMM_DEBUG_UNREFERENCE(cppInstance,cInstance) G_STMT_START{ (void)0; }G_STMT_END - -#endif /* GLIBMM_DEBUG_REFCOUNTING */ - -#endif /* _GLIBMM_DEBUG_H */ - diff --git a/libs/glibmm2/glib/glibmm/dispatcher.cc b/libs/glibmm2/glib/glibmm/dispatcher.cc deleted file mode 100644 index 4cf57b6384..0000000000 --- a/libs/glibmm2/glib/glibmm/dispatcher.cc +++ /dev/null @@ -1,464 +0,0 @@ -// -*- c++ -*- -/* $Id: dispatcher.cc 370 2007-01-20 10:53:28Z daniel $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - -#include -#include -#include - -#ifdef G_OS_WIN32 -# include -# include -# include -# include -#else -# include -#endif - -// EINTR is not defined on Tru64. I have tried including these: -// #include -// #include -// #include -// danielk: I think someone should just do a grep on a Tru64 box. Googling -// for "tru64 EINTR" returns lots of hits telling me that handling EINTR is -// actually a requirement on Tru64. So it must exist. -#if defined(_tru64) && !defined(EINTR) -# define EINTR 0 /* TODO: should use the real define */ -#endif - -namespace -{ - -struct DispatchNotifyData -{ - Glib::Dispatcher* dispatcher; - Glib::DispatchNotifier* notifier; - - DispatchNotifyData() - : dispatcher (0), notifier (0) {} - - DispatchNotifyData(Glib::Dispatcher* d, Glib::DispatchNotifier* n) - : dispatcher (d), notifier (n) {} -}; - -static void warn_failed_pipe_io(const char* what) -{ -#ifdef G_OS_WIN32 - const char *const message = g_win32_error_message(GetLastError()); -#else - const char *const message = g_strerror(errno); -#endif - g_critical("Error in inter-thread communication: %s() failed: %s", what, message); -} - -#ifdef G_OS_WIN32 - -static void fd_close_and_invalidate(HANDLE& fd) -{ - if(fd != 0) - { - if(!CloseHandle(fd)) - warn_failed_pipe_io("CloseHandle"); - - fd = 0; - } -} -#else /* !G_OS_WIN32 */ -/* - * Set the close-on-exec flag on the file descriptor, - * so that it won't be leaked if a new process is spawned. - */ -static void fd_set_close_on_exec(int fd) -{ - const int flags = fcntl(fd, F_GETFD, 0); - - if(flags < 0 || fcntl(fd, F_SETFD, unsigned(flags) | FD_CLOEXEC) < 0) - warn_failed_pipe_io("fcntl"); -} - -static void fd_close_and_invalidate(int& fd) -{ - if(fd >= 0) - { - int result; - - do - result = close(fd); - while(G_UNLIKELY(result < 0) && errno == EINTR); - - if(G_UNLIKELY(result < 0)) - warn_failed_pipe_io("close"); - - fd = -1; - } -} -#endif /* !G_OS_WIN32 */ - -} // anonymous namespace - -namespace Glib -{ - -class DispatchNotifier : public sigc::trackable -{ -public: - ~DispatchNotifier(); - - static DispatchNotifier* reference_instance(const Glib::RefPtr& context); - static void unreference_instance(DispatchNotifier* notifier); - - void send_notification(Dispatcher* dispatcher); - -protected: - // Only used by reference_instance(). Should be private, but that triggers - // a silly gcc warning even though DispatchNotifier has static methods. - explicit DispatchNotifier(const Glib::RefPtr& context); - -private: - static Glib::StaticPrivate thread_specific_instance_; - - long ref_count_; - Glib::RefPtr context_; -#ifdef G_OS_WIN32 - Glib::Mutex mutex_; - std::list notify_queue_; - HANDLE fd_receiver_; -#else - int fd_receiver_; - int fd_sender_; -#endif - - void create_pipe(); - bool pipe_io_handler(Glib::IOCondition condition); - - // noncopyable - DispatchNotifier(const DispatchNotifier&); - DispatchNotifier& operator=(const DispatchNotifier&); -}; - -/**** Glib::DispatchNotifier ***********************************************/ - -// static -Glib::StaticPrivate -DispatchNotifier::thread_specific_instance_ = GLIBMM_STATIC_PRIVATE_INIT; - -DispatchNotifier::DispatchNotifier(const Glib::RefPtr& context) -: - ref_count_ (0), - context_ (context), -#ifdef G_OS_WIN32 - mutex_ (), - notify_queue_ (), - fd_receiver_ (0) -#else - fd_receiver_ (-1), - fd_sender_ (-1) -#endif -{ - create_pipe(); - -#if defined(GLIBMM_EXCEPTIONS_ENABLED) - try -#elif defined(G_OS_WIN32) - if(fd_receiver_) -#else - if(fd_receiver_ >= 0) -#endif - { -#ifdef G_OS_WIN32 - const int fd = GPOINTER_TO_INT(fd_receiver_); -#else - const int fd = fd_receiver_; -#endif - context_->signal_io().connect(sigc::mem_fun(*this, &DispatchNotifier::pipe_io_handler), - fd, Glib::IO_IN); - } -#ifdef GLIBMM_EXCEPTIONS_ENABLED - catch(...) - { -# ifndef G_OS_WIN32 - fd_close_and_invalidate(fd_sender_); -# endif - fd_close_and_invalidate(fd_receiver_); - - throw; - } -#endif /* GLIBMM_EXCEPTIONS_ENABLED */ -} - -DispatchNotifier::~DispatchNotifier() -{ -#ifndef G_OS_WIN32 - fd_close_and_invalidate(fd_sender_); -#endif - fd_close_and_invalidate(fd_receiver_); -} - -void DispatchNotifier::create_pipe() -{ -#ifdef G_OS_WIN32 - - // On Win32, create a synchronization object instead of a pipe and store - // its handle as fd_receiver_. Use a manual-reset event object, so that - // we can closely match the behavior on Unix in pipe_io_handler(). - const HANDLE event = CreateEvent(0, TRUE, FALSE, 0); - - if(!event) - { -# ifdef GLIBMM_EXCEPTIONS_ENABLED - GError* const error = g_error_new(G_FILE_ERROR, G_FILE_ERROR_FAILED, - "Failed to create event for inter-thread communication: %s", - g_win32_error_message(GetLastError())); - throw Glib::FileError(error); -# else - warn_failed_pipe_io("CreateEvent"); // TODO: see below - return; -# endif - } - - fd_receiver_ = event; - -#else /* !G_OS_WIN32 */ - - int filedes[2] = { -1, -1 }; - - if(pipe(filedes) < 0) - { -# ifdef GLIBMM_EXCEPTIONS_ENABLED - GError* const error = g_error_new(G_FILE_ERROR, g_file_error_from_errno(errno), - "Failed to create pipe for inter-thread communication: %s", - g_strerror(errno)); - throw Glib::FileError(error); -# else - // TODO: Provide an alternative to the exception. This is not trivial - // from within a constructor, though. One possibility would be to add - // a Glib::Dispatcher::valid() method which returns whether construction - // was successful. - warn_failed_pipe_io("pipe"); - return; -# endif - } - - fd_set_close_on_exec(filedes[0]); - fd_set_close_on_exec(filedes[1]); - - fd_receiver_ = filedes[0]; - fd_sender_ = filedes[1]; - -#endif /* !G_OS_WIN32 */ -} - -// static -DispatchNotifier* DispatchNotifier::reference_instance(const Glib::RefPtr& context) -{ - DispatchNotifier* instance = thread_specific_instance_.get(); - - if(!instance) - { - instance = new DispatchNotifier(context); - thread_specific_instance_.set(instance); - } - else - { - // Prevent massive mess-up. - g_return_val_if_fail(instance->context_ == context, 0); - } - - ++instance->ref_count_; // initially 0 - - return instance; -} - -// static -void DispatchNotifier::unreference_instance(DispatchNotifier* notifier) -{ - DispatchNotifier *const instance = thread_specific_instance_.get(); - - // Yes, the notifier argument is only used to check for sanity. - g_return_if_fail(instance == notifier); - - if(--instance->ref_count_ <= 0) - { - g_return_if_fail(instance->ref_count_ == 0); // could be < 0 if messed up - - // This causes deletion of the notifier object. - thread_specific_instance_.set(0); - } -} - -void DispatchNotifier::send_notification(Dispatcher* dispatcher) -{ -#ifdef G_OS_WIN32 - { - const Mutex::Lock lock (mutex_); - - const bool was_empty = notify_queue_.empty(); - notify_queue_.push_back(DispatchNotifyData(dispatcher, this)); - - if(was_empty) - { - // The event will stay in signaled state until it is reset - // in pipe_io_handler() after processing the last queued event. - if(!SetEvent(fd_receiver_)) - warn_failed_pipe_io("SetEvent"); - } - } -#else /* !G_OS_WIN32 */ - - DispatchNotifyData data (dispatcher, this); - gssize n_written; - - do - n_written = write(fd_sender_, &data, sizeof(data)); - while(G_UNLIKELY(n_written < 0) && errno == EINTR); - - // All data must be written in a single call to write(), otherwise we cannot - // guarantee reentrancy since another thread might be scheduled between two - // write() calls. From the glibc manual: - // - // "Reading or writing pipe data is atomic if the size of data written is not - // greater than PIPE_BUF. This means that the data transfer seems to be an - // instantaneous unit, in that nothing else in the system can observe a state - // in which it is partially complete. Atomic I/O may not begin right away (it - // may need to wait for buffer space or for data), but once it does begin it - // finishes immediately." - // - // The minimum value allowed by POSIX for PIPE_BUF is 512, so we are on safe - // grounds here. - - if(G_UNLIKELY(n_written != sizeof(data))) - warn_failed_pipe_io("write"); - -#endif /* !G_OS_WIN32 */ -} - -bool DispatchNotifier::pipe_io_handler(Glib::IOCondition) -{ - DispatchNotifyData data; - -#ifdef G_OS_WIN32 - { - const Mutex::Lock lock (mutex_); - - // Should never be empty at this point, but let's allow for bogus - // notifications with no data available anyway; just to be safe. - if(notify_queue_.empty()) - { - if(!ResetEvent(fd_receiver_)) - warn_failed_pipe_io("ResetEvent"); - - return true; - } - - data = notify_queue_.front(); - notify_queue_.pop_front(); - - // Handle only a single event with each invocation of the I/O handler, - // and reset to nonsignaled state only after the last event in the queue - // has been processed. This matches the behavior on Unix. - if(notify_queue_.empty()) - { - if(!ResetEvent(fd_receiver_)) - warn_failed_pipe_io("ResetEvent"); - } - } -#else /* !G_OS_WIN32 */ - - gssize n_read; - - do - n_read = read(fd_receiver_, &data, sizeof(data)); - while(G_UNLIKELY(n_read < 0) && errno == EINTR); - - // Pipe I/O of a block size not greater than PIPE_BUF should be atomic. - // See the comment on atomicity in send_notification() for details. - if(G_UNLIKELY(n_read != sizeof(data))) - { - // Should probably never be zero, but for safety let's allow for bogus - // notifications when no data is actually available. Although in fact - // the read() should block in that case. - if(n_read != 0) - warn_failed_pipe_io("read"); - - return true; - } -#endif /* !G_OS_WIN32 */ - - g_return_val_if_fail(data.notifier == this, true); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - // Actually, we wouldn't need the try/catch block because the Glib::Source - // C callback already does it for us. However, we do it anyway because the - // default return value is 'false', which is not what we want. - try -#endif - { - data.dispatcher->signal_(); // emit - } -#ifdef GLIBMM_EXCEPTIONS_ENABLED - catch(...) - { - Glib::exception_handlers_invoke(); - } -#endif - - return true; -} - -/**** Glib::Dispatcher *****************************************************/ - -Dispatcher::Dispatcher() -: - signal_ (), - notifier_ (DispatchNotifier::reference_instance(MainContext::get_default())) -{} - -Dispatcher::Dispatcher(const Glib::RefPtr& context) -: - signal_ (), - notifier_ (DispatchNotifier::reference_instance(context)) -{} - -Dispatcher::~Dispatcher() -{ - DispatchNotifier::unreference_instance(notifier_); -} - -void Dispatcher::emit() -{ - notifier_->send_notification(this); -} - -void Dispatcher::operator()() -{ - notifier_->send_notification(this); -} - -sigc::connection Dispatcher::connect(const sigc::slot& slot) -{ - return signal_.connect(slot); -} - -} // namespace Glib diff --git a/libs/glibmm2/glib/glibmm/dispatcher.h b/libs/glibmm2/glib/glibmm/dispatcher.h deleted file mode 100644 index 4f638d7992..0000000000 --- a/libs/glibmm2/glib/glibmm/dispatcher.h +++ /dev/null @@ -1,108 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_DISPATCHER_H -#define _GLIBMM_DISPATCHER_H - -/* $Id: dispatcher.h 370 2007-01-20 10:53:28Z daniel $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class DispatchNotifier; -#endif - -/** Signal class for inter-thread communication. - * @ingroup Threads - * Glib::Dispatcher works similar to sigc::signal. But unlike normal - * signals, the notification happens asynchronously through a pipe. This is - * a simple and efficient way of communicating between threads, and especially - * useful in a thread model with a single GUI thread. - * - * No mutex locking is involved, apart from the operating system's internal - * I/O locking. That implies some usage rules: - * - * @li Only one thread may connect to the signal and receive notification, but - * multiple senders are allowed even without locking. - * @li The GLib main loop must run in the receiving thread (this will be the - * GUI thread usually). - * @li The Dispatcher object must be instantiated by the receiver thread. - * @li The Dispatcher object should be instantiated before creating any of the - * sender threads, if you want to avoid extra locking. - * - * Notes about performance: - * - * @li After instantiation, Glib::Dispatcher will never lock any mutexes on its - * own. The interaction with the GLib main loop might involve locking on the - * @em receiver side. The @em sender side, however, is guaranteed not to lock, - * except for internal locking in the %write() system call. - * @li All Dispatcher instances of a receiver thread share the same pipe. That - * is, if you use Glib::Dispatcher only to notify the GUI thread, only one pipe - * is created no matter how many Dispatcher objects you have. - * - * Using Glib::Dispatcher on Windows: - * - * Glib::Dispatcher also works on win32-based systems. Unfortunately though, - * the implementation cannot use a pipe on win32 and therefore does have to - * lock a mutex on emission, too. However, the impact on performance is - * likely minor and the notification still happens asynchronously. Apart - * from the additional lock the behavior matches the Unix implementation. - */ -class Dispatcher -{ -public: - /** Create new Dispatcher instance using the default main context. - * @throw Glib::FileError - */ - Dispatcher(); - - /** Create new Dispatcher instance using an arbitrary main context. - * @throw Glib::FileError - */ - explicit Dispatcher(const Glib::RefPtr& context); - ~Dispatcher(); - - void emit(); - void operator()(); - - sigc::connection connect(const sigc::slot& slot); - -private: - sigc::signal signal_; - DispatchNotifier* notifier_; - - // noncopyable - Dispatcher(const Dispatcher&); - Dispatcher& operator=(const Dispatcher&); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - friend class Glib::DispatchNotifier; -#endif -}; - -/*! A Glib::Dispatcher example. - * @example thread/dispatcher.cc - */ - -} // namespace Glib - -#endif /* _GLIBMM_DISPATCHER_H */ diff --git a/libs/glibmm2/glib/glibmm/error.cc b/libs/glibmm2/glib/glibmm/error.cc deleted file mode 100644 index d4de84b98a..0000000000 --- a/libs/glibmm2/glib/glibmm/error.cc +++ /dev/null @@ -1,199 +0,0 @@ -// -*- c++ -*- -/* $Id: error.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* error.cc - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //For g_assert() in glib >= 2.15.0 -//#include //For g_assert() in glib < 2.15.0 -#include //For g_assert() in all versions of glib. - -#include -#include -#include -#include - -GLIBMM_USING_STD(map) - -namespace -{ - -typedef std::map ThrowFuncTable; - -static ThrowFuncTable* throw_func_table = 0; - -} // anonymous namespace - - -namespace Glib -{ - -Error::Error() -: - gobject_ (0) -{} - -Error::Error(GQuark domain, int code, const Glib::ustring& message) -: - gobject_ (g_error_new_literal(domain, code, message.c_str())) -{} - -Error::Error(GError* gobject, bool take_copy) -: - gobject_ ((take_copy && gobject) ? g_error_copy(gobject) : gobject) -{} - -Error::Error(const Error& other) -: - Exception(other), - gobject_ ((other.gobject_) ? g_error_copy(other.gobject_) : 0) -{} - -Error& Error::operator=(const Error& other) -{ - if(gobject_ != other.gobject_) - { - if(gobject_) - { - g_error_free(gobject_); - gobject_ = 0; - } - if(other.gobject_) - { - gobject_ = g_error_copy(other.gobject_); - } - } - return *this; -} - -Error::~Error() throw() -{ - if(gobject_) - g_error_free(gobject_); -} - -GQuark Error::domain() const -{ - g_return_val_if_fail(gobject_ != 0, 0); - - return gobject_->domain; -} - -int Error::code() const -{ - g_return_val_if_fail(gobject_ != 0, -1); - - return gobject_->code; -} - -Glib::ustring Error::what() const -{ - g_return_val_if_fail(gobject_ != 0, ""); - g_return_val_if_fail(gobject_->message != 0, ""); - - return gobject_->message; -} - -bool Error::matches(GQuark domain, int code) const -{ - return g_error_matches(gobject_, domain, code); -} - -GError* Error::gobj() -{ - return gobject_; -} - -const GError* Error::gobj() const -{ - return gobject_; -} - -void Error::propagate(GError** dest) -{ - g_propagate_error(dest, gobject_); - gobject_ = 0; -} - -// static -void Error::register_init() -{ - if(!throw_func_table) - { - throw_func_table = new ThrowFuncTable(); - Glib::wrap_init(); // make sure that at least the Glib exceptions are registered - } -} - -// static -void Error::register_cleanup() -{ - if(throw_func_table) - { - delete throw_func_table; - throw_func_table = 0; - } -} - -// static -void Error::register_domain(GQuark domain, Error::ThrowFunc throw_func) -{ - g_assert(throw_func_table != 0); - - (*throw_func_table)[domain] = throw_func; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -// static, noreturn -void Error::throw_exception(GError* gobject) -#else -std::auto_ptr Error::throw_exception(GError* gobject) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - g_assert(gobject != 0); - - // Just in case Gtk::Main hasn't been instantiated yet. - if(!throw_func_table) - register_init(); - - if(const ThrowFunc throw_func = (*throw_func_table)[gobject->domain]) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - (*throw_func)(gobject); - #else - return (*throw_func)(gobject); - #endif //GLIBMM_EXCEPTIONS_ENABLED - g_assert_not_reached(); - } - - g_warning("Glib::Error::throw_exception():\n " - "unknown error domain '%s': throwing generic Glib::Error exception\n", - (gobject->domain) ? g_quark_to_string(gobject->domain) : "(null)"); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - // Doesn't copy, because error-returning functions return a newly allocated GError for us. - throw Glib::Error(gobject); -#else - return std::auto_ptr(new Glib::Error(gobject)); -#endif //GLIBMM_EXCEPTIONS_ENABLED -} - - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/error.h b/libs/glibmm2/glib/glibmm/error.h deleted file mode 100644 index 354096966e..0000000000 --- a/libs/glibmm2/glib/glibmm/error.h +++ /dev/null @@ -1,92 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_ERROR_H -#define _GLIBMM_ERROR_H -/* $Id: error.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GError GError; } -#endif - -#include -#include -#include //For GLIBMM_EXCEPTIONS_ENABLED - -#ifndef GLIBMM_EXCEPTIONS_ENABLED -//When not usinge exceptions, we pass auto_ptrs of the exceptions objects around instead. -#include //For std::auto_ptr -#endif - - -namespace Glib -{ - -class Error : public Glib::Exception -{ -public: - Error(); - Error(GQuark domain, int code, const Glib::ustring& message); - explicit Error(GError* gobject, bool take_copy = false); - - Error(const Error& other); - Error& operator=(const Error& other); - - virtual ~Error() throw(); - - GQuark domain() const; - int code() const; - virtual Glib::ustring what() const; - - bool matches(GQuark domain, int code) const; - - GError* gobj(); - const GError* gobj() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - - void propagate(GError** dest); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - typedef void (* ThrowFunc) (GError*); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - typedef std::auto_ptr (* ThrowFunc) (GError*); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - static void register_init(); - static void register_cleanup(); - static void register_domain(GQuark domain, ThrowFunc throw_func); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_exception(GError* gobject) G_GNUC_NORETURN; -#else - static std::auto_ptr throw_exception(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -protected: - GError* gobject_; -}; - -} // namespace Glib - - -#endif /* _GLIBMM_ERROR_H */ - diff --git a/libs/glibmm2/glib/glibmm/exception.cc b/libs/glibmm2/glib/glibmm/exception.cc deleted file mode 100644 index 00c9061e23..0000000000 --- a/libs/glibmm2/glib/glibmm/exception.cc +++ /dev/null @@ -1,43 +0,0 @@ -// -*- c++ -*- -/* $Id: exception.cc 474 2007-12-28 11:06:21Z murrayc $ */ - -/* exception.cc - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //For g_assert() in glib >= 2.15.0 -//#include //For g_assert() in glib < 2.15.0 -#include //For g_assert() in all versions of glib. - -#include - - -namespace Glib -{ - -Exception::~Exception() throw() -{} - -Glib::ustring Exception::what() const -{ - g_assert_not_reached(); - return Glib::ustring(); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/exception.h b/libs/glibmm2/glib/glibmm/exception.h deleted file mode 100644 index 757ebe80ca..0000000000 --- a/libs/glibmm2/glib/glibmm/exception.h +++ /dev/null @@ -1,42 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_EXCEPTION_H -#define _GLIBMM_EXCEPTION_H -/* $Id: exception.h 2 2003-01-07 16:59:16Z murrayc $ */ - -/* exception.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -class Exception -{ -public: - virtual ~Exception() throw() = 0; - virtual Glib::ustring what() const = 0; -}; - -} // namespace Glib - - -#endif /* _GLIBMM_EXCEPTION_H */ - diff --git a/libs/glibmm2/glib/glibmm/exceptionhandler.cc b/libs/glibmm2/glib/glibmm/exceptionhandler.cc deleted file mode 100644 index 6f4184b9ed..0000000000 --- a/libs/glibmm2/glib/glibmm/exceptionhandler.cc +++ /dev/null @@ -1,163 +0,0 @@ -// -*- c++ -*- -/* $Id: exceptionhandler.cc 291 2006-05-12 08:08:45Z murrayc $ */ - -/* exceptionhandler.cc - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -#include -#include -#include -#include - -GLIBMM_USING_STD(exception) -GLIBMM_USING_STD(list) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - -namespace -{ - -typedef sigc::signal HandlerList; - -// Each thread has its own list of exception handlers -// to avoid thread synchronization problems. -static Glib::StaticPrivate thread_specific_handler_list = GLIBMM_STATIC_PRIVATE_INIT; - - -static void glibmm_exception_warning(const GError* error) -{ - g_assert(error != 0); - - g_critical("\n" - "unhandled exception (type Glib::Error) in signal handler:\n" - "domain: %s\n" - "code : %d\n" - "what : %s\n", - g_quark_to_string(error->domain), error->code, - (error->message) ? error->message : "(null)"); -} - -static void glibmm_unexpected_exception() -{ - try - { - throw; // re-throw current exception - } - catch(const Glib::Error& error) - { - // Access the GError directly, to avoid possible exceptions from C++ code. - glibmm_exception_warning(error.gobj()); - - // For most failures that cause a Glib::Error exception, aborting the - // program seems too harsh. Instead, give control back to the main loop. - return; - } - catch(const std::exception& except) - { - g_error("\n" - "unhandled exception (type std::exception) in signal handler:\n" - "what: %s\n", except.what()); - } - catch(...) - { - g_error("\nunhandled exception (type unknown) in signal handler\n"); - } -} - -} // anonymous namespace - - -namespace Glib -{ - -sigc::connection add_exception_handler(const sigc::slot& slot) -{ - HandlerList* handler_list = thread_specific_handler_list.get(); - - if(!handler_list) - { - handler_list = new HandlerList(); - thread_specific_handler_list.set(handler_list); - } - - handler_list->slots().push_front(slot); - return handler_list->slots().begin(); -} - -// internal -void exception_handlers_invoke() throw() -{ - // This function will be called from our GLib signal handler proxies - // if an exception has been caught. It's not possible to throw C++ - // exceptions through C signal handlers. To handle this situation, the - // programmer can install slots to global Reusable Exception Handlers. - // - // A handler has to re-throw the current exception in a try block, and then - // catch the exceptions it knows about. Any unknown exceptions should just - // fall through, i.e. the handler must not do catch(...). - // - // We now invoke each of the installed slots until the exception has been - // handled. If there are no more handlers in the list and the exception - // is still unhandled, call glibmm_unexpected_exception(). - - if(HandlerList *const handler_list = thread_specific_handler_list.get()) - { - HandlerList::iterator pslot = handler_list->slots().begin(); - - while(pslot != handler_list->slots().end()) - { - // Calling an empty slot would mean ignoring the exception, - // thus we have to check for dead slots explicitly. - if(pslot->empty()) - { - pslot = handler_list->slots().erase(pslot); - continue; - } - - // Call the Reusable Exception Handler, which should re-throw - // the exception that's currently on the stack. - try - { - (*pslot)(); - } - catch(...) // unhandled, try next slot - { - ++pslot; - continue; - } - - // The exception has either been handled or ignored. - // Give control back to the GLib main loop. - return; - } - } - - // Critical: The exception is still unhandled. - glibmm_unexpected_exception(); -} - -} // namespace Glib - -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/exceptionhandler.h b/libs/glibmm2/glib/glibmm/exceptionhandler.h deleted file mode 100644 index dcf5dc1f95..0000000000 --- a/libs/glibmm2/glib/glibmm/exceptionhandler.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_EXCEPTIONHANDLER_H -#define _GLIBMM_EXCEPTIONHANDLER_H - -/* $Id: exceptionhandler.h 291 2006-05-12 08:08:45Z murrayc $ */ - -/* exceptionhandler.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - -namespace Glib -{ - -/** Specify a slot to be called when an exception is thrown by a signal handler. - */ -sigc::connection add_exception_handler(const sigc::slot& slot); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -// internal -void exception_handlers_invoke() throw(); -#endif - -} // namespace Glib - -#endif //GLIBMM_EXCEPTIONS_ENABLED - -#endif /* _GLIBMM_EXCEPTIONHANDLER_H */ - diff --git a/libs/glibmm2/glib/glibmm/fileutils.cc b/libs/glibmm2/glib/glibmm/fileutils.cc deleted file mode 100644 index 422442fc41..0000000000 --- a/libs/glibmm2/glib/glibmm/fileutils.cc +++ /dev/null @@ -1,224 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: fileutils.ccg,v 1.1 2003/01/07 16:58:25 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -/**** Glib::Dir ************************************************************/ - -Dir::Dir(const std::string& path) -{ - GError* error = 0; - gobject_ = g_dir_open(path.c_str(), 0, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -Dir::Dir(GDir* gobject) -: - gobject_ (gobject) -{} - -Dir::~Dir() -{ - if(gobject_) - g_dir_close(gobject_); -} - -std::string Dir::read_name() -{ - const char *const name = g_dir_read_name(gobject_); - return Glib::convert_const_gchar_ptr_to_stdstring(name); -} - -void Dir::rewind() -{ - g_dir_rewind(gobject_); -} - -void Dir::close() -{ - if(gobject_) - { - g_dir_close(gobject_); - gobject_ = 0; - } -} - -DirIterator Dir::begin() -{ - g_dir_rewind(gobject_); - return DirIterator(gobject_, g_dir_read_name(gobject_)); -} - -DirIterator Dir::end() -{ - return DirIterator(gobject_, 0); -} - - -/**** Glib::DirIterator ****************************************************/ - -DirIterator::DirIterator() -: - gobject_ (0), - current_ (0) -{} - -DirIterator::DirIterator(GDir* gobject, const char* current) -: - gobject_ (gobject), - current_ (current) -{} - -std::string DirIterator::operator*() const -{ - return (current_) ? std::string(current_) : std::string(); -} - -DirIterator& DirIterator::operator++() -{ - current_ = g_dir_read_name(gobject_); - return *this; -} - -void DirIterator::operator++(int) -{ - current_ = g_dir_read_name(gobject_); -} - -bool DirIterator::operator==(const DirIterator& rhs) const -{ - return (current_ == rhs.current_); -} - -bool DirIterator::operator!=(const DirIterator& rhs) const -{ - return (current_ != rhs.current_); -} - - -bool file_test(const std::string& filename, FileTest test) -{ - return g_file_test(filename.c_str(), static_cast(unsigned(test))); -} - -int mkstemp(std::string& filename_template) -{ - const ScopedPtr buf (g_strndup(filename_template.data(), filename_template.size())); - const int fileno = g_mkstemp(buf.get()); - - filename_template = buf.get(); - return fileno; -} - -int file_open_tmp(std::string& name_used, const std::string& prefix) -{ - std::string basename_template (prefix); - basename_template += "XXXXXX"; // this sillyness shouldn't be in the interface - - GError* error = 0; - ScopedPtr buf_name_used; - - const int fileno = g_file_open_tmp(basename_template.c_str(), buf_name_used.addr(), &error); - - if(error) - Glib::Error::throw_exception(error); - - name_used = buf_name_used.get(); - return fileno; -} - -int file_open_tmp(std::string& name_used) -{ - GError* error = 0; - ScopedPtr buf_name_used; - - const int fileno = g_file_open_tmp(0, buf_name_used.addr(), &error); - - if(error) - Glib::Error::throw_exception(error); - - name_used = buf_name_used.get(); - return fileno; -} - -std::string file_get_contents(const std::string& filename) -{ - ScopedPtr contents; - gsize length = 0; - GError* error = 0; - - g_file_get_contents(filename.c_str(), contents.addr(), &length, &error); - - if(error) - Glib::Error::throw_exception(error); - - return std::string(contents.get(), length); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::FileError::FileError(Glib::FileError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_FILE_ERROR, error_code, error_message) -{} - -Glib::FileError::FileError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::FileError::Code Glib::FileError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::FileError::throw_func(GError* gobject) -{ - throw Glib::FileError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::FileError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::FileError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/fileutils.h b/libs/glibmm2/glib/glibmm/fileutils.h deleted file mode 100644 index c749ffbb11..0000000000 --- a/libs/glibmm2/glib/glibmm/fileutils.h +++ /dev/null @@ -1,482 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_FILEUTILS_H -#define _GLIBMM_FILEUTILS_H - - -/* $Id: fileutils.hg,v 1.3 2004/01/22 18:38:12 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GDir GDir; } -#endif - -#include -#include - -#include -#include - -GLIBMM_USING_STD(input_iterator_tag) -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %FileTest operator|(FileTest, FileTest)
- * %FileTest operator&(FileTest, FileTest)
- * %FileTest operator^(FileTest, FileTest)
- * %FileTest operator~(FileTest)
- * %FileTest& operator|=(FileTest&, FileTest)
- * %FileTest& operator&=(FileTest&, FileTest)
- * %FileTest& operator^=(FileTest&, FileTest)
- */ -enum FileTest -{ - FILE_TEST_IS_REGULAR = 1 << 0, - FILE_TEST_IS_SYMLINK = 1 << 1, - FILE_TEST_IS_DIR = 1 << 2, - FILE_TEST_IS_EXECUTABLE = 1 << 3, - FILE_TEST_EXISTS = 1 << 4 -}; - -/** @ingroup glibmmEnums */ -inline FileTest operator|(FileTest lhs, FileTest rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline FileTest operator&(FileTest lhs, FileTest rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline FileTest operator^(FileTest lhs, FileTest rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline FileTest operator~(FileTest flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline FileTest& operator|=(FileTest& lhs, FileTest rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline FileTest& operator&=(FileTest& lhs, FileTest rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline FileTest& operator^=(FileTest& lhs, FileTest rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** @defgroup FileUtils File Utilities - * Various file-related classes and functions. - */ - -/** Exception class for file-related errors. - * @ingroup FileUtils - */ -class FileError : public Glib::Error -{ -public: - enum Code - { - EXISTS, - IS_DIRECTORY, - ACCESS_DENIED, - NAME_TOO_LONG, - NO_SUCH_ENTITY, - NOT_DIRECTORY, - NO_SUCH_DEVICE, - NOT_DEVICE, - READONLY_FILESYSTEM, - TEXT_FILE_BUSY, - FAULTY_ADDRESS, - SYMLINK_LOOP, - NO_SPACE_LEFT, - NOT_ENOUGH_MEMORY, - TOO_MANY_OPEN_FILES, - FILE_TABLE_OVERFLOW, - BAD_FILE_DESCRIPTOR, - INVALID_ARGUMENT, - BROKEN_PIPE, - TRYAGAIN, - INTERRUPTED, - IO_ERROR, - NOT_OWNER, - NOSYS, - FAILED - }; - - FileError(Code error_code, const Glib::ustring& error_message); - explicit FileError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** @enum FileError::Code - * Values corresponding to errno codes returned from file operations - * on UNIX. - * Unlike errno codes, FileError::Code values are available on all - * systems, even Windows. The exact meaning of each code depends on what sort - * of file operation you were performing; the UNIX documentation gives more - * details. The following error code descriptions come from the GNU C Library - * manual, and are under the copyright of that manual. - * - * It's not very portable to make detailed assumptions about exactly which - * errors will be returned from a given operation. Some errors don't occur on - * some systems, etc., sometimes there are subtle differences in when a system - * will report a given error, etc. - */ - -/** @var FileError::Code FileError::EXISTS - * (EEXIST) Operation not permitted; only the owner of the file (or - * other resource) or processes with special privileges can perform the operation. - *

- */ -/** @var FileError::Code FileError::IS_DIRECTORY - * (EISDIR) File is a directory; you cannot open a directory for writing, - * or create or remove hard links to it. - *

- */ -/** @var FileError::Code FileError::ACCESS_DENIED - * (EACCES) Permission denied; the file permissions do not allow the - * attempted operation. - *

- */ -/** @var FileError::Code FileError::NAME_TOO_LONG - * (ENAMETOOLONG) Filename too long. - *

- */ -/** @var FileError::Code FileError::NO_SUCH_ENTITY - * (ENOENT) No such file or directory. This is a "file doesn't exist" - * error for ordinary files that are referenced in contexts where they are expected - * to already exist. - *

- */ -/** @var FileError::Code FileError::NOT_DIRECTORY - * (ENOTDIR) A file that isn't a directory was specified when a directory - * is required. - *

- */ -/** @var FileError::Code FileError::NO_SUCH_DEVICE - * (ENXIO) No such device or address. The system tried to use the device - * represented by a file you specified, and it couldn't find the device. This can - * mean that the device file was installed incorrectly, or that the physical device - * is missing or not correctly attached to the computer. - *

- */ -/** @var FileError::Code FileError::NOT_DEVICE - * (ENODEV) This file is of a type that doesn't support mapping. - *

- */ -/** @var FileError::Code FileError::READONLY_FILESYSTEM - * (EROFS) The directory containing the new link can't be modified - * because it's on a read-only file system. - *

- */ -/** @var FileError::Code FileError::TEXT_FILE_BUSY - * (ETXTBSY) Text file busy. - *

- */ -/** @var FileError::Code FileError::FAULTY_ADDRESS - * (EFAULT) You passed in a pointer to bad memory. (Glib won't - * reliably return this, don't pass in pointers to bad memory.) - *

- */ -/** @var FileError::Code FileError::SYMLINK_LOOP - * (ELOOP) Too many levels of symbolic links were encountered in - * looking up a file name. This often indicates a cycle of symbolic links. - *

- */ -/** @var FileError::Code FileError::NO_SPACE_LEFT - * (ENOSPC) No space left on device; write operation on a file failed - * because the disk is full. - *

- */ -/** @var FileError::Code FileError::NOT_ENOUGH_MEMORY - * (ENOMEM) No memory available. The system cannot allocate more - * virtual memory because its capacity is full. - *

- */ -/** @var FileError::Code FileError::TOO_MANY_OPEN_FILES - * (EMFILE) The current process has too many files open and can't - * open any more. Duplicate descriptors do count toward this limit. - *

- */ -/** @var FileError::Code FileError::FILE_TABLE_OVERFLOW - * (ENFILE) There are too many distinct file openings in the - * entire system. - *

- */ -/** @var FileError::Code FileError::BAD_FILE_DESCRIPTOR - * (EBADF) Bad file descriptor; for example, I/O on a descriptor - * that has been closed or reading from a descriptor open only for writing - * (or vice versa). - *

- */ -/** @var FileError::Code FileError::INVALID_ARGUMENT - * (EINVAL) Invalid argument. This is used to indicate various kinds - * of problems with passing the wrong argument to a library function. - *

- */ -/** @var FileError::Code FileError::BROKEN_PIPE - * (EPIPE) Broken pipe; there is no process reading from the other - * end of a pipe. Every library function that returns this error code also - * generates a SIGPIPE signal; this signal terminates the program - * if not handled or blocked. Thus, your program will never actually see - * this code unless it has handled or blocked SIGPIPE. - *

- */ -/** @var FileError::Code FileError::TRYAGAIN - * (EAGAIN) Resource temporarily unavailable; the call might work - * if you try again later. - * We used TRYAGAIN instead of TRY_AGAIN, because that is a defined as a macro by a Unix header. - *

- */ -/** @var FileError::Code FileError::INTERRUPTED - * (EINTR) Interrupted function call; an asynchronous signal occurred - * and prevented completion of the call. When this happens, you should try - * the call again. - *

- */ -/** @var FileError::Code FileError::IO_ERROR - * (EIO) Input/output error; usually used for physical read or write - * errors. I.e. the disk or other physical device hardware is returning errors. - *

- */ -/** @var FileError::Code FileError::NOT_OWNER - * (EPERM) Operation not permitted; only the owner of the file (or other - * resource) or processes with special privileges can perform the operation. - *

- */ -/** @var FileError::Code FileError::FAILED - * Does not correspond to a UNIX error code; this is the standard "failed for - * unspecified reason" error code present in all Glib::Error error code - * enumerations. Returned if no specific code applies. - */ - -class Dir; - -/** The iterator type of Glib::Dir. - * @ingroup FileUtils - */ -class DirIterator -{ -public: - typedef std::input_iterator_tag iterator_category; - typedef std::string value_type; - typedef int difference_type; - typedef value_type reference; - typedef void pointer; - - DirIterator(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - DirIterator(GDir* gobject, const char* current); -#endif - - std::string operator*() const; - DirIterator& operator++(); - - /** @note DirIterator has input iterator semantics, which means real - * postfix increment is impossible. The return type is @c void to - * prevent surprising behaviour. - */ - void operator++(int); - - bool operator==(const DirIterator& rhs) const; - bool operator!=(const DirIterator& rhs) const; - -private: - GDir* gobject_; - const char* current_; -}; - - -/** Utility class representing an open directory. - * @ingroup FileUtils - * It's highly recommended to use the iterator interface. With iterators, - * reading an entire directory into a STL container is really easy: - * @code - * Glib::Dir dir (directory_path); - * std::list entries (dir.begin(), dir.end()); - * @endcode - * @note The encoding of the directory entries isn't necessarily UTF-8. - * Use Glib::filename_to_utf8() if you need to display them. - */ -class Dir -{ -public: - typedef DirIterator iterator; - typedef DirIterator const_iterator; - - /** Opens a directory for reading. The names of the files in the - * directory can then be retrieved using read_name(). - * @param path The path to the directory you are interested in. - * @throw Glib::FileError - */ - explicit Dir(const std::string& path); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - explicit Dir(GDir* gobject); -#endif - - /** Closes the directory and deallocates all related resources. - */ - ~Dir(); - - /** Retrieves the name of the next entry in the directory. - * The '.' and '..' entries are omitted. - * @return The entry's name or "" if there are no more entries. - * @see begin(), end() - */ - std::string read_name(); - - /** Resets the directory. The next call to - * read_name() will return the first entry again. - */ - void rewind(); - - /** Closes the directory and deallocates all related resources. - * Note that close() is implicitely called by ~Dir(). Thus you don't - * need to call close() yourself unless you want to close the directory - * before the destructor runs. - */ - void close(); - - /** Get the begin of an input iterator sequence. - * @return An input iterator pointing to the first directory entry. - */ - DirIterator begin(); - - /** Get the end of an input iterator sequence. - * @return An input iterator pointing behind the last directory entry. - */ - DirIterator end(); - -private: - GDir* gobject_; - - // noncopyable - Dir(const Dir&); - Dir& operator=(const Dir&); -}; - - -/** Returns @c true if any of the tests in the bitfield @a test are true. - * @ingroup FileUtils - * For example, (Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR) will - * return @c true if the file exists; the check whether it's a directory - * doesn't matter since the existence test is true. With the current set of - * available tests, there's no point passing in more than one test at a time. - * - * Apart from Glib::FILE_TEST_IS_SYMLINK all tests follow symbolic - * links, so for a symbolic link to a regular file file_test() will return - * @c true for both Glib::FILE_TEST_IS_SYMLINK and - * Glib::FILE_TEST_IS_REGULAR. - * - * @note For a dangling symbolic link file_test() will return @c true for - * Glib::FILE_TEST_IS_SYMLINK and @c false for all other flags. - * - * @param filename A filename to test. - * @param test Bitfield of Glib::FileTest flags. - * @return Whether a test was true. - */ -bool file_test(const std::string& filename, FileTest test); - -/** Opens a temporary file. - * @ingroup FileUtils - * See the %mkstemp() documentation on most UNIX-like systems. This is a - * portability wrapper, which simply calls %mkstemp() on systems that have - * it, and implements it in GLib otherwise. - * @param filename_template A string that should match the rules for - * %mkstemp(), i.e. end in "XXXXXX". The X string - * will be modified to form the name of a file that didn't exist. - * @return A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms where there - * is a difference. The file handle should be closed with close(). In - * case of errors, -1 is returned. - */ -int mkstemp(std::string& filename_template); - -/** Opens a file for writing in the preferred directory for temporary files - * (as returned by Glib::get_tmp_dir()). - * @ingroup FileUtils - * @a prefix should a basename template; it'll be suffixed by 6 characters - * in order to form a unique filename. No directory components are allowed. - * - * The actual name used is returned in @a name_used. - * - * @param prefix Template for file name, basename only. - * @retval name_used The actual name used. - * @return A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms where there is a - * difference. The file handle should be closed with close(). - * @throw Glib::FileError - */ -int file_open_tmp(std::string& name_used, const std::string& prefix); - -/** Opens a file for writing in the preferred directory for temporary files - * (as returned by Glib::get_tmp_dir()). - * @ingroup FileUtils - * This function works like file_open_tmp(std::string&, const std::string&) - * but uses a default basename prefix. - * - * @retval name_used The actual name used. - * @return A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms where there is a - * difference. The file handle should be closed with close(). - * @throw Glib::FileError - */ -int file_open_tmp(std::string& name_used); - -/** Reads an entire file into a string, with good error checking. - * @ingroup FileUtils - * @param filename A file to read contents from. - * @return The file contents. - * @throw Glib::FileError - */ -std::string file_get_contents(const std::string& filename); - -} // namespace Glib - - -#endif /* _GLIBMM_FILEUTILS_H */ - diff --git a/libs/glibmm2/glib/glibmm/helperlist.h b/libs/glibmm2/glib/glibmm/helperlist.h deleted file mode 100644 index 8e6a47aa09..0000000000 --- a/libs/glibmm2/glib/glibmm/helperlist.h +++ /dev/null @@ -1,166 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_HELPERLIST_H -#define _GLIBMM_HELPERLIST_H -/* $Id: helperlist.h 648 2008-03-29 18:53:44Z jjongsma $ */ - -/* helperlist.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Glib -{ - -// This class has some pure virtual methods which need to be implemented by derived classes. -template< typename T_Child, typename T_CppElement, typename T_Iterator > -class HelperList -{ -public: - HelperList() - : gparent_(0) - {} - - HelperList(GObject* gp) //We use gp instead of gparent because that can cause warnings about a shadowed member. - : gparent_(gp) - {} - - virtual ~HelperList() - {} - - typedef T_Child value_type; - typedef value_type& reference; - typedef const value_type& const_reference; - - typedef T_Iterator iterator; - typedef List_ConstIterator const_iterator; - typedef List_ReverseIterator reverse_iterator; - typedef List_ConstIterator const_reverse_iterator; - - typedef T_CppElement element_type; - - typedef size_t difference_type; - typedef size_t size_type; - - //These are implemented differently for each Helper List. - virtual iterator erase(iterator) = 0; - - virtual void erase(iterator start, iterator stop) - { - while(start != stop) - start = erase(start); //Implemented in derived class. - } - - virtual void remove(const_reference) = 0; - - size_type size() const - { - return g_list_length(glist()); - } - - inline size_type max_size() { return size_type(-1); } - inline bool empty() { return glist() == 0; } - - inline iterator begin() - {return begin_();} - inline iterator end() - {return end_();} - - inline const_iterator begin() const - { return const_iterator(begin_()); } - inline const_iterator end() const - { return const_iterator(end_()); } - - inline reverse_iterator rbegin() - { return reverse_iterator(end_()); } - inline reverse_iterator rend() - { return reverse_iterator(begin_()); } - - inline const_reverse_iterator rbegin() const - { return const_reverse_iterator(reverse_iterator(end_())); } - inline const_reverse_iterator rend() const - { return const_reverse_iterator(reverse_iterator(begin_())); } - - reference front() const - { - return *begin(); - } - - reference back() const - { - return *(--end()); - } - - reference operator[](size_type l) const - { - size_type j = 0; - iterator i; - for(i = begin(), j = 0; i != end(), j < l; ++i, ++j) - ; - return (*i); - } - -// iterator find(const_reference w) -// { -// iterator i = begin(); -// for(i = begin(); i != end() && (*i != w); i++); -// return i; -// } -// -// iterator find(Widget& w) -// { -// iterator i; -// for (i = begin(); i != end() && ((*i)->$1() != &w); i++); -// return i; -// } - - //Derived classes might choose to reimplement these as public: - inline void pop_front() - { erase(begin()); } - inline void pop_back() - { erase(--end()); } - - void clear() - { erase(begin(), end()); } - - GObject* gparent() - { return gparent_; }; - const GObject* gparent() const - { return gparent_; }; - -protected: - virtual GList*& glist() const = 0; // front of list - - iterator begin_() const - { - return iterator(glist(), glist()); - } - - iterator end_() const - { - return iterator(glist(), (GList*)0); - } - - GObject* gparent_; -}; - - -} /* namespace Glib */ - -#endif /* _GLIBMM_HELPERLIST_H */ - diff --git a/libs/glibmm2/glib/glibmm/i18n-lib.h b/libs/glibmm2/glib/glibmm/i18n-lib.h deleted file mode 100644 index fdf0ede4e9..0000000000 --- a/libs/glibmm2/glib/glibmm/i18n-lib.h +++ /dev/null @@ -1,30 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_I18N_LIB_H -#define _GLIBMM_I18N_LIB_H - -/* $Id: i18n-lib.h 591 2008-02-09 10:53:03Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -// Include this file to define internationalization macros such as _(). -// This file must be included by the application, after system headers such as . - -#include - -#endif /* _GLIBMM_I18N_LIB_H */ - diff --git a/libs/glibmm2/glib/glibmm/i18n.h b/libs/glibmm2/glib/glibmm/i18n.h deleted file mode 100644 index 04ce3cbbaa..0000000000 --- a/libs/glibmm2/glib/glibmm/i18n.h +++ /dev/null @@ -1,30 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_I18N_H -#define _GLIBMM_I18N_H - -/* $Id: i18n.h 77 2004-03-02 23:29:57Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -// Include this file to define internationalization macros such as _(). -// This file must be included by the application, after system headers such as . - -#include - -#endif /* _GLIBMM_I18N_H */ - diff --git a/libs/glibmm2/glib/glibmm/init.cc b/libs/glibmm2/glib/glibmm/init.cc deleted file mode 100644 index 6956663ffc..0000000000 --- a/libs/glibmm2/glib/glibmm/init.cc +++ /dev/null @@ -1,34 +0,0 @@ -// -*- c++ -*- -/* $Id: init.cc 54 2003-11-03 09:27:33Z murrayc $ */ - -/* Copyright (C) 2003 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -void init() -{ - Glib::wrap_register_init(); - Glib::Error::register_init(); //also calls Glib::wrap_init(); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/init.h b/libs/glibmm2/glib/glibmm/init.h deleted file mode 100644 index 912d2480d5..0000000000 --- a/libs/glibmm2/glib/glibmm/init.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_INIT_H -#define _GLIBMM_INIT_H - -/* $Id: init.h 497 2008-01-10 14:25:46Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -namespace Glib -{ - -/** Initialize glibmm. - * You may call this more than once. - * You do not need to call this if you are using Glib::MainLoop or Gtk::Main, - * because they call it for you. - */ -void init(); - -} // namespace Glib - - - -#endif /* _GLIBMM_INIT_H */ - diff --git a/libs/glibmm2/glib/glibmm/interface.cc b/libs/glibmm2/glib/glibmm/interface.cc deleted file mode 100644 index ecb925a103..0000000000 --- a/libs/glibmm2/glib/glibmm/interface.cc +++ /dev/null @@ -1,95 +0,0 @@ -// -*- c++ -*- -/* $Id: interface.cc 209 2005-03-07 15:42:20Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -/**** Glib::Interface_Class ************************************************/ - -void Interface_Class::add_interface(GType instance_type) const -{ - //This check is distabled, because it checks whether any of the types's bases implement the interface, not just the specific type. - //if( !g_type_is_a(instance_type, gtype_) ) //For convenience, don't complain about calling this twice. - //{ - const GInterfaceInfo interface_info = - { - class_init_func_, - 0, // interface_finalize - 0, // interface_data - }; - - g_type_add_interface_static(instance_type, gtype_, &interface_info); - //} -} - - -/**** Interface Glib::Interface ********************************************/ - -Interface::Interface(const Interface_Class& interface_class) -{ - //gobject_ will be set in the Object constructor. - //Any instantiable class that derives from Interface should also inherit from Object. - - // If I understand it correctly, gobject_ shouldn't be 0 now. daniel. - // TODO: Make this a g_assert() if the assumption above is correct. - - g_return_if_fail(gobject_ != 0); - - if(custom_type_name_ && !is_anonymous_custom_()) - { - void *const instance_class = G_OBJECT_GET_CLASS(gobject_); - - if(!g_type_interface_peek(instance_class, interface_class.get_type())) - { - interface_class.add_interface(G_OBJECT_CLASS_TYPE(instance_class)); - } - } -} - -Interface::Interface(GObject* castitem) -{ - // Connect GObject and wrapper instances. - ObjectBase::initialize(castitem); -} - -Interface::~Interface() -{} - -GType Interface::get_type() -{ - return G_TYPE_INTERFACE; -} - -GType Interface::get_base_type() -{ - return G_TYPE_INTERFACE; -} - -RefPtr wrap_interface(GObject* object, bool take_copy) -{ - return Glib::RefPtr( wrap_auto(object, take_copy) ); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/interface.h b/libs/glibmm2/glib/glibmm/interface.h deleted file mode 100644 index 0edc4cb02f..0000000000 --- a/libs/glibmm2/glib/glibmm/interface.h +++ /dev/null @@ -1,85 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_INTERFACE_H -#define _GLIBMM_INTERFACE_H - -/* $Id: interface.h 580 2008-02-04 20:27:38Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class Interface_Class; -#endif - -// There is no base GInterface struct in Glib, though there is G_TYPE_INTERFACE enum value. -class Interface : virtual public Glib::ObjectBase -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef Interface CppObjectType; - typedef Interface_Class CppClassType; - typedef GTypeInterface BaseClassType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - /** Called by constructors of derived classes. Provide the result of - * the Class object's init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit Interface(const Glib::Interface_Class& interface_class); - - /** Called by constructors of derived classes. - * - * @param cast_item A C instance that will be wrapped by the new - * C++ instance. This does not take a reference, so call reference() - * if necessary. - */ - explicit Interface(GObject* castitem); - virtual ~Interface(); - - //void add_interface(GType gtype_implementer); - - // Hook for translating API - //static Glib::Interface* wrap_new(GTypeInterface*); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - inline GObject* gobj() { return gobject_; } - inline const GObject* gobj() const { return gobject_; } - -private: - // noncopyable - Interface(const Interface&); - Interface& operator=(const Interface&); -}; - -RefPtr wrap_interface(GObject* object, bool take_copy = false); - -} // namespace Glib - -#endif /* _GLIBMM_INTERFACE_H */ - diff --git a/libs/glibmm2/glib/glibmm/iochannel.cc b/libs/glibmm2/glib/glibmm/iochannel.cc deleted file mode 100644 index 8eec9ed2af..0000000000 --- a/libs/glibmm2/glib/glibmm/iochannel.cc +++ /dev/null @@ -1,900 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: iochannel.ccg,v 1.6 2006/10/04 12:04:09 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace -{ - -// Glib::IOChannel reference counting issues: -// -// Normally, you'd expect that the C++ object stays around as long as the -// C instance does. Also Glib::wrap() usually returns always the same C++ -// wrapper object for a single C instance. -// -// Unfortunately it isn't possible to implement these features if we didn't -// create the underlying GIOChannel. That is, when wrapping existing -// GIOChannel instances such as returned by e.g. g_io_channel_unix_new() or -// g_io_channel_new_file(). Neither is there a way to hook up a wrapper -// object in an existing GIOChannel, nor exists any destroy notification. -// -// So that means: If the IOChannel is implemented in C++ -- that is, our -// GlibmmIOChannel backend is used -- we use the GIOChannel reference -// counting mechanism. If the IOChannel backend is unknown, then the -// wrapper instance holds always exactly one reference to the GIOChannel. -// The wrapper object itself is then managed via our own refcounting -// mechanism. To do that a utility class ForeignIOChannel is introduced to -// override reference() and unreference(). - -class ForeignIOChannel : public Glib::IOChannel -{ -public: - ForeignIOChannel(GIOChannel* gobject, bool take_copy) - : Glib::IOChannel(gobject, take_copy), ref_count_(0) {} - - virtual void reference() const; - virtual void unreference() const; - -private: - mutable int ref_count_; -}; - -void ForeignIOChannel::reference() const -{ - ++ref_count_; -} - -void ForeignIOChannel::unreference() const -{ - if (!(--ref_count_)) delete this; -} - -} // anonymous namespace - - -namespace Glib -{ - -class GlibmmIOChannel -{ -public: - GIOChannel base; - Glib::IOChannel* wrapper; - - static const GIOFuncs vfunc_table; - - static GIOStatus io_read(GIOChannel* channel, char* buf, gsize count, - gsize* bytes_read, GError** err); - - static GIOStatus io_write(GIOChannel* channel, const char* buf, gsize count, - gsize* bytes_written, GError** err); - - static GIOStatus io_seek (GIOChannel* channel, gint64 offset, GSeekType type, GError** err); - static GIOStatus io_close(GIOChannel* channel, GError** err); - - static GSource* io_create_watch(GIOChannel* channel, GIOCondition condition); - static void io_free(GIOChannel* channel); - - static GIOStatus io_set_flags(GIOChannel* channel, GIOFlags flags, GError** err); - static GIOFlags io_get_flags(GIOChannel* channel); -}; - -// static -const GIOFuncs GlibmmIOChannel::vfunc_table = -{ - &GlibmmIOChannel::io_read, - &GlibmmIOChannel::io_write, - &GlibmmIOChannel::io_seek, - &GlibmmIOChannel::io_close, - &GlibmmIOChannel::io_create_watch, - &GlibmmIOChannel::io_free, - &GlibmmIOChannel::io_set_flags, - &GlibmmIOChannel::io_get_flags, -}; - - -/**** GLib::IOChannel ******************************************************/ - -/* Construct a custom C++-implemented IOChannel. GlibmmIOChannel is an - * extended GIOChannel struct which allows us to hook up a pointer to this - * persistent wrapper instance. - */ -IOChannel::IOChannel() -: - gobject_ (static_cast(g_malloc(sizeof(GlibmmIOChannel)))) -{ - g_io_channel_init(gobject_); - gobject_->funcs = const_cast(&GlibmmIOChannel::vfunc_table); - - reinterpret_cast(gobject_)->wrapper = this; -} - -/* Construct an IOChannel wrapper for an already created GIOChannel. - * See the comment at the top of this file for an explanation of the - * problems with this approach. - */ -IOChannel::IOChannel(GIOChannel* gobject, bool take_copy) -: - gobject_ (gobject) -{ - // This ctor should never be called for GlibmmIOChannel instances. - g_assert(gobject != 0); - g_assert(gobject->funcs != &GlibmmIOChannel::vfunc_table); - - if(take_copy) - g_io_channel_ref(gobject_); -} - -IOChannel::~IOChannel() -{ - if(gobject_) - { - // Check whether this IOChannel is implemented in C++, i.e. whether it - // uses our GlibmmIOChannel forwarding backend. Normally, this will never - // be true because the wrapper should only be deleted in the io_free() - // callback, which clears gobject_ before deleting. But in case the ctor - // of a derived class threw an exception the GIOChannel must be destroyed - // prematurely. - // - if(gobject_->funcs == &GlibmmIOChannel::vfunc_table) - { - // Disconnect the wrapper object so that it won't be deleted twice. - reinterpret_cast(gobject_)->wrapper = 0; - } - - GIOChannel *const tmp_gobject = gobject_; - gobject_ = 0; - - g_io_channel_unref(tmp_gobject); - } -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr IOChannel::create_from_file(const std::string& filename, const std::string& mode) -#else -Glib::RefPtr IOChannel::create_from_file(const std::string& filename, const std::string& mode, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - GIOChannel *const channel = g_io_channel_new_file(filename.c_str(), mode.c_str(), &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return Glib::wrap(channel, false); -} - -Glib::RefPtr IOChannel::create_from_fd(int fd) -{ - return Glib::wrap(g_io_channel_unix_new(fd), false); -} - -#ifdef G_OS_WIN32 - -Glib::RefPtr IOChannel::create_from_win32_fd(int fd) -{ - return Glib::wrap(g_io_channel_win32_new_fd(fd), false); -} - -Glib::RefPtr IOChannel::create_from_win32_socket(int socket) -{ - return Glib::wrap(g_io_channel_win32_new_socket(socket), false); -} - -#endif /* G_OS_WIN32 */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::write(const Glib::ustring& str) -#else -IOStatus IOChannel::write(const Glib::ustring& str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; -#ifdef GLIBMM_EXCEPTIONS_ENABLED - return write(str.data(), str.bytes(), bytes_written); -#else - return write(str.data(), str.bytes(), bytes_written, error); -#endif //GLIBMM_EXCEPTIONS_ENABLED -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read_line(Glib::ustring& line) -#else -IOStatus IOChannel::read_line(Glib::ustring& line, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - Glib::ScopedPtr buf; - GError* gerror = 0; - gsize bytes = 0; - - const GIOStatus status = g_io_channel_read_line(gobj(), buf.addr(), &bytes, 0, &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(buf.get()) - line.assign(buf.get(), buf.get() + bytes); - else - line.erase(); - - return (IOStatus) status; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read_to_end(Glib::ustring& str) -#else -IOStatus IOChannel::read_to_end(Glib::ustring& str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - Glib::ScopedPtr buf; - GError* gerror = 0; - gsize bytes = 0; - - const GIOStatus status = g_io_channel_read_to_end(gobj(), buf.addr(), &bytes, &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(buf.get()) - str.assign(buf.get(), buf.get() + bytes); - else - str.erase(); - - return (IOStatus) status; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read(Glib::ustring& str, gsize count) -#else -IOStatus IOChannel::read(Glib::ustring& str, gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - Glib::ScopedPtr buf (g_new(char, count)); - GError* gerror = 0; - gsize bytes = 0; - - const GIOStatus status = g_io_channel_read_chars(gobj(), buf.get(), count, &bytes, &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(buf.get()) - str.assign(buf.get(), buf.get() + bytes); - else - str.erase(); - - return (IOStatus) status; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::set_encoding(const std::string& encoding) -#else -IOStatus IOChannel::set_encoding(const std::string& encoding, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - - const GIOStatus status = g_io_channel_set_encoding( - gobj(), (encoding.empty()) ? 0 : encoding.c_str(), &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return (IOStatus) status; -} - -std::string IOChannel::get_encoding() const -{ - const char *const encoding = g_io_channel_get_encoding(gobject_); - return (encoding) ? std::string(encoding) : std::string(); -} - -void IOChannel::set_line_term(const std::string& term) -{ - if(term.empty()) - g_io_channel_set_line_term(gobj(), 0, 0); - else - g_io_channel_set_line_term(gobj(), term.data(), term.size()); -} - -std::string IOChannel::get_line_term() const -{ - int len = 0; - const char *const term = g_io_channel_get_line_term(gobject_, &len); - - return (term) ? std::string(term, len) : std::string(); -} - -Glib::RefPtr IOChannel::create_watch(IOCondition condition) -{ - // The corresponding unreference() takes place in the dtor - // of the Glib::RefPtr object below. - reference(); - return IOSource::create(Glib::RefPtr(this), condition); -} - -IOStatus IOChannel::read_vfunc(char*, gsize, gsize&) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOStatus IOChannel::write_vfunc(const char*, gsize, gsize&) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOStatus IOChannel::seek_vfunc(gint64, SeekType) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOStatus IOChannel::close_vfunc() -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -Glib::RefPtr IOChannel::create_watch_vfunc(IOCondition) -{ - g_assert_not_reached(); - return Glib::RefPtr(); -} - -IOStatus IOChannel::set_flags_vfunc(IOFlags) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOFlags IOChannel::get_flags_vfunc() -{ - g_assert_not_reached(); - return IOFlags(0); -} - -void IOChannel::reference() const -{ - g_io_channel_ref(gobject_); -} - -void IOChannel::unreference() const -{ - g_io_channel_unref(gobject_); -} - -Glib::RefPtr wrap(GIOChannel* gobject, bool take_copy) -{ - IOChannel* cpp_object = 0; - - if(gobject) - { - if(gobject->funcs == &GlibmmIOChannel::vfunc_table) - { - cpp_object = reinterpret_cast(gobject)->wrapper; - - if(take_copy && cpp_object) - cpp_object->reference(); - } - else - { - cpp_object = new ForeignIOChannel(gobject, take_copy); - cpp_object->reference(); // the refcount is initially 0 - } - } - - return Glib::RefPtr(cpp_object); -} - - -/**** Glib::GlibmmIOChannel ************************************************/ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_read(GIOChannel* channel, char* buf, gsize count, - gsize* bytes_read, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_read(GIOChannel* channel, char* buf, gsize count, - gsize* bytes_read, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->read_vfunc(buf, count, *bytes_read); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_write(GIOChannel* channel, const char* buf, gsize count, - gsize* bytes_written, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_write(GIOChannel* channel, const char* buf, gsize count, - gsize* bytes_written, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->write_vfunc(buf, count, *bytes_written); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_seek(GIOChannel* channel, gint64 offset, GSeekType type, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_seek(GIOChannel* channel, gint64 offset, GSeekType type, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->seek_vfunc(offset, (SeekType) type); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_close(GIOChannel* channel, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_close(GIOChannel* channel, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->close_vfunc(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - return G_IO_STATUS_ERROR; -} - -// static -GSource* GlibmmIOChannel::io_create_watch(GIOChannel* channel, GIOCondition condition) -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - const Glib::RefPtr source = wrapper->create_watch_vfunc((IOCondition) condition); - return (source) ? source->gobj_copy() : 0; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return 0; -} - -// static -void GlibmmIOChannel::io_free(GIOChannel* channel) -{ - if(IOChannel *const wrapper = reinterpret_cast(channel)->wrapper) - { - wrapper->gobject_ = 0; - delete wrapper; - } - - g_free(channel); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_set_flags(GIOChannel* channel, GIOFlags flags, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_set_flags(GIOChannel* channel, GIOFlags flags, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->set_flags_vfunc((IOFlags) flags); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -// static -GIOFlags GlibmmIOChannel::io_get_flags(GIOChannel* channel) -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOFlags) wrapper->get_flags_vfunc(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return GIOFlags(0); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::IOChannelError::IOChannelError(Glib::IOChannelError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_IO_CHANNEL_ERROR, error_code, error_message) -{} - -Glib::IOChannelError::IOChannelError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::IOChannelError::Code Glib::IOChannelError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::IOChannelError::throw_func(GError* gobject) -{ - throw Glib::IOChannelError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::IOChannelError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::IOChannelError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -namespace Glib -{ - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read(gunichar& thechar) -#else -IOStatus IOChannel::read(gunichar& thechar, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_read_unichar(gobj(), &(thechar), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read(char* buf, gsize count, gsize& bytes_read) -#else -IOStatus IOChannel::read(char* buf, gsize count, gsize& bytes_read, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_read_chars(gobj(), buf, count, &(bytes_read), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::write(const char* buf, gssize count, gsize& bytes_written) -#else -IOStatus IOChannel::write(const char* buf, gssize count, gsize& bytes_written, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_write_chars(gobj(), buf, count, &(bytes_written), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::write(gunichar unichar) -#else -IOStatus IOChannel::write(gunichar unichar, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_write_unichar(gobj(), unichar, &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::seek(gint64 offset, SeekType type) -#else -IOStatus IOChannel::seek(gint64 offset, SeekType type, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_seek_position(gobj(), offset, ((GSeekType)(type)), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::flush() -#else -IOStatus IOChannel::flush(std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_flush(gobj(), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::close(bool flush) -#else -IOStatus IOChannel::close(bool flush, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_shutdown(gobj(), static_cast(flush), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -gsize IOChannel::get_buffer_size() const -{ - return g_io_channel_get_buffer_size(const_cast(gobj())); -} - -void IOChannel::set_buffer_size(gsize size) -{ -g_io_channel_set_buffer_size(gobj(), size); -} - -IOFlags IOChannel::get_flags() const -{ - return ((IOFlags)(g_io_channel_get_flags(const_cast(gobj())))); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::set_flags(IOFlags flags) -#else -IOStatus IOChannel::set_flags(IOFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - IOStatus retvalue = ((IOStatus)(g_io_channel_set_flags(gobj(), ((GIOFlags)(flags)), &(gerror)))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void IOChannel::set_buffered(bool buffered) -{ -g_io_channel_set_buffered(gobj(), static_cast(buffered)); -} - -bool IOChannel::get_buffered() const -{ - return g_io_channel_get_buffered(const_cast(gobj())); -} - -IOCondition IOChannel::get_buffer_condition() const -{ - return ((IOCondition)(g_io_channel_get_buffer_condition(const_cast(gobj())))); -} - -bool IOChannel::get_close_on_unref() const -{ - return g_io_channel_get_close_on_unref(const_cast(gobj())); -} - -void IOChannel::set_close_on_unref(bool do_close) -{ -g_io_channel_set_close_on_unref(gobj(), static_cast(do_close)); -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/iochannel.h b/libs/glibmm2/glib/glibmm/iochannel.h deleted file mode 100644 index 38eb70b816..0000000000 --- a/libs/glibmm2/glib/glibmm/iochannel.h +++ /dev/null @@ -1,753 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_IOCHANNEL_H -#define _GLIBMM_IOCHANNEL_H - - -// -*- c++ -*- -/* $Id: iochannel.hg,v 1.8 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include -#include - -#include -#include - -GLIBMM_USING_STD(string) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GIOChannel GIOChannel; } -#endif - - -namespace Glib -{ - -class Source; -class IOSource; - -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - */ -enum SeekType -{ - SEEK_TYPE_CUR, - SEEK_TYPE_SET, - SEEK_TYPE_END -}; - - -/** - * @ingroup glibmmEnums - */ -enum IOStatus -{ - IO_STATUS_ERROR, - IO_STATUS_NORMAL, - IO_STATUS_EOF, - IO_STATUS_AGAIN -}; - - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %IOFlags operator|(IOFlags, IOFlags)
- * %IOFlags operator&(IOFlags, IOFlags)
- * %IOFlags operator^(IOFlags, IOFlags)
- * %IOFlags operator~(IOFlags)
- * %IOFlags& operator|=(IOFlags&, IOFlags)
- * %IOFlags& operator&=(IOFlags&, IOFlags)
- * %IOFlags& operator^=(IOFlags&, IOFlags)
- */ -enum IOFlags -{ - IO_FLAG_APPEND = 1 << 0, - IO_FLAG_NONBLOCK = 1 << 1, - IO_FLAG_IS_READABLE = 1 << 2, - IO_FLAG_IS_WRITEABLE = 1 << 3, - IO_FLAG_IS_SEEKABLE = 1 << 4, - IO_FLAG_GET_MASK = 0x0, - IO_FLAG_SET_MASK = 0x1 -}; - -/** @ingroup glibmmEnums */ -inline IOFlags operator|(IOFlags lhs, IOFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline IOFlags operator&(IOFlags lhs, IOFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline IOFlags operator^(IOFlags lhs, IOFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline IOFlags operator~(IOFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline IOFlags& operator|=(IOFlags& lhs, IOFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline IOFlags& operator&=(IOFlags& lhs, IOFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline IOFlags& operator^=(IOFlags& lhs, IOFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** Exception class for IOChannel errors. - */ -class IOChannelError : public Glib::Error -{ -public: - enum Code - { - FILE_TOO_BIG, - INVALID_ARGUMENT, - IO_ERROR, - IS_DIRECTORY, - NO_SPACE_LEFT, - NO_SUCH_DEVICE, - OVERFLOWN, - BROKEN_PIPE, - FAILED - }; - - IOChannelError(Code error_code, const Glib::ustring& error_message); - explicit IOChannelError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class GlibmmIOChannel; -#endif - -/** IOChannel aims to provide portable I/O support for files, pipes - * and sockets, and to integrate them with the GLib main event loop. - * - * Note that IOChannels implement an automatic implicit character set - * conversion to the data stream, and usually will not pass by default - * binary data unchanged. To set the encoding of the channel, use e.g. - * set_encoding("ISO-8859-15"). To set the channel to no encoding, use - * set_encoding() without any arguments. - * - * You can create an IOChannel with one of the static create methods, or - * implement one yourself, in which case you have to 1) override all - * _vfunc() members. 2) set the GIOChannel flags in your constructor. - * - * @note This feature of being able to implement a custom Glib::IOChannel is - * deprecated in glibmm 2.2. The vfunc interface has not yet stabilized - * enough to allow that -- the C++ wrapper went in by pure accident. Besides, - * it isn't terribly useful either. Thus please refrain from overriding any - * IOChannel vfuncs. - */ -class IOChannel : public sigc::trackable -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef IOChannel CppObjectType; - typedef GIOChannel BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - - -public: - virtual ~IOChannel(); - - /** Open a file @a filename as an I/O channel using mode @a mode. - * This channel will be closed when the last reference to it is dropped, - * so there is no need to call close() (though doing so will not cause - * problems, as long as no attempt is made to access the channel after - * it is closed). - * @param filename The name of the file to open. - * @param mode One of "r", "w", "a", - * "r+", "w+", "a+". These have the - * same meaning as in fopen(). - * @return An IOChannel for the opened file. - * @throw Glib::FileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static Glib::RefPtr create_from_file(const std::string& filename, const std::string& mode); -#else - static Glib::RefPtr create_from_file(const std::string& filename, const std::string& mode, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Creates an I/O channel from a file descriptor. - * On Unix, IOChannels created with this function work for any file - * descriptor or socket. - * - * On Win32, this can be used either for files opened with the MSVCRT (the - * Microsoft run-time C library) _open() or _pipe(), - * including file descriptors 0, 1 and 2 (corresponding to stdin, - * stdout and stderr), or for Winsock SOCKETs. If - * the parameter is a legal file descriptor, it is assumed to be such, - * otherwise it should be a SOCKET. This relies on SOCKETs - * and file descriptors not overlapping. If you want to be certain, call - * either create_from_win32_fd() or create_from_win32_socket() instead as - * appropriate. - * - * The term file descriptor as used in the context of Win32 refers to the - * emulated Unix-like file descriptors MSVCRT provides. The native - * corresponding concept is file HANDLE. There isn't as of yet - * a way to get IOChannels for Win32 file HANDLEs. - */ - static Glib::RefPtr create_from_fd(int fd); - - -/* defined(DOXYGEN_SHOULD_SKIP_THIS) actually does the opposite of what it looks like... */ -#if defined(G_OS_WIN32) || defined(DOXYGEN_SHOULD_SKIP_THIS) - - /** Create an I/O channel for C runtime (emulated Unix-like) file descriptors. - * After calling add_watch() on a I/O channel returned by this function, you - * shouldn't call read() on the file descriptor. This is because adding - * polling for a file descriptor is implemented on Win32 by starting a thread - * that sits blocked in a %read() from the file descriptor most of - * the time. All reads from the file descriptor should be done by this - * internal GLib thread. Your code should call only IOChannel::read(). - */ - static Glib::RefPtr create_from_win32_fd(int fd); - - - /** Create an I/O channel for a winsock socket. The parameter should be a - * SOCKET. Contrary to I/O channels for file descriptors (on Win32), - * you can use normal recv() or recvfrom() on sockets even - * if GLib is polling them. - */ - static Glib::RefPtr create_from_win32_socket(int socket); - - -#endif /* defined(G_OS_WIN32) || defined(DOXYGEN_SHOULD_SKIP_THIS) */ - - /** Read a single UCS-4 character. - * @retval thechar The Unicode character. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - - /** Reads a Unicode character from @a channel. - * This function cannot be called on a channel with 0 encoding. - * @param thechar A location to return a character. - * @return A IOStatus. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read(gunichar& thechar); -#else - IOStatus read(gunichar& thechar, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Read a character sequence into memory. - * @param buf A buffer to read data into. - * @param count The size of the buffer in bytes. Note that the buffer may - * not be complelely filled even if there is data in the buffer if the - * remaining data is not a complete character. - * @retval bytes_read The number of bytes read. This may be zero even on - * success if @a count < 6 and the channel's encoding is not "". - * This indicates that the next UTF-8 character is too wide for the buffer. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - - /** Replacement for g_io_channel_read() with the new API. - * @param buf A buffer to read data into. - * @param count The size of the buffer. Note that the buffer may - * not be complelely filled even if there is data - * in the buffer if the remaining data is not a - * complete character. - * @param bytes_read The number of bytes read. This may be zero even on - * success if count < 6 and the channel's encoding is non-0. - * This indicates that the next UTF-8 character is too wide for - * the buffer. - * @return The status of the operation. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read(char* buf, gsize count, gsize& bytes_read); -#else - IOStatus read(char* buf, gsize count, gsize& bytes_read, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Read a maximum of @a count bytes into @a str. - * @param count The maximum number of bytes to read. - * @retval str The characters that have been read. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read(Glib::ustring& str, gsize count); -#else - IOStatus read(Glib::ustring& str, gsize count, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Read a whole line. - * Reads until the line separator is found, which is included - * in the result string. - * @retval line The line that was read. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read_line(Glib::ustring& line); -#else - IOStatus read_line(Glib::ustring& line, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Reads all the remaining data from the file. - * @retval str The resulting string. - * @return Glib::IO_STATUS_NORMAL on success. This function never - * returns Glib::IO_STATUS_EOF. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read_to_end(Glib::ustring& str); -#else - IOStatus read_to_end(Glib::ustring& str, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Write a string to the I/O channel. - * Note that this method does not return the number of characters written. - * If the channel is blocking and the returned value is - * Glib::IO_STATUS_NORMAL, the whole string was written. - * @param str the string to write. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus write(const Glib::ustring& str); -#else - IOStatus write(const Glib::ustring& str, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Write a memory area of @a count bytes to the I/O channel. - * @param buf The start of the memory area. - * @param count The number of bytes to write. - * @retval bytes_written The number of bytes written to the channel. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - - /** Replacement for g_io_channel_write() with the new API. - * - * On seekable channels with encodings other than 0 or UTF-8, generic - * mixing of reading and writing is not allowed. A call to g_io_channel_write_chars() - * may only be made on a channel from which data has been read in the - * cases described in the documentation for g_io_channel_set_encoding(). - * @param buf A buffer to write data from. - * @param count The size of the buffer. If -1, the buffer - * is taken to be a nul-terminated string. - * @param bytes_written The number of bytes written. This can be nonzero - * even if the return value is not IO_STATUS_NORMAL. - * If the return value is IO_STATUS_NORMAL and the - * channel is blocking, this will always be equal - * to @a count if @a count >= 0. - * @return The status of the operation. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus write(const char* buf, gssize count, gsize& bytes_written); -#else - IOStatus write(const char* buf, gssize count, gsize& bytes_written, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Write a single UCS-4 character to the I/O channel. - * @param unichar The character to write. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - - /** Writes a Unicode character to @a channel. - * This function cannot be called on a channel with 0 encoding. - * @param thechar A character. - * @return A IOStatus. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus write(gunichar unichar); -#else - IOStatus write(gunichar unichar, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Seek the I/O channel to a specific position. - * @param offset The offset in bytes from the position specified by @a type. - * @param type A SeekType. The type Glib::SEEK_TYPE_CUR is only allowed in - * those cases where a call to set_encoding() is allowed. See the - * documentation for set_encoding() for details. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - - /** Replacement for g_io_channel_seek() with the new API. - * @param offset The offset in bytes from the position specified by @a type. - * @param type A SeekType. The type SEEK_CUR is only allowed in those - * cases where a call to g_io_channel_set_encoding() - * is allowed. See the documentation for - * g_io_channel_set_encoding() for details. - * @return The status of the operation. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus seek(gint64 offset, SeekType type = SEEK_TYPE_SET); -#else - IOStatus seek(gint64 offset, SeekType type, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Flush the buffers of the I/O channel. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - - /** Flushes the write buffer for the GIOChannel. - * @return The status of the operation: One of - * IO_CHANNEL_NORMAL, IO_CHANNEL_AGAIN, or - * IO_CHANNEL_ERROR. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus flush(); -#else - IOStatus flush(std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Close the I/O channel. - * Any pending data to be written will be flushed if @a flush is true. - * The channel will not be freed until the last reference is dropped. - * Accessing the channel after closing it is considered an error. - * @param flush Whether to flush() pending data before closing the channel. - * @return The status of the operation. - * @throw Glib::IOChannelError - */ - - /** Close an IO channel. Any pending data to be written will be - * flushed if @a flush is true. The channel will not be freed until the - * last reference is dropped using g_io_channel_unref(). - * @param flush If true, flush pending. - * @param err Location to store a IOChannelError. - * @return The status of the operation. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus close(bool flush = true); -#else - IOStatus close(bool flush, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Get the IOChannel internal buffer size. - * @return The buffer size. - */ - - /** Gets the buffer size. - * @return The size of the buffer. - */ - gsize get_buffer_size() const; - - /** Set the internal IOChannel buffer size. - * @param size The buffer size the IOChannel should use. - */ - - /** Sets the buffer size. - * @param size The size of the buffer, or 0 to let GLib pick a good size. - */ - void set_buffer_size(gsize size); - - /** Get the current flags for a IOChannel, including read-only - * flags such as Glib::IO_FLAG_IS_READABLE. - * - * The values of the flags Glib::IO_FLAG_IS_READABLE and - * Glib::IO_FLAG_IS_WRITEABLE are cached for internal use by the channel when - * it is created. If they should change at some later point (e.g. partial - * shutdown of a socket with the UNIX shutdown() function), the user - * should immediately call get_flags() to update the internal values of these - * flags. - * @return Bitwise combination of the flags set on the channel. - */ - - /** Gets the current flags for a IOChannel, including read-only - * flags such as IO_FLAG_IS_READABLE. - * - * The values of the flags IO_FLAG_IS_READABLE and IO_FLAG_IS_WRITEABLE - * are cached for internal use by the channel when it is created. - * If they should change at some later point (e.g. partial shutdown - * of a socket with the UNIX shutdown() function), the user - * should immediately call g_io_channel_get_flags() to update - * the internal values of these flags. - * @return The flags which are set on the channel. - */ - IOFlags get_flags() const; - - /** Set flags on the IOChannel. - * @param flags Bitwise combination of the flags to set. - * @return The operation result code. - * @throw Glib::IOChannelError - */ - - /** Sets the (writeable) flags in @a channel to ( @a flags & IO_CHANNEL_SET_MASK). - * @param flags The flags to set on the IO channel. - * @return The status of the operation. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus set_flags(IOFlags flags); -#else - IOStatus set_flags(IOFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Set the buffering status of the I/O channel. - * The buffering state can only be set if the channel's encoding is - * "". For any other encoding, the channel must be buffered. - * - * A buffered channel can only be set unbuffered if the channel's internal - * buffers have been flushed. Newly created channels or channels which have - * returned Glib::IO_STATUS_EOF not require such a flush. For write-only - * channels, a call to flush() is sufficient. For all other channels, the - * buffers may be flushed by a call to seek(). This includes the possibility - * of seeking with seek type Glib::SEEK_TYPE_CUR and an offset of zero. Note - * that this means that socket-based channels cannot be set unbuffered once - * they have had data read from them. - * - * The default state of the channel is buffered. - * - * @param buffered Whether to set the channel buffered or unbuffered. - */ - - /** The buffering state can only be set if the channel's encoding - * is 0. For any other encoding, the channel must be buffered. - * - * A buffered channel can only be set unbuffered if the channel's - * internal buffers have been flushed. Newly created channels or - * channels which have returned IO_STATUS_EOF - * not require such a flush. For write-only channels, a call to - * g_io_channel_flush() is sufficient. For all other channels, - * the buffers may be flushed by a call to g_io_channel_seek_position(). - * This includes the possibility of seeking with seek type SEEK_CUR - * and an offset of zero. Note that this means that socket-based - * channels cannot be set unbuffered once they have had data - * read from them. - * - * On unbuffered channels, it is safe to mix read and write - * calls from the new and old APIs, if this is necessary for - * maintaining old code. - * - * The default state of the channel is buffered. - * @param buffered Whether to set the channel buffered or unbuffered. - */ - void set_buffered(bool buffered); - - /** Get the buffering status of the I/O channel. - * @return The buffering status of the channel. - */ - - /** Return Value: true if the @a channel is buffered. - * @return true if the @a channel is buffered. - */ - bool get_buffered() const; - - /** Returns an IOCondition depending on whether there is data to be - * read/space to write data in the internal buffers in the I/O channel. - * Only the flags Glib::IO_IN and Glib::IO_OUT may be set. - * @return Bitwise combination of Glib::IOCondition flags. - */ - - /** This function returns a IOCondition depending on whether there - * is data to be read/space to write data in the internal buffers in - * the IOChannel. Only the flags IO_IN and IO_OUT may be set. - * @return A IOCondition. - */ - IOCondition get_buffer_condition() const; - - /** Returns whether the file/socket/whatever associated with the I/O channel - * will be closed when the channel receives its final unref and is destroyed. - * The default value of this is true for channels created by - * create_from_file(), and false for all other channels. - * @return Whether the channel will be closed on the final unref of the - * IOChannel object. - */ - - /** Return value: Whether the channel will be closed on the final unref of - * @return Whether the channel will be closed on the final unref of - * the GIOChannel data structure. - */ - bool get_close_on_unref() const; - - /** Setting this flag to true for a channel you have already closed - * can cause problems. - * @param do_close Whether to close the channel on the final unref of the - * IOChannel object. The default value of this is true for channels - * created by create_from_file(), and false for all other channels. - */ - - /** Setting this flag to true for a channel you have already closed - * can cause problems. - * @param do_close Whether to close the channel on the final unref of - * the GIOChannel data structure. The default value of - * this is true for channels created by g_io_channel_new_file(), - * and false for all other channels. - */ - void set_close_on_unref(bool do_close); - - /** Sets the encoding for the input/output of the channel. - * The internal encoding is always UTF-8. The default encoding for the - * external file is UTF-8. The encoding "" is safe to use with - * binary data. - * - * The encoding can only be set if one of the following conditions - * is true: - * - * -# The channel was just created, and has not been written to or read from - * yet. - * -# The channel is write-only. - * -# The channel is a file, and the file pointer was just repositioned by a - * call to seek_position(). (This flushes all the internal buffers.) - * -# The current encoding is "" or UTF-8. - * -# One of the read methods has just returned Glib::IO_STATUS_EOF (or, in - * the case of read_to_end(), Glib::IO_STATUS_NORMAL). - * -# The read() method has returned Glib::IO_STATUS_AGAIN or thrown - * a Glib::Error exception. This may be useful in the case of - * ConvertError::ILLEGAL_SEQUENCE. Returning one of these statuses - * from read_line() or read_to_end() does not guarantee that - * the encoding can be changed. - * - * Channels which do not meet one of the above conditions cannot call - * seek_position() with a seek type of Glib::SEEK_TYPE_CUR and, if they - * are "seekable", cannot call write() after calling one of the API - * "read" methods. - * - * @param encoding The encoding name, or "" for binary. - * @return Glib::IO_STATUS_NORMAL if the encoding was successfully set. - * @throw Glib::IOChannelError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus set_encoding(const std::string& encoding = std::string()); -#else - IOStatus set_encoding(const std::string& encoding, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Get the encoding of the I/O channel. - * @return The current encoding of the channel. - */ - std::string get_encoding() const; - - - void set_line_term(const std::string& term = std::string()); - - - std::string get_line_term() const; - - - /** Creates an IOSource object. - * Create a slot from a function to be called when condition is met - * for the channel with sigc::ptr_fun() or sigc::mem_fun() and pass - * it into the connect() function of the returned IOSource object. - * Polling of the channel will start when you attach a MainContext - * object to the returned IOSource object using its attach() function. - * - * Glib::signal_io().connect() is a simpler interface to the same - * functionality, for the case where you want to add the source to the - * default main context. - * @param condition The condition to watch for. - * @return An IOSource object that can be polled from a MainContext's event loop. - */ - Glib::RefPtr create_watch(IOCondition condition); - - - virtual void reference() const; - virtual void unreference() const; - - - GIOChannel* gobj() { return gobject_; } - const GIOChannel* gobj() const { return gobject_; } - -protected: - GIOChannel* gobject_; - - /** Constructor that should be used by derived classes. - * Use this constructor if you want to inherit from IOChannel. - * It will set up a GIOChannel that will call the vfuncs of your - * class even if it is being used from C code, and it will keep - * a reference to the C++ code while the GIOChannel exists. - */ - IOChannel(); - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - IOChannel(GIOChannel* gobject, bool take_copy); -#endif - - virtual IOStatus read_vfunc(char* buf, gsize count, gsize& bytes_read); - virtual IOStatus write_vfunc(const char* buf, gsize count, gsize& bytes_written); - virtual IOStatus seek_vfunc(gint64 offset, SeekType type); - virtual IOStatus close_vfunc(); - virtual IOStatus set_flags_vfunc(IOFlags flags); - virtual IOFlags get_flags_vfunc(); - virtual Glib::RefPtr create_watch_vfunc(IOCondition cond); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - friend class Glib::GlibmmIOChannel; -#endif - - -}; - -Glib::RefPtr wrap(GIOChannel* gobject, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GLIBMM_IOCHANNEL_H */ - diff --git a/libs/glibmm2/glib/glibmm/keyfile.cc b/libs/glibmm2/glib/glibmm/keyfile.cc deleted file mode 100644 index 9cc139a28d..0000000000 --- a/libs/glibmm2/glib/glibmm/keyfile.cc +++ /dev/null @@ -1,690 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -/* Copyright 2006 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -namespace Glib -{ - -/**** Glib::KeyFile ********************************************************/ - -KeyFile::KeyFile() -{ - gobject_ = g_key_file_new(); - owns_gobject_ = true; -} - -KeyFile::KeyFile(GKeyFile* castitem, bool takes_ownership) -{ - gobject_ = castitem; - owns_gobject_ = takes_ownership; -} - -KeyFile::~KeyFile() -{ - if (owns_gobject_) - g_key_file_free(gobject_); -} - -bool KeyFile::load_from_data(const Glib::ustring& data, KeyFileFlags flags) -{ - GError* error = 0; - - const gboolean result = g_key_file_load_from_data( - gobj(), data.c_str(), data.bytes(), - static_cast(unsigned(flags)), - &error); - - if(error) - Glib::Error::throw_exception(error); - - return (result != 0); -} - -bool KeyFile::load_from_data_dirs(const std::string& file, std::string& full_path, - KeyFileFlags flags) -{ - GError* error = 0; - char* full_path_c = 0; - - const gboolean result = g_key_file_load_from_data_dirs( - gobj(), file.c_str(), &full_path_c, - static_cast(unsigned(flags)), - &error); - - if(error) - Glib::Error::throw_exception(error); - - if(full_path_c) - full_path = Glib::ScopedPtr(full_path_c).get(); - else - full_path.erase(); - - return (result != 0); -} - -Glib::ustring KeyFile::to_data() -{ - GError* error = 0; - char *const str = g_key_file_to_data(gobj(), 0, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -Glib::ArrayHandle KeyFile::get_groups() const -{ - gsize length = 0; - char** const array = g_key_file_get_groups(const_cast(gobj()), &length); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ArrayHandle KeyFile::get_keys(const Glib::ustring& group_name) const -{ - gsize length = 0; - GError* error = 0; - - char** const array = g_key_file_get_keys( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - &length, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ustring KeyFile::get_locale_string(const Glib::ustring& group_name, - const Glib::ustring& key) const -{ - GError* error = 0; - char *const str = g_key_file_get_locale_string( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), 0, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -int KeyFile::get_integer(const Glib::ustring& key) const -#else -int KeyFile::get_integer(const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - const int value = g_key_file_get_integer(const_cast(gobj()), - 0, key.c_str(), &gerror); - if(gerror) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); -#else - error = Glib::Error::throw_exception(gerror); -#endif - return value; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -double KeyFile::get_double(const Glib::ustring& key) const -#else -double KeyFile::get_double(const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - double retvalue = g_key_file_get_double(const_cast(gobj()), NULL, key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void KeyFile::set_double(const Glib::ustring& key, double value) -{ - g_key_file_set_double(gobj(), 0, key.c_str(), value); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -# define GLIBMM_ERROR_ARG -# define GLIBMM_THROW(err) if (err) Glib::Error::throw_exception(err) -#else -# define GLIBMM_ERROR_ARG , std::auto_ptr& error -# define GLIBMM_THROW(err) if (err) error = Glib::Error::throw_exception(err) -#endif - -Glib::ArrayHandle KeyFile::get_string_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - char** const array = g_key_file_get_string_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ArrayHandle KeyFile::get_locale_string_list(const Glib::ustring& group_name, - const Glib::ustring& key, - const Glib::ustring& locale - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - char** const array = g_key_file_get_locale_string_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), locale.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ArrayHandle KeyFile::get_boolean_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - gboolean *const array = g_key_file_get_boolean_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_SHALLOW); -} - -Glib::ArrayHandle KeyFile::get_integer_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - int *const array = g_key_file_get_integer_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_SHALLOW); -} - -Glib::ArrayHandle KeyFile::get_double_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - double *const array = g_key_file_get_double_list(const_cast(gobj()), - group_name.c_str(), key.c_str(), - &length, &gerror); - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_SHALLOW); -} - -void KeyFile::set_string_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_string_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), list.data(), list.size()); -} - -void KeyFile::set_locale_string_list(const Glib::ustring& group_name, - const Glib::ustring& key, const Glib::ustring& locale, - const Glib::ArrayHandle& list) -{ - g_key_file_set_locale_string_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), locale.c_str(), list.data(), list.size()); -} - -void KeyFile::set_integer_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_integer_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), const_cast(list.data()), list.size()); -} - -void KeyFile::set_double_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_double_list(gobj(), group_name.c_str(), key.c_str(), - const_cast(list.data()), list.size()); -} - -void KeyFile::set_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_boolean_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), const_cast(list.data()), list.size()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring KeyFile::get_comment() const -#else -Glib::ustring KeyFile::get_comment(std::auto_ptr& error) const -#endif -{ - GError* gerror = 0; - char *const str = g_key_file_get_comment(const_cast(gobj()), 0, 0, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -Glib::ustring KeyFile::get_comment(const Glib::ustring& group_name GLIBMM_ERROR_ARG) const -{ - GError* gerror = 0; - char *const str = g_key_file_get_comment(const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - 0, &gerror); - GLIBMM_THROW(gerror); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -void KeyFile::set_comment(const Glib::ustring& comment GLIBMM_ERROR_ARG) -{ - GError* gerror = 0; - g_key_file_set_comment(gobj(), 0, 0, comment.c_str(), &gerror); - - GLIBMM_THROW(gerror); -} - -void KeyFile::set_comment(const Glib::ustring& group_name, const Glib::ustring& comment - GLIBMM_ERROR_ARG) -{ - GError* gerror = 0; - g_key_file_set_comment(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - 0, comment.c_str(), &gerror); - GLIBMM_THROW(gerror); -} - -} // namespace Glib - -namespace -{ -} // anonymous namespace - - -Glib::KeyFileError::KeyFileError(Glib::KeyFileError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_KEY_FILE_ERROR, error_code, error_message) -{} - -Glib::KeyFileError::KeyFileError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::KeyFileError::Code Glib::KeyFileError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::KeyFileError::throw_func(GError* gobject) -{ - throw Glib::KeyFileError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::KeyFileError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::KeyFileError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -namespace Glib -{ - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool KeyFile::load_from_file(const std::string& filename, KeyFileFlags flags) -#else -bool KeyFile::load_from_file(const std::string& filename, KeyFileFlags flags, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_key_file_load_from_file(gobj(), filename.c_str(), ((GKeyFileFlags)(flags)), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -Glib::ustring KeyFile::get_start_group() const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_key_file_get_start_group(const_cast(gobj()))); -} - -bool KeyFile::has_group(const Glib::ustring& group_name) const -{ - return g_key_file_has_group(const_cast(gobj()), group_name.c_str()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool KeyFile::has_key(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -bool KeyFile::has_key(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_key_file_has_key(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring KeyFile::get_value(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -Glib::ustring KeyFile::get_value(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_key_file_get_value(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring KeyFile::get_string(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -Glib::ustring KeyFile::get_string(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_key_file_get_string(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring KeyFile::get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale) const -#else -Glib::ustring KeyFile::get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_key_file_get_locale_string(const_cast(gobj()), group_name.c_str(), key.c_str(), locale.c_str(), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool KeyFile::get_boolean(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -bool KeyFile::get_boolean(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_key_file_get_boolean(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -int KeyFile::get_integer(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -int KeyFile::get_integer(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - int retvalue = g_key_file_get_integer(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -double KeyFile::get_double(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -double KeyFile::get_double(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - double retvalue = g_key_file_get_double(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void KeyFile::set_double(const Glib::ustring& group_name, const Glib::ustring& key, double value) -{ -g_key_file_set_double(gobj(), group_name.c_str(), key.c_str(), value); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring KeyFile::get_comment(const Glib::ustring& group_name, const Glib::ustring& key) const -#else -Glib::ustring KeyFile::get_comment(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_key_file_get_comment(const_cast(gobj()), group_name.c_str(), key.c_str(), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -void KeyFile::set_list_separator(gchar separator) -{ -g_key_file_set_list_separator(gobj(), separator); -} - -void KeyFile::set_value(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& value) -{ -g_key_file_set_value(gobj(), group_name.c_str(), key.c_str(), value.c_str()); -} - -void KeyFile::set_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& string) -{ -g_key_file_set_string(gobj(), group_name.c_str(), key.c_str(), string.c_str()); -} - -void KeyFile::set_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, const Glib::ustring& string) -{ -g_key_file_set_locale_string(gobj(), group_name.c_str(), key.c_str(), locale.c_str(), string.c_str()); -} - -void KeyFile::set_boolean(const Glib::ustring& group_name, const Glib::ustring& key, bool value) -{ -g_key_file_set_boolean(gobj(), group_name.c_str(), key.c_str(), static_cast(value)); -} - -void KeyFile::set_integer(const Glib::ustring& group_name, const Glib::ustring& key, int value) -{ -g_key_file_set_integer(gobj(), group_name.c_str(), key.c_str(), value); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void KeyFile::set_comment(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& comment) -#else -void KeyFile::set_comment(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& comment, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - g_key_file_set_comment(gobj(), group_name.c_str(), key.c_str(), comment.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void KeyFile::remove_comment(const Glib::ustring& group_name, const Glib::ustring& key) -#else -void KeyFile::remove_comment(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - g_key_file_remove_comment(gobj(), group_name.c_str(), key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void KeyFile::remove_key(const Glib::ustring& group_name, const Glib::ustring& key) -#else -void KeyFile::remove_key(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - g_key_file_remove_key(gobj(), group_name.c_str(), key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void KeyFile::remove_group(const Glib::ustring& group_name) -#else -void KeyFile::remove_group(const Glib::ustring& group_name, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - g_key_file_remove_group(gobj(), group_name.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/keyfile.h b/libs/glibmm2/glib/glibmm/keyfile.h deleted file mode 100644 index d9c3fb3e36..0000000000 --- a/libs/glibmm2/glib/glibmm/keyfile.h +++ /dev/null @@ -1,795 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_KEYFILE_H -#define _GLIBMM_KEYFILE_H - - -/* Copyright(C) 2006 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or(at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GKeyFile GKeyFile; } -#endif - -namespace Glib -{ - - /** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %KeyFileFlags operator|(KeyFileFlags, KeyFileFlags)
- * %KeyFileFlags operator&(KeyFileFlags, KeyFileFlags)
- * %KeyFileFlags operator^(KeyFileFlags, KeyFileFlags)
- * %KeyFileFlags operator~(KeyFileFlags)
- * %KeyFileFlags& operator|=(KeyFileFlags&, KeyFileFlags)
- * %KeyFileFlags& operator&=(KeyFileFlags&, KeyFileFlags)
- * %KeyFileFlags& operator^=(KeyFileFlags&, KeyFileFlags)
- */ -enum KeyFileFlags -{ - KEY_FILE_NONE = 0, - KEY_FILE_KEEP_COMMENTS = 1 << 0, - KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 -}; - -/** @ingroup glibmmEnums */ -inline KeyFileFlags operator|(KeyFileFlags lhs, KeyFileFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline KeyFileFlags operator&(KeyFileFlags lhs, KeyFileFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline KeyFileFlags operator^(KeyFileFlags lhs, KeyFileFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline KeyFileFlags operator~(KeyFileFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline KeyFileFlags& operator|=(KeyFileFlags& lhs, KeyFileFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline KeyFileFlags& operator&=(KeyFileFlags& lhs, KeyFileFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline KeyFileFlags& operator^=(KeyFileFlags& lhs, KeyFileFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** Exception class for KeyFile errors. - */ -class KeyFileError : public Glib::Error -{ -public: - enum Code - { - UNKNOWN_ENCODING, - PARSE, - NOT_FOUND, - KEY_NOT_FOUND, - GROUP_NOT_FOUND, - INVALID_VALUE - }; - - KeyFileError(Code error_code, const Glib::ustring& error_message); - explicit KeyFileError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** This class lets you parse, edit or create files containing groups of key-value pairs, which we call key files - * for lack of a better name. Several freedesktop.org specifications use key files now, e.g the Desktop Entry - * Specification and the Icon Theme Specification. - * - * The syntax of key files is described in detail in the Desktop Entry Specification, here is a quick summary: Key - * files consists of groups of key-value pairs, interspersed with comments. - * - * @code - * # this is just an example - * # there can be comments before the first group - * - * [First Group] - * - * Name=Key File Example\tthis value shows\nescaping - * - * # localized strings are stored in multiple key-value pairs - * Welcome=Hello - * Welcome[de]=Hallo - * Welcome[fr]=Bonjour - * Welcome[it]=Ciao - * - * [Another Group] - * - * Numbers=2;20;-200;0 - * - * Booleans=true;false;true;true - * @endcode - * - * Lines beginning with a '#' and blank lines are considered comments. - * - * Groups are started by a header line containing the group name enclosed in '[' and ']', and ended implicitly by - * the start of the next group or the end of the file. Each key-value pair must be contained in a group. - * - * Key-value pairs generally have the form key=value, with the exception of localized strings, which have the form - * key[locale]=value. Space before and after the '=' character are ignored. Newline, tab, carriage return and - * backslash characters in value are escaped as \\n, \\t, \\r, and \\\\, respectively. To preserve leading spaces in - * values, these can also be escaped as \\s. - * - * Key files can store strings (possibly with localized variants), integers, booleans and lists of these. Lists are - * separated by a separator character, typically ';' or ','. To use the list separator character in a value in a - * list, it has to be escaped by prefixing it with a backslash. - * - * This syntax is obviously inspired by the .ini files commonly met on Windows, but there are some important - * differences: - * - .ini files use the ';' character to begin comments, key files use the '#' character. - * - Key files allow only comments before the first group. - * - Key files are always encoded in UTF-8. - * - Key and Group names are case-sensitive, for example a group called [GROUP] is a different group from [group]. - * - * Note that in contrast to the Desktop Entry Specification, groups in key files may contain the same key multiple - * times; the last entry wins. Key files may also contain multiple groups with the same name; they are merged - * together. Another difference is that keys and group names in key files are not restricted to ASCII characters. - * - * @newin2p14 - */ -class KeyFile -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef KeyFile CppObjectType; - typedef GKeyFile BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - -public: - - /** Creates a new, empty KeyFile object. - */ - KeyFile(); - - /** Destructor - */ - ~KeyFile(); - - - /** Creates a glibmm KeyFile wrapper for a GKeyFile object. - * Note, when using this that when the wrapper is deleted, - * it will not automatically deleted the GKeyFile unless you - * set the delete_c_instance boolean to true. - * @param castitem The C instance to wrap - * @param delete_c_instance If the C instance should be deleted when - * the wrapper is deleted. - */ - KeyFile(GKeyFile* castitem, bool takes_ownership = false); - -public: - - - /** Loads a key file into an empty KeyFile instance. - * If the file could not be loaded then a FileError or KeyFileError exception is thrown. - * - * @a throw Glib::FileError - * @a throw Glib::KeyFileError - * @param file The path of a filename to load, in the GLib file name encoding. - * @param flags Flags from KeyFileFlags. - * @return true if a key file could be loaded, false othewise - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool load_from_file(const std::string& filename, KeyFileFlags flags = Glib::KEY_FILE_NONE); -#else - bool load_from_file(const std::string& filename, KeyFileFlags flags, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Loads a KeyFile from memory - * @param data The data to use as a KeyFile - * @param flags Bitwise combination of the flags to use for the KeyFile - * @return true if the KeyFile was successfully loaded, false otherwise - * @throw Glib::KeyFileError - */ - - bool load_from_data(const Glib::ustring& data, KeyFileFlags flags = Glib::KEY_FILE_NONE); - - - //TODO: - /* - gboolean g_key_file_load_from_dirs (GKeyFile *key_file, - const gchar *file, - const gchar **search_dirs, - gchar **full_path, - GKeyFileFlags flags, - GError **error); - */ - - /** Looks for a KeyFile named @a file in the paths returned from - * g_get_user_data_dir() and g_get_system_data_dirs() and loads them - * into the keyfile object, placing the full path to the file in - * @a full_path. - * @param file The file to search for - * @param full_path Return location for a string containing the full path of the file - * @param flags Bitwise combination of the flags to use for the KeyFile - * @return true if the KeyFile was successfully loaded, false otherwise - * @throw Glib::KeyFileError - * @throw Glib::FileError - */ - bool load_from_data_dirs(const std::string& file, std::string& full_path, KeyFileFlags flags = Glib::KEY_FILE_NONE); - - - /** Outputs the KeyFile as a string - * @return A string object holding the contents of KeyFile - */ - Glib::ustring to_data(); - - - /** Return value: The start group of the key file. - * @return The start group of the key file. - * - * @newin2p6. - */ - Glib::ustring get_start_group() const; - - /** Gets a list of all groups in the KeyFile - * @returns A list containing the names of the groups - */ - Glib::ArrayHandle get_groups() const; - - - /** Gets a list of all keys from the group @a group_name. - * @param group_name The name of a group - * @returns A list containing the names of the keys in @a group_name - */ - Glib::ArrayHandle get_keys(const Glib::ustring& group_name) const; - - - /** Looks whether the key file has the group @a group_name. - * @param group_name A group name. - * @return true if @a group_name is a part of @a key_file, false - * otherwise. - * @newin2p6. - */ - bool has_group(const Glib::ustring& group_name) const; - - /** Looks whether the key file has the key @a key in the group - * @a group_name. - * @param group_name A group name. - * @param key A key name. - * @return true if @a key is a part of @a group_name, false - * otherwise. - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool has_key(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - bool has_key(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Returns the value associated with @a key under @a group_name. - * - * @a throw Glib::FileError in the event the key cannot be found (with the Glib::KEY_FILE_ERROR_KEY_NOT_FOUND code). - * @a throw Glib::KeyFileError in the event that the @a group_name cannot be found (with the Glib::KEY_FILE_ERROR_GROUP_NOT_FOUND). - * @param group_name A group name. - * @param key A key. - * @return The value as a string. - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_value(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ustring get_value(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Return value: a newly allocated string or 0 if the specified - * @param group_name A group name. - * @param key A key. - * @return A newly allocated string or 0 if the specified - * key cannot be found. - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_string(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ustring get_string(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the value associated with @a key under @a group_name translated - * into the current locale. - */ - Glib::ustring get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key) const; - - - /** Return value: a newly allocated string or 0 if the specified - * @param group_name A group name. - * @param key A key. - * @param locale A locale or 0. - * @return A newly allocated string or 0 if the specified - * key cannot be found. - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale) const; -#else - Glib::ustring get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Return value: the value associated with the key as a boolean, - * @param group_name A group name. - * @param key A key. - * @return The value associated with the key as a boolean, - * or false if the key was not found or could not be parsed. - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool get_boolean(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - bool get_boolean(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the value in the first group, under @a key, interpreting it as - * an integer. - * @param key The name of the key - * @return The value of @a key as an integer - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - int get_integer(const Glib::ustring& key) const; -#else - int get_integer(const Glib::ustring& key, std::auto_ptr& error) const; -#endif - - /** Return value: the value associated with the key as an integer, or - * @param group_name A group name. - * @param key A key. - * @return The value associated with the key as an integer, or - * 0 if the key was not found or could not be parsed. - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - int get_integer(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - int get_integer(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Gets the value in the first group, under @a key, interpreting it as - * a double. - * @param key The name of the key - * @return The value of @a key as an double - * @throws Glib::KeyFileError - * - * @newin2p14 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - double get_double(const Glib::ustring& key) const; -#else - double get_double(const Glib::ustring& key, std::auto_ptr& error) const; -#endif - - /** Return value: the value associated with the key as a double, or - * @param group_name A group name. - * @param key A key. - * @return The value associated with the key as a double, or - * 0.0 if the key was not found or could not be parsed. - * - * @newin2p14. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - double get_double(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - double get_double(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Associates a new double value with @a key under @a group_name. - * If @a key cannot be found then it is created. - * - * @newin2p14 - * @param group_name A group name. - * @param key A key. - * @param value An double value. - */ - void set_double(const Glib::ustring& group_name, const Glib::ustring& key, double value); - - /** Associates a new double value with @a key under the start group. - * If @a key cannot be found then it is created. - * - * @newin2p12 - * @param key A key. - * @param value An double value. - */ - void set_double(const Glib::ustring& key, double value); - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list containing the values requested - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_string_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_string_list(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif - - - /** Returns the values associated with @a key under @a group_name - * translated into the current locale, if available. - * @param group_name The name of a group - * @param key The name of a key - * @return A list containing the values requested - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif - - /** Returns the values associated with @a key under @a group_name - * translated into @a locale, if available. - * @param group_name The name of a group - * @param key The name of a key - * @param locale The name of a locale - * @return A list containing the values requested - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale) const; -#else - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, std::auto_ptr& error) const; -#endif - - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list of booleans - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key, - std::auto_ptr& error) const; -#endif - - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list of integers - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_integer_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_integer_list(const Glib::ustring& group_name, const Glib::ustring& key, - std::auto_ptr& error) const; -#endif - - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list of doubles - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_double_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_double_list(const Glib::ustring& group_name, const Glib::ustring& key, - std::auto_ptr& error) const; -#endif - - - /** Get comment from top of file - * @return The comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_comment() const; -#else - Glib::ustring get_comment(std::auto_ptr& error) const; -#endif - - /** Get comment from above a group - * @param group_name The group - * @return The comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_comment(const Glib::ustring& group_name) const; -#else - Glib::ustring get_comment(const Glib::ustring& group_name, std::auto_ptr& error) const; -#endif - - - /** Retrieves a comment above @a key from @a group_name. - * If @a key is 0 then @a comment will be read from above - * @a group_name. If both @a key and @a group_name are 0, then - * @a comment will be read from above the first group in the file. - * @param group_name A group name, or 0. - * @param key A key. - * @return A comment that should be freed with g_free() - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_comment(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ustring get_comment(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Sets the character which is used to separate - * values in lists. Typically ';' or ',' are used - * as separators. The default list separator is ';'. - * - * @newin2p6 - * @param separator The separator. - */ - void set_list_separator(gchar separator); - - /** Associates a new value with @a key under @a group_name. - * If @a key cannot be found then it is created. - * If @a group_name cannot be found then it is created. - * - * @newin2p6 - * @param group_name A group name. - * @param key A key. - * @param value A string. - */ - void set_value(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& value); - - /** Associates a new string value with @a key under @a group_name. - * If @a key cannot be found then it is created. - * If @a group_name cannot be found then it is created. - * - * @newin2p6 - * @param group_name A group name. - * @param key A key. - * @param string A string. - */ - void set_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& string); - - /** Associates a string value for @a key and @a locale under @a group_name. - * If the translation for @a key cannot be found then it is created. - * - * @newin2p6 - * @param group_name A group name. - * @param key A key. - * @param locale A locale. - * @param string A string. - */ - void set_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, const Glib::ustring& string); - - /** Associates a new boolean value with @a key under @a group_name. - * If @a key cannot be found then it is created. - * - * @newin2p6 - * @param group_name A group name. - * @param key A key. - * @param value true or false. - */ - void set_boolean(const Glib::ustring& group_name, const Glib::ustring& key, bool value); - - /** Associates a new integer value with @a key under @a group_name. - * If @a key cannot be found then it is created. - * - * @newin2p6 - * @param group_name A group name. - * @param key A key. - * @param value An integer value. - */ - void set_integer(const Glib::ustring& group_name, const Glib::ustring& key, int value); - - /** Sets a list of string values for @a key under @a group_name. If - * key cannot be found it is created. If @a group_name cannot be found - * it is created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding objects of type Glib::ustring - */ - void set_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - - - /** Sets a list of string values for the @a key under @a group_name and marks - * them as being for @a locale. If the @a key or @a group_name cannot be - * found, they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param locale A locale - * @param list A list holding objects of type Glib::ustring - */ - void set_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, const Glib::ArrayHandle& list); - - - /** Sets a list of booleans for the @a key under @a group_name. - * If either the @a key or @a group_name cannot be found they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding object of type bool - */ - void set_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - - - /** Sets a list of integers for the @a key under @a group_name. - * If either the @a key or @a group_name cannot be found they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding object of type int - */ - void set_integer_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - - - /** Sets a list of doubles for the @a key under @a group_name. - * If either the @a key or @a group_name cannot be found they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding object of type int - * - * @newin2p14 - */ - void set_double_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - - - /** Places @a comment at the start of the file, before the first group. - * @param comment The Comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void set_comment(const Glib::ustring& comment); -#else - void set_comment(const Glib::ustring& comment, std::auto_ptr& error); -#endif - - /** Places @a comment above @a group_name. - * @param group_name The Group the comment should be above - * @param comment The comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void set_comment(const Glib::ustring& group_name, const Glib::ustring& comment); -#else - void set_comment(const Glib::ustring& group_name, const Glib::ustring& comment, - std::auto_ptr& error); -#endif - - /** Places a comment above @a key from @a group_name. - * @param key Key comment should be above - * @param group_name Group comment is in - * @param comment The comment - */ - - /** Places a comment above @a key from @a group_name. - * If @a key is 0 then @a comment will be written above @a group_name. - * If both @a key and @a group_name are 0, then @a comment will be - * written above the first group in the file. - * @param group_name A group name, or 0. - * @param key A key. - * @param comment A comment. - * @return true if the comment was written, false otherwise - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void set_comment(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& comment); -#else - void set_comment(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& comment, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Removes a comment above @a key from @a group_name. - * If @a key is 0 then @a comment will be removed above @a group_name. - * If both @a key and @a group_name are 0, then @a comment will - * be removed above the first group in the file. - * @param group_name A group name, or 0. - * @param key A key. - * @return true if the comment was removed, false otherwise - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void remove_comment(const Glib::ustring& group_name, const Glib::ustring& key); -#else - void remove_comment(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Removes @a key in @a group_name from the key file. - * @param group_name A group name. - * @param key A key name to remove. - * @return true if the key was removed, false otherwise - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void remove_key(const Glib::ustring& group_name, const Glib::ustring& key); -#else - void remove_key(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Removes the specified group, @a group_name, - * from the key file. - * @param group_name A group name. - * @return true if the group was removed, false otherwise - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void remove_group(const Glib::ustring& group_name); -#else - void remove_group(const Glib::ustring& group_name, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - GKeyFile* gobj() { return gobject_; } - const GKeyFile* gobj() const { return gobject_; } - -protected: - GKeyFile* gobject_; - bool owns_gobject_; - -private: - // noncopyable - KeyFile(const KeyFile&); - KeyFile& operator=(const KeyFile&); - - -}; - -} // namespace Glib - - -#endif /* _GLIBMM_KEYFILE_H */ - diff --git a/libs/glibmm2/glib/glibmm/listhandle.h b/libs/glibmm2/glib/glibmm/listhandle.h deleted file mode 100644 index 446276ab15..0000000000 --- a/libs/glibmm2/glib/glibmm/listhandle.h +++ /dev/null @@ -1,406 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_LISTHANDLE_H -#define _GLIBMM_LISTHANDLE_H - -/* $Id: listhandle.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -namespace Container_Helpers -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/* Create and fill a GList as efficient as possible. - * This requires bidirectional iterators. - */ -template -GList* create_list(Bi pbegin, Bi pend, Tr) -{ - GList* head = 0; - - while(pend != pbegin) - { - // Use & to force a warning if the iterator returns a temporary object. - const void *const item = Tr::to_c_type(*&*--pend); - head = g_list_prepend(head, const_cast(item)); - } - - return head; -} - -/* Create a GList from a 0-terminated input sequence. - * Build it in reverse order and reverse the whole list afterwards, - * because appending to the list would be horribly inefficient. - */ -template -GList* create_list(For pbegin, Tr) -{ - GList* head = 0; - - while(*pbegin) - { - // Use & to force a warning if the iterator returns a temporary object. - const void *const item = Tr::to_c_type(*&*pbegin); - head = g_list_prepend(head, const_cast(item)); - ++pbegin; - } - - return g_list_reverse(head); -} - - -/* Convert from any container that supports bidirectional iterators. - */ -template -struct ListSourceTraits -{ - static GList* get_data(const Cont& cont) - { return Glib::Container_Helpers::create_list(cont.begin(), cont.end(), Tr()); } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -/* Convert from a 0-terminated array. The Cont - * argument must be a pointer to the first element. - */ -template -struct ListSourceTraits -{ - static GList* get_data(const Cont* array) - { return (array) ? Glib::Container_Helpers::create_list(array, Tr()) : 0; } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -template -struct ListSourceTraits : ListSourceTraits -{}; - -/* Convert from a 0-terminated array. The Cont argument must be a pointer - * to the first element. For consistency, the array must be 0-terminated, - * even though the array size is known at compile time. - */ -template -struct ListSourceTraits -{ - static GList* get_data(const Cont* array) - { return Glib::Container_Helpers::create_list(array, array + (N - 1), Tr()); } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -template -struct ListSourceTraits : ListSourceTraits -{}; - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** - * @ingroup ContHelpers - * If a method takes this as an argument, or has this as a return type, then you can use a standard - * container such as std::list or std::vector. - */ -template -class ListHandleIterator -{ -public: - typedef typename Tr::CppType CppType; - typedef typename Tr::CType CType; - - typedef std::forward_iterator_tag iterator_category; - typedef CppType value_type; - typedef ptrdiff_t difference_type; - typedef value_type reference; - typedef void pointer; - - explicit inline ListHandleIterator(const GList* node); - - inline value_type operator*() const; - inline ListHandleIterator & operator++(); - inline const ListHandleIterator operator++(int); - - inline bool operator==(const ListHandleIterator& rhs) const; - inline bool operator!=(const ListHandleIterator& rhs) const; - -private: - const GList* node_; -}; - -} // namespace Container_Helpers - - -/** - * @ingroup ContHandles - */ -template < class T, class Tr = Glib::Container_Helpers::TypeTraits > -class ListHandle -{ -public: - typedef typename Tr::CppType CppType; - typedef typename Tr::CType CType; - - typedef CppType value_type; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - - typedef Glib::Container_Helpers::ListHandleIterator const_iterator; - typedef Glib::Container_Helpers::ListHandleIterator iterator; - - template inline - ListHandle(const Cont& container); - - // Take over ownership of an array created by GTK+ functions. - inline ListHandle(GList* glist, Glib::OwnershipType ownership); - - // Copying clears the ownership flag of the source handle. - inline ListHandle(const ListHandle& other); - - ~ListHandle(); - - inline const_iterator begin() const; - inline const_iterator end() const; - - template inline operator std::vector() const; - template inline operator std::deque() const; - template inline operator std::list() const; - - template inline - void assign_to(Cont& container) const; - - template inline - void copy(Out pdest) const; - - inline GList* data() const; - inline size_t size() const; - inline bool empty() const; - -private: - GList * plist_; - mutable Glib::OwnershipType ownership_; - - // No copy assignment. - ListHandle& operator=(const ListHandle&); -}; - - -/***************************************************************************/ -/* Inline implementation */ -/***************************************************************************/ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -namespace Container_Helpers -{ - -/**** Glib::Container_Helpers::ListHandleIterator<> ************************/ - -template inline -ListHandleIterator::ListHandleIterator(const GList* node) -: - node_ (node) -{} - -template inline -typename ListHandleIterator::value_type ListHandleIterator::operator*() const -{ - return Tr::to_cpp_type(static_cast(node_->data)); -} - -template inline -ListHandleIterator& ListHandleIterator::operator++() -{ - node_ = node_->next; - return *this; -} - -template inline -const ListHandleIterator ListHandleIterator::operator++(int) -{ - const ListHandleIterator tmp (*this); - node_ = node_->next; - return tmp; -} - -template inline -bool ListHandleIterator::operator==(const ListHandleIterator& rhs) const -{ - return (node_ == rhs.node_); -} - -template inline -bool ListHandleIterator::operator!=(const ListHandleIterator& rhs) const -{ - return (node_ != rhs.node_); -} - -} // namespace Container_Helpers - - -/**** Glib::ListHandle<> ***************************************************/ - -template - template -inline -ListHandle::ListHandle(const Cont& container) -: - plist_ (Glib::Container_Helpers::ListSourceTraits::get_data(container)), - ownership_ (Glib::Container_Helpers::ListSourceTraits::initial_ownership) -{} - -template inline -ListHandle::ListHandle(GList* glist, Glib::OwnershipType ownership) -: - plist_ (glist), - ownership_ (ownership) -{} - -template inline -ListHandle::ListHandle(const ListHandle& other) -: - plist_ (other.plist_), - ownership_ (other.ownership_) -{ - other.ownership_ = Glib::OWNERSHIP_NONE; -} - -template -ListHandle::~ListHandle() -{ - if(ownership_ != Glib::OWNERSHIP_NONE) - { - if(ownership_ != Glib::OWNERSHIP_SHALLOW) - { - // Deep ownership: release each container element. - for(GList* node = plist_; node != 0; node = node->next) - Tr::release_c_type(static_cast(node->data)); - } - g_list_free(plist_); - } -} - -template inline -typename ListHandle::const_iterator ListHandle::begin() const -{ - return Glib::Container_Helpers::ListHandleIterator(plist_); -} - -template inline -typename ListHandle::const_iterator ListHandle::end() const -{ - return Glib::Container_Helpers::ListHandleIterator(0); -} - -template - template -inline -ListHandle::operator std::vector() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::vector(this->begin(), this->end()); -#else - std::vector temp; - temp.reserve(this->size()); - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -ListHandle::operator std::deque() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::deque(this->begin(), this->end()); -#else - std::deque temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -ListHandle::operator std::list() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::list(this->begin(), this->end()); -#else - std::list temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -void ListHandle::assign_to(Cont& container) const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - container.assign(this->begin(), this->end()); -#else - Cont temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - container.swap(temp); -#endif -} - -template - template -inline -void ListHandle::copy(Out pdest) const -{ - std::copy(this->begin(), this->end(), pdest); -} - -template inline -GList* ListHandle::data() const -{ - return plist_; -} - -template inline -size_t ListHandle::size() const -{ - return g_list_length(plist_); -} - -template inline -bool ListHandle::empty() const -{ - return (plist_ == 0); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - - -#endif /* _GLIBMM_LISTHANDLE_H */ - diff --git a/libs/glibmm2/glib/glibmm/main.cc b/libs/glibmm2/glib/glibmm/main.cc deleted file mode 100644 index 0865124bba..0000000000 --- a/libs/glibmm2/glib/glibmm/main.cc +++ /dev/null @@ -1,1093 +0,0 @@ -// -*- c++ -*- -/* $Id: main.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - -#include - -GLIBMM_USING_STD(min) - - -namespace -{ - -class SourceConnectionNode -{ -public: - explicit inline SourceConnectionNode(const sigc::slot_base& slot); - - static void* notify(void* data); - static void destroy_notify_callback(void* data); - - inline void install(GSource* source); - inline sigc::slot_base* get_slot(); - -private: - sigc::slot_base slot_; - GSource* source_; -}; - -inline -SourceConnectionNode::SourceConnectionNode(const sigc::slot_base& slot) -: - slot_ (slot), - source_ (0) -{ - slot_.set_parent(this, &SourceConnectionNode::notify); -} - -void* SourceConnectionNode::notify(void* data) -{ - SourceConnectionNode *const self = static_cast(data); - - // if there is no object, this call was triggered from destroy_notify_handler(), - // because we set self->source_ to 0 there: - if (self->source_) - { - GSource* s = self->source_; - self->source_ = 0; - g_source_destroy(s); - - // Destroying the object triggers execution of destroy_notify_handler(), - // eiter immediately or later, so we leave that to do the deletion. - } - - return 0; -} - -// static -void SourceConnectionNode::destroy_notify_callback(void* data) -{ - SourceConnectionNode *const self = static_cast(data); - - if (self) - { - // The GLib side is disconnected now, thus the GSource* is no longer valid. - self->source_ = 0; - - delete self; - } -} - -inline -void SourceConnectionNode::install(GSource* source) -{ - source_ = source; -} - -inline -sigc::slot_base* SourceConnectionNode::get_slot() -{ - return &slot_; -} - - -/* We use the callback data member of GSource to store both a pointer to our - * wrapper and a pointer to the connection node that is currently being used. - * The one and only SourceCallbackData object of a Glib::Source is constructed - * in the ctor of Glib::Source and destroyed after the GSource object when the - * reference counter of the GSource object reaches zero! - */ -struct SourceCallbackData -{ - explicit inline SourceCallbackData(Glib::Source* wrapper_); - - void set_node(SourceConnectionNode* node_); - - static void destroy_notify_callback(void* data); - - Glib::Source* wrapper; - SourceConnectionNode* node; -}; - -inline -SourceCallbackData::SourceCallbackData(Glib::Source* wrapper_) -: - wrapper (wrapper_), - node (0) -{} - -void SourceCallbackData::set_node(SourceConnectionNode* node_) -{ - if(node) - SourceConnectionNode::destroy_notify_callback(node); - - node = node_; -} - -// static -void SourceCallbackData::destroy_notify_callback(void* data) -{ - SourceCallbackData *const self = static_cast(data); - - if(self->node) - SourceConnectionNode::destroy_notify_callback(self->node); - - if(self->wrapper) - Glib::Source::destroy_notify_callback(self->wrapper); - - delete self; -} - - -/* Retrieve the callback data from a wrapped GSource object. - */ -static SourceCallbackData* glibmm_source_get_callback_data(GSource* source) -{ - g_return_val_if_fail(source->callback_funcs->get != 0, 0); - - GSourceFunc func; - void* user_data = 0; - - // Retrieve the callback function and data. - (*source->callback_funcs->get)(source->callback_data, source, &func, &user_data); - - return static_cast(user_data); -} - -/* Glib::Source doesn't use the callback function installed with - * g_source_set_callback(). Instead, it invokes the sigc++ slot - * directly from dispatch_vfunc(), which is both simpler and more - * efficient. - * For correctness, provide a pointer to this dummy callback rather - * than some random pointer. That also allows for sanity checks - * here as well as in Source::dispatch_vfunc(). - */ -static gboolean glibmm_dummy_source_callback(void*) -{ - g_assert_not_reached(); - return 0; -} - -/* Only used by SignalTimeout::connect() and SignalIdle::connect(). - * These don't use Glib::Source, to avoid the unnecessary overhead - * of a completely unused wrapper object. - */ -static gboolean glibmm_source_callback(void* data) -{ - SourceConnectionNode *const conn_data = static_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Recreate the specific slot from the generic slot node. - return (*static_cast*>(conn_data->get_slot()))(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - return 0; -} - -static gboolean glibmm_iosource_callback(GIOChannel*, GIOCondition condition, void* data) -{ - SourceCallbackData *const callback_data = static_cast(data); - g_return_val_if_fail(callback_data->node != 0, 0); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Recreate the specific slot from the generic slot node. - return (*static_cast*>(callback_data->node->get_slot())) - ((Glib::IOCondition) condition); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - return 0; -} - -/* Only used by SignalChildWatch::connect(). - * These don't use Glib::Source, to avoid the unnecessary overhead - * of a completely unused wrapper object. - */ -static gboolean glibmm_child_watch_callback(GPid pid, gint child_status, void* data) -{ - SourceConnectionNode *const conn_data = static_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try { - #endif //GLIBMM_EXCEPTIONS_ENABLED - //Recreate the specific slot from the generic slot node. - (*static_cast*>(conn_data->get_slot()))(pid, child_status); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - return 0; -} - -} // anonymous namespace - - -namespace Glib -{ - -/**** Glib::PollFD *********************************************************/ - -PollFD::PollFD() -{ - gobject_.fd = 0; - gobject_.events = 0; - gobject_.revents = 0; -} - -PollFD::PollFD(int fd) -{ - gobject_.fd = fd; - gobject_.events = 0; - gobject_.revents = 0; -} - -PollFD::PollFD(int fd, IOCondition events) -{ - gobject_.fd = fd; - gobject_.events = events; - gobject_.revents = 0; -} - - -/**** Glib::SignalTimeout **************************************************/ - -inline -SignalTimeout::SignalTimeout(GMainContext* context) -: - context_ (context) -{} - -/* Note that this is our equivalent of g_timeout_add(). */ -sigc::connection SignalTimeout::connect(const sigc::slot& slot, - unsigned int interval, int priority) -{ - SourceConnectionNode *const conn_node = new SourceConnectionNode(slot); - const sigc::connection connection (*conn_node->get_slot()); - - GSource *const source = g_timeout_source_new(interval); - - if(priority != G_PRIORITY_DEFAULT) - g_source_set_priority(source, priority); - - g_source_set_callback( - source, &glibmm_source_callback, conn_node, - &SourceConnectionNode::destroy_notify_callback); - - g_source_attach(source, context_); - g_source_unref(source); // GMainContext holds a reference - - conn_node->install(source); - return connection; -} - -/* Note that this is our equivalent of g_timeout_add_seconds(). */ -sigc::connection SignalTimeout::connect_seconds(const sigc::slot& slot, - unsigned int interval, int priority) -{ - SourceConnectionNode *const conn_node = new SourceConnectionNode(slot); - const sigc::connection connection (*conn_node->get_slot()); - - GSource *const source = g_timeout_source_new_seconds(interval); - - if(priority != G_PRIORITY_DEFAULT) - g_source_set_priority(source, priority); - - g_source_set_callback( - source, &glibmm_source_callback, conn_node, - &SourceConnectionNode::destroy_notify_callback); - - g_source_attach(source, context_); - g_source_unref(source); // GMainContext holds a reference - - conn_node->install(source); - return connection; -} - -SignalTimeout signal_timeout() -{ - return SignalTimeout(0); // 0 means default context -} - - -/**** Glib::SignalIdle *****************************************************/ - -inline -SignalIdle::SignalIdle(GMainContext* context) -: - context_ (context) -{} - -sigc::connection SignalIdle::connect(const sigc::slot& slot, int priority) -{ - SourceConnectionNode *const conn_node = new SourceConnectionNode(slot); - const sigc::connection connection (*conn_node->get_slot()); - - GSource *const source = g_idle_source_new(); - - if(priority != G_PRIORITY_DEFAULT) - g_source_set_priority(source, priority); - - g_source_set_callback( - source, &glibmm_source_callback, conn_node, - &SourceConnectionNode::destroy_notify_callback); - - g_source_attach(source, context_); - g_source_unref(source); // GMainContext holds a reference - - conn_node->install(source); - return connection; -} - -SignalIdle signal_idle() -{ - return SignalIdle(0); // 0 means default context -} - - -/**** Glib::SignalIO *******************************************************/ - -inline -SignalIO::SignalIO(GMainContext* context) -: - context_ (context) -{} - -sigc::connection SignalIO::connect(const sigc::slot& slot, - int fd, IOCondition condition, int priority) -{ - const Glib::RefPtr source = IOSource::create(fd, condition); - - if(priority != G_PRIORITY_DEFAULT) - source->set_priority(priority); - - const sigc::connection connection = source->connect(slot); - - g_source_attach(source->gobj(), context_); - - return connection; -} - -sigc::connection SignalIO::connect(const sigc::slot& slot, - const Glib::RefPtr& channel, - IOCondition condition, int priority) -{ - const Glib::RefPtr source = IOSource::create(channel, condition); - - if(priority != G_PRIORITY_DEFAULT) - source->set_priority(priority); - - const sigc::connection connection = source->connect(slot); - - g_source_attach(source->gobj(), context_); - - return connection; -} - -SignalIO signal_io() -{ - return SignalIO(0); // 0 means default context -} - -/**** Glib::SignalChildWatch **************************************************/ - -inline -SignalChildWatch::SignalChildWatch(GMainContext* context) -: - context_ (context) -{} - -sigc::connection SignalChildWatch::connect(const sigc::slot& slot, - GPid pid, int priority) -{ - SourceConnectionNode *const conn_node = new SourceConnectionNode(slot); - const sigc::connection connection(*conn_node->get_slot()); - - GSource *const source = g_child_watch_source_new(pid); - - if(priority != G_PRIORITY_DEFAULT) - g_source_set_priority(source, priority); - - g_source_set_callback( - source, (GSourceFunc)&glibmm_child_watch_callback, conn_node, - &SourceConnectionNode::destroy_notify_callback); - - g_source_attach(source, context_); - g_source_unref(source); // GMainContext holds a reference - - conn_node->install(source); - return connection; -} - -SignalChildWatch signal_child_watch() -{ - return SignalChildWatch(0); // 0 means default context -} - -/**** Glib::MainContext ****************************************************/ - -// static -Glib::RefPtr MainContext::create() -{ - return Glib::RefPtr(reinterpret_cast(g_main_context_new())); -} - -// static -Glib::RefPtr MainContext::get_default() -{ - return Glib::wrap(g_main_context_default(), true); -} - -bool MainContext::iteration(bool may_block) -{ - return g_main_context_iteration(gobj(), may_block); -} - -bool MainContext::pending() -{ - return g_main_context_pending(gobj()); -} - -void MainContext::wakeup() -{ - g_main_context_wakeup(gobj()); -} - -bool MainContext::acquire() -{ - return g_main_context_acquire(gobj()); -} - -bool MainContext::wait(Glib::Cond& cond, Glib::Mutex& mutex) -{ - return g_main_context_wait(gobj(), cond.gobj(), mutex.gobj()); -} - -void MainContext::release() -{ - g_main_context_release(gobj()); -} - -bool MainContext::prepare(int& priority) -{ - return g_main_context_prepare(gobj(), &priority); -} - -bool MainContext::prepare() -{ - return g_main_context_prepare(gobj(), 0); -} - -void MainContext::query(int max_priority, int& timeout, std::vector& fds) -{ - if(fds.empty()) - fds.resize(8); // rather bogus number, but better than 0 - - for(;;) - { - const int size_before = fds.size(); - const int size_needed = g_main_context_query( - gobj(), max_priority, &timeout, reinterpret_cast(&fds.front()), size_before); - - fds.resize(size_needed); - - if(size_needed <= size_before) - break; - } -} - -bool MainContext::check(int max_priority, std::vector& fds) -{ - if(!fds.empty()) - return g_main_context_check(gobj(), max_priority, reinterpret_cast(&fds.front()), fds.size()); - else - return false; -} - -void MainContext::dispatch() -{ - g_main_context_dispatch(gobj()); -} - -void MainContext::set_poll_func(GPollFunc poll_func) -{ - g_main_context_set_poll_func(gobj(), poll_func); -} - -GPollFunc MainContext::get_poll_func() -{ - return g_main_context_get_poll_func(gobj()); -} - -void MainContext::add_poll(PollFD& fd, int priority) -{ - g_main_context_add_poll(gobj(), fd.gobj(), priority); -} - -void MainContext::remove_poll(PollFD& fd) -{ - g_main_context_remove_poll(gobj(), fd.gobj()); -} - -SignalTimeout MainContext::signal_timeout() -{ - return SignalTimeout(gobj()); -} - -SignalIdle MainContext::signal_idle() -{ - return SignalIdle(gobj()); -} - -SignalIO MainContext::signal_io() -{ - return SignalIO(gobj()); -} - -SignalChildWatch MainContext::signal_child_watch() -{ - return SignalChildWatch(gobj()); -} - -void MainContext::reference() const -{ - g_main_context_ref(reinterpret_cast(const_cast(this))); -} - -void MainContext::unreference() const -{ - g_main_context_unref(reinterpret_cast(const_cast(this))); -} - -GMainContext* MainContext::gobj() -{ - return reinterpret_cast(this); -} - -const GMainContext* MainContext::gobj() const -{ - return reinterpret_cast(this); -} - -GMainContext* MainContext::gobj_copy() const -{ - reference(); - return const_cast(gobj()); -} - -Glib::RefPtr wrap(GMainContext* gobject, bool take_copy) -{ - if(take_copy && gobject) - g_main_context_ref(gobject); - - return Glib::RefPtr(reinterpret_cast(gobject)); -} - - -/**** Glib::MainLoop *******************************************************/ - -Glib::RefPtr MainLoop::create(bool is_running) -{ - return Glib::RefPtr( - reinterpret_cast(g_main_loop_new(0, is_running))); -} - -Glib::RefPtr MainLoop::create(const Glib::RefPtr& context, bool is_running) -{ - return Glib::RefPtr( - reinterpret_cast(g_main_loop_new(Glib::unwrap(context), is_running))); -} - -void MainLoop::run() -{ - g_main_loop_run(gobj()); -} - -void MainLoop::quit() -{ - g_main_loop_quit(gobj()); -} - -bool MainLoop::is_running() -{ - return g_main_loop_is_running(gobj()); -} - -Glib::RefPtr MainLoop::get_context() -{ - return Glib::wrap(g_main_loop_get_context(gobj()), true); -} - -//static: -int MainLoop::depth() -{ - return g_main_depth(); -} - -void MainLoop::reference() const -{ - g_main_loop_ref(reinterpret_cast(const_cast(this))); -} - -void MainLoop::unreference() const -{ - g_main_loop_unref(reinterpret_cast(const_cast(this))); -} - -GMainLoop* MainLoop::gobj() -{ - return reinterpret_cast(this); -} - -const GMainLoop* MainLoop::gobj() const -{ - return reinterpret_cast(this); -} - -GMainLoop* MainLoop::gobj_copy() const -{ - reference(); - return const_cast(gobj()); -} - -Glib::RefPtr wrap(GMainLoop* gobject, bool take_copy) -{ - if(take_copy && gobject) - g_main_loop_ref(gobject); - - return Glib::RefPtr(reinterpret_cast(gobject)); -} - - -/**** Glib::Source *********************************************************/ - -// static -const GSourceFuncs Source::vfunc_table_ = -{ - &Source::prepare_vfunc, - &Source::check_vfunc, - &Source::dispatch_vfunc, - 0, // finalize_vfunc // We can't use finalize_vfunc because there is no way - // to store a pointer to our wrapper anywhere in GSource so - // that it persists until finalize_vfunc would be called from here. - 0, // closure_callback - 0, // closure_marshal -}; - -unsigned int Source::attach(const Glib::RefPtr& context) -{ - return g_source_attach(gobject_, Glib::unwrap(context)); -} - -unsigned int Source::attach() -{ - return g_source_attach(gobject_, 0); -} - -void Source::destroy() -{ - g_source_destroy(gobject_); -} - -void Source::set_priority(int priority) -{ - g_source_set_priority(gobject_, priority); -} - -int Source::get_priority() const -{ - return g_source_get_priority(gobject_); -} - -void Source::set_can_recurse(bool can_recurse) -{ - g_source_set_can_recurse(gobject_, can_recurse); -} - -bool Source::get_can_recurse() const -{ - return g_source_get_can_recurse(gobject_); -} - -unsigned int Source::get_id() const -{ - return g_source_get_id(gobject_); -} - -Glib::RefPtr Source::get_context() -{ - return Glib::wrap(g_source_get_context(gobject_), true); -} - -GSource* Source::gobj_copy() const -{ - return g_source_ref(gobject_); -} - -void Source::reference() const -{ - g_source_ref(gobject_); -} - -void Source::unreference() const -{ - g_source_unref(gobject_); -} - -Source::Source() -: - gobject_ (g_source_new(const_cast(&vfunc_table_), sizeof(GSource))) -{ - g_source_set_callback( - gobject_, &glibmm_dummy_source_callback, - new SourceCallbackData(this), // our persistant callback data object - &SourceCallbackData::destroy_notify_callback); -} - -Source::Source(GSource* cast_item, GSourceFunc callback_func) -: - gobject_ (cast_item) -{ - g_source_set_callback( - gobject_, callback_func, - new SourceCallbackData(this), // our persistant callback data object - &SourceCallbackData::destroy_notify_callback); -} - -Source::~Source() -{ - // The dtor should be invoked by destroy_notify_callback() only, which clears - // gobject_ before deleting. However, we might also get to this point if - // a derived ctor threw an exception, and then we need to unref manually. - - if(gobject_) - { - SourceCallbackData *const data = glibmm_source_get_callback_data(gobject_); - data->wrapper = 0; - - GSource *const tmp_gobject = gobject_; - gobject_ = 0; - - g_source_unref(tmp_gobject); - } -} - -sigc::connection Source::connect_generic(const sigc::slot_base& slot) -{ - SourceConnectionNode *const conn_node = new SourceConnectionNode(slot); - const sigc::connection connection (*conn_node->get_slot()); - - // Don't override the callback data. Reuse the existing one - // calling SourceCallbackData::set_node() to register conn_node. - SourceCallbackData *const data = glibmm_source_get_callback_data(gobject_); - data->set_node(conn_node); - - conn_node->install(gobject_); - return connection; -} - -void Source::add_poll(Glib::PollFD& poll_fd) -{ - g_source_add_poll(gobject_, poll_fd.gobj()); -} - -void Source::remove_poll(Glib::PollFD& poll_fd) -{ - g_source_remove_poll(gobject_, poll_fd.gobj()); -} - -void Source::get_current_time(Glib::TimeVal& current_time) -{ - g_source_get_current_time(gobject_, ¤t_time); -} - -inline // static -Source* Source::get_wrapper(GSource* source) -{ - SourceCallbackData *const data = glibmm_source_get_callback_data(source); - return data->wrapper; -} - -// static -gboolean Source::prepare_vfunc(GSource* source, int* timeout) -{ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Source *const self = get_wrapper(source); - return self->prepare(*timeout); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return 0; -} - -// static -gboolean Source::check_vfunc(GSource* source) -{ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Source *const self = get_wrapper(source); - return self->check(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return 0; -} - -// static -gboolean Source::dispatch_vfunc(GSource*, GSourceFunc callback, void* user_data) -{ - SourceCallbackData *const callback_data = static_cast(user_data); - - g_return_val_if_fail(callback == &glibmm_dummy_source_callback, 0); - g_return_val_if_fail(callback_data != 0 && callback_data->node != 0, 0); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Source *const self = callback_data->wrapper; - return self->dispatch(callback_data->node->get_slot()); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - return 0; -} - -// static -void Source::destroy_notify_callback(void* data) -{ - if(data) - { - Source *const self = static_cast(data); - - // gobject_ is already invalid at this point. - self->gobject_ = 0; - - // No exception checking: if the dtor throws, you're out of luck anyway. - delete self; - } -} - - -/**** Glib::TimeoutSource **************************************************/ - -// static -Glib::RefPtr TimeoutSource::create(unsigned int interval) -{ - return Glib::RefPtr(new TimeoutSource(interval)); -} - -sigc::connection TimeoutSource::connect(const sigc::slot& slot) -{ - return connect_generic(slot); -} - -TimeoutSource::TimeoutSource(unsigned int interval) -: - interval_ (interval) -{ - expiration_.assign_current_time(); - expiration_.add_milliseconds(std::min(G_MAXLONG, interval_)); -} - -TimeoutSource::~TimeoutSource() -{} - -bool TimeoutSource::prepare(int& timeout) -{ - Glib::TimeVal current_time; - get_current_time(current_time); - - Glib::TimeVal remaining = expiration_; - remaining.subtract(current_time); - - if(remaining.negative()) - { - // Already expired. - timeout = 0; - } - else - { - const unsigned long milliseconds = - static_cast(remaining.tv_sec) * 1000U + - static_cast(remaining.tv_usec) / 1000U; - - // Set remaining milliseconds. - timeout = std::min(G_MAXINT, milliseconds); - - // Check if the system time has been set backwards. (remaining > interval) - remaining.add_milliseconds(- std::min(G_MAXLONG, interval_) - 1); - if(!remaining.negative()) - { - // Oh well. Reset the expiration time to now + interval; - // this at least avoids hanging for long periods of time. - expiration_ = current_time; - expiration_.add_milliseconds(interval_); - timeout = std::min(G_MAXINT, interval_); - } - } - - return (timeout == 0); -} - -bool TimeoutSource::check() -{ - Glib::TimeVal current_time; - get_current_time(current_time); - - return (expiration_ <= current_time); -} - -bool TimeoutSource::dispatch(sigc::slot_base* slot) -{ - const bool again = (*static_cast*>(slot))(); - - if(again) - { - get_current_time(expiration_); - expiration_.add_milliseconds(std::min(G_MAXLONG, interval_)); - } - - return again; -} - - -/**** Glib::IdleSource *****************************************************/ - -// static -Glib::RefPtr IdleSource::create() -{ - return Glib::RefPtr(new IdleSource()); -} - -sigc::connection IdleSource::connect(const sigc::slot& slot) -{ - return connect_generic(slot); -} - -IdleSource::IdleSource() -{ - set_priority(PRIORITY_DEFAULT_IDLE); -} - -IdleSource::~IdleSource() -{} - -bool IdleSource::prepare(int& timeout) -{ - timeout = 0; - return true; -} - -bool IdleSource::check() -{ - return true; -} - -bool IdleSource::dispatch(sigc::slot_base* slot) -{ - return (*static_cast*>(slot))(); -} - - -/**** Glib::IOSource *******************************************************/ - -// static -Glib::RefPtr IOSource::create(int fd, IOCondition condition) -{ - return Glib::RefPtr(new IOSource(fd, condition)); -} - -Glib::RefPtr IOSource::create(const Glib::RefPtr& channel, IOCondition condition) -{ - return Glib::RefPtr(new IOSource(channel, condition)); -} - -sigc::connection IOSource::connect(const sigc::slot& slot) -{ - return connect_generic(slot); -} - -IOSource::IOSource(int fd, IOCondition condition) -: - poll_fd_ (fd, condition) -{ - add_poll(poll_fd_); -} - -IOSource::IOSource(const Glib::RefPtr& channel, IOCondition condition) -: - Source(g_io_create_watch(channel->gobj(), (GIOCondition) condition), - (GSourceFunc) &glibmm_iosource_callback) -{} - -IOSource::~IOSource() -{} - -bool IOSource::prepare(int& timeout) -{ - timeout = -1; - return false; -} - -bool IOSource::check() -{ - return ((poll_fd_.get_revents() & poll_fd_.get_events()) != 0); -} - -bool IOSource::dispatch(sigc::slot_base* slot) -{ - return (*static_cast*>(slot)) - (poll_fd_.get_revents()); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/main.h b/libs/glibmm2/glib/glibmm/main.h deleted file mode 100644 index 25dfb58b7e..0000000000 --- a/libs/glibmm2/glib/glibmm/main.h +++ /dev/null @@ -1,747 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_MAIN_H -#define _GLIBMM_MAIN_H - -/* $Id: main.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#include -#include - -#include -#include -#include -#include - -GLIBMM_USING_STD(vector) - - -namespace Glib -{ - -class Cond; -class Mutex; -class IOChannel; - - -/** @defgroup MainLoop The Main Event Loop - * Manages all available sources of events. - * @{ - */ - - -/** A bitwise combination representing an I/O condition to watch for on an - * event source. - * The flags correspond to those used by the %poll() system call - * on UNIX (see man 2 poll). To test for individual flags, do - * something like this: - * @code - * if((condition & Glib::IO_OUT) != 0) - * do_some_output(); - * @endcode - * @par Bitwise operators: - * IOCondition operator|(IOCondition, IOCondition)
- * IOCondition operator&(IOCondition, IOCondition)
- * IOCondition operator^(IOCondition, IOCondition)
- * IOCondition operator~(IOCondition)
- * IOCondition& operator|=(IOCondition&, IOCondition)
- * IOCondition& operator&=(IOCondition&, IOCondition)
- * IOCondition& operator^=(IOCondition&, IOCondition)
- */ -enum IOCondition -{ - IO_IN = G_IO_IN, /*!< @hideinitializer There is data to read. */ - IO_OUT = G_IO_OUT, /*!< @hideinitializer Data can be written (without blocking). */ - IO_PRI = G_IO_PRI, /*!< @hideinitializer There is urgent data to read. */ - IO_ERR = G_IO_ERR, /*!< @hideinitializer %Error condition. */ - IO_HUP = G_IO_HUP, /*!< @hideinitializer Hung up (the connection has been broken, - usually for pipes and sockets). */ - IO_NVAL = G_IO_NVAL /*!< @hideinitializer Invalid request. The file descriptor is not open. */ -}; - -inline IOCondition operator|(IOCondition lhs, IOCondition rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -inline IOCondition operator&(IOCondition lhs, IOCondition rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -inline IOCondition operator^(IOCondition lhs, IOCondition rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -inline IOCondition operator~(IOCondition flags) - { return static_cast(~static_cast(flags)); } - -inline IOCondition& operator|=(IOCondition& lhs, IOCondition rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -inline IOCondition& operator&=(IOCondition& lhs, IOCondition rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -inline IOCondition& operator^=(IOCondition& lhs, IOCondition rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -class PollFD -{ -public: - PollFD(); - explicit PollFD(int fd); - PollFD(int fd, IOCondition events); - - void set_fd(int fd) { gobject_.fd = fd; } - int get_fd() const { return gobject_.fd; } - - void set_events(IOCondition events) { gobject_.events = events; } - IOCondition get_events() const { return static_cast(gobject_.events); } - - void set_revents(IOCondition revents) { gobject_.revents = revents; } - IOCondition get_revents() const { return static_cast(gobject_.revents); } - - GPollFD* gobj() { return &gobject_; } - const GPollFD* gobj() const { return &gobject_; } - -private: - GPollFD gobject_; -}; - - -class SignalTimeout -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - explicit inline SignalTimeout(GMainContext* context); -#endif - - /** Connects a timeout handler. - * - * Note that timeout functions may be delayed, due to the processing of other - * event sources. Thus they should not be relied on for precise timing. - * After each call to the timeout function, the time of the next - * timeout is recalculated based on the current time and the given interval - * (it does not try to 'catch up' time lost in delays). - * - * If you want to have a timer in the "seconds" range and do not care - * about the exact time of the first call of the timer, use the - * connect_seconds() function; this function allows for more - * optimizations and more efficient system power usage. - * - * @code - * Glib::signal_timeout().connect(sigc::ptr_fun(&timeout_handler), 1000); - * @endcode - * is equivalent to: - * @code - * const Glib::RefPtr timeout_source = Glib::TimeoutSource::create(1000); - * timeout_source->connect(sigc::ptr_fun(&timeout_handler)); - * timeout_source->attach(Glib::MainContext::get_default()); - * @endcode - * @param slot A slot to call when @a interval has elapsed. - * @param interval The timeout in milliseconds. - * @param priority The priority of the new event source. - * @return A connection handle, which can be used to disconnect the handler. - */ - sigc::connection connect(const sigc::slot& slot, unsigned int interval, - int priority = PRIORITY_DEFAULT); - - - /** Connects a timeout handler with whole second granularity. - * - * Unlike connect(), this operates at whole second granularity. - * The initial starting point of the timer is determined by the implementation - * and the implementation is expected to group multiple timers together so that - * they fire all at the same time. - * - * To allow this grouping, the @a interval to the first timer is rounded - * and can deviate up to one second from the specified interval. - * Subsequent timer iterations will generally run at the specified interval. - * - * @code - * Glib::signal_timeout().connect(sigc::ptr_fun(&timeout_handler), 1000); - * @endcode - * is equivalent to: - * @code - * const Glib::RefPtr timeout_source = Glib::TimeoutSource::create(1000); - * timeout_source->connectseconds(sigc::ptr_fun(&timeout_handler)); - * timeout_source->attach(Glib::MainContext::get_default()); - * @endcode - * @param slot A slot to call when @a interval has elapsed. - * @param interval The timeout in seconds. - * @param priority The priority of the new event source. - * @return A connection handle, which can be used to disconnect the handler. - * - * @newin2p14 - */ - sigc::connection connect_seconds(const sigc::slot& slot, unsigned int interval, - int priority = PRIORITY_DEFAULT); - -private: - GMainContext* context_; - - // no copy assignment - SignalTimeout& operator=(const SignalTimeout&); -}; - - -class SignalIdle -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - explicit inline SignalIdle(GMainContext* context); -#endif - - /** Connects an idle handler. - * @code - * Glib::signal_idle().connect(sigc::ptr_fun(&idle_handler)); - * @endcode - * is equivalent to: - * @code - * const Glib::RefPtr idle_source = Glib::IdleSource::create(); - * idle_source->connect(sigc::ptr_fun(&idle_handler)); - * idle_source->attach(Glib::MainContext::get_default()); - * @endcode - * @param slot A slot to call when the main loop is idle. - * @param priority The priority of the new event source. - * @return A connection handle, which can be used to disconnect the handler. - */ - sigc::connection connect(const sigc::slot& slot, int priority = PRIORITY_DEFAULT_IDLE); - -private: - GMainContext* context_; - - // no copy assignment - SignalIdle& operator=(const SignalIdle&); -}; - - -class SignalIO -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - explicit inline SignalIO(GMainContext* context); -#endif - - /** Connects an I/O handler. - * @code - * Glib::signal_io().connect(sigc::ptr_fun(&io_handler), fd, Glib::IO_IN | Glib::IO_HUP); - * @endcode - * is equivalent to: - * @code - * const Glib::RefPtr io_source = Glib::IOSource::create(fd, Glib::IO_IN | Glib::IO_HUP); - * io_source->connect(sigc::ptr_fun(&io_handler)); - * io_source->attach(Glib::MainContext::get_default()); - * @endcode - * @param slot A slot to call when polling @a fd results in an event that matches @a condition. - * The event will be passed as a parameter to @a slot. - * If @a io_handler returns false the signal is disconnected. - * @param fd The file descriptor (or a @c HANDLE on Win32 systems) to watch. - * @param condition The conditions to watch for. - * @param priority The priority of the new event source. - * @return A connection handle, which can be used to disconnect the handler. - */ - sigc::connection connect(const sigc::slot& slot, int fd, - IOCondition condition, int priority = PRIORITY_DEFAULT); - - /** Connects an I/O channel. - * @code - * Glib::signal_io().connect(sigc::ptr_fun(&io_handler), channel, Glib::IO_IN | Glib::IO_HUP); - * @endcode - * is equivalent to: - * @code - * const Glib::RefPtr io_source = Glib::IOSource::create(channel, Glib::IO_IN | Glib::IO_HUP); - * io_source->connect(sigc::ptr_fun(&io_handler)); - * io_source->attach(Glib::MainContext::get_default()); - * @endcode - * @param slot A slot to call when polling @a channel results in an event that matches @a condition. - * The event will be passed as a parameter to @a slot. - * If @a io_handler returns false the signal is disconnected. - * @param channel The IOChannel object to watch. - * @param condition The conditions to watch for. - * @param priority The priority of the new event source. - * @return A connection handle, which can be used to disconnect the handler. - */ - sigc::connection connect(const sigc::slot& slot, const Glib::RefPtr& channel, - IOCondition condition, int priority = PRIORITY_DEFAULT); - -private: - GMainContext* context_; - - // no copy assignment - SignalIO& operator=(const SignalIO&); -}; - -class SignalChildWatch -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - explicit inline SignalChildWatch(GMainContext* context); -#endif - /** Connects a child watch handler. - * @code - * Glib::signal_child_watch().connect(sigc::ptr_fun(&child_watch_handler), pid); - * @endcode - * @param slot A slot to call when child @a pid exited. - * @param pid The child to watch for. - * @param priority The priority of the new event source. - * @return A connection handle, which can be used to disconnect the handler. - */ - sigc::connection connect(const sigc::slot& slot, GPid pid, -int priority = PRIORITY_DEFAULT); -private: - GMainContext* context_; - - // no copy assignment - SignalChildWatch& operator=(const SignalChildWatch&); -}; - -/** Convenience timeout signal. - * @return A signal proxy; you want to use SignalTimeout::connect(). - */ -SignalTimeout signal_timeout(); - -/** Convenience idle signal. - * @return A signal proxy; you want to use SignalIdle::connect(). - */ -SignalIdle signal_idle(); - -/** Convenience I/O signal. - * @return A signal proxy; you want to use SignalIO::connect(). - */ -SignalIO signal_io(); - -/** Convenience child watch signal. - * @return A signal proxy; you want to use SignalChildWatch::connect(). - */ -SignalChildWatch signal_child_watch(); - - -/** Main context. - */ -class MainContext -{ -public: - typedef Glib::MainContext CppObjectType; - typedef GMainContext BaseObjectType; - - /** Creates a new MainContext. - * @return The new MainContext. - */ - static Glib::RefPtr create(); - /** Returns the default main context. - * This is the main context used for main loop functions when a main loop is not explicitly specified. - * @return The new MainContext. - */ - static Glib::RefPtr get_default(); - - /** Runs a single iteration for the given main loop. - * This involves checking to see if any event sources are ready to be processed, then if no events sources are - * ready and may_block is true, waiting for a source to become ready, then dispatching the highest priority events - * sources that are ready. Note that even when may_block is true, it is still possible for iteration() to return - * false, since the the wait may be interrupted for other reasons than an event source becoming ready. - * @param may_block Whether the call may block. - * @return true if events were dispatched. - */ - bool iteration(bool may_block); - - /** Checks if any sources have pending events for the given context. - * @return true if events are pending. - */ - bool pending(); - - /** If context is currently waiting in a poll(), interrupt the poll(), and continue the iteration process. - */ - void wakeup(); - - /** Tries to become the owner of the specified context. - * If some other context is the owner of the context, returns FALSE immediately. Ownership is properly recursive: - * the owner can require ownership again and will release ownership when release() is called as many times as - * acquire(). - * You must be the owner of a context before you can call prepare(), query(), check(), dispatch(). - * @return true if the operation succeeded, and this thread is now the owner of context. - */ - bool acquire(); - - - /** Tries to become the owner of the specified context, as with acquire(). But if another thread is the owner, - * atomically drop mutex and wait on cond until that owner releases ownership or until cond is signaled, then try - * again (once) to become the owner. - * @param cond A condition variable. - * @param mutex A mutex, currently held. - * @return true if the operation succeeded, and this thread is now the owner of context. - */ - bool wait(Glib::Cond& cond, Glib::Mutex& mutex); - - /** Releases ownership of a context previously acquired by this thread with acquire(). If the context was acquired - * multiple times, the only release ownership when release() is called as many times as it was acquired. - */ - void release(); - - - - /** Prepares to poll sources within a main loop. The resulting information for polling is determined by calling query(). - * @param priority Location to store priority of highest priority source already ready. - * @return true if some source is ready to be dispatched prior to polling. - */ - bool prepare(int& priority); - /** Prepares to poll sources within a main loop. The resulting information for polling is determined by calling query(). - * @return true if some source is ready to be dispatched prior to polling. - */ - bool prepare(); - - /** Determines information necessary to poll this main loop. - * @param max_priority Maximum priority source to check. - * @param timeout Location to store timeout to be used in polling. - * @param fds Location to store Glib::PollFD records that need to be polled. - * @return the number of records actually stored in fds, or, if more than n_fds records need to be stored, the number of records that need to be stored. - */ - void query(int max_priority, int& timeout, std::vector& fds); - - /** Passes the results of polling back to the main loop. - * @param max_priority Maximum numerical priority of sources to check. - * @param fds Vector of Glib::PollFD's that was passed to the last call to query() - * @return true if some sources are ready to be dispatched. - */ - bool check(int max_priority, std::vector& fds); - - /** Dispatches all pending sources. - */ - void dispatch(); - - //TODO: Use slot instead? - /** Sets the function to use to handle polling of file descriptors. It will be used instead of the poll() system call (or GLib's replacement function, which is used where poll() isn't available). - * This function could possibly be used to integrate the GLib event loop with an external event loop. - * @param poll_func The function to call to poll all file descriptors. - */ - void set_poll_func(GPollFunc poll_func); - - /** Gets the poll function set by g_main_context_set_poll_func(). - * @return The poll function - */ - GPollFunc get_poll_func(); - - /** Adds a file descriptor to the set of file descriptors polled for this context. This will very seldomly be used directly. Instead a typical event source will use Glib::Source::add_poll() instead. - * @param fd A PollFD structure holding information about a file descriptor to watch. - * @param priority The priority for this file descriptor which should be the same as the priority used for Glib::Source::attach() to ensure that the file descriptor is polled whenever the results may be needed. - */ - void add_poll(PollFD& fd, int priority); - - /** Removes file descriptor from the set of file descriptors to be polled for a particular context. - * @param fd A PollFD structure holding information about a file descriptor. - */ - void remove_poll(PollFD& fd); - - /** Timeout signal, attached to this MainContext. - * @return A signal proxy; you want to use SignalTimeout::connect(). - */ - SignalTimeout signal_timeout(); - - /** Idle signal, attached to this MainContext. - * @return A signal proxy; you want to use SignalIdle::connect(). - */ - SignalIdle signal_idle(); - - /** I/O signal, attached to this MainContext. - * @return A signal proxy; you want to use SignalIO::connect(). - */ - SignalIO signal_io(); - - /** child watch signal, attached to this MainContext. - * @return A signal proxy; you want to use SignalChildWatch::connect(). - */ - SignalChildWatch signal_child_watch(); - - void reference() const; - void unreference() const; - - GMainContext* gobj(); - const GMainContext* gobj() const; - GMainContext* gobj_copy() const; - -private: - // Glib::MainContext can neither be constructed nor deleted. - MainContext(); - void operator delete(void*, size_t); - - // noncopyable - MainContext(const MainContext& other); - MainContext& operator=(const MainContext& other); - -}; - -/** @relates Glib::MainContext */ -Glib::RefPtr wrap(GMainContext* gobject, bool take_copy = false); - - -class MainLoop -{ -public: - typedef Glib::MainLoop CppObjectType; - typedef GMainLoop BaseObjectType; - - static Glib::RefPtr create(bool is_running = false); - static Glib::RefPtr create(const Glib::RefPtr& context, - bool is_running = false); - - /** Runs a main loop until quit() is called on the loop. - * If this is called for the thread of the loop's MainContext, it will process events from the loop, otherwise it will simply wait. - */ - void run(); - - /** Stops a MainLoop from running. Any calls to run() for the loop will return. - */ - void quit(); - - /** Checks to see if the main loop is currently being run via run(). - * @return true if the mainloop is currently being run. - */ - bool is_running(); - - /** Returns the MainContext of loop. - * @return The MainContext of loop. - */ - Glib::RefPtr get_context(); - - //TODO: C++ize the (big) g_main_depth docs here. - static int depth(); - - /** Increases the reference count on a MainLoop object by one. - */ - void reference() const; - - /** Decreases the reference count on a MainLoop object by one. - * If the result is zero, free the loop and free all associated memory. - */ - void unreference() const; - - GMainLoop* gobj(); - const GMainLoop* gobj() const; - GMainLoop* gobj_copy() const; - -private: - // Glib::MainLoop can neither be constructed nor deleted. - MainLoop(); - void operator delete(void*, size_t); - - MainLoop(const MainLoop&); - MainLoop& operator=(const MainLoop&); -}; - -/** @relates Glib::MainLoop */ -Glib::RefPtr wrap(GMainLoop* gobject, bool take_copy = false); - - -class Source -{ -public: - typedef Glib::Source CppObjectType; - typedef GSource BaseObjectType; - - static Glib::RefPtr create() /* = 0 */; - - /** Adds a Source to a context so that it will be executed within that context. - * @param context A MainContext. - * @return The ID for the source within the MainContext. - */ - unsigned int attach(const Glib::RefPtr& context); - - /** Adds a Source to a context so that it will be executed within that context. - * The default context will be used. - * @return The ID for the source within the MainContext. - */ - unsigned int attach(); - - //TODO: Does this destroy step make sense in C++? Should it just be something that happens in a destructor? - - /** Removes a source from its MainContext, if any, and marks it as destroyed. - * The source cannot be subsequently added to another context. - */ - void destroy(); - - /** Sets the priority of a source. While the main loop is being run, a source will be dispatched if it is ready to be dispatched and no sources at a higher (numerically smaller) priority are ready to be dispatched. - * @param priority The new priority. - */ - void set_priority(int priority); - - /** Gets the priority of a source. - * @return The priority of the source. - */ - int get_priority() const; - - /** Sets whether a source can be called recursively. - * If @a can_recurse is true, then while the source is being dispatched then this source will be processed normally. Otherwise, all processing of this source is blocked until the dispatch function returns. - * @param can_recurse Whether recursion is allowed for this source. - */ - void set_can_recurse(bool can_recurse); - - /** Checks whether a source is allowed to be called recursively. see set_can_recurse(). - * @return Whether recursion is allowed. - */ - bool get_can_recurse() const; - - /** Returns the numeric ID for a particular source. - * The ID of a source is unique within a particular main loop context. The reverse mapping from ID to source is done by MainContext::find_source_by_id(). - * @return The ID for the source. - */ - unsigned int get_id() const; - - //TODO: Add a const version of this method? - /** Gets the MainContext with which the source is associated. - * Calling this function on a destroyed source is an error. - * @return The MainContext with which the source is associated, or a null RefPtr if the context has not yet been added to a source. - */ - Glib::RefPtr get_context(); - - GSource* gobj() { return gobject_; } - const GSource* gobj() const { return gobject_; } - GSource* gobj_copy() const; - - void reference() const; - void unreference() const; - -protected: - /** Construct an object that uses the virtual functions prepare(), check() and dispatch(). - */ - Source(); - - /** Wrap an existing GSource object and install the given callback function. - * The constructed object doesn't use the virtual functions prepare(), check() and dispatch(). - * This constructor is for use by derived types that need to wrap a GSource object. - * The callback function can be a static member function. But beware - - * depending on the actual implementation of the GSource's virtual functions - * the expected type of the callback function can differ from GSourceFunc. - */ - Source(GSource* cast_item, GSourceFunc callback_func); - - virtual ~Source(); - - sigc::connection connect_generic(const sigc::slot_base& slot); - - /** Adds a file descriptor to the set of file descriptors polled for this source. - * The event source's check function will typically test the revents field in the PollFD and return true if events need to be processed. - * @param poll_fd A PollFD object holding information about a file descriptor to watch. - */ - void add_poll(PollFD& poll_fd); - - /** Removes a file descriptor from the set of file descriptors polled for this source. - * @param poll_fd A PollFD object previously passed to add_poll(). - */ - void remove_poll(PollFD& poll_fd); - - /** Gets the "current time" to be used when checking this source. The advantage of calling this function over calling get_current_time() directly is that when checking multiple sources, GLib can cache a single value instead of having to repeatedly get the system time. - * @param current_time Glib::TimeVal in which to store current time - */ - void get_current_time(Glib::TimeVal& current_time); - - virtual bool prepare(int& timeout) = 0; - virtual bool check() = 0; - virtual bool dispatch(sigc::slot_base* slot) = 0; - -private: - GSource* gobject_; - -#ifndef DOXGEN_SHOULD_SKIP_THIS - - static inline Source* get_wrapper(GSource* source); - - static const GSourceFuncs vfunc_table_; - - static gboolean prepare_vfunc(GSource* source, int* timeout); - static gboolean check_vfunc(GSource* source); - static gboolean dispatch_vfunc(GSource* source, GSourceFunc callback, void* user_data); -public: - static void destroy_notify_callback(void* data); -private: - -#endif /* DOXGEN_SHOULD_SKIP_THIS */ - - // noncopyable - Source(const Source&); - Source& operator=(const Source&); -}; - - -class TimeoutSource : public Glib::Source -{ -public: - typedef Glib::TimeoutSource CppObjectType; - - static Glib::RefPtr create(unsigned int interval); - sigc::connection connect(const sigc::slot& slot); - -protected: - explicit TimeoutSource(unsigned int interval); - virtual ~TimeoutSource(); - - virtual bool prepare(int& timeout); - virtual bool check(); - virtual bool dispatch(sigc::slot_base* slot); - -private: - Glib::TimeVal expiration_; - unsigned int interval_; -}; - - -class IdleSource : public Glib::Source -{ -public: - typedef Glib::IdleSource CppObjectType; - - static Glib::RefPtr create(); - sigc::connection connect(const sigc::slot& slot); - -protected: - IdleSource(); - virtual ~IdleSource(); - - virtual bool prepare(int& timeout); - virtual bool check(); - virtual bool dispatch(sigc::slot_base* slot_data); -}; - - -class IOSource : public Glib::Source -{ -public: - typedef Glib::IOSource CppObjectType; - - static Glib::RefPtr create(int fd, IOCondition condition); - static Glib::RefPtr create(const Glib::RefPtr& channel, IOCondition condition); - sigc::connection connect(const sigc::slot& slot); - -protected: - IOSource(int fd, IOCondition condition); - IOSource(const Glib::RefPtr& channel, IOCondition condition); - virtual ~IOSource(); - - virtual bool prepare(int& timeout); - virtual bool check(); - virtual bool dispatch(sigc::slot_base* slot); - -private: - PollFD poll_fd_; -}; - -/** @} group MainLoop */ - -} // namespace Glib - - -#endif /* _GLIBMM_MAIN_H */ - diff --git a/libs/glibmm2/glib/glibmm/markup.cc b/libs/glibmm2/glib/glibmm/markup.cc deleted file mode 100644 index 32043d4230..0000000000 --- a/libs/glibmm2/glib/glibmm/markup.cc +++ /dev/null @@ -1,387 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: markup.ccg,v 1.5 2006/10/04 12:04:09 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace Glib -{ - -namespace Markup -{ - -Glib::ustring escape_text(const Glib::ustring& text) -{ - const Glib::ScopedPtr buf (g_markup_escape_text(text.data(), text.bytes())); - return Glib::ustring(buf.get()); -} - - -/**** Glib::Markup::AttributeKeyLess ***************************************/ - -bool AttributeKeyLess::operator()(const Glib::ustring& lhs, const Glib::ustring& rhs) const -{ - return (lhs.raw() < rhs.raw()); -} - - -/**** Glib::Markup::ParserCallbacks ****************************************/ - -class ParserCallbacks -{ -public: - static const GMarkupParser vfunc_table; - - static void start_element(GMarkupParseContext* context, - const char* element_name, - const char** attribute_names, - const char** attribute_values, - void* user_data, - GError** error); - - static void end_element(GMarkupParseContext* context, - const char* element_name, - void* user_data, - GError** error); - - static void text(GMarkupParseContext* context, - const char* text, - gsize text_len, - void* user_data, - GError** error); - - static void passthrough(GMarkupParseContext* context, - const char* passthrough_text, - gsize text_len, - void* user_data, - GError** error); - - static void error(GMarkupParseContext* context, - GError* error, - void* user_data); -}; - - -const GMarkupParser ParserCallbacks::vfunc_table = -{ - &ParserCallbacks::start_element, - &ParserCallbacks::end_element, - &ParserCallbacks::text, - &ParserCallbacks::passthrough, - &ParserCallbacks::error, -}; - -void ParserCallbacks::start_element(GMarkupParseContext* context, - const char* element_name, - const char** attribute_names, - const char** attribute_values, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Parser::AttributeMap attributes; - - if(attribute_names && attribute_values) - { - const char *const * pname = attribute_names; - const char *const * pvalue = attribute_values; - - for(; *pname && *pvalue; ++pname, ++pvalue) - attributes.insert(Parser::AttributeMap::value_type(*pname, *pvalue)); - - g_return_if_fail(*pname == 0 && *pvalue == 0); - } - - cpp_context.get_parser()->on_start_element(cpp_context, element_name, attributes); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::end_element(GMarkupParseContext* context, - const char* element_name, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_end_element(cpp_context, element_name); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::text(GMarkupParseContext* context, - const char* text, - gsize text_len, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_text(cpp_context, Glib::ustring(text, text + text_len)); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::passthrough(GMarkupParseContext* context, - const char* passthrough_text, - gsize text_len, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_passthrough( - cpp_context, Glib::ustring(passthrough_text, passthrough_text + text_len)); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::error(GMarkupParseContext* context, - GError* error, - void* user_data) -{ - ParseContext& cpp_context = *static_cast(user_data); - - g_return_if_fail(context == cpp_context.gobj()); - g_return_if_fail(error->domain == G_MARKUP_ERROR); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_error(cpp_context, MarkupError(g_error_copy(error))); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - - -/**** Glib::Markup::Parser *************************************************/ - -Parser::Parser() -{} - -Parser::~Parser() -{} - -void Parser::on_start_element(ParseContext&, const Glib::ustring&, const Parser::AttributeMap&) -{} - -void Parser::on_end_element(ParseContext&, const Glib::ustring&) -{} - -void Parser::on_text(ParseContext&, const Glib::ustring&) -{} - -void Parser::on_passthrough(ParseContext&, const Glib::ustring&) -{} - -void Parser::on_error(ParseContext&, const MarkupError&) -{} - - -/**** Glib::Markup::ParseContext *******************************************/ - -ParseContext::ParseContext(Parser& parser, ParseFlags flags) -: - parser_ (&parser), - gobject_ (g_markup_parse_context_new(&ParserCallbacks::vfunc_table, (GMarkupParseFlags) flags, - this, &ParseContext::destroy_notify_callback)) -{} - -ParseContext::~ParseContext() -{ - parser_ = 0; - g_markup_parse_context_free(gobject_); -} - -void ParseContext::parse(const Glib::ustring& text) -{ - GError* error = 0; - g_markup_parse_context_parse(gobject_, text.data(), text.bytes(), &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void ParseContext::parse(const char* text_begin, const char* text_end) -{ - GError* error = 0; - g_markup_parse_context_parse(gobject_, text_begin, text_end - text_begin, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void ParseContext::end_parse() -{ - GError* error = 0; - g_markup_parse_context_end_parse(gobject_, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -Glib::ustring ParseContext::get_element() const -{ - const char *const element_name = g_markup_parse_context_get_element(gobject_); - return (element_name) ? Glib::ustring(element_name) : Glib::ustring(); -} - -int ParseContext::get_line_number() const -{ - int line_number = 0; - g_markup_parse_context_get_position(gobject_, &line_number, 0); - return line_number; -} - -int ParseContext::get_char_number() const -{ - int char_number = 0; - g_markup_parse_context_get_position(gobject_, 0, &char_number); - return char_number; -} - -// static -void ParseContext::destroy_notify_callback(void* data) -{ - ParseContext *const self = static_cast(data); - - // Detect premature destruction. - g_return_if_fail(self->parser_ == 0); -} - -} // namespace Markup - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::MarkupError::MarkupError(Glib::MarkupError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_MARKUP_ERROR, error_code, error_message) -{} - -Glib::MarkupError::MarkupError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::MarkupError::Code Glib::MarkupError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::MarkupError::throw_func(GError* gobject) -{ - throw Glib::MarkupError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::MarkupError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::MarkupError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/markup.h b/libs/glibmm2/glib/glibmm/markup.h deleted file mode 100644 index b3885cdfcf..0000000000 --- a/libs/glibmm2/glib/glibmm/markup.h +++ /dev/null @@ -1,430 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_MARKUP_H -#define _GLIBMM_MARKUP_H - - -/* $Id: markup.hg,v 1.5 2005/01/21 12:48:05 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -#include -#include - -GLIBMM_USING_STD(map) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GMarkupParseContext GMarkupParseContext; } -#endif - - -namespace Glib -{ - -/** @defgroup Markup Simple XML Subset Parser - * - * The Glib::Markup parser is intended to parse a simple markup format that's a - * subset of XML. This is a small, efficient, easy-to-use parser. It should not - * be used if you expect to interoperate with other applications generating - * full-scale XML. However, it's very useful for application data files, config - * files, etc. where you know your application will be the only one writing the - * file. Full-scale XML parsers should be able to parse the subset used by - * Glib::Markup parser, so you can easily migrate to full-scale XML at a later - * time if the need arises. - * - * Glib::Markup is not guaranteed to signal an error on all invalid XML; - * the parser may accept documents that an XML parser would not. However, - * invalid XML documents are not considered valid Glib::Markup documents. - * - * @par Simplifications to XML include: - * - * - Only UTF-8 encoding is allowed. - * - No user-defined entities. - * - Processing instructions, comments and the doctype declaration are "passed - * through" but are not interpreted in any way. - * - No DTD or validation. - * - * @par The markup format does support: - * - * - Elements - * - Attributes - * - 5 standard entities: \& \< \> \" \' - * - Character references - * - Sections marked as CDATA - * - * @{ - */ - -/** %Exception class for markup parsing errors. - */ -class MarkupError : public Glib::Error -{ -public: - enum Code - { - BAD_UTF8, - EMPTY, - PARSE, - UNKNOWN_ELEMENT, - UNKNOWN_ATTRIBUTE, - INVALID_CONTENT - }; - - MarkupError(Code error_code, const Glib::ustring& error_message); - explicit MarkupError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/*! @var MarkupError::Code MarkupError::BAD_UTF8 - * Text being parsed was not valid UTF-8. - */ -/*! @var MarkupError::Code MarkupError::EMPTY - * Document contained nothing, or only whitespace. - */ -/*! @var MarkupError::Code MarkupError::PARSE - * Document was ill-formed. - */ -/*! @var MarkupError::Code MarkupError::UNKNOWN_ELEMENT - * This error should be set by Glib::Markup::Parser virtual methods; - * element wasn't known. - */ -/*! @var MarkupError::Code MarkupError::UNKNOWN_ATTRIBUTE - * This error should be set by Glib::Markup::Parser virtual methods; - * attribute wasn't known. - */ -/*! @var MarkupError::Code MarkupError::INVALID_CONTENT - * This error should be set by Glib::Markup::Parser virtual methods; - * something was wrong with contents of the document, e.g. invalid attribute value. - */ - -/** @} group Markup */ - - -namespace Markup -{ - -class ParseContext; - -/** @ingroup Markup */ -typedef Glib::MarkupError Error; - - -/** Escapes text so that the markup parser will parse it verbatim. - * Less than, greater than, ampersand, etc. are replaced with the corresponding - * entities. This function would typically be used when writing out a file to - * be parsed with the markup parser. - * @ingroup Markup - * @param text Some valid UTF-8 text. - * @return Escaped text. - */ -Glib::ustring escape_text(const Glib::ustring& text); - - -/** There are no flags right now. Pass Glib::Markup::ParseFlags(0) for - * the flags argument to all functions (this should be the default argument - * anyway). - */ -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %ParseFlags operator|(ParseFlags, ParseFlags)
- * %ParseFlags operator&(ParseFlags, ParseFlags)
- * %ParseFlags operator^(ParseFlags, ParseFlags)
- * %ParseFlags operator~(ParseFlags)
- * %ParseFlags& operator|=(ParseFlags&, ParseFlags)
- * %ParseFlags& operator&=(ParseFlags&, ParseFlags)
- * %ParseFlags& operator^=(ParseFlags&, ParseFlags)
- */ -enum ParseFlags -{ - DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, - TREAT_CDATA_AS_TEXT = 1 << 1 -}; - -/** @ingroup glibmmEnums */ -inline ParseFlags operator|(ParseFlags lhs, ParseFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline ParseFlags operator&(ParseFlags lhs, ParseFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline ParseFlags operator^(ParseFlags lhs, ParseFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline ParseFlags operator~(ParseFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline ParseFlags& operator|=(ParseFlags& lhs, ParseFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline ParseFlags& operator&=(ParseFlags& lhs, ParseFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline ParseFlags& operator^=(ParseFlags& lhs, ParseFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/*! @var Markup::ParseFlags DO_NOT_USE_THIS_UNSUPPORTED_FLAG - * Flag you should not use. - */ - - -/** Binary predicate used by Markup::Parser::AttributeMap. - * @ingroup Markup - * Unlike operator<(const ustring& lhs, const ustring& rhs) - * which would be used by the default std::less<> predicate, - * the AttributeKeyLess predicate is locale-independent. This is both - * more correct and much more efficient. - */ -class AttributeKeyLess -{ -public: - typedef Glib::ustring first_argument_type; - typedef Glib::ustring second_argument_type; - typedef bool result_type; - - bool operator()(const Glib::ustring& lhs, const Glib::ustring& rhs) const; -}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class ParserCallbacks; -#endif - -/** The abstract markup parser base class. - * @ingroup Markup - * To implement a parser for your markup format, derive from - * Glib::Markup::Parser and implement the virtual methods. - * - * You don't have to override all of the virtual methods. If a particular - * method is not implement the data passed to it will be ignored. Except for - * the error method, any of these callbacks can throw an error exception; in - * particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT errors - * are intended to be thrown from these overridden methods. If you throw an - * error from a method, Glib::Markup::ParseContext::parse() will report that - * error back to its caller. - */ -class Parser : public sigc::trackable -{ -public: - typedef std::map AttributeMap; - - virtual ~Parser() = 0; - -protected: - /** Constructs a Parser object. - * Note that Markup::Parser is an abstract class which can't be instantiated - * directly. To implement the parser for your markup format, derive from - * Markup::Parser and implement the virtual methods. - */ - Parser(); - - /** Called for open tags \. - * This virtual method is invoked when the opening tag of an element is seen. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param element_name The name of the element. - * @param attributes A map of attribute name/value pairs. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_start_element(ParseContext& context, - const Glib::ustring& element_name, - const AttributeMap& attributes); - - /** Called for close tags \. - * This virtual method is invoked when the closing tag of an element is seen. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param element_name The name of the element. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_end_element(ParseContext& context, const Glib::ustring& element_name); - - /** Called for character data. - * This virtual method is invoked when some text is seen (text is always - * inside an element). - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param text The parsed text in UTF-8 encoding. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_text(ParseContext& context, const Glib::ustring& text); - - /** Called for strings that should be re-saved verbatim in this same - * position, but are not otherwise interpretable. - * This virtual method is invoked for comments, processing instructions and - * doctype declarations; if you're re-writing the parsed document, write the - * passthrough text back out in the same position. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param passthrough_text The text that should be passed through. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_passthrough(ParseContext& context, const Glib::ustring& passthrough_text); - - /** Called on error, including one thrown by an overridden virtual method. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param error A MarkupError object with detailed information about the error. - */ - virtual void on_error(ParseContext& context, const MarkupError& error); - -private: - // noncopyable - Parser(const Parser&); - Parser& operator=(const Parser&); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - friend class Glib::Markup::ParserCallbacks; -#endif -}; - - -/** A parse context is used to parse marked-up documents. - * @ingroup Markup - * You can feed any number of documents into a context, as long as no errors - * occur; once an error occurs, the parse context can't continue to parse text - * (you have to destroy it and create a new parse context). - */ -class ParseContext : public sigc::trackable -{ -public: - /** Creates a new parse context. - * @param parser A Markup::Parser instance. - * @param flags Bitwise combination of Markup::ParseFlags. - */ - explicit ParseContext(Parser& parser, ParseFlags flags = ParseFlags(0)); - virtual ~ParseContext(); - - /** Feed some data to the ParseContext. - * The data need not be valid UTF-8; an error will be signalled if it's - * invalid. The data need not be an entire document; you can feed a document - * into the parser incrementally, via multiple calls to this function. - * Typically, as you receive data from a network connection or file, you feed - * each received chunk of data into this function, aborting the process if an - * error occurs. Once an error is reported, no further data may be fed to the - * ParseContext; all errors are fatal. - * @param text Chunk of text to parse. - * @throw Glib::MarkupError - */ - void parse(const Glib::ustring& text); - - /** Feed some data to the ParseContext. - * The data need not be valid UTF-8; an error will be signalled if it's - * invalid. The data need not be an entire document; you can feed a document - * into the parser incrementally, via multiple calls to this function. - * Typically, as you receive data from a network connection or file, you feed - * each received chunk of data into this function, aborting the process if an - * error occurs. Once an error is reported, no further data may be fed to the - * ParseContext; all errors are fatal. - * @param text_begin Begin of chunk of text to parse. - * @param text_end End of chunk of text to parse. - * @throw Glib::MarkupError - */ - void parse(const char* text_begin, const char* text_end); - - /** Signals to the ParseContext that all data has been fed into the parse - * context with parse(). This method reports an error if the document isn't - * complete, for example if elements are still open. - * @throw Glib::MarkupError - */ - void end_parse(); - - /** Retrieves the name of the currently open element. - * @return The name of the currently open element, or "". - */ - Glib::ustring get_element() const; - - /** Retrieves the current line number. - * Intended for use in error messages; there are no strict semantics for what - * constitutes the "current" line number other than "the best number we could - * come up with for error messages." - */ - int get_line_number() const; - - /** Retrieves the number of the current character on the current line. - * Intended for use in error messages; there are no strict semantics for what - * constitutes the "current" character number other than "the best number we - * could come up with for error messages." - */ - int get_char_number() const; - - Parser* get_parser() { return parser_; } - const Parser* get_parser() const { return parser_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GMarkupParseContext* gobj() { return gobject_; } - const GMarkupParseContext* gobj() const { return gobject_; } -#endif - -private: - Markup::Parser* parser_; - GMarkupParseContext* gobject_; - - // noncopyable - ParseContext(const ParseContext&); - ParseContext& operator=(const ParseContext&); - - static void destroy_notify_callback(void* data); -}; - -} // namespace Markup - -} // namespace Glib - - -#endif /* _GLIBMM_MARKUP_H */ - diff --git a/libs/glibmm2/glib/glibmm/miscutils.cc b/libs/glibmm2/glib/glibmm/miscutils.cc deleted file mode 100644 index eb0ff01b09..0000000000 --- a/libs/glibmm2/glib/glibmm/miscutils.cc +++ /dev/null @@ -1,161 +0,0 @@ -// -*- c++ -*- -/* $Id: miscutils.cc 420 2007-06-22 15:29:58Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -#include -#include -#include - - -namespace Glib -{ - -Glib::ustring get_application_name() -{ - return convert_const_gchar_ptr_to_ustring (g_get_application_name()); -} - -void set_application_name(const Glib::ustring& application_name) -{ - g_set_application_name(application_name.c_str()); -} - -std::string get_prgname() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_prgname()); -} - -void set_prgname(const std::string& prgname) -{ - g_set_prgname(prgname.c_str()); -} - -std::string getenv(const std::string& variable, bool& found) -{ - const char *const value = g_getenv(variable.c_str()); - found = (value != 0); - return convert_const_gchar_ptr_to_stdstring(value); -} - -std::string getenv(const std::string& variable) -{ - return convert_const_gchar_ptr_to_stdstring(g_getenv(variable.c_str())); -} - -bool setenv(const std::string& variable, const std::string& value, bool overwrite) -{ - return g_setenv(variable.c_str(), value.c_str(), overwrite); -} - -void unsetenv(const std::string& variable) -{ - g_unsetenv(variable.c_str()); -} - -std::string get_user_name() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_user_name()); -} - -std::string get_real_name() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_real_name()); -} - -std::string get_home_dir() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_home_dir()); -} - -std::string get_tmp_dir() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_tmp_dir()); -} - -std::string get_current_dir() -{ - return convert_return_gchar_ptr_to_stdstring(g_get_current_dir()); -} - -std::string get_user_special_dir(GUserDirectory directory) -{ - return convert_const_gchar_ptr_to_stdstring(g_get_user_special_dir(directory)); -} - -std::string get_user_data_dir() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_user_data_dir()); -} - -std::string get_user_config_dir() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_user_config_dir()); -} - -std::string get_user_cache_dir() -{ - return convert_const_gchar_ptr_to_stdstring(g_get_user_cache_dir()); -} - -bool path_is_absolute(const std::string& filename) -{ - return (g_path_is_absolute(filename.c_str()) != 0); -} - -std::string path_skip_root(const std::string& filename) -{ - // g_path_skip_root() returns a pointer _into_ the argument string, - // or NULL if there was no root component. - return convert_const_gchar_ptr_to_stdstring(g_path_skip_root(filename.c_str())); -} - -std::string path_get_basename(const std::string& filename) -{ - return convert_return_gchar_ptr_to_stdstring(g_path_get_basename(filename.c_str())); -} - -std::string path_get_dirname(const std::string& filename) -{ - return convert_return_gchar_ptr_to_stdstring(g_path_get_dirname(filename.c_str())); -} - -std::string build_filename(const Glib::ArrayHandle& elements) -{ - return convert_return_gchar_ptr_to_stdstring(g_build_filenamev(const_cast(elements.data()))); -} - -std::string build_filename(const std::string& elem1, const std::string& elem2) -{ - return convert_return_gchar_ptr_to_stdstring(g_build_filename(elem1.c_str(), elem2.c_str(), static_cast(0))); -} - -std::string build_path(const std::string& separator, const Glib::ArrayHandle& elements) -{ - return convert_return_gchar_ptr_to_stdstring(g_build_pathv(separator.c_str(), const_cast(elements.data()))); -} - -std::string find_program_in_path(const std::string& program) -{ - return convert_return_gchar_ptr_to_stdstring(g_find_program_in_path(program.c_str())); -} - -} // namespace Glib diff --git a/libs/glibmm2/glib/glibmm/miscutils.h b/libs/glibmm2/glib/glibmm/miscutils.h deleted file mode 100644 index 3861c3772f..0000000000 --- a/libs/glibmm2/glib/glibmm/miscutils.h +++ /dev/null @@ -1,320 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_MISCUTILS_H -#define _GLIBMM_MISCUTILS_H - -/* $Id: miscutils.h 428 2007-07-29 12:43:29Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -/** @defgroup MiscUtils Miscellaneous Utility Functions - * Miscellaneous Utility Functions -- a selection of portable utility functions. - * @{ - */ - -/** Gets a human-readable name for the application, - * as set by Glib::set_application_name(). - * This name should be localized if possible, and is intended for display to - * the user. Contrast with Glib::get_prgname(), which gets a non-localized - * name. If Glib::set_application_name() has not been called, returns the - * result of Glib::get_prgname() (which may be empty if Glib::set_prgname() - * has also not been called). - * - * @return Human-readable application name. May return "". - */ -Glib::ustring get_application_name(); - -/** Sets a human-readable name for the application. - * This name should be localized if possible, and is intended for display to - * the user. Contrast with Glib::set_prgname(), which sets a non-localized - * name. Glib::set_prgname() will be called automatically by - * gtk_init(), but Glib::set_application_name() will not. - * - * Note that for thread safety reasons, this function can only be called once. - * - * The application name will be used in contexts such as error messages, - * or when displaying an application's name in the task list. - * - * @param application_name Localized name of the application. - */ -void set_application_name(const Glib::ustring& application_name); - -/** Gets the name of the program. - * If you are using GDK or GTK+ the program name is set in gdk_init(), - * which is called by gtk_init(). The program name is found by taking - * the last component of argv[0]. - * @return The name of the program. - */ -std::string get_prgname(); - -/** Sets the name of the program. - * @param prgname The name of the program. - */ -void set_prgname(const std::string& prgname); - -/** Returns the value of an environment variable. The name and value - * are in the GLib file name encoding. On Unix, this means the actual - * bytes which might or might not be in some consistent character set - * and encoding. On Windows, it is in UTF-8. On Windows, in case the - * environment variable's value contains references to other - * environment variables, they are expanded. - * - * @param variable The environment variable to get. - * @retval found true Whether the environment variable has been found. - * @return The value of the environment variable, or "" if not found. - */ -std::string getenv(const std::string& variable, bool& found); - -/** Returns the value of an environment variable. The name and value - * are in the GLib file name encoding. On Unix, this means the actual - * bytes which might or might not be in some consistent character set - * and encoding. On Windows, it is in UTF-8. On Windows, in case the - * environment variable's value contains references to other - * environment variables, they are expanded. - * - * @param variable The environment variable to get. - * @return The value of the environment variable, or "" if not found. - */ -std::string getenv(const std::string& variable); - - -/** Sets an environment variable. Both the variable's name and value - * should be in the GLib file name encoding. On Unix, this means that - * they can be any sequence of bytes. On Windows, they should be in - * UTF-8. - * - * Note that on some systems, when variables are overwritten, the memory - * used for the previous variables and its value isn't reclaimed. - * - * @param variable The environment variable to set. It must not contain '='. - * @param value The value to which the variable should be set. - * @param overwrite Whether to change the variable if it already exists. - * @result false if the environment variable couldn't be set. - */ -bool setenv(const std::string& variable, const std::string& value, bool overwrite = true); - -/** Removes an environment variable from the environment. - * - * Note that on some systems, when variables are overwritten, the memory - * used for the previous variables and its value isn't reclaimed. - * Furthermore, this function can't be guaranteed to operate in a - * threadsafe way. - * - * @param variable: the environment variable to remove. It must not contain '='. - **/ -void unsetenv(const std::string& variable); - -/** Gets the user name of the current user. - * @return The name of the current user. - */ -std::string get_user_name(); - -/** Gets the real name of the user. - * This usually comes from the user's entry in the passwd file. - * @return The user's real name. - */ -std::string get_real_name(); - -/** Gets the current user's home directory. - * @return The current user's home directory or an empty string if not defined. - */ -std::string get_home_dir(); - -/** Gets the directory to use for temporary files. - * This is found from inspecting the environment variables TMPDIR, - * TMP, and TEMP in that order. If none of those are defined - * "/tmp" is returned on UNIX and "C:\\" on Windows. - * @return The directory to use for temporary files. - */ -std::string get_tmp_dir(); - -/** Gets the current directory. - * @return The current directory. - */ -std::string get_current_dir(); - -//TODO: We could create a C++ enum to wrap the C GUserDirectory enum, -//but we would have to either be very careful, or define the enum -//values in terms of the C enums anyway. -/** Returns the full path of a special directory using its logical id. - * - * On Unix this is done using the XDG special user directories. - * - * Depending on the platform, the user might be able to change the path - * of the special directory without requiring the session to restart; GLib - * will not reflect any change once the special directories are loaded. - * - * Return value: the path to the specified special directory. - * @param directory Te logical id of special directory - * - * @newin2p14 - */ -std::string get_user_special_dir(GUserDirectory directory); - -/** Returns a base directory in which to access application data such as icons - * that is customized for a particular user. - * - * On UNIX platforms this is determined using the mechanisms described in the - * XDG Base Directory Specification - * - * @newin2p14 - */ -std::string get_user_data_dir(); - -/** Returns a base directory in which to store user-specific application - * configuration information such as user preferences and settings. - * - * On UNIX platforms this is determined using the mechanisms described in the - * XDG Base Directory Specification - * - * @newin2p14 - */ -std::string get_user_config_dir(); - -/** Returns a base directory in which to store non-essential, cached data - * specific to particular user. - * - * On UNIX platforms this is determined using the mechanisms described in the - * XDG Base Directory Specification - * - * @newin2p14 - */ -std::string get_user_cache_dir(); - -/** Returns @c true if the given @a filename is an absolute file name, i.e.\ it - * contains a full path from the root directory such as "/usr/local" - * on UNIX or "C:\\windows" on Windows systems. - * @param filename A file name. - * @return Whether @a filename is an absolute path. - */ -bool path_is_absolute(const std::string& filename); - -/** Returns the remaining part of @a filename after the root component, - * i.e.\ after the "/" on UNIX or "C:\\" on Windows. - * If @a filename is not an absolute path, "" will be returned. - * @param filename A file name. - * @return The file name without the root component, or "". - */ -std::string path_skip_root(const std::string& filename); - -/** Gets the name of the file without any leading directory components. - * @param filename The name of the file. - * @return The name of the file without any leading directory components. - */ -std::string path_get_basename(const std::string& filename); - -/** Gets the directory components of a file name. - * If the file name has no directory components "." is returned. - * @param filename The name of the file. - * @return The directory components of the file. - */ -std::string path_get_dirname(const std::string& filename); - -/** Creates a filename from a series of elements using the correct - * separator for filenames. - * This function behaves identically to Glib::build_path(G_DIR_SEPARATOR_S, - * elements). No attempt is made to force the resulting filename to be an - * absolute path. If the first element is a relative path, the result will - * be a relative path. - * @param elements A container holding the elements of the path to build. - * Any STL compatible container type is accepted. - * @return The resulting path. - */ -std::string build_filename(const Glib::ArrayHandle& elements); - -/** Creates a filename from two elements using the correct separator for filenames. - * No attempt is made to force the resulting filename to be an absolute path. - * If the first element is a relative path, the result will be a relative path. - * @param elem1 First path element. - * @param elem2 Second path element. - * @return The resulting path. - */ -std::string build_filename(const std::string& elem1, const std::string& elem2); - -/** Creates a path from a series of elements using @a separator as the - * separator between elements. - * - * At the boundary between two elements, any trailing occurrences of - * @a separator in the first element, or leading occurrences of @a separator - * in the second element are removed and exactly one copy of the separator is - * inserted. - * - * Empty elements are ignored. - * - * The number of leading copies of the separator on the result is - * the same as the number of leading copies of the separator on - * the first non-empty element. - * - * The number of trailing copies of the separator on the result is the same - * as the number of trailing copies of the separator on the last non-empty - * element. (Determination of the number of trailing copies is done without - * stripping leading copies, so if the separator is "ABA", - * "ABABA" has 1 trailing copy.) - * - * However, if there is only a single non-empty element, and there - * are no characters in that element not part of the leading or - * trailing separators, then the result is exactly the original value - * of that element. - * - * Other than for determination of the number of leading and trailing - * copies of the separator, elements consisting only of copies - * of the separator are ignored. - * - * @param separator A string used to separate the elements of the path. - * @param elements A container holding the elements of the path to build. - * Any STL compatible container type is accepted. - * @return The resulting path. - */ -std::string build_path(const std::string& separator, - const Glib::ArrayHandle& elements); - -/** Locates the first executable named @a program in the user's path, in the - * same way that execvp() would locate it. - * Returns a string with the absolute path name, or "" if the program - * is not found in the path. If @a program is already an absolute path, - * returns a copy of @a program if @a program exists and is executable, and - * "" otherwise. - * - * On Windows, if @a program does not have a file type suffix, tries to append - * the suffixes in the PATHEXT environment variable (if that doesn't - * exist, the suffixes .com, .exe, and .bat) in turn, and then look for the - * resulting file name in the same way as CreateProcess() would. This means - * first in the directory where the program was loaded from, then in the - * current directory, then in the Windows 32-bit system directory, then in the - * Windows directory, and finally in the directories in the PATH - * environment variable. If the program is found, the return value contains - * the full name including the type suffix. - * - * @param program A program name. - * @return An absolute path, or "". - */ -std::string find_program_in_path(const std::string& program); - -/** @} group MiscUtils */ - -} // namespace Glib - - -#endif /* _GLIBMM_FILEUTILS_H */ - diff --git a/libs/glibmm2/glib/glibmm/module.cc b/libs/glibmm2/glib/glibmm/module.cc deleted file mode 100644 index 6fe92b897e..0000000000 --- a/libs/glibmm2/glib/glibmm/module.cc +++ /dev/null @@ -1,96 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: module.ccg,v 1.2 2004/04/09 14:49:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -Module::Module(const std::string& file_name, ModuleFlags flags) -: - gobject_ (g_module_open(file_name.c_str(), (GModuleFlags) flags)) -{} - -Module::~Module() -{ - if(gobject_) - g_module_close(gobject_); -} - -Module::operator bool() const -{ - return (gobject_ != 0); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - - -bool Module::get_supported() -{ - return g_module_supported(); -} - - -void Module::make_resident() -{ -g_module_make_resident(gobj()); -} - -std::string Module::get_last_error() -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_module_error()); -} - - -bool Module::get_symbol(const std::string& symbol_name, void*& symbol) const -{ - return g_module_symbol(const_cast(gobj()), symbol_name.c_str(), &(symbol)); -} - -std::string Module::get_name() const -{ - return Glib::convert_const_gchar_ptr_to_stdstring(g_module_name(const_cast(gobj()))); -} - -std::string Module::build_path(const std::string& directory, const std::string& module_name) -{ - return Glib::convert_return_gchar_ptr_to_stdstring(g_module_build_path(directory.c_str(), module_name.c_str())); -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/module.h b/libs/glibmm2/glib/glibmm/module.h deleted file mode 100644 index b7386fb498..0000000000 --- a/libs/glibmm2/glib/glibmm/module.h +++ /dev/null @@ -1,222 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_MODULE_H -#define _GLIBMM_MODULE_H - - -/* $Id: module.hg,v 1.5 2004/04/09 14:49:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -GLIBMM_USING_STD(string) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GModule GModule; } -#endif - - -namespace Glib -{ - -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %ModuleFlags operator|(ModuleFlags, ModuleFlags)
- * %ModuleFlags operator&(ModuleFlags, ModuleFlags)
- * %ModuleFlags operator^(ModuleFlags, ModuleFlags)
- * %ModuleFlags operator~(ModuleFlags)
- * %ModuleFlags& operator|=(ModuleFlags&, ModuleFlags)
- * %ModuleFlags& operator&=(ModuleFlags&, ModuleFlags)
- * %ModuleFlags& operator^=(ModuleFlags&, ModuleFlags)
- */ -enum ModuleFlags -{ - MODULE_BIND_LAZY = 1 << 0, - MODULE_BIND_LOCAL = 1 << 1, - MODULE_BIND_MASK = 0x03 -}; - -/** @ingroup glibmmEnums */ -inline ModuleFlags operator|(ModuleFlags lhs, ModuleFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline ModuleFlags operator&(ModuleFlags lhs, ModuleFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline ModuleFlags operator^(ModuleFlags lhs, ModuleFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline ModuleFlags operator~(ModuleFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline ModuleFlags& operator|=(ModuleFlags& lhs, ModuleFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline ModuleFlags& operator&=(ModuleFlags& lhs, ModuleFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline ModuleFlags& operator^=(ModuleFlags& lhs, ModuleFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -//TODO: Replace get_last_error() with exceptions? -//Provide operator()? - -/** Dynamic Loading of Modules - * These functions provide a portable way to dynamically load object - * files (commonly known as 'plug-ins'). The current implementation - * supports all systems that provide an implementation of dlopen() - * (e.g. Linux/Sun), as well as HP-UX via its shl_load() mechanism, - * and Windows platforms via DLLs. - */ -class Module -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef Module CppObjectType; - typedef GModule BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - - -public: - - /** Opens a module. - * - * First of all it tries to open file_name as a module. If that - * fails and file_name has the ".la"-suffix (and is a libtool - * archive) it tries to open the corresponding module. If that fails - * and it doesn't have the proper module suffix for the platform - * (G_MODULE_SUFFIX), this suffix will be appended and the - * corresponding module will be opended. If that fails and file_name - * doesn't have the ".la"-suffix, this suffix is appended and - * it tries to open the corresponding module. - * - * Use operator bool() to see whether the operation succeeded. For instance, - * @code - * Glib::Module module("plugins/helloworld"); - * if(module) - * { - * void* func = 0; - * bool found = get_symbol("some_function", func); - * } - * @endcode - * - * @param file_name The library filename to open - * @param flags Flags to configure the load process - */ - explicit Module(const std::string& file_name, ModuleFlags flags = ModuleFlags(0)); - - /** Close a module. The module will be removed from memory, unless - * make_resident has been called. - */ - virtual ~Module(); - - /** Check whether the module was found. - */ - operator bool() const; - - /** Checks if modules are supported on the current platform. - * @returns true if available, false otherwise - */ - - static bool get_supported(); - - /** Ensures that a module will never be unloaded. Any calls to the - * Glib::Module destructor will not unload the module. - */ - - void make_resident(); - - /** Gets a string describing the last module error. - * @returns The error string - */ - - static std::string get_last_error(); - - /** Gets a symbol pointer from the module. - * @param symbol_name The name of the symbol to lookup - * @param symbol A pointer to set to the symbol - * @returns True if the symbol was found, false otherwise. - */ - - bool get_symbol(const std::string& symbol_name, void*& symbol) const; - - /** Get the name of the module. - * @returns The name of the module - */ - - std::string get_name() const; - - /** A portable way to build the filename of a module. The - * platform-specific prefix and suffix are added to the filename, if - * needed, and the result is added to the directory, using the - * correct separator character. - * - * The directory should specify the directory where the module can - * be found. It can be an empty string to indicate that the - * module is in a standard platform-specific directory, though this - * is not recommended since the wrong module may be found. - * - * For example, calling g_module_build_path() on a Linux - * system with a directory of /lib and a module_name of - * "mylibrary" will return /lib/libmylibrary.so. On a - * Windows system, using \\Windows as the directory it will - * return \\Windows\\mylibrary.dll. - * - * @param directory The directory the module is in - * @param module_name The name of the module - * @returns The system-specific filename of the module - */ - // TODO: add an override which doesn't take a directory - // TODO: check what happens when directory is "" - - static std::string build_path(const std::string& directory, const std::string& module_name); - - GModule* gobj() { return gobject_; } - const GModule* gobj() const { return gobject_; } - -protected: - GModule* gobject_; - -private: - // noncopyable - Module(const Module&); - Module& operator=(const Module&); - - -}; - -} // namespace Glib - - -#endif /* _GLIBMM_MODULE_H */ - diff --git a/libs/glibmm2/glib/glibmm/nodetree.cc b/libs/glibmm2/glib/glibmm/nodetree.cc deleted file mode 100644 index 1747ec8ef1..0000000000 --- a/libs/glibmm2/glib/glibmm/nodetree.cc +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -#include - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/nodetree.h b/libs/glibmm2/glib/glibmm/nodetree.h deleted file mode 100644 index 4f542ddc41..0000000000 --- a/libs/glibmm2/glib/glibmm/nodetree.h +++ /dev/null @@ -1,774 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_NODETREE_H -#define _GLIBMM_NODETREE_H - - -/* Copyright (C) 2007 glibmm development team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include - -#include -#include -#include -#include -#include - -namespace Glib -{ - -//Hand-written, instead of using _WRAP_ENUM, -//because the C enum values don't have a prefix. - -/** Specifies the type of traveral performed by methods such as NodeTree::_traverse() and NodeTree::find(). - * - * @ingroup glibmmEnums - */ -enum TraverseType -{ - TRAVERSE_IN_ORDER = G_IN_ORDER, /*!< Visits a node's left child first, then the node itself, then its right child. This is the one to use if you want the output sorted according to the compare function. */ - TRAVERSE_PRE_ORDER = G_PRE_ORDER, /*!< Visits a node, then its children. */ - TRAVERSE_POST_ORDER = G_POST_ORDER, /*!< Visits the node's children, then the node itself. */ - TRAVERSE_LEVEL_ORDER = G_LEVEL_ORDER /*!< For NodeTree, it vists the root node first, then its children, then its grandchildren, and so on. Note that this is less efficient than the other orders. This is not implemented for Glib::Tree. */ -}; - -/** N-ary Trees - trees of data with any number of branches - * The NodeTree class and its associated functions provide an N-ary tree data structure, in which nodes in the tree can contain arbitrary data. - * - * To insert a node into a tree use insert(), insert_before(), append() or prepend(). - * - * To create a new node and insert it into a tree use insert_data(), insert_data_before(), append_data() and prepend_data(). - * - * To reverse the children of a node use reverse_children(). - * - * To find a node use root(), find(), find_child(), index_of(), child_index(), first_child(), last_child(), nth_child(), first_sibling(), prev_sibling(), next_sibling() or last_sibling(). - * - * To get information about a node or tree use is_leaf(), is_root(), depth(), node_count(), child_count(), is_ancestor() or max_height(). - * - * To traverse a tree, calling a function for each node visited in the traversal, use traverse() or foreach(). - * - * To remove a node or subtree from a tree use unlink(). - * - * @newin2p18 - */ -template -class NodeTree -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef NodeTree CppObjectType; - typedef GNode BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - -public: - typedef sigc::slot&> TraverseFunc; - typedef sigc::slot&> ForeachFunc; - -private: - static NodeTree* wrap(GNode* node) - { - if (!node) - return 0; - - return reinterpret_cast* >(node->data); - } - -public: - NodeTree() - { - clone(); - } - - explicit NodeTree(const T& the_data) : - data_(the_data) - { - clone(); - } - - - NodeTree(const NodeTree& node) : - data_(node.data()) - { - clone(&node); - } - - /** Removes the instance and its children from the tree, - * freeing any memory allocated. - */ - ~NodeTree() - { - if(!is_root()) - unlink(); - - clear(); - } - - - NodeTree& operator=(const NodeTree& node) - { - clear(); - clone(&node); - - data_ = node.data(); - - return *this; - } - - /// Provides access to the underlying C GObject. - inline GNode* gobj() - { - return gobject_; - } - - /// Provides access to the underlying C GObject. - inline const GNode* gobj() const - { - return gobject_; - } - - /** Inserts a NodeTree beneath the parent at the given position. - * - * @param position the position to place node at, with respect to its siblings - * If position is -1, node is inserted as the last child of parent - * @param node the NodeTree to insert - * @return the inserted NodeTree - */ - NodeTree& insert(int position, NodeTree& node) - { - g_node_insert(gobj(), position, node.gobj()); - return node; - } - - - /** Inserts a NodeTree beneath the parent before the given sibling. - * - * @param sibling the sibling NodeTree to place node before. - * @param node the NodeTree to insert - * @return the inserted NodeTree - */ - NodeTree& insert_before(NodeTree& sibling, NodeTree& node) - { - g_node_insert_before(gobj(), sibling.gobj(), node.gobj()); - return node; - } - - - /** Inserts a NodeTree beneath the parent after the given sibling. - * - * @param sibling the sibling NodeTree to place node after. - * @param node the NodeTree to insert - * @return the inserted NodeTree - */ - NodeTree& insert_after(NodeTree& sibling, NodeTree& node) - { - g_node_insert_after(gobj(), sibling.gobj(), node.gobj()); - return node; - } - - - /** Inserts a NodeTree as the last child. - * - * @param node the NodeTree to append - * @return the new NodeTree - */ - NodeTree& append(NodeTree& node) - { - g_node_append(gobj(), node.gobj()); - return node; - } - - - /** Inserts a NodeTree as the first child. - * - * @param data the data for the NodeTree - * @return the NodeTree - */ - NodeTree& prepend(NodeTree& node) - { - g_node_prepend(gobj(), node.gobj()); - return node; - } - - - /** Inserts a new NodeTree at the given position. - * - * @param position the position to place the new NodeTree at. - * If position is -1, the new NodeTree is inserted as the last child of parent - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* insert_data(int position, const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - insert(position, *node); - return node; - } - - - /** Inserts a new NodeTree before the given sibling. - * - * @param sibling the sibling NodeTree to place node before. - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* insert_data_before(NodeTree& sibling, const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - insert_before(sibling, *node); - return node; - } - - - /** Inserts a new NodeTree as the last child. - * - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* append_data(const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - append(*node); - return node; - } - - - /** Inserts a new NodeTree as the first child. - * - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* prepend_data(const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - prepend(*node); - return node; - } - - - /** Reverses the order of the children. - */ - void reverse_children() - { - g_node_reverse_children(gobj()); - } - - - /** Returns a pointer to the root of the tree. - * - * @return A pointer to the root of the tree. - */ - NodeTree* get_root() - { - return wrap(g_node_get_root(gobj())); - } - - const NodeTree* get_root() const - { - return wrap(g_node_get_root(gobj())); - } - - - /** Specifies which nodes are visited during several of the NodeTree methods, - * including traverse() and find(). - * - * @ingroup glibmmEnums - */ - enum TraverseFlags - { - TRAVERSE_LEAVES = G_TRAVERSE_LEAVES, /*!< Only leaf nodes should be visited. */ - TRAVERSE_NON_LEAVES = G_TRAVERSE_NON_LEAVES, /*!< Only non-leaf nodes should be visited. */ - TRAVERSE_ALL = G_TRAVERSE_ALL, /*!< All nodes should be visited. */ - TRAVERSE_MASK = G_TRAVERSE_MASK /*!< A mask of all traverse flags. */ - }; - - /** Traverses a tree starting at the current node. - * It calls the given function for each node visited. - * The traversal can be halted at any point by returning true from @a func. - * - * @param order The order in which nodes are visited. - * @param flags Which types of children are to be visited. - * @param max_depth The maximum depth of the traversal. - * Nodes below this depth will not be visited. - * If max_depth is -1 all nodes in the tree are visited. - * If max_depth is 1, only the root is visited. - * If max_depth is 2, the root and its children are visited. And so on. - * @param func the slot to invoke for each visited child - */ - void traverse(const TraverseFunc& func, TraverseType order = TRAVERSE_IN_ORDER, TraverseFlags flags = TRAVERSE_ALL, int max_depth = -1) - { - TraverseFunc func_copy = func; - g_node_traverse(gobj(), (GTraverseType)order, (GTraverseFlags)flags, max_depth, c_callback_traverse, reinterpret_cast(&func_copy)); - } - ; - - /** Calls a function for each of the children of a NodeTree. - * Note that it doesn't descend beneath the child nodes. - * - * @param flags Wwhich types of children are to be visited. - * @param func The slot to invoke for each visited node. - */ - void foreach(const ForeachFunc& func, TraverseFlags flags = TRAVERSE_ALL) - { - ForeachFunc func_copy = func; - g_node_children_foreach(gobj(), (GTraverseFlags)flags, c_callback_foreach, reinterpret_cast(&func_copy)); - } - - - /** Finds the first child of a NodeTree with the given data. - * - * @param flags Which types of children are to be visited, one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES. - * @param data The data for which to search. - * @return the found child, or 0 if the data is not found - */ - NodeTree* find_child(const T& the_data, TraverseFlags flags = TRAVERSE_ALL) - { - sigc::slot real_slot = sigc::ptr_fun(on_compare_child); - - GNode* child = 0; - typedef sigc::slot type_foreach_gnode_slot; - type_foreach_gnode_slot bound_slot = sigc::bind(real_slot, the_data, &child); - - g_node_children_foreach(gobj(), (GTraverseFlags)flags, c_callback_foreach_compare_child, reinterpret_cast(&bound_slot)); - - return wrap(child); - } - - /** Finds the first child of a NodeTree with the given data. - * - * @param flags Which types of children are to be visited, one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES. - * @param data The data for which to search. - * @return the found child, or 0 if the data is not found - */ - const NodeTree* find_child(const T& the_data, TraverseFlags flags = TRAVERSE_ALL) const - { - return const_cast*>(this)->find_child(flags, the_data); - } - - - /** Finds a node in a tree. - * - * @param order The order in which nodes are visited: IN_ORDER, TRAVERSE_PRE_ORDER, TRAVERSE_POST_ORDER, or TRAVERSE_LEVEL_ORDER - * @param flags Which types of children are to be visited: one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES. - * @param data The data for which to search. - * @return The found node, or 0 if the data is not found. - */ - NodeTree* find(const T& the_data, TraverseType order = TRAVERSE_IN_ORDER, TraverseFlags flags = TRAVERSE_ALL) - { - //We use a sigc::slot for the C callback, so we can bind some extra data. - sigc::slot real_slot = sigc::ptr_fun(on_compare_node); - GNode* child = 0; - - typedef sigc::slot type_traverse_gnode_slot; - type_traverse_gnode_slot bound_slot = sigc::bind(real_slot, the_data, &child); - - g_node_traverse(const_cast(gobj()), (GTraverseType)order, (GTraverseFlags)flags, -1, c_callback_traverse_compare_node, reinterpret_cast(&bound_slot)); - - return wrap(child); - } - - /** Finds a node in a tree. - * - * @param order The order in which nodes are visited. - * @param flags Which types of children are to be visited. - * @param data The data for which to search. - * @return The found node, or 0 if the data is not found. - */ - const NodeTree* find(const T& the_data, TraverseType order = TRAVERSE_IN_ORDER, TraverseFlags flags = TRAVERSE_ALL) const - { - return const_cast*>(this)->find(order, flags, the_data); - } - - - /** Gets the position of the first child which contains the given data. - * - * @param data The data to find. - * @return The index of the child which contains data, or -1 if the data is not found. - */ - int child_index(const T& the_data) const - { - int n = 0; - - for(const NodeTree* i = first_child(); i != 0; i = i->next_sibling()) - { - if((i->data()) == the_data) - return n; - - n++; - } - - return -1; - } - - - /** Gets the position with respect to its siblings. - * child must be a child of node. - * The first child is numbered 0, the second 1, and so on. - * - * @param child A child - * @return The position of @a child with respect to its siblings. - */ - int child_position(const NodeTree& child) const - { - return g_node_child_position(const_cast(gobj()), const_cast(child.gobj())); - } - - - /** Gets the first child. - * - * @return The first child, or 0 if the node has no children. - */ - NodeTree* first_child() - { - return wrap(g_node_first_child(gobj())); - } - - /** Gets the first child. - * - * @return The first child, or 0 if the node has no children. - */ - const NodeTree* first_child() const - { - return const_cast*>(this)->first_child(); - } - - - /** Gets the last child. - * - * @return The last child, or 0 if the node has no children. - */ - NodeTree* last_child() - { - return wrap(g_node_last_child(gobj())); - } - - /** Gets the last child. - * - * @return The last child, or 0 if the node has no children. - */ - const NodeTree* last_child() const - { - return const_cast*>(this)->last_child(); - } - - - /** Gets the nth child. - * - * @return The nth child, or 0 if n is too large. - */ - NodeTree* nth_child(int n) - { - return wrap(g_node_nth_child(gobj(), n)); - } - - /** Gets the nth child. - * - * @return The nth child, or 0 if n is too large. - */ - const NodeTree* nth_child(int n) const - { - return const_cast*>(this)->nth_child(n); - } - - - /** Gets the first sibling - * @return The first sibling, or 0 if the node has no siblings. - */ - NodeTree* first_sibling() - { - return wrap(g_node_first_sibling(gobj())); - } - - /** Gets the first sibling - * @return The first sibling, or 0 if the node has no siblings. - */ - const NodeTree* first_sibling() const - { - return const_cast*>(this)->first_sibling(); - } - - - /** Gets the previous sibling. - * - * @return The previous sibling, or 0 if the node has no siblings. - */ - NodeTree* prev_sibling() - { - return wrap(g_node_prev_sibling(gobj())); - } - - /** Gets the previous sibling. - * - * @return The previous sibling, or 0 if the node has no siblings. - */ - const NodeTree* prev_sibling() const - { - return const_cast*>(this)->prev_sibling(); - } - - - /** Gets the next sibling - * - * @return The next sibling, or 0 if the node has no siblings. - */ - NodeTree* next_sibling() - { - return wrap(g_node_next_sibling(gobj())); - } - - /** Gets the next sibling - * - * @return The next sibling, or 0 if the node has no siblings. - */ - const NodeTree* next_sibling() const - { - return const_cast*>(this)->next_sibling(); - } - - - /** Gets the last sibling. - * - * @return The last sibling, or 0 if the node has no siblings. - */ - NodeTree* last_sibling() - { - return wrap(g_node_last_sibling(gobj())); - } - - /** Gets the last sibling. - * - * @return The last sibling, or 0 if the node has no siblings. - */ - const NodeTree* last_sibling() const - { - return const_cast*>(this)->last_sibling(); - } - - - /** Returns true if this is a leaf node. - * - * @return true if this is a leaf node. - */ - bool is_leaf() const - { - return G_NODE_IS_LEAF(const_cast(gobj())); - } - - /** Returns true if this is the root node. - * - * @return true if this is the root node. - */ - bool is_root() const - { - return G_NODE_IS_ROOT(const_cast(gobj())); - } - - /** Gets the depth of this node. - * The root node has a depth of 1. - * For the children of the root node the depth is 2. And so on. - * - * @return the depth of this node - */ - guint depth() const - { - return g_node_depth(const_cast(gobj())); - } - - - /** Gets the number of nodes in a tree. - * - * @param flags Which types of children are to be counted: one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES - * @return The number of nodes in the tree. - */ - guint node_count(TraverseFlags flags = TRAVERSE_ALL) const - { - return g_node_n_nodes(const_cast(gobj()), (GTraverseFlags)flags); - } - - - /** Gets the number children. - * - * @return The number of children. - */ - guint child_count() const - { - return g_node_n_children(const_cast(gobj())); - } - - - /** Returns true if this is an ancestor of @a descendant. - * This is true if this is the parent of @a descendant, - * or if this is the grandparent of @a descendant etc. - * - * @param descendant A node. - * @return true if this is an ancestor of descendant. - */ - bool is_ancestor(const NodeTree& descendant) const - { - return g_node_is_ancestor(const_cast(gobj()), const_cast(descendant.gobj())); - } - - - /** Gets the maximum height of all branches beneath this node. - * This is the maximum distance from the node to all leaf nodes. - * If root has no children, 1 is returned. If root has children, 2 is returned. And so on. - * - * @return The maximum height of all branches. - */ - guint get_max_height() const - { - return g_node_max_height(const_cast(gobj())); - } - - - /** Unlinks a node from a tree, resulting in two separate trees. - */ - void unlink() - { - g_node_unlink(gobj()); - } - - -#if 0 //Commented-out because people can just use the copy constructor. - /** Recursively copies a node and it's data. - * - * Returns: a new node containing the copies of the data. - */ - NodeTree* copy_deep() const - { - //Use copy constructor instead of g_node_copy_deep to create C++ wrappers also not only the wrapped C objects. - return new NodeTree(*this); - } -#endif - - - /// Accessor for this node's data - T& data() - { - return data_; - } - - /// Accessor for this node's data - const T& data() const - { - return data_; - } - - /** Accessor for this node's parent. - * - * @return The node's parent. - */ - const NodeTree* parent() const - { - return wrap(gobj()->parent); - } - - // Do not wrap this shallow copy function, because it is not useful: - - -private: - - void clear() - { - //Free the children (not just with g_node_destroy(), to avoid the leaking of C++ wrapper objects): - while(NodeTree* i = first_child()) - delete i; - - //Free the wrapped object (g_node_free not available) - g_slice_free(GNode, gobject_); - gobject_ = 0; - } - - ///Create a new GNode, taking the contents of an existing node if one is specified. - void clone(const NodeTree* node = 0) - { - //Store the this pointer in the GNode so we can discover this wrapper later: - gobject_ = g_node_new(reinterpret_cast(this)); - - if(node) - { - //Prepend the copied children of @node to the constructing node. - for(const NodeTree* i = node->last_child(); i != 0; i = i->prev_sibling()) - prepend(*(new NodeTree(*i))); - } - } - - /// Wrapper for invoking a TraverseFunc. - static gboolean c_callback_traverse(GNode* node, gpointer slot) - { - const TraverseFunc* tf = reinterpret_cast(slot); - return (*tf)(*wrap(node)); - } - - /// Wrapper for invoking a ForeachFunc. - static void c_callback_foreach(GNode* node, gpointer slot) - { - const ForeachFunc* ff = reinterpret_cast(slot); - (*ff)(*wrap(node)); - } - - /// Method for comparing a single child (Internal use). - static void on_compare_child(GNode* node, const T& needle, GNode** result) - { - if((0 != result) && (wrap(node)->data() == needle)) - { - *result = node; - } - } - - /// Wrapper for invoking a sigc::slot (Internal use). - static void c_callback_foreach_compare_child(GNode* node, gpointer data) - { - const ForeachFunc* slot = reinterpret_cast(data); - (*slot)(*wrap(node)); - } - - /// Method for comparing a single node (Internal use). - static gboolean on_compare_node(GNode* node, const T& needle, GNode** result) - { - if(wrap(node)->data() == needle) - { - *result = node; - return TRUE; - } - return FALSE; - } - - /// Wrapper for invoking a sigc::slot (Internal use). - static gboolean c_callback_traverse_compare_node(GNode* node, gpointer data) - { - const TraverseFunc* slot = reinterpret_cast(data); - return (*slot)(*wrap(node)); - } - - - GNode* gobject_; - T data_; - - -}; - -} // namespace Glib - - -#endif /* _GLIBMM_NODETREE_H */ - diff --git a/libs/glibmm2/glib/glibmm/object.cc b/libs/glibmm2/glib/glibmm/object.cc deleted file mode 100644 index 669f5e3b85..0000000000 --- a/libs/glibmm2/glib/glibmm/object.cc +++ /dev/null @@ -1,314 +0,0 @@ -// -*- c++ -*- -/* $Id: object.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -#include -#include - -#include -#include - -#include - -//Weak references: -//I'm not sure what the point of these are apart from being a hacky way out of circular references, -//but maybe we could make it easier to use them by making a Java Reference Object -style class like so: -// Glib::WeakRef weakrefSomeObject(object1); -// ... -// if(weakrefSomeObject->isStillAlive()) -// { -// weakrefSomeObject->some_method(); -// } -// else -// { -// //Deal with it, maybe recreating the object. -// } -// -// Without this, the coder has to define his own signal handler which sets his own isStillAlive boolean. -// weakrefSomeObject<> could still have its own signal_destroyed signal so that coders can choose to deal -// with the destruction as soon as it happens instead of just checking later before they try to use it. - - -namespace Glib -{ - -ConstructParams::ConstructParams(const Glib::Class& glibmm_class_) -: - glibmm_class (glibmm_class_), - n_parameters (0), - parameters (0) -{} - -/* - * The implementation is mostly copied from gobject.c, with some minor tweaks. - * Basically, it looks up each property name to get its GType, and then uses - * G_VALUE_COLLECT() to store the varargs argument in a GValue of the correct - * type. - * - * Note that the property name arguments are assumed to be static string - * literals. No attempt is made to copy the string content. This is no - * different from g_object_new(). - */ -ConstructParams::ConstructParams(const Glib::Class& glibmm_class_, - const char* first_property_name, ...) -: - glibmm_class (glibmm_class_), - n_parameters (0), - parameters (0) -{ - va_list var_args; - va_start(var_args, first_property_name); - - GObjectClass *const g_class = - static_cast(g_type_class_ref(glibmm_class.get_type())); - - unsigned int n_alloced_params = 0; - char* collect_error = 0; // output argument of G_VALUE_COLLECT() - - for(const char* name = first_property_name; - name != 0; - name = va_arg(var_args, char*)) - { - GParamSpec *const pspec = g_object_class_find_property(g_class, name); - - if(!pspec) - { - g_warning("Glib::ConstructParams::ConstructParams(): " - "object class \"%s\" has no property named \"%s\"", - g_type_name(glibmm_class.get_type()), name); - break; - } - - if(n_parameters >= n_alloced_params) - parameters = g_renew(GParameter, parameters, n_alloced_params += 8); - - GParameter& param = parameters[n_parameters]; - - param.name = name; - param.value.g_type = 0; - - // Fill the GValue with the current vararg, and move on to the next one. - g_value_init(¶m.value, G_PARAM_SPEC_VALUE_TYPE(pspec)); - G_VALUE_COLLECT(¶m.value, var_args, 0, &collect_error); - - if(collect_error) - { - g_warning("Glib::ConstructParams::ConstructParams(): %s", collect_error); - g_free(collect_error); - g_value_unset(¶m.value); - break; - } - - ++n_parameters; - } - - g_type_class_unref(g_class); - - va_end(var_args); -} - -ConstructParams::~ConstructParams() -{ - while(n_parameters > 0) - g_value_unset(¶meters[--n_parameters].value); - - g_free(parameters); -} - -/* - * Some compilers require the existence of a copy constructor in certain - * usage contexts. This implementation is fully functional, but unlikely - * to be ever actually called due to optimization. - */ -ConstructParams::ConstructParams(const ConstructParams& other) -: - glibmm_class (other.glibmm_class), - n_parameters (other.n_parameters), - parameters (g_new(GParameter, n_parameters)) -{ - for(unsigned int i = 0; i < n_parameters; ++i) - { - parameters[i].name = other.parameters[i].name; - parameters[i].value.g_type = 0; - - g_value_init(¶meters[i].value, G_VALUE_TYPE(&other.parameters[i].value)); - g_value_copy(&other.parameters[i].value, ¶meters[i].value); - } -} - - -/**** Glib::Object_Class ***************************************************/ - -const Glib::Class& Object_Class::init() -{ - if(!gtype_) - { - class_init_func_ = &Object_Class::class_init_function; - register_derived_type(G_TYPE_OBJECT); - } - - return *this; -} - -void Object_Class::class_init_function(void*, void*) -{} - -Object* Object_Class::wrap_new(GObject* object) -{ - return new Object(object); -} - - -/**** Glib::Object *********************************************************/ - -// static data -Object::CppClassType Object::object_class_; - -Object::Object() -{ - // This constructor is ONLY for derived classes that are NOT wrappers of - // derived C objects. For instance, Gtk::Object should NOT use this - // constructor. - - //g_warning("Object::Object(): Did you really mean to call this?"); - - // If Glib::ObjectBase has been constructed with a custom typeid, we derive - // a new GType on the fly. This works because ObjectBase is a virtual base - // class, therefore its constructor is always executed first. - - GType object_type = G_TYPE_OBJECT; // the default -- not very useful - - if(custom_type_name_ && !is_anonymous_custom_()) - { - object_class_.init(); - // This creates a type that is derived (indirectly) from GObject. - object_type = object_class_.clone_custom_type(custom_type_name_); - } - - void *const new_object = g_object_newv(object_type, 0, 0); - - // Connect the GObject and Glib::Object instances. - ObjectBase::initialize(static_cast(new_object)); - -} - -Object::Object(const Glib::ConstructParams& construct_params) -{ - GType object_type = construct_params.glibmm_class.get_type(); - - // If Glib::ObjectBase has been constructed with a custom typeid, we derive - // a new GType on the fly. This works because ObjectBase is a virtual base - // class, therefore its constructor is always executed first. - - if(custom_type_name_ && !is_anonymous_custom_()) - object_type = construct_params.glibmm_class.clone_custom_type(custom_type_name_); - - // Create a new GObject with the specified array of construct properties. - // This works with custom types too, since those inherit the properties of - // their base class. - - void *const new_object = g_object_newv( - object_type, construct_params.n_parameters, construct_params.parameters); - - // Connect the GObject and Glib::Object instances. - ObjectBase::initialize(static_cast(new_object)); -} - -Object::Object(GObject* castitem) -{ - //I disabled this check because libglademm really does need to do this. - //(actually it tells libglade to instantiate "gtkmm_" types. - //The 2nd instance bug will be caught elsewhere anyway. -/* - static const char gtkmm_prefix[] = "gtkmm__"; - const char *const type_name = G_OBJECT_TYPE_NAME(castitem); - - if(strncmp(type_name, gtkmm_prefix, sizeof(gtkmm_prefix) - 1) == 0) - { - g_warning("Glib::Object::Object(GObject*): " - "An object of type '%s' was created directly via g_object_new(). " - "The Object::Object(const Glib::ConstructParams&) constructor " - "should be used instead.\n" - "This could happen if the C instance lived longer than the C++ instance, so that " - "a second C++ instance was created automatically to wrap it. That would be a gtkmm bug that you should report.", - type_name); - } -*/ - - // Connect the GObject and Glib::Object instances. - ObjectBase::initialize(castitem); -} - -Object::~Object() -{ - cpp_destruction_in_progress_ = true; -} - -/* -RefPtr Object::create() -{ - // Derived classes will actually return RefPtr<>s that contain useful instances. - return RefPtr(); -} -*/ - -GType Object::get_type() -{ - return object_class_.init().get_type(); -} - -GType Object::get_base_type() -{ - return G_TYPE_OBJECT; -} - -// Data services -void* Object::get_data(const QueryQuark& id) -{ - return g_object_get_qdata(gobj(),id); -} - -void Object::set_data(const Quark& id, void* data) -{ - g_object_set_qdata(gobj(),id,data); -} - -void Object::set_data(const Quark& id, void* data, DestroyNotify destroy) -{ - g_object_set_qdata_full(gobj(), id, data, destroy); -} - -void Object::remove_data(const QueryQuark& id) -{ - // missing in glib?? - g_return_if_fail(id.id() > 0); - g_datalist_id_remove_data(&gobj()->qdata, id); -} - -void* Object::steal_data(const QueryQuark& id) -{ - return g_object_steal_qdata(gobj(), id); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/object.h b/libs/glibmm2/glib/glibmm/object.h deleted file mode 100644 index 804632f533..0000000000 --- a/libs/glibmm2/glib/glibmm/object.h +++ /dev/null @@ -1,292 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_OBJECT_H -#define _GLIBMM_OBJECT_H -/* $Id: object.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//X11 defines DestroyNotify and some other non-prefixed stuff, and it's too late to change that now, -//so let's give people a clue about the compilation errors that they will see: -#ifdef DestroyNotify -# error "X11/Xlib.h seems to have been included before this header. Due to some commonly-named macros in X11/Xlib.h, it may only be included after any glibmm, gdkmm, or gtkmm headers." -#endif - -#include /* for G_GNUC_NULL_TERMINATED */ -#include -#include -#include -#include -#include /* Could be private, but that would be tedious. */ -#include /* Because its specializations may be here. */ -#include - -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" -{ -typedef struct _GObject GObject; -typedef struct _GObjectClass GObjectClass; -} -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -class Class; -class Object_Class; -class GSigConnectionNode; - -/* ConstructParams::ConstructParams() takes a varargs list of properties - * and values, like g_object_new() does. This list will then be converted - * to a GParameter array, for use with g_object_newv(). No overhead is - * involved, since g_object_new() is just a wrapper around g_object_newv() - * as well. - * - * The advantage of an auxiliary ConstructParams object over g_object_new() - * is that the actual construction is always done in the Glib::Object ctor. - * This allows for neat tricks like easy creation of derived custom types, - * without adding special support to each ctor of every class. - * - * The comments in object.cc and objectbase.cc should explain in detail - * how this works. - */ -class ConstructParams -{ -public: - const Glib::Class& glibmm_class; - unsigned int n_parameters; - GParameter* parameters; - - explicit ConstructParams(const Glib::Class& glibmm_class_); - ConstructParams(const Glib::Class& glibmm_class_, const char* first_property_name, ...) - G_GNUC_NULL_TERMINATED; // warn if called without a trailing NULL pointer - ~ConstructParams(); - - // The copy constructor is semantically required by the C++ compiler - // (since g++ 3.4) to be able to create temporary instances, depending - // on the usage context. Apparently the compiler will actually optimize - // away the copy, though. See bug #132300. - ConstructParams(const ConstructParams& other); - -private: - // no copy assignment - ConstructParams& operator=(const ConstructParams&); -}; - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -class GLIBMM_API Object : virtual public ObjectBase -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef Object CppObjectType; - typedef Object_Class CppClassType; - typedef GObject BaseObjectType; - typedef GObjectClass BaseClassType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -protected: - Object(); //For use by C++-only sub-types. - explicit Object(const Glib::ConstructParams& construct_params); - explicit Object(GObject* castitem); - virtual ~Object(); //It should only be deleted by the callback. - -public: - //static RefPtr create(); //You must reimplement this in each derived class. - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - //GObject* gobj_copy(); //Give a ref-ed copy to someone. Use for direct struct access. - - // Glib::Objects contain a list > - // to store run time data added to the object at run time. - //TODO: Use slots instead: - void* get_data(const QueryQuark &key); - void set_data(const Quark &key, void* data); - typedef void (*DestroyNotify) (gpointer data); - void set_data(const Quark &key, void* data, DestroyNotify notify); - void remove_data(const QueryQuark& quark); - // same as remove without notifying - void* steal_data(const QueryQuark& quark); - - // convenience functions - //template - //void set_data_typed(const Quark& quark, const T& data) - // { set_data(quark, new T(data), delete_typed); } - - //template - //T& get_data_typed(const QueryQuark& quark) - // { return *static_cast(get_data(quark)); } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -private: - friend class Glib::Object_Class; - static CppClassType object_class_; - - // noncopyable - Object(const Object&); - Object& operator=(const Object&); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - // Glib::Object can not be dynamic because it lacks a float state. - //virtual void set_manage(); -}; - - -//For some (proably, more spec-compliant) compilers, these specializations must -//be next to the objects that they use. -#ifndef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION -# ifndef DOXYGEN_SHOULD_SKIP_THIS /* hide the specializations */ - -namespace Container_Helpers -{ - -/** Partial specialization for pointers to GObject instances. - * @ingroup ContHelpers - * The C++ type is always a Glib::RefPtr<>. - */ -template -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef typename T::BaseObjectType * CType; - typedef typename T::BaseObjectType * CTypeNonConst; - - static CType to_c_type (const CppType& ptr) { return Glib::unwrap(ptr); } - static CType to_c_type (CType ptr) { return ptr; } - static CppType to_cpp_type(CType ptr) - { - //return Glib::wrap(ptr, true); - - //We copy/paste the wrap() implementation here, - //because we can not use a specific Glib::wrap(CType) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = (GObject*)const_cast(ptr); - return Glib::RefPtr( dynamic_cast(Glib::wrap_auto(cobj, true /* take_copy */)) ); - //We use dynamic_cast<> in case of multiple inheritance. - } - - static void release_c_type(CType ptr) - { - GLIBMM_DEBUG_UNREFERENCE(0, ptr); - g_object_unref(ptr); - } -}; - -//This confuses the SUN Forte compiler, so we ifdef it out: -# ifdef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -/** Partial specialization for pointers to const GObject instances. - * @ingroup ContHelpers - * The C++ type is always a Glib::RefPtr<>. - */ -template -struct TypeTraits< Glib::RefPtr > -{ - typedef Glib::RefPtr CppType; - typedef const typename T::BaseObjectType * CType; - typedef typename T::BaseObjectType * CTypeNonConst; - - static CType to_c_type (const CppType& ptr) { return Glib::unwrap(ptr); } - static CType to_c_type (CType ptr) { return ptr; } - static CppType to_cpp_type(CType ptr) - { - //return Glib::wrap(ptr, true); - - //We copy/paste the wrap() implementation here, - //because we can not use a specific Glib::wrap(CType) overload here, - //because that would be "dependent", and g++ 3.4 does not allow that. - //The specific Glib::wrap() overloads don't do anything special anyway. - GObject* cobj = (GObject*)(ptr); - return Glib::RefPtr( dynamic_cast(Glib::wrap_auto(cobj, true /* take_copy */)) ); - //We use dynamic_cast<> in case of multiple inheritance. - } - - static void release_c_type (CType ptr) - { - GLIBMM_DEBUG_UNREFERENCE(0, ptr); - g_object_unref(const_cast(ptr)); - } -}; - -# endif /* GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS */ - -} //namespace Container_Helpers - - -template inline -PtrT Value_Pointer::get_(Glib::Object*) const -{ - return dynamic_cast(get_object()); -} - - -/** Partial specialization for RefPtr<> to Glib::Object. - * @ingroup glibmmValue - */ -template -class Value< Glib::RefPtr > : public ValueBase_Object -{ -public: - typedef Glib::RefPtr CppType; - typedef typename T::BaseObjectType* CType; - - static GType value_type() { return T::get_base_type(); } - - void set(const CppType& data) { set_object(data.operator->()); } - CppType get() const { return Glib::RefPtr::cast_dynamic(get_object_copy()); } -}; - -//The SUN Forte Compiler has a problem with this: -# ifdef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -/** Partial specialization for RefPtr<> to const Glib::Object. - * @ingroup glibmmValue - */ -template -class Value< Glib::RefPtr > : public ValueBase_Object -{ -public: - typedef Glib::RefPtr CppType; - typedef typename T::BaseObjectType* CType; - - static GType value_type() { return T::get_base_type(); } - - void set(const CppType& data) { set_object(const_cast(data.operator->())); } - CppType get() const { return Glib::RefPtr::cast_dynamic(get_object_copy()); } -}; -# endif /* GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS */ - -# endif /* DOXYGEN_SHOULD_SKIP_THIS */ -#endif /* GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION */ - -} // namespace Glib - -#endif /* _GLIBMM_OBJECT_H */ - diff --git a/libs/glibmm2/glib/glibmm/objectbase.cc b/libs/glibmm2/glib/glibmm/objectbase.cc deleted file mode 100644 index c91761c970..0000000000 --- a/libs/glibmm2/glib/glibmm/objectbase.cc +++ /dev/null @@ -1,297 +0,0 @@ -// -*- c++ -*- -/* $Id: objectbase.cc 530 2008-01-20 18:54:44Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#include -#include -#include //For PropertyProxyConnectionNode - - -namespace -{ - -// Used by the Glib::ObjectBase default ctor. Using an explicitly defined -// char array rather than a string literal allows for fast pointer comparison, -// which is otherwise not guaranteed to work. - -static const char anonymous_custom_type_name[] = "gtkmm__anonymous_custom_type"; - -} // anonymous namespace - - -namespace Glib -{ - -/**** Glib::ObjectBase *****************************************************/ - -ObjectBase::ObjectBase() -: - gobject_ (0), - custom_type_name_ (anonymous_custom_type_name), - cpp_destruction_in_progress_ (false) -{} - -ObjectBase::ObjectBase(const char* custom_type_name) -: - gobject_ (0), - custom_type_name_ (custom_type_name), - cpp_destruction_in_progress_ (false) -{} - -ObjectBase::ObjectBase(const std::type_info& custom_type_info) -: - gobject_ (0), - custom_type_name_ (custom_type_info.name()), - cpp_destruction_in_progress_ (false) -{} - -// initialize() actually initializes the wrapper. Glib::ObjectBase is used -// as virtual base class, which means the most-derived class' ctor invokes -// the Glib::ObjectBase ctor -- thus it's useless for Glib::Object. -// -void ObjectBase::initialize(GObject* castitem) -{ - if(gobject_) - { - // initialize() might be called twice when used with MI, e.g. by the ctors - // of Glib::Object and Glib::Interface. However, they must both refer to - // the same underlying GObject instance. - // - g_assert(gobject_ == castitem); - - // TODO: Think about it. Will this really be called twice? - g_printerr("ObjectBase::initialize() called twice for the same GObject\n"); - - return; // Don't initialize the wrapper twice. - } - - //g_print("%s : %s\n", G_GNUC_PRETTY_FUNCTION, G_OBJECT_TYPE_NAME(castitem)); - - gobject_ = castitem; - _set_current_wrapper(castitem); -} - -ObjectBase::~ObjectBase() -{ - // Normally, gobject_ should always be 0 at this point, because: - // - // a) Gtk::Object handles memory management on its own and always resets - // the gobject_ pointer in its destructor. - // - // b) Glib::Object instances that aren't Gtk::Objects will always be - // deleted by the destroy_notify_() virtual method. Calling delete - // on a Glib::Object is a programming error. - // - // The *only* situation where gobject_ is validly not 0 at this point - // happens if a derived class's ctor throws an exception. In that case - // we have to call g_object_unref() on our own. - // - if(GObject *const gobject = gobject_) - { -#ifdef GLIBMM_DEBUG_REFCOUNTING - g_warning("(Glib::ObjectBase::~ObjectBase): gobject_ = %p", (void*) gobject_); -#endif - - gobject_ = 0; - -#ifdef GLIBMM_DEBUG_REFCOUNTING - g_warning("(Glib::ObjectBase::~ObjectBase): before g_object_steal_qdata()"); -#endif - - // Remove the pointer to the wrapper from the underlying instance. - // This does _not_ cause invocation of the destroy_notify callback. - g_object_steal_qdata(gobject, quark_); - -#ifdef GLIBMM_DEBUG_REFCOUNTING - g_warning("(Glib::ObjectBase::~ObjectBase): calling g_object_unref()"); -#endif - - g_object_unref(gobject); - } -} - -void ObjectBase::reference() const -{ - GLIBMM_DEBUG_REFERENCE(this, gobject_); - g_object_ref(gobject_); -} - -void ObjectBase::unreference() const -{ - GLIBMM_DEBUG_UNREFERENCE(this, gobject_); - g_object_unref(gobject_); -} - -GObject* ObjectBase::gobj_copy() const -{ - reference(); - return gobject_; -} - -void ObjectBase::_set_current_wrapper(GObject* object) -{ - // Store a pointer to this wrapper in the underlying instance, so that we - // never create a second wrapper for the same underlying instance. Also, - // specify a callback that will tell us when it's time to delete this C++ - // wrapper instance: - - if(object) - { - if(!g_object_get_qdata(object, Glib::quark_)) - { - g_object_set_qdata_full(object, Glib::quark_, this, &destroy_notify_callback_); - } - else - { - g_warning("This object, of type %s, already has a wrapper.\n" - "You should use wrap() instead of a constructor.", - G_OBJECT_TYPE_NAME(object)); - } - } -} - -// static -ObjectBase* ObjectBase::_get_current_wrapper(GObject* object) -{ - if(object) - return static_cast(g_object_get_qdata(object, Glib::quark_)); - else - return 0; -} - -// static -void ObjectBase::destroy_notify_callback_(void* data) -{ - //GLIBMM_LIFECYCLE - - // This method is called (indirectly) from g_object_run_dispose(). - // Get the C++ instance associated with the C instance: - ObjectBase* cppObject = static_cast(data); //Previously set with g_object_set_qdata_full(). - -#ifdef GLIBMM_DEBUG_REFCOUNTING - g_warning("ObjectBase::destroy_notify_callback_: cppObject = %p, gobject_ = %p, gtypename = %s", - (void*) cppObject, (void*) cppObject->gobject_, cppObject->gobject_); -#endif - - if(cppObject) //This will be 0 if the C++ destructor has already run. - { - cppObject->destroy_notify_(); //Virtual - it does different things for GObject and GtkObject. - } -} - -void ObjectBase::destroy_notify_() -{ - // The C instance is about to be disposed, making it unusable. Now is a - // good time to delete the C++ wrapper of the C instance. There is no way - // to force the disposal of the GObject (though GtkObject has - // gtk_object_destroy()), So this is the *only* place where we delete the - // C++ wrapper. - // - // This will only happen after the last unreference(), which will be done by - // the RefPtr<> destructor. There should be no way to access the wrapper or - // the undobjecterlying instance after that, so it's OK to delete this. - -#ifdef GLIBMM_DEBUG_REFCOUNTING - g_warning("Glib::ObjectBase::destroy_notify_: gobject_ = %p", (void*) gobject_); -#endif - - gobject_ = 0; // Make sure we don't unref it again in the dtor. - - delete this; -} - -bool ObjectBase::is_anonymous_custom_() const -{ - // Doing high-speed pointer comparison is OK here. - return (custom_type_name_ == anonymous_custom_type_name); -} - -bool ObjectBase::is_derived_() const -{ - // gtkmmproc-generated classes initialize this to 0 by default. - return (custom_type_name_ != 0); -} - -void ObjectBase::set_manage() -{ - // This is a private method and Gtk::manage() is a template function. - // Thus this will probably never run, unless you do something like: - // - // manage(static_cast(refptr.operator->())); - - g_error("Glib::ObjectBase::set_manage(): " - "only Gtk::Object instances can be managed"); -} - -bool ObjectBase::_cpp_destruction_is_in_progress() const -{ - return cpp_destruction_in_progress_; -} - -void ObjectBase::set_property_value(const Glib::ustring& property_name, const Glib::ValueBase& value) -{ - g_object_set_property(gobj(), property_name.c_str(), value.gobj()); -} - -void ObjectBase::get_property_value(const Glib::ustring& property_name, Glib::ValueBase& value) const -{ - g_object_get_property(const_cast(gobj()), property_name.c_str(), value.gobj()); -} - -void ObjectBase::connect_property_changed(const Glib::ustring& property_name, const sigc::slot& slot) -{ - connect_property_changed_with_return(property_name, slot); -} - -sigc::connection ObjectBase::connect_property_changed_with_return(const Glib::ustring& property_name, const sigc::slot& slot) -{ - // Create a proxy to hold our connection info - // This will be deleted by destroy_notify_handler. - PropertyProxyConnectionNode* pConnectionNode = new PropertyProxyConnectionNode(slot, gobj()); - - // connect it to gtk+ - // pConnectionNode will be passed as the data argument to the callback. - // The callback will then call the virtual Object::property_change_notify() method, - // which will contain a switch/case statement which will examine the property name. - const Glib::ustring notify_signal_name = "notify::" + property_name; - pConnectionNode->connection_id_ = g_signal_connect_data(gobj(), - notify_signal_name.c_str(), (GCallback)(&PropertyProxyConnectionNode::callback), pConnectionNode, - &PropertyProxyConnectionNode::destroy_notify_handler, - G_CONNECT_AFTER); - - return sigc::connection(pConnectionNode->slot_); -} - - - -bool _gobject_cppinstance_already_deleted(GObject* gobject) -{ - //This function is used to prevent calling wrap() on a GTK+ instance whose gtkmm instance has been deleted. - - if(gobject) - return (bool)g_object_get_qdata(gobject, Glib::quark_cpp_wrapper_deleted_); //true means that something is odd. - else - return false; //Nothing is particularly wrong. -} - - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/objectbase.h b/libs/glibmm2/glib/glibmm/objectbase.h deleted file mode 100644 index d4c534a653..0000000000 --- a/libs/glibmm2/glib/glibmm/objectbase.h +++ /dev/null @@ -1,245 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_OBJECTBASE_H -#define _GLIBMM_OBJECTBASE_H - -/* $Id: objectbase.h 697 2008-07-29 09:03:09Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -GLIBMM_USING_STD(type_info) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GObject GObject; } -#endif - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class GSigConnectionNode; -#endif - -//This inherits virtually from sigc::trackable so that people can multiply inherit glibmm classes from other sigc::trackable-derived classes. -//See bugzilla.gnome.org bug # 116280 -/** Glib::ObjectBase is a common base class for Objects and Interfaces. - * - * This is used as virtual base class. This means the ObjectBase - * constructor runs before all others, either implicitly or explicitly. Each of - * the available constructors initializes custom_type_name_ in a different way. - */ -class GLIBMM_API ObjectBase : virtual public sigc::trackable -{ -protected: - /** This default constructor is called implicitly from the constructor of user-derived - * classes, even if, for instance, Gtk::Button calls a different ObjectBase constructor. - * This is normal behaviour for C++ virtual inheritance. - * - * The GType name will be gtkmm__anonymous_custom_type. - */ - ObjectBase(); - - /** A derived constructor always overrides this choice. - * The C++ language itself ensures that the constructor - * is only invoked once. - * - * All classes generated by gtkmmproc use this constructor, with custom_type_name = 0, - * which essentially means it's not a custom type. This is used to optimize - * vfunc and signal handler callbacks -- since the C++ virtual methods are - * not overridden, invocation can be skipped. - * - * The GType name will be @a custom_type_name. - */ - explicit ObjectBase(const char* custom_type_name); - - /** This constructor is a special feature to allow creation of derived types on the - * fly, without having to use g_object_new() manually. This feature is - * sometimes necessary, e.g. to implement a custom Gtk::CellRenderer. The - * neat trick with the virtual base class ctor makes it possible to reuse - * the same direct base class' constructor as with non-custom types. - * - * The GType name will be @a custom_type_info.name(). - */ - explicit ObjectBase(const std::type_info& custom_type_info); - - virtual ~ObjectBase() = 0; - - // Called by Glib::Object and Glib::Interface constructors. See comments there. - void initialize(GObject* castitem); - -public: - - /// You probably want to use a specific property_*() accessor method instead. - void set_property_value(const Glib::ustring& property_name, const Glib::ValueBase& value); - - /// You probably want to use a specific property_*() accessor method instead. - void get_property_value(const Glib::ustring& property_name, Glib::ValueBase& value) const; - - /// You probably want to use a specific property_*() accessor method instead. - template - void set_property(const Glib::ustring& property_name, const PropertyType& value); - - /// You probably want to use a specific property_*() accessor method instead. - template - void get_property(const Glib::ustring& property_name, PropertyType& value) const; - - /** You can use the signal_changed() signal of the property proxy instead, - * but this is necessary when using the reduced API. - * - * See also connect_property_changed_with_return(). - */ - void connect_property_changed(const Glib::ustring& property_name, const sigc::slot& slot); - - /** You can use the signal_changed() signal of the property proxy instead, - * but this is necessary when using the reduced API. - * - * This method was added because connect_property_changed() does not return a sigc::connection, - * and we could not break the ABI by changing that function. - */ - sigc::connection connect_property_changed_with_return(const Glib::ustring& property_name, const sigc::slot& slot); - - //TODO: Why are these virtual? - /** Increment the reference count for this object. - * You should never need to do this manually - use the object via a RefPtr instead. - */ - virtual void reference() const; - - /** Decrement the reference count for this object. - * You should never need to do this manually - use the object via a RefPtr instead. - */ - virtual void unreference() const; - - ///Provides access to the underlying C GObject. - inline GObject* gobj() { return gobject_; } - - ///Provides access to the underlying C GObject. - inline const GObject* gobj() const { return gobject_; } - - /// Give a ref-ed copy to someone. Use for direct struct access. - GObject* gobj_copy() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - - /// This is for use by gtkmm wrappers only, and not by applications. - static ObjectBase* _get_current_wrapper(GObject* object); //We keep this non-inline version, to preserve ABI. - - // This is commented-out because it's not clear yet whether it's a worthwhile optimization. - /// This is for use by gtkmm wrappers only, and not by applications. - // - //inline static ObjectBase* _get_current_wrapper_inline(GObject* object) - //{ - // // This is what g_object_get_qdata does internally. However, - // // g_object_get_qdata does an addition G_IS_OBJECT(object) check that - // // needs three times as much time as the actual lookup. - // if(object) - // return static_cast(g_datalist_id_get_data(&object->qdata, Glib::quark_)); - // else - // return 0; - //} - - bool _cpp_destruction_is_in_progress() const; -#endif //DOXYGEN_SHOULD_SKIP_THIS - -protected: - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GObject* gobject_; // the GLib/GDK/GTK+ object instance - const char* custom_type_name_; - bool cpp_destruction_in_progress_; - - bool is_anonymous_custom_() const; - -public: // is_derived_() must be public, so that overridden vfuncs and signal handlers can call it via ObjectBase. - - /// This is for use by gtkmm wrappers only, and not by applications. - bool is_derived_() const; //We keep this non-inline version, to preserve ABI. - - //This is commented-out because it's not clear yet whether it's a worthwhile optimization. - // - /// This is for use by gtkmm wrappers only, and not by applications. - //inline bool is_derived_inline_() const - //{ - // return (custom_type_name_ != 0); - //} - -protected: - static void destroy_notify_callback_(void* data); - virtual void destroy_notify_(); - - void _set_current_wrapper(GObject* object); -#endif //DOXYGEN_SHOULD_SKIP_THIS - -private: - // noncopyable - ObjectBase(const ObjectBase&); - ObjectBase& operator=(const ObjectBase&); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - virtual void set_manage(); // calls g_error() -#endif //DOXYGEN_SHOULD_SKIP_THIS - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - friend class Glib::GSigConnectionNode; // for GSigConnectionNode::notify() -#endif -}; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -template inline -void ObjectBase::set_property(const Glib::ustring& property_name, const PropertyType& value) -{ - Glib::Value property_value; - property_value.init(Glib::Value::value_type()); - - property_value.set(value); - this->set_property_value(property_name, property_value); -} - -template inline -void ObjectBase::get_property(const Glib::ustring& property_name, PropertyType& value) const -{ - Glib::Value property_value; - property_value.init(Glib::Value::value_type()); - - this->get_property_value(property_name, property_value); - - value = property_value.get(); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -bool _gobject_cppinstance_already_deleted(GObject* gobject); - -} // namespace Glib - - -#endif /* _GLIBMM_OBJECTBASE_H */ - diff --git a/libs/glibmm2/glib/glibmm/optioncontext.cc b/libs/glibmm2/glib/glibmm/optioncontext.cc deleted file mode 100644 index b6d0f84bb0..0000000000 --- a/libs/glibmm2/glib/glibmm/optioncontext.cc +++ /dev/null @@ -1,236 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: optioncontext.ccg,v 1.4 2004/10/30 14:25:45 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -namespace Glib -{ - - namespace Private - { - static const gchar* SignalProxy_translate_gtk_callback (const gchar* str, gpointer data) - { - Glib::ustring translated_str; - Glib::OptionContext::SlotTranslate* the_slot = - static_cast(data); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { -#endif //GLIBMM_EXCEPTIONS_ENABLED - translated_str = (*the_slot)(str); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } -#endif //GLIBMM_EXCEPTIONS_ENABLED - return translated_str.c_str (); - } - - static void SignalProxy_translate_gtk_callback_destroy (gpointer data) - { - delete static_cast(data); - } - - } //namespace Private - -OptionContext::OptionContext(const Glib::ustring& parameter_string) -: gobject_( g_option_context_new(parameter_string.c_str()) ), - has_ownership_(true) -{ -} - -OptionContext::OptionContext(GOptionContext* castitem, bool take_ownership) -: gobject_(castitem), - has_ownership_(take_ownership) -{ -} - -OptionContext::~OptionContext() -{ - if(has_ownership_) - g_option_context_free(gobj()); - - gobject_ = 0; -} - -void OptionContext::add_group(OptionGroup& group) -{ - //Strangely, GObjectContext actually takes ownership of the GOptionGroup, deleting it later. - g_option_context_add_group(gobj(), (group).gobj_give_ownership()); -} - -void OptionContext::set_main_group(OptionGroup& group) -{ - //Strangely, GObjectContext actually takes ownership of the GOptionGroup, deleting it later. - g_option_context_set_main_group(gobj(), (group).gobj_give_ownership()); -} - - -/* -OptionGroup OptionContext::get_main_group() const -{ - const GOptionGroup* cobj = g_option_context_get_main_group(const_cast( gobj()) ); - OptionGroup cppObj(const_cast(cobj), true); // take_copy - return cppObj; -} - -*/ - -void OptionContext::set_translate_func (const SlotTranslate& slot) -{ - //Create a copy of the slot. A pointer to this will be passed through the callback's data parameter. - //It will be deleted when SignalProxy_translate_gtk_callback_destroy() is called. - SlotTranslate* slot_copy = new SlotTranslate(slot); - - g_option_context_set_translate_func( - gobj(), &Private::SignalProxy_translate_gtk_callback, slot_copy, - &Private::SignalProxy_translate_gtk_callback_destroy); -} - -Glib::ustring OptionContext::get_help(bool main_help) const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_option_context_get_help(const_cast(gobj()), static_cast(main_help), NULL)); -} - -} // namespace Glib - -namespace -{ -} // anonymous namespace - - -Glib::OptionError::OptionError(Glib::OptionError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_OPTION_ERROR, error_code, error_message) -{} - -Glib::OptionError::OptionError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::OptionError::Code Glib::OptionError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::OptionError::throw_func(GError* gobject) -{ - throw Glib::OptionError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::OptionError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::OptionError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -namespace Glib -{ - - -void OptionContext::set_help_enabled(bool help_enabled) -{ -g_option_context_set_help_enabled(gobj(), static_cast(help_enabled)); -} - -bool OptionContext::get_help_enabled() const -{ - return g_option_context_get_help_enabled(const_cast(gobj())); -} - -void OptionContext::set_ignore_unknown_options(bool ignore_unknown) -{ -g_option_context_set_ignore_unknown_options(gobj(), static_cast(ignore_unknown)); -} - -bool OptionContext::get_ignore_unknown_options() const -{ - return g_option_context_get_ignore_unknown_options(const_cast(gobj())); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool OptionContext::parse(int& argc, char**& argv) -#else -bool OptionContext::parse(int& argc, char**& argv, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_option_context_parse(gobj(), &argc, &(argv), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -Glib::ustring OptionContext::get_help(bool main_help, const OptionGroup& group) const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_option_context_get_help(const_cast(gobj()), static_cast(main_help), const_cast((group).gobj()))); -} - -void OptionContext::set_summary(const Glib::ustring& summary) -{ -g_option_context_set_summary(gobj(), summary.c_str()); -} - -Glib::ustring OptionContext::get_summary() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(g_option_context_get_summary(const_cast(gobj()))); -} - -void OptionContext::set_description(const Glib::ustring& description) -{ -g_option_context_set_description(gobj(), description.c_str()); -} - -Glib::ustring OptionContext::get_description() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(g_option_context_get_description(const_cast(gobj()))); -} - -void OptionContext::set_translation_domain(const Glib::ustring& domain) -{ -g_option_context_set_translation_domain(gobj(), domain.c_str()); -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/optioncontext.h b/libs/glibmm2/glib/glibmm/optioncontext.h deleted file mode 100644 index b47e052cec..0000000000 --- a/libs/glibmm2/glib/glibmm/optioncontext.h +++ /dev/null @@ -1,289 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_OPTIONCONTEXT_H -#define _GLIBMM_OPTIONCONTEXT_H - - -/* $Id: optioncontext.hg,v 1.6 2005/01/10 17:42:17 murrayc Exp $ */ - -/* Copyright (C) 2004 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GOptionContext GOptionContext; } -#endif - - -namespace Glib -{ - -/** Exception class for options. - */ -class OptionError : public Glib::Error -{ -public: - enum Code - { - UNKNOWN_OPTION, - BAD_VALUE, - FAILED - }; - - OptionError(Code error_code, const Glib::ustring& error_message); - explicit OptionError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** An OptionContext defines which options are accepted by the commandline option parser. - */ -class OptionContext -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef OptionContext CppObjectType; - typedef GOptionContext BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - - -public: - - /** Creates a new option context. - * @param parameter_string A string which is displayed in the first line of --help output, after programname [OPTION...] - */ - explicit OptionContext(const Glib::ustring& parameter_string = Glib::ustring()); - - //Note that, unlike Glib::Wrap(), this would create a second C++ instance for the same C instance, - //so it should be used carefully. For instance you could not access data in a derived class via this second instance. - explicit OptionContext(GOptionContext* castitem, bool take_ownership = false); - virtual ~OptionContext(); - - - /** Enables or disables automatic generation of <option>--help</option> - * output. By default, g_option_context_parse() recognizes - * <option>--help</option>, <option>-?</option>, <option>--help-all</option> - * and <option>--help-</option><replaceable>groupname</replaceable> and creates - * suitable output to stdout. - * - * @newin2p6 - * @param help_enabled true to enable <option>--help</option>, false to disable it. - */ - void set_help_enabled(bool help_enabled = true); - - /** Returns: true if automatic help generation is turned on. - * @return true if automatic help generation is turned on. - * - * @newin2p6. - */ - bool get_help_enabled() const; - - /** Sets whether to ignore unknown options or not. If an argument is - * ignored, it is left in the @a argv array after parsing. By default, - * g_option_context_parse() treats unknown options as error. - * - * This setting does not affect non-option arguments (i.e. arguments - * which don't start with a dash). But note that GOption cannot reliably - * determine whether a non-option belongs to a preceding unknown option. - * - * @newin2p6 - * @param ignore_unknown true to ignore unknown options, false to produce - * an error when unknown options are met. - */ - void set_ignore_unknown_options(bool ignore_unknown = true); - - /** Returns: true if unknown options are ignored. - * @return true if unknown options are ignored. - * - * @newin2p6. - */ - bool get_ignore_unknown_options() const; - - - /** Parses the command line arguments, recognizing options - * which have been added to @a context. A side-effect of - * calling this function is that g_set_prgname() will be - * called. - * - * If the parsing is successful, any parsed arguments are - * removed from the array and @a argc and @a argv are updated - * accordingly. A '--' option is stripped from @a argv - * unless there are unparsed options before and after it, - * or some of the options after it start with '-'. In case - * of an error, @a argc and @a argv are left unmodified. - * - * If automatic <option>--help</option> support is enabled - * (see g_option_context_set_help_enabled()), and the - * @a argv array contains one of the recognized help options, - * this function will produce help output to stdout and - * call exit (0). - * - * Note that function depends on the - * current locale for - * automatic character set conversion of string and filename - * arguments. - * @param argc A pointer to the number of command line arguments. - * @param argv A pointer to the array of command line arguments. - * @return true if the parsing was successful, - * false if an error occurred - * - * @newin2p6. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool parse(int& argc, char**& argv); -#else - bool parse(int& argc, char**& argv, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - //g_option_context_add_main_entries(), just creates a group internally, adds them to it, and does a set_main_group() - //- a group without callbacks seems to do some simple default parsing. - - - /** Adds an OptionGroup to the context, so that parsing with context will recognize the options in the group. - * Note that the group will not be copied, so it should exist for as long as the context exists. - * - * @param group The group to add. - */ - void add_group(OptionGroup& group); - - - /** Sets an OptionGroup as the main group of the context. This has the same effect as calling add_group(), the only - * difference is that the options in the main group are treated differently when generating --help output. - * Note that the group will not be copied, so it should exist for as long as the context exists. - * - * @param group The group to add. - */ - void set_main_group(OptionGroup& group); - - - //We don't need this (hopefully), and the memory management would be really awkward. - //OptionGroup& get_main_group(); - //const OptionGroup& get_main_group() const; - - - /** Returns: A newly allocated string containing the help text - * @param main_help If true, only include the main group. - * @param group The OptionGroup to create help for, or 0. - * @return A newly allocated string containing the help text - * - * @newin2p14. - */ - Glib::ustring get_help(bool main_help, const OptionGroup& group) const; - - //TODO: Documentation. - Glib::ustring get_help(bool main_help = true) const; - - GOptionContext* gobj() { return gobject_; } - const GOptionContext* gobj() const { return gobject_; } - - - /** Adds a string to be displayed in --help output before the list of options. This - * is typically a summary of the program functionality. - * - * Note that the summary is translated (see set_translate_func(), - * set_translation_domain()). - * - * @newin2p14 - */ - void set_summary(const Glib::ustring& summary); - - /** Returns: the summary - * See set_summary() for more information - * @return The summary - * - * @newin2p14. - */ - Glib::ustring get_summary() const; - - /** Adds a string to be displayed in --help output after the list of - * options. This text often includes a bug reporting address. - * - * Note that the summary is translated (see set_translate_func()). - * - * @newin2p14 - */ - void set_description(const Glib::ustring& description); - - /** Returns: the description - * See set_description() for more information - * @return The description - * - * @newin2p14. - */ - Glib::ustring get_description() const; - - - /** A convenience function to use gettext() for translating - * user-visible strings. - * - * @newin2p14 - */ - void set_translation_domain(const Glib::ustring& domain); - - /** - * This function is used to translate user-visible strings, for --help output. - * The function takes an untranslated string and returns a translated string - */ - typedef sigc::slot SlotTranslate; - - /** - * Sets the function which is used to translate user-visible - * strings, for --help output. Different groups can use different functions. - * - * If you are using gettext(), you only need to set the translation domain, - * see set_translation_domain(). - * - * @newin2p14 - */ - void set_translate_func (const SlotTranslate& slot); - - -protected: - - GOptionContext* gobject_; - bool has_ownership_; - - -}; - - -} // namespace Glib - - -#endif /* _GLIBMM_OPTIONCONTEXT_H */ - diff --git a/libs/glibmm2/glib/glibmm/optionentry.cc b/libs/glibmm2/glib/glibmm/optionentry.cc deleted file mode 100644 index 12518a2024..0000000000 --- a/libs/glibmm2/glib/glibmm/optionentry.cc +++ /dev/null @@ -1,169 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: optionentry.ccg,v 1.8 2006/03/08 12:23:03 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -OptionEntry::OptionEntry() -{ - gobject_ = g_new0(GOptionEntry, 1); -} - -OptionEntry::~OptionEntry() -{ - g_free(const_cast(gobject_->long_name)); - g_free(const_cast(gobject_->description)); - g_free(const_cast(gobject_->arg_description)); - g_free(gobject_); -} - -OptionEntry::OptionEntry(const OptionEntry& src) -{ - gobject_ = g_new0(GOptionEntry, 1); - - operator=(src); -} - -OptionEntry& OptionEntry::operator=(const OptionEntry& src) -{ - if(this != &src) - { - if(gobject_->long_name) - g_free(const_cast(gobject_->long_name)); - - gobject_->long_name = g_strdup(src.gobject_->long_name); - - gobject_->short_name = src.gobject_->short_name; //It's just one char. - - gobject_->flags = src.gobject_->flags; - gobject_->arg = src.gobject_->arg; - gobject_->arg_data = src.gobject_->arg_data; //Shared, because it's not owned by any instance of this class anyway. - - if(gobject_->description) - g_free(const_cast(gobject_->description)); - - gobject_->description = g_strdup(src.gobject_->description); - - if(gobject_->arg_description) - g_free(const_cast(gobject_->arg_description)); - - gobject_->arg_description = g_strdup(src.gobject_->arg_description); - } - - return *this; -} - -void OptionEntry::set_long_name(const Glib::ustring& value) -{ - if(gobject_->long_name) - { - g_free((gchar*)(gobject_->long_name)); - gobject_->long_name = NULL; - } - - //Note that we do not use NULL for an empty string, - //because G_OPTION_REMAINING is actually a "", so it actually has a distinct meaning: - //TODO: Wrap G_OPTION_REMAINING in C++ somehow, maybe as an explicit set_long_name(void) or set_is_remaining()? murrayc. - gobj()->long_name = (value).c_str() ? g_strdup((value).c_str()) : NULL; -} - -void OptionEntry::set_description(const Glib::ustring& value) -{ - if(gobject_->description) - { - g_free((gchar*)(gobject_->description)); - gobject_->description = NULL; - } - - gobj()->description = (value).empty() ? NULL : g_strdup((value).c_str()); -} - -void OptionEntry::set_arg_description(const Glib::ustring& value) -{ - if(gobject_->arg_description) - { - g_free((gchar*)(gobject_->arg_description)); - gobject_->arg_description = NULL; - } - - gobj()->arg_description = (value).empty() ? NULL : g_strdup((value).c_str()); -} - - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - - - Glib::ustring OptionEntry::get_long_name() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(gobj()->long_name); -} - - gchar OptionEntry::get_short_name() const -{ - return gobj()->short_name; -} - - void OptionEntry::set_short_name(const gchar& value) -{ - gobj()->short_name = value; -} - - int OptionEntry::get_flags() const -{ - return gobj()->flags; -} - - void OptionEntry::set_flags(const int& value) -{ - gobj()->flags = value; -} - - Glib::ustring OptionEntry::get_description() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(gobj()->description); -} - - Glib::ustring OptionEntry::get_arg_description() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(gobj()->arg_description); -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/optionentry.h b/libs/glibmm2/glib/glibmm/optionentry.h deleted file mode 100644 index b911d206fd..0000000000 --- a/libs/glibmm2/glib/glibmm/optionentry.h +++ /dev/null @@ -1,118 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_OPTIONENTRY_H -#define _GLIBMM_OPTIONENTRY_H - - -/* $Id: optionentry.hg,v 1.11 2005/07/31 13:11:05 murrayc Exp $ */ - -/* Copyright (C) 2004 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GOptionEntry GOptionEntry; } -#endif - - -namespace Glib -{ - -/** An OptionEntry defines a single option. To have an effect, it must be added to an OptionGroup with - * OptionGroup::add_entry(). - * - * The long name of an option can be used to specify it in a commandline as --long_name. - * Every option must have a long name. To resolve conflicts if multiple option groups contain the same long name, it is also - * possible to specify the option as --groupname-long_name. - * - * If an option has a short name, it can be specified as -short_name in a commandline. - * - * The description for the option is shown in the --help output. - * - * The arg_descripton is the placeholder to use for the extra argument parsed by the option in --help output. - */ -class OptionEntry -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef OptionEntry CppObjectType; - typedef GOptionEntry BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - -public: - - //Copied from goption.h, instead of generated, so that we can put it inside the class. - enum Flags - { - FLAG_HIDDEN = 1 << 0, - FLAG_IN_MAIN = 1 << 1, - FLAG_REVERSE = 1 << 2, - FLAG_NO_ARG = 1 << 3, - FLAG_FILENAME = 1 << 4, - FLAG_OPTIONAL_ARG = 1 << 5, - FLAG_NOALIAS = 1 << 6 - } GOptionFlags; - - OptionEntry(); - OptionEntry(const OptionEntry& src); - virtual ~OptionEntry(); - - OptionEntry& operator=(const OptionEntry& src); - - //#m4 __CONVERSION(`Glib::ustring',`const gchar*',`($3).empty() ? NULL : g_strdup(($3).c_str())') - - Glib::ustring get_long_name() const; - - void set_long_name(const Glib::ustring& value); - - gchar get_short_name() const; - void set_short_name(const gchar& value); - - int get_flags() const; - void set_flags(const int& value); - - //TODO: G_OPTION_ARG_CALLBACK, - - Glib::ustring get_description() const; - - void set_description(const Glib::ustring& value); - - - Glib::ustring get_arg_description() const; - - void set_arg_description(const Glib::ustring& value); - - - GOptionEntry* gobj() { return gobject_; } - const GOptionEntry* gobj() const { return gobject_; } - -protected: - - GOptionEntry* gobject_; - - -}; - -} // namespace Glib - - -#endif /* _GLIBMM_OPTIONENTRY_H */ - diff --git a/libs/glibmm2/glib/glibmm/optiongroup.cc b/libs/glibmm2/glib/glibmm/optiongroup.cc deleted file mode 100644 index 8e1067baf2..0000000000 --- a/libs/glibmm2/glib/glibmm/optiongroup.cc +++ /dev/null @@ -1,542 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: optiongroup.ccg,v 1.15.4.3 2006/03/30 12:19:58 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -//#include -#include // g_malloc - -namespace Glib -{ - -namespace //anonymous -{ - -extern "C" -{ - -static gboolean g_callback_pre_parse(GOptionContext* context, GOptionGroup* /* group */, gpointer data, GError** /* TODO error */) -{ - OptionContext cppContext(context, false /* take_ownership */); - //OptionGroup cppGroup(group, true /* take_copy */); //Maybe this should be option_group. - - OptionGroup* option_group = static_cast(data); - if(option_group) - return option_group->on_pre_parse(cppContext, *option_group); - else - return false; -} - -static gboolean g_callback_post_parse(GOptionContext* context, GOptionGroup* /* group */, gpointer data, GError** /* TODO error */) -{ - OptionContext cppContext(context, false /* take_ownership */); - //OptionGroup cppGroup(group, true /* take_copy */); //Maybe this should be option_group. - - OptionGroup* option_group = static_cast(data); - if(option_group) - { - return option_group->on_post_parse(cppContext, *option_group); - } - else - return false; -} - -static void g_callback_error(GOptionContext* context, GOptionGroup* /* group */, gpointer data, GError** /* TODO error*/) -{ - OptionContext cppContext(context, false /* take_ownership */); - //OptionGroup cppGroup(group); //Maybe this should be option_group. - - OptionGroup* option_group = static_cast(data); - if(option_group) - return option_group->on_error(cppContext, *option_group); -} - -} /* extern "C" */ - -} //anonymous namespace - - -OptionGroup::OptionGroup(const Glib::ustring& name, const Glib::ustring& description, const Glib::ustring& help_description) -: gobject_( g_option_group_new(name.c_str(), description.c_str(), help_description.c_str(), this, 0 /* destroy_func */) ), - has_ownership_(true) -{ - //Connect callbacks, so that derived classes can override the virtual methods: - g_option_group_set_parse_hooks(gobj(), &g_callback_pre_parse, &g_callback_post_parse); - g_option_group_set_error_hook(gobj(), &g_callback_error); -} - -OptionGroup::OptionGroup(GOptionGroup* castitem) -: gobject_(castitem), - has_ownership_(true) -{ - //Always takes ownership - never takes copy. -} - - -OptionGroup::~OptionGroup() -{ - //Free any C types that were allocated during add_entry(): - for(type_map_entries::iterator iter = map_entries_.begin(); iter != map_entries_.end(); ++iter) - { - CppOptionEntry& cpp_entry = iter->second; - cpp_entry.release_c_arg(); - } - - if(has_ownership_) - { - g_option_group_free(gobj()); - gobject_ = 0; - } -} - -void OptionGroup::add_entry(const OptionEntry& entry) -{ - //It does not copy the entry, so it needs to live as long as the group. - - //g_option_group_add_entries takes an array, with the last item in the array having a null long_name. - //Hopefully this will be properly documented eventually - see bug # - - //Create a temporary array, just so we can give the correct thing to g_option_group_add_entries: - GOptionEntry array[2]; - array[0] = *(entry.gobj()); //Copy contents. - GLIBMM_INITIALIZE_STRUCT(array[1], GOptionEntry); - - g_option_group_add_entries(gobj(), array); -} - -void OptionGroup::add_entry(const OptionEntry& entry, bool& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_NONE /* Actually a boolean on/off, depending on whether the argument name was given, without argument parameters. */, &arg); -} - -void OptionGroup::add_entry(const OptionEntry& entry, int& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_INT, &arg); -} - -void OptionGroup::add_entry(const OptionEntry& entry, Glib::ustring& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_STRING, &arg); -} - -void OptionGroup::add_entry(const OptionEntry& entry, vecustrings& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_STRING_ARRAY, &arg); -} - -void OptionGroup::add_entry_filename(const OptionEntry& entry, std::string& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_FILENAME, &arg); -} - -void OptionGroup::add_entry_filename(const OptionEntry& entry, vecstrings& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_FILENAME_ARRAY, &arg); -} - -void OptionGroup::add_entry_with_wrapper(const OptionEntry& entry, GOptionArg arg_type, void* cpp_arg) -{ - const Glib::ustring name = entry.get_long_name(); - type_map_entries::iterator iterFind = map_entries_.find(name); - if( iterFind == map_entries_.end() ) //If we have not added this entry already - { - CppOptionEntry cppEntry; - cppEntry.carg_type_ = arg_type; - cppEntry.allocate_c_arg(); - cppEntry.set_c_arg_default(cpp_arg); - - cppEntry.cpparg_ = cpp_arg; - - //Give the information to the C API: - - cppEntry.entry_ = new OptionEntry(entry); //g_option_group_add_entry() does not take its own copy, so we must keep the instance alive. */ - //cppEntry.entry_ is deleted in release_c_arg(), via the destructor. - - cppEntry.entry_->gobj()->arg = arg_type; - cppEntry.entry_->gobj()->arg_data = cppEntry.carg_; - - //Remember the C++/C mapping so that we can use it later: - map_entries_[name] = cppEntry; - - add_entry(*(cppEntry.entry_)); - } -} - - -bool OptionGroup::on_pre_parse(OptionContext& /* context */, OptionGroup& /* group */) -{ - return true; -} - -bool OptionGroup::on_post_parse(OptionContext& /* context */, OptionGroup& /* group */) -{ - //Call this at the start of overrides. - - //TODO: Maybe put this in the C callback: - - //The C args have now been given values by GOption. - //Convert C values to C++ values: - - for(type_map_entries::iterator iter = map_entries_.begin(); iter != map_entries_.end(); ++iter) - { - CppOptionEntry& cpp_entry = iter->second; - cpp_entry.convert_c_to_cpp(); - } - - return true; -} - -void OptionGroup::on_error(OptionContext& /* context */, OptionGroup& /* group */) -{ -} - - -OptionGroup::CppOptionEntry::CppOptionEntry() -: carg_type_(G_OPTION_ARG_NONE), carg_(0), cpparg_(0), entry_(0) -{} - -void OptionGroup::CppOptionEntry::allocate_c_arg() -{ - //Create an instance of the appropriate C type. - //This will be destroyed in the OptionGroup destructor. - // - //We must also call set_c_arg_default() to give these C types the specified defaults based on the C++-typed arguments. - switch(carg_type_) - { - case G_OPTION_ARG_STRING: //The char* will be for UTF8 strins. - case G_OPTION_ARG_FILENAME: //The char* will be for strings in the current locale's encoding. - { - char** typed_arg = new char*; - //The C code will allocate a char* and put it here, for us to g_free() later. - //Alternatively, set_c_arg_default() might allocate a char*, and the C code might or might not free and replace that. - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - case G_OPTION_ARG_INT: - { - int* typed_arg = new int; - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - case G_OPTION_ARG_STRING_ARRAY: - case G_OPTION_ARG_FILENAME_ARRAY: - { - char*** typed_arg = new char**; - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - case G_OPTION_ARG_NONE: /* Actually a boolean. */ - { - gboolean* typed_arg = new gboolean; - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - default: - { - break; - } - } -} - -void OptionGroup::CppOptionEntry::set_c_arg_default(void* cpp_arg) -{ - switch(carg_type_) - { - case G_OPTION_ARG_INT: - { - *static_cast(carg_) = *static_cast(cpp_arg); - break; - } - case G_OPTION_ARG_NONE: - { - *static_cast(carg_) = *static_cast(cpp_arg); - break; - } - case G_OPTION_ARG_STRING: - { - Glib::ustring* typed_cpp_arg = static_cast(cpp_arg); - if(typed_cpp_arg && !typed_cpp_arg->empty()) - { - const char** typed_c_arg = static_cast(carg_); - *typed_c_arg = g_strdup(typed_cpp_arg->c_str()); //Freed in release_c_arg(). - } - break; - } - case G_OPTION_ARG_FILENAME: - { - std::string* typed_cpp_arg = static_cast(cpp_arg); - if(typed_cpp_arg && !typed_cpp_arg->empty()) - { - const char** typed_c_arg = static_cast(carg_); - *typed_c_arg = g_strdup(typed_cpp_arg->c_str()); //Freed in release_c_arg(). - } - break; - } - case G_OPTION_ARG_STRING_ARRAY: - { - std::vector* typed_cpp_arg = static_cast*>(cpp_arg); - if(typed_cpp_arg) - { - std::vector& vec = *typed_cpp_arg; - const char** array = static_cast( g_malloc(sizeof(gchar*) * (vec.size() + 1)) ); - - for(std::vector::size_type i = 0; i < vec.size(); ++i) - { - array[i] = g_strdup( vec[i].c_str() ); - } - - array[vec.size()] = 0; - - const char*** typed_c_arg = static_cast(carg_); - *typed_c_arg = array; - } - break; - } - case G_OPTION_ARG_FILENAME_ARRAY: - { - std::vector* typed_cpp_arg = static_cast*>(cpp_arg); - if(typed_cpp_arg) - { - std::vector& vec = *typed_cpp_arg; - const char** array = static_cast( g_malloc(sizeof(gchar*) * (vec.size() + 1)) ); - - for(std::vector::size_type i = 0; i < vec.size(); ++i) - { - array[i] = g_strdup( vec[i].c_str() ); - } - - array[vec.size()] = 0; - - const char*** typed_c_arg = static_cast(carg_); - *typed_c_arg = array; - } - break; - } - default: - { - break; - } - } -} - -void OptionGroup::CppOptionEntry::release_c_arg() -{ - //Delete the instances that we created in allocate_c_arg(). - //Notice that we delete the type that we created, but not the value to which it points. - if(carg_) - { - switch(carg_type_) - { - case G_OPTION_ARG_STRING: - case G_OPTION_ARG_FILENAME: - { - char** typed_arg = static_cast(carg_); - g_free(*typed_arg); //Free the char* string at type_arg, which was allocated by the C code. - delete typed_arg; //Delete the char** that we allocated in allocate_c_arg; - - break; - } - case G_OPTION_ARG_INT: - { - int* typed_arg = static_cast(carg_); - delete typed_arg; - - break; - } - case G_OPTION_ARG_STRING_ARRAY: - case G_OPTION_ARG_FILENAME_ARRAY: - { - delete (char**)carg_; - break; - } - case G_OPTION_ARG_NONE: /* Actually a boolean. */ - { - gboolean* typed_arg = static_cast(carg_); - delete typed_arg; - - break; - } - default: - { - /* TODO: - G_OPTION_ARG_CALLBACK, - */ - break; - } - } - - carg_ = 0; - } - - if(entry_) - delete entry_; -} - -void OptionGroup::CppOptionEntry::convert_c_to_cpp() -{ - switch(carg_type_) - { - case G_OPTION_ARG_STRING: - { - char** typed_arg = static_cast(carg_); - Glib::ustring* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - char* pch = *typed_arg; - (*typed_cpp_arg) = Glib::convert_const_gchar_ptr_to_ustring(pch); - - break; - } - } - case G_OPTION_ARG_FILENAME: - { - char** typed_arg = static_cast(carg_); - std::string* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - char* pch = *typed_arg; - (*typed_cpp_arg) = Glib::convert_const_gchar_ptr_to_stdstring(pch); - - break; - } - } - case G_OPTION_ARG_INT: - { - *((int*)cpparg_) = *(static_cast(carg_)); - break; - } - case G_OPTION_ARG_STRING_ARRAY: - { - char*** typed_arg = static_cast(carg_); - vecustrings* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - typed_cpp_arg->clear(); - - //The C array seems to be null-terminated. - //Glib::StringArrayHandle array_handle(*typed_arg, Glib::OWNERSHIP_NONE); - - //The SUN Forte compiler complains about this: - // "optiongroup.cc", line 354: Error: Cannot assign Glib::ArrayHandle> to std::vector without - // "std::vector::operator=(const std::vector&)";. - // - //(*typed_cpp_arg) = array_handle; - // - //And the Tru64 compiler does not even like us to instantiate the StringArrayHandle: - // - // cxx: Error: ../../glib/glibmm/containerhandle_shared.h, line 149: the operand - // of a pointer dynamic_cast must be a pointer to a complete class type - // return dynamic_cast(Glib::wrap_auto(cobj, false /* take_copy */)); - - //for(Glib::StringArrayHandle::iterator iter = array_handle.begin(); iter != array_handle.end(); ++iter) - //{ - // typed_cpp_arg->push_back(*iter); - //} - - //So we do this: - - char** char_array_next = *typed_arg; - while(char_array_next && *char_array_next) - { - typed_cpp_arg->push_back(*char_array_next); - ++char_array_next; - } - } - - break; - } - case G_OPTION_ARG_FILENAME_ARRAY: - { - char*** typed_arg = static_cast(carg_); - vecustrings* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - typed_cpp_arg->clear(); - - //See comments above about the SUN Forte and Tru64 compilers. - - char** char_array_next = *typed_arg; - while(char_array_next && *char_array_next) - { - typed_cpp_arg->push_back(*char_array_next); - ++char_array_next; - } - } - - break; - } - case G_OPTION_ARG_NONE: /* Actually a boolean. */ - { - *(static_cast(cpparg_)) = *(static_cast(carg_)); - break; - } - default: - { - /* TODO: - G_OPTION_ARG_CALLBACK, - */ - break; - } - } -} - -GOptionGroup* OptionGroup::gobj_give_ownership() -{ - has_ownership_ = false; - return gobj(); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -namespace Glib -{ - - -void OptionGroup::set_translation_domain(const Glib::ustring& domain) -{ -g_option_group_set_translation_domain(gobj(), domain.c_str()); -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/optiongroup.h b/libs/glibmm2/glib/glibmm/optiongroup.h deleted file mode 100644 index 169534c8f2..0000000000 --- a/libs/glibmm2/glib/glibmm/optiongroup.h +++ /dev/null @@ -1,146 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_OPTIONGROUP_H -#define _GLIBMM_OPTIONGROUP_H - - -/* $Id: optiongroup.hg,v 1.10.4.1 2006/03/30 12:19:58 murrayc Exp $ */ - -/* Copyright (C) 2004 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include //TODO: Try to hide this. - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GOptionGroup GOptionGroup; } -#endif //DOXYGEN_SHOULD_SKIP_THIS - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class OptionEntry; -class OptionContext; -#endif //DOXYGEN_SHOULD_SKIP_THIS - -/** An OptionGroup defines the options in a single group. - * Libraries which need to parse commandline options are expected to provide a function that allows their OptionGroups to - * be added to the application's OptionContext. - */ -class OptionGroup -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef OptionGroup CppObjectType; - typedef GOptionGroup BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: - -public: - OptionGroup(const Glib::ustring& name, const Glib::ustring& description, const Glib::ustring& help_description = Glib::ustring()); - - /** This always takes ownership of the underlying GOptionGroup, - * so it is only useful with C functions that return newly-allocated GOptionGroups. - */ - explicit OptionGroup(GOptionGroup* castitem); - - virtual ~OptionGroup(); - - - virtual bool on_pre_parse(OptionContext& context, OptionGroup& group); - virtual bool on_post_parse(OptionContext& context, OptionGroup& group); - virtual void on_error(OptionContext& context, OptionGroup& group); - - - void add_entry(const OptionEntry& entry); - - - typedef std::vector vecustrings; - typedef std::vector vecstrings; - - void add_entry(const OptionEntry& entry, bool& arg); - void add_entry(const OptionEntry& entry, int& arg); - void add_entry(const OptionEntry& entry, Glib::ustring& arg); - void add_entry_filename(const OptionEntry& entry, std::string& arg); - void add_entry(const OptionEntry& entry, vecustrings& arg); - void add_entry_filename(const OptionEntry& entry, vecstrings& arg); - -/* TODO: -void g_option_group_set_translate_func (GOptionGroup *group, - GTranslateFunc func, - gpointer data, - GDestroyNotify destroy_notify); -*/ - - /** A convenience function to use gettext() for translating - * user-visible strings. - * - * @newin2p6 - * @param domain The domain to use. - */ - void set_translation_domain(const Glib::ustring& domain); - - GOptionGroup* gobj() { return gobject_; } - const GOptionGroup* gobj() const { return gobject_; } - GOptionGroup* gobj_give_ownership(); - -protected: - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - /** This is not public API. It is an implementation detail. - */ - class CppOptionEntry - { - public: - CppOptionEntry(); - - void allocate_c_arg(); - void set_c_arg_default(void* cpp_arg); - void convert_c_to_cpp(); - void release_c_arg(); - - GOptionArg carg_type_; - void* carg_; - void* cpparg_; - OptionEntry* entry_; - }; - - void add_entry_with_wrapper(const OptionEntry& entry, GOptionArg arg_type, void* cpp_arg); - - //Map of entry names to CppOptionEntry: - typedef std::map type_map_entries; - type_map_entries map_entries_; - - GOptionGroup* gobject_; - bool has_ownership_; //Whether the gobject_ belongs to this C++ instance. -#endif //DOXYGEN_SHOULD_SKIP_THIS - - -}; - -} // namespace Glib - - -#endif /* _GLIBMM_OPTIONGROUP_H */ - diff --git a/libs/glibmm2/glib/glibmm/pattern.cc b/libs/glibmm2/glib/glibmm/pattern.cc deleted file mode 100644 index 85cf3fc5f8..0000000000 --- a/libs/glibmm2/glib/glibmm/pattern.cc +++ /dev/null @@ -1,66 +0,0 @@ -// -*- c++ -*- -/* $Id: pattern.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* pattern.cc - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -PatternSpec::PatternSpec(const Glib::ustring& pattern) -: - gobject_ (g_pattern_spec_new(pattern.c_str())) -{} - -PatternSpec::PatternSpec(GPatternSpec* gobject) -: - gobject_ (gobject) -{} - -PatternSpec::~PatternSpec() -{ - g_pattern_spec_free(gobject_); -} - -bool PatternSpec::match(const Glib::ustring& str) const -{ - return g_pattern_match(gobject_, str.bytes(), str.c_str(), 0); -} - -bool PatternSpec::match(const Glib::ustring& str, const Glib::ustring& str_reversed) const -{ - return g_pattern_match(gobject_, str.bytes(), str.c_str(), str_reversed.c_str()); -} - -bool PatternSpec::operator==(const PatternSpec& rhs) const -{ - return g_pattern_spec_equal(gobject_, rhs.gobject_); -} - -bool PatternSpec::operator!=(const PatternSpec& rhs) const -{ - return !g_pattern_spec_equal(gobject_, rhs.gobject_); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/pattern.h b/libs/glibmm2/glib/glibmm/pattern.h deleted file mode 100644 index 32d05feea0..0000000000 --- a/libs/glibmm2/glib/glibmm/pattern.h +++ /dev/null @@ -1,69 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_PATTERN_H -#define _GLIBMM_PATTERN_H - -/* $Id: pattern.h 2 2003-01-07 16:59:16Z murrayc $ */ - -/* pattern.h - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -extern "C" { typedef struct _GPatternSpec GPatternSpec; } - -#include - - -namespace Glib -{ - -/** @defgroup PatternMatching Glob-style Pattern Matching - * Match strings against patterns containing '*' (wildcard) and '?' (joker). - * @{ - */ - -class PatternSpec -{ -public: - explicit PatternSpec(const Glib::ustring& pattern); - explicit PatternSpec(GPatternSpec* gobject); - ~PatternSpec(); - - bool match(const Glib::ustring& str) const; - bool match(const Glib::ustring& str, const Glib::ustring& str_reversed) const; - - bool operator==(const PatternSpec& rhs) const; - bool operator!=(const PatternSpec& rhs) const; - - GPatternSpec* gobj() { return gobject_; } - const GPatternSpec* gobj() const { return gobject_; } - -private: - GPatternSpec* gobject_; - - // noncopyable - PatternSpec(const PatternSpec&); - PatternSpec& operator=(const PatternSpec&); -}; - -/** @} group PatternMatching */ - -} // namespace Glib - - -#endif /* _GLIBMM_PATTERN_H */ - diff --git a/libs/glibmm2/glib/glibmm/priorities.h b/libs/glibmm2/glib/glibmm/priorities.h deleted file mode 100644 index 0619c042cb..0000000000 --- a/libs/glibmm2/glib/glibmm/priorities.h +++ /dev/null @@ -1,65 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_PRIORITIES_H -#define _GLIBMM_PRIORITIES_H - -/* $Id: priorities.h 420 2007-06-22 15:29:58Z murrayc $ */ - -/* Copyright (C) 2002-2008 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -namespace Glib -{ - -enum -{ - /*! Use this for high priority event sources. It is not used within - * GLib or GTK+.

- */ - PRIORITY_HIGH = -100, - - /*! Use this for default priority event sources. In glibmm this - * priority is used by default when installing timeout handlers with - * SignalTimeout::connect(). In GDK this priority is used for events - * from the X server.

- */ - PRIORITY_DEFAULT = 0, - - /*! Use this for high priority idle functions. GTK+ uses - * PRIORITY_HIGH_IDLE + 10 for resizing operations, and - * PRIORITY_HIGH_IDLE + 20 for redrawing operations. - * (This is done to ensure that any pending resizes are processed before - * any pending redraws, so that widgets are not redrawn twice unnecessarily.) - *

- */ - PRIORITY_HIGH_IDLE = 100, - - /*! Use this for default priority idle functions. In glibmm this priority is - * used by default when installing idle handlers with SignalIdle::connect(). - *

- */ - PRIORITY_DEFAULT_IDLE = 200, - - /*! Use this for very low priority background tasks. It is not used within - * GLib or GTK+. - */ - PRIORITY_LOW = 300 -}; - -} //namespace Glib - -#endif //#ifndef _GLIBMM_PRIORITIES_H - diff --git a/libs/glibmm2/glib/glibmm/private/Makefile.am b/libs/glibmm2/glib/glibmm/private/Makefile.am deleted file mode 100644 index fd02e2fa4a..0000000000 --- a/libs/glibmm2/glib/glibmm/private/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -## Copyright (c) 2001 -## The gtkmm development team. - -include $(srcdir)/../../src/Makefile_list_of_hg.am_fragment - -files_built_p_h = $(files_hg:.hg=_p.h) -files_built_all_p_h = $(files_all_hg:.hg=_p.h) -files_extra_p_h = interface_p.h object_p.h -files_extra_all_p_h = interface_p.h object_p.h - -dist_sources = $(files_built_all_p_h) $(files_extra_all_p_h) -DISTFILES = $(DIST_COMMON) $(dist_sources) - -private_includedir = $(includedir)/glibmm-2.4/glibmm/private -private_include_HEADERS = $(files_built_p_h) $(files_extra_p_h) - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_built_p_h)) - diff --git a/libs/glibmm2/glib/glibmm/private/Makefile.in b/libs/glibmm2/glib/glibmm/private/Makefile.in deleted file mode 100644 index 243960dc6c..0000000000 --- a/libs/glibmm2/glib/glibmm/private/Makefile.in +++ /dev/null @@ -1,495 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Built files - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(am__private_include_HEADERS_DIST) \ - $(srcdir)/../../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment -subdir = glib/glibmm/private -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -am__private_include_HEADERS_DIST = checksum_p.h convert_p.h date_p.h \ - fileutils_p.h iochannel_p.h keyfile_p.h markup_p.h module_p.h \ - optioncontext_p.h optionentry_p.h optiongroup_p.h regex_p.h \ - shell_p.h spawn_p.h thread_p.h nodetree_p.h unicode_p.h \ - uriutils_p.h interface_p.h object_p.h -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(private_includedir)" -private_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(private_include_HEADERS) -ETAGS = etags -CTAGS = ctags -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -files_posix_hg = -files_win32_hg = -files_general_hg = checksum.hg convert.hg date.hg fileutils.hg iochannel.hg keyfile.hg markup.hg \ - module.hg optioncontext.hg optionentry.hg optiongroup.hg regex.hg \ - shell.hg spawn.hg thread.hg nodetree.hg unicode.hg uriutils.hg - -files_general_deprecated_hg = -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -@OS_WIN32_FALSE@files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -@OS_WIN32_TRUE@files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -@OS_WIN32_FALSE@files_extra_cc = \ -@OS_WIN32_FALSE@ $(sublib_files_extra_posix_cc) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_TRUE@files_extra_cc = \ -@OS_WIN32_TRUE@ $(sublib_files_extra_win32_cc) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_FALSE@files_extra_h = $(sublib_files_extra_posix_h) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_h) wrap_init.h -@OS_WIN32_TRUE@files_extra_h = $(sublib_files_extra_win32_h) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_h) wrap_init.h -files_built_p_h = $(files_hg:.hg=_p.h) -files_built_all_p_h = $(files_all_hg:.hg=_p.h) -files_extra_p_h = interface_p.h object_p.h -files_extra_all_p_h = interface_p.h object_p.h -dist_sources = $(files_built_all_p_h) $(files_extra_all_p_h) -DISTFILES = $(DIST_COMMON) $(dist_sources) -private_includedir = $(includedir)/glibmm-2.4/glibmm/private -private_include_HEADERS = $(files_built_p_h) $(files_extra_p_h) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu glib/glibmm/private/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu glib/glibmm/private/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-private_includeHEADERS: $(private_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(private_includedir)" || $(MKDIR_P) "$(DESTDIR)$(private_includedir)" - @list='$(private_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(private_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(private_includedir)/$$f'"; \ - $(private_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(private_includedir)/$$f"; \ - done - -uninstall-private_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(private_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(private_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(private_includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(private_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-private_includeHEADERS - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-private_includeHEADERS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-private_includeHEADERS install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-private_includeHEADERS - - -maintainer-clean-local: - (cd $(srcdir) && rm -f $(files_built_p_h)) -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/glib/glibmm/private/checksum_p.h b/libs/glibmm2/glib/glibmm/private/checksum_p.h deleted file mode 100644 index c422bcfe0c..0000000000 --- a/libs/glibmm2/glib/glibmm/private/checksum_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_CHECKSUM_P_H -#define _GLIBMM_CHECKSUM_P_H - - -#endif /* _GLIBMM_CHECKSUM_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/convert_p.h b/libs/glibmm2/glib/glibmm/private/convert_p.h deleted file mode 100644 index 743540ad3f..0000000000 --- a/libs/glibmm2/glib/glibmm/private/convert_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_CONVERT_P_H -#define _GLIBMM_CONVERT_P_H - - -#endif /* _GLIBMM_CONVERT_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/date_p.h b/libs/glibmm2/glib/glibmm/private/date_p.h deleted file mode 100644 index 71b1fdde1e..0000000000 --- a/libs/glibmm2/glib/glibmm/private/date_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_DATE_P_H -#define _GLIBMM_DATE_P_H - - -#endif /* _GLIBMM_DATE_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/fileutils_p.h b/libs/glibmm2/glib/glibmm/private/fileutils_p.h deleted file mode 100644 index 27639284fa..0000000000 --- a/libs/glibmm2/glib/glibmm/private/fileutils_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_FILEUTILS_P_H -#define _GLIBMM_FILEUTILS_P_H - - -#endif /* _GLIBMM_FILEUTILS_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/interface_p.h b/libs/glibmm2/glib/glibmm/private/interface_p.h deleted file mode 100644 index 805d8db3e5..0000000000 --- a/libs/glibmm2/glib/glibmm/private/interface_p.h +++ /dev/null @@ -1,24 +0,0 @@ -// -*- c++ -*- - -#ifndef _GLIBMM_INTERFACE_P_H -#define _GLIBMM_INTERFACE_P_H - -#include - - -namespace Glib -{ - -class Interface_Class : public Glib::Class -{ -public: - typedef Interface CppObjectType; - typedef GTypeInterface BaseClassType; - - void add_interface(GType instance_type) const; -}; - -} // namespace Glib - -#endif /* _GLIBMM_INTERFACE_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/iochannel_p.h b/libs/glibmm2/glib/glibmm/private/iochannel_p.h deleted file mode 100644 index c462983d3d..0000000000 --- a/libs/glibmm2/glib/glibmm/private/iochannel_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_IOCHANNEL_P_H -#define _GLIBMM_IOCHANNEL_P_H - - -#endif /* _GLIBMM_IOCHANNEL_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/keyfile_p.h b/libs/glibmm2/glib/glibmm/private/keyfile_p.h deleted file mode 100644 index b0de14162b..0000000000 --- a/libs/glibmm2/glib/glibmm/private/keyfile_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_KEYFILE_P_H -#define _GLIBMM_KEYFILE_P_H - - -#endif /* _GLIBMM_KEYFILE_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/markup_p.h b/libs/glibmm2/glib/glibmm/private/markup_p.h deleted file mode 100644 index 807833d0a2..0000000000 --- a/libs/glibmm2/glib/glibmm/private/markup_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_MARKUP_P_H -#define _GLIBMM_MARKUP_P_H - - -#endif /* _GLIBMM_MARKUP_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/module_p.h b/libs/glibmm2/glib/glibmm/private/module_p.h deleted file mode 100644 index b65105b354..0000000000 --- a/libs/glibmm2/glib/glibmm/private/module_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_MODULE_P_H -#define _GLIBMM_MODULE_P_H - - -#endif /* _GLIBMM_MODULE_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/nodetree_p.h b/libs/glibmm2/glib/glibmm/private/nodetree_p.h deleted file mode 100644 index e5d67b3600..0000000000 --- a/libs/glibmm2/glib/glibmm/private/nodetree_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_NODETREE_P_H -#define _GLIBMM_NODETREE_P_H - - -#endif /* _GLIBMM_NODETREE_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/object_p.h b/libs/glibmm2/glib/glibmm/private/object_p.h deleted file mode 100644 index 20a711898f..0000000000 --- a/libs/glibmm2/glib/glibmm/private/object_p.h +++ /dev/null @@ -1,28 +0,0 @@ -// -*- c++ -*- - -#ifndef _GLIBMM_OBJECT_P_H -#define _GLIBMM_OBJECT_P_H - -#include - -namespace Glib -{ - -class Object_Class : public Glib::Class -{ -public: - typedef Object CppObjectType; - typedef GObject BaseObjectType; - typedef GObjectClass BaseClassType; - - static void class_init_function(void* g_class, void* class_data); - - const Glib::Class& init(); - - static Glib::Object* wrap_new(GObject*); -}; - -} // namespace Glib - -#endif /* _GLIBMM_OBJECT_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/optioncontext_p.h b/libs/glibmm2/glib/glibmm/private/optioncontext_p.h deleted file mode 100644 index 549b34970e..0000000000 --- a/libs/glibmm2/glib/glibmm/private/optioncontext_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_OPTIONCONTEXT_P_H -#define _GLIBMM_OPTIONCONTEXT_P_H - - -#endif /* _GLIBMM_OPTIONCONTEXT_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/optionentry_p.h b/libs/glibmm2/glib/glibmm/private/optionentry_p.h deleted file mode 100644 index f6f518f17b..0000000000 --- a/libs/glibmm2/glib/glibmm/private/optionentry_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_OPTIONENTRY_P_H -#define _GLIBMM_OPTIONENTRY_P_H - - -#endif /* _GLIBMM_OPTIONENTRY_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/optiongroup_p.h b/libs/glibmm2/glib/glibmm/private/optiongroup_p.h deleted file mode 100644 index fdd0cd9611..0000000000 --- a/libs/glibmm2/glib/glibmm/private/optiongroup_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_OPTIONGROUP_P_H -#define _GLIBMM_OPTIONGROUP_P_H - - -#endif /* _GLIBMM_OPTIONGROUP_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/regex_p.h b/libs/glibmm2/glib/glibmm/private/regex_p.h deleted file mode 100644 index 7f85ec2d1b..0000000000 --- a/libs/glibmm2/glib/glibmm/private/regex_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_REGEX_P_H -#define _GLIBMM_REGEX_P_H - - -#endif /* _GLIBMM_REGEX_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/shell_p.h b/libs/glibmm2/glib/glibmm/private/shell_p.h deleted file mode 100644 index e0b5b55f9a..0000000000 --- a/libs/glibmm2/glib/glibmm/private/shell_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_SHELL_P_H -#define _GLIBMM_SHELL_P_H - - -#endif /* _GLIBMM_SHELL_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/spawn_p.h b/libs/glibmm2/glib/glibmm/private/spawn_p.h deleted file mode 100644 index 262bdc7ed4..0000000000 --- a/libs/glibmm2/glib/glibmm/private/spawn_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_SPAWN_P_H -#define _GLIBMM_SPAWN_P_H - - -#endif /* _GLIBMM_SPAWN_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/thread_p.h b/libs/glibmm2/glib/glibmm/private/thread_p.h deleted file mode 100644 index 0f4d3c63d6..0000000000 --- a/libs/glibmm2/glib/glibmm/private/thread_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_THREAD_P_H -#define _GLIBMM_THREAD_P_H - - -#endif /* _GLIBMM_THREAD_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/unicode_p.h b/libs/glibmm2/glib/glibmm/private/unicode_p.h deleted file mode 100644 index 7f1cad22dc..0000000000 --- a/libs/glibmm2/glib/glibmm/private/unicode_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_UNICODE_P_H -#define _GLIBMM_UNICODE_P_H - - -#endif /* _GLIBMM_UNICODE_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/private/uriutils_p.h b/libs/glibmm2/glib/glibmm/private/uriutils_p.h deleted file mode 100644 index 92a9eabbfd..0000000000 --- a/libs/glibmm2/glib/glibmm/private/uriutils_p.h +++ /dev/null @@ -1,8 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_URIUTILS_P_H -#define _GLIBMM_URIUTILS_P_H - - -#endif /* _GLIBMM_URIUTILS_P_H */ - diff --git a/libs/glibmm2/glib/glibmm/property.cc b/libs/glibmm2/glib/glibmm/property.cc deleted file mode 100644 index 955b3ad6e2..0000000000 --- a/libs/glibmm2/glib/glibmm/property.cc +++ /dev/null @@ -1,203 +0,0 @@ -// -*- c++ -*- -/* $Id: property.cc 291 2006-05-12 08:08:45Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#ifdef GLIBMM_PROPERTIES_ENABLED - -#include -#include - -// Temporary hack till GLib gets fixed. -#undef G_STRLOC -#define G_STRLOC __FILE__ ":" G_STRINGIFY(__LINE__) - - -namespace -{ - -// OK guys, please don't kill me for that. Let me explain what happens here. -// -// The task: -// --------- -// a) Autogenerate a property ID number for each custom property. This is an -// unsigned integer, which doesn't have to be assigned continuously. I.e., -// it can be everything but 0. -// b) If more than one object of the same class is instantiated, then of course -// the already installed properties must be used. That means, a property ID -// must not be associated with a single Glib::Property<> instance. Rather, -// the ID has to be associated with the class somehow. -// c) With only a GObject pointer and a property ID (and perhaps GParamSpec* -// if necessary), it must be possible to acquire a reference to the property -// wrapper instance. -// -// The current solution: -// --------------------- -// a) Assign an ID to a Glib::PropertyBase by calculating its offset in bytes -// relative to the beginning of the object's memory. dynamic_cast -// is used to retrieve a pointer to the very beginning of an instance. -// b) Recalculate a specific PropertyBase pointer by adding the property ID -// (i.e. the byte offset) to the object start pointer. The result is then -// just casted to PropertyBase*. -// -// Drawbacks: -// ---------- -// a) It's a low-level hack. Should be portable, yes, but we can only do very -// limited error checking. -// b) All Glib::Property<> instances are absolutely required to be direct data -// members of the class that implements the property. That seems a natural -// thing to do, but it's questionable whether it should be a requirement. -// -// Advantages: -// ----------- -// a) Although low-level, it's extremely easy to implement. The nasty code is -// concentrated in only two non-exposed utility functions, and it works -// just fine. -// b) It's efficient, and the memory footprint is very small too. -// c) I actually tried other ways, too, but ran into dead-ends everywhere. -// It's probably possible to implement this without calculating offsets, -// but it'll be very complicated, and involve a lot of qdata pointers to -// property tables andwhatnot. -// -// We can reimplement this later if necessary. - -static unsigned int property_to_id(Glib::ObjectBase& object, Glib::PropertyBase& property) -{ - void *const base_ptr = dynamic_cast(&object); - void *const prop_ptr = &property; - - const ptrdiff_t offset = static_cast(prop_ptr) - static_cast(base_ptr); - - g_return_val_if_fail(offset > 0 && offset < G_MAXINT, 0); - - return static_cast(offset); -} - -Glib::PropertyBase& property_from_id(Glib::ObjectBase& object, unsigned int property_id) -{ - void *const base_ptr = dynamic_cast(&object); - void *const prop_ptr = static_cast(base_ptr) + property_id; - - return *static_cast(prop_ptr); -} - -} // anonymous namespace - - -namespace Glib -{ - -void custom_get_property_callback(GObject* object, unsigned int property_id, - GValue* value, GParamSpec* param_spec) -{ - if(Glib::ObjectBase *const wrapper = Glib::ObjectBase::_get_current_wrapper(object)) - { - PropertyBase& property = property_from_id(*wrapper, property_id); - - if((property.object_ == wrapper) && (property.param_spec_ == param_spec)) - g_value_copy(property.value_.gobj(), value); - else - G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, param_spec); - } -} - -void custom_set_property_callback(GObject* object, unsigned int property_id, - const GValue* value, GParamSpec* param_spec) -{ - if(Glib::ObjectBase *const wrapper = Glib::ObjectBase::_get_current_wrapper(object)) - { - PropertyBase& property = property_from_id(*wrapper, property_id); - - if((property.object_ == wrapper) && (property.param_spec_ == param_spec)) - { - g_value_copy(value, property.value_.gobj()); - g_object_notify(object, g_param_spec_get_name(param_spec)); - } - else - G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, param_spec); - } -} - - -/**** Glib::PropertyBase ***************************************************/ - -PropertyBase::PropertyBase(Glib::Object& object, GType value_type) -: - object_ (&object), - value_ (), - param_spec_ (0) -{ - value_.init(value_type); -} - -PropertyBase::~PropertyBase() -{ - if(param_spec_) - g_param_spec_unref(param_spec_); -} - -bool PropertyBase::lookup_property(const Glib::ustring& name) -{ - g_assert(param_spec_ == 0); - - param_spec_ = g_object_class_find_property(G_OBJECT_GET_CLASS(object_->gobj()), name.c_str()); - - if(param_spec_) - { - g_assert(G_PARAM_SPEC_VALUE_TYPE(param_spec_) == G_VALUE_TYPE(value_.gobj())); - g_param_spec_ref(param_spec_); - } - - return (param_spec_ != 0); -} - -void PropertyBase::install_property(GParamSpec* param_spec) -{ - g_return_if_fail(param_spec != 0); - - const unsigned int property_id = property_to_id(*object_, *this); - - g_object_class_install_property(G_OBJECT_GET_CLASS(object_->gobj()), property_id, param_spec); - - param_spec_ = param_spec; - g_param_spec_ref(param_spec_); -} - -const char* PropertyBase::get_name_internal() const -{ - const char *const name = g_param_spec_get_name(param_spec_); - g_return_val_if_fail(name != 0, ""); - return name; -} - -Glib::ustring PropertyBase::get_name() const -{ - return Glib::ustring(get_name_internal()); -} - -void PropertyBase::notify() -{ - g_object_notify(object_->gobj(), g_param_spec_get_name(param_spec_)); -} - -} // namespace Glib - -#endif //GLIBMM_PROPERTIES_ENABLED - diff --git a/libs/glibmm2/glib/glibmm/property.h b/libs/glibmm2/glib/glibmm/property.h deleted file mode 100644 index 16122cb9a1..0000000000 --- a/libs/glibmm2/glib/glibmm/property.h +++ /dev/null @@ -1,174 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_PROPERTY_H -#define _GLIBMM_PROPERTY_H -/* $Id: property.h 291 2006-05-12 08:08:45Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#ifdef GLIBMM_PROPERTIES_ENABLED - -#include - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -#ifdef GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC -//For the AIX xlC compiler, I can not find a way to do this without putting the functions in the global namespace. murrayc -extern "C" -{ -#endif //GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC - -void custom_get_property_callback(GObject* object, unsigned int property_id, - GValue* value, GParamSpec* param_spec); - -void custom_set_property_callback(GObject* object, unsigned int property_id, - const GValue* value, GParamSpec* param_spec); - -#ifdef GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC -} //extern "C" -#endif //GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -class PropertyBase -{ -public: - Glib::ustring get_name() const; - void notify(); - -protected: - Glib::Object* object_; - Glib::ValueBase value_; - GParamSpec* param_spec_; - - PropertyBase(Glib::Object& object, GType value_type); - ~PropertyBase(); - - bool lookup_property(const Glib::ustring& name); - void install_property(GParamSpec* param_spec); - - const char* get_name_internal() const; - -private: - // noncopyable - PropertyBase(const PropertyBase&); - PropertyBase& operator=(const PropertyBase&); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - - friend void Glib::custom_get_property_callback(GObject* object, unsigned int property_id, - GValue* value, GParamSpec* param_spec); - - friend void Glib::custom_set_property_callback(GObject* object, unsigned int property_id, - const GValue* value, GParamSpec* param_spec); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ -}; - - -template -class Property : public PropertyBase -{ -public: - typedef T PropertyType; - typedef Glib::Value ValueType; - - Property(Glib::Object& object, const Glib::ustring& name); - Property(Glib::Object& object, const Glib::ustring& name, const PropertyType& default_value); - - inline void set_value(const PropertyType& data); - inline PropertyType get_value() const; - - inline Property& operator=(const PropertyType& data); - inline operator PropertyType() const; - - inline Glib::PropertyProxy get_proxy(); -}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/**** Glib::Property ****************************************************/ - -template -Property::Property(Glib::Object& object, const Glib::ustring& name) -: - PropertyBase(object, ValueType::value_type()) -{ - if(!lookup_property(name)) - install_property(static_cast(value_).create_param_spec(name)); -} - -template -Property::Property(Glib::Object& object, const Glib::ustring& name, - const typename Property::PropertyType& default_value) -: - PropertyBase(object, ValueType::value_type()) -{ - static_cast(value_).set(default_value); - - if(!lookup_property(name)) - install_property(static_cast(value_).create_param_spec(name)); -} - -template inline -void Property::set_value(const typename Property::PropertyType& data) -{ - static_cast(value_).set(data); - this->notify(); -} - -template inline -typename Property::PropertyType Property::get_value() const -{ - return static_cast(value_).get(); -} - -template inline -Property& Property::operator=(const typename Property::PropertyType& data) -{ - static_cast(value_).set(data); - this->notify(); - return *this; -} - -template inline -Property::operator T() const -{ - return static_cast(value_).get(); -} - -template inline -Glib::PropertyProxy Property::get_proxy() -{ - return Glib::PropertyProxy(object_, get_name_internal()); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - -#endif //GLIBMM_PROPERTIES_ENABLED - -#endif /* _GLIBMM_PROPERTY_H */ - diff --git a/libs/glibmm2/glib/glibmm/propertyproxy.cc b/libs/glibmm2/glib/glibmm/propertyproxy.cc deleted file mode 100644 index e9dad3c630..0000000000 --- a/libs/glibmm2/glib/glibmm/propertyproxy.cc +++ /dev/null @@ -1,24 +0,0 @@ -// -*- c++ -*- -/* $Id: propertyproxy.cc 2 2003-01-07 16:59:16Z murrayc $ */ - -/* propertyproxy.cc - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - diff --git a/libs/glibmm2/glib/glibmm/propertyproxy.h b/libs/glibmm2/glib/glibmm/propertyproxy.h deleted file mode 100644 index d72829c42f..0000000000 --- a/libs/glibmm2/glib/glibmm/propertyproxy.h +++ /dev/null @@ -1,186 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_PROPERTYPROXY_H -#define _GLIBMM_PROPERTYPROXY_H -/* $Id: propertyproxy.h 707 2008-08-04 11:18:12Z murrayc $ */ - -/* propertyproxy.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#ifdef GLIBMM_PROPERTIES_ENABLED - -namespace Glib -{ - -/** A PropertyProxy can be used to get and set the value of an object's property. - * There are usually also get and set methods on the class itself, which you might find more convenient. - * With the PropertyProxy, you may use either get_value() and set_value(), or operator=() and - * operator PropertyType(), like so: - * @code - * int height = cellrenderer.property_height(); - * cellrenderer.property_editable() = true; - * @endcode - * - * You may also receive notification when a property's value changes, by connecting to signal_changed(). - * - * You may register new properties for your class (actually for the underlying GType) - * simply by adding a PropertyProxy instance as a class member. - * However, your constructor must call the Glib::ObjectBase constructor with a new GType name, - * in order to register a new GType. - */ -template -class PropertyProxy : public PropertyProxy_Base -{ -public: - typedef T PropertyType; - - PropertyProxy(ObjectBase* obj, const char* name) - : PropertyProxy_Base(obj, name) {} - - /** Set the value of this property. - * @param data The new value for the property. - */ - void set_value(const PropertyType& data); - - /** Get the value of this property. - * @result The current value of the property. - */ - PropertyType get_value() const; - - /** Set the value of this property back to its default value - */ - void reset_value() - { reset_property_(); } - - PropertyProxy& operator=(const PropertyType& data) - { this->set_value(data); return *this; } - - operator PropertyType() const - { return this->get_value(); } -}; - - -/** See PropertyProxy(). - * This property can be written, but not read, so there is no get_value() method. - */ -template -class PropertyProxy_WriteOnly : public PropertyProxy_Base -{ -public: - typedef T PropertyType; - - PropertyProxy_WriteOnly(ObjectBase* obj, const char* name) - : PropertyProxy_Base(obj, name) {} - - /** Set the value of this property. - * @param data The new value for the property. - */ - void set_value(const PropertyType& data); - - /** Set the value of this property back to its default value - */ - void reset_value() - { reset_property_(); } - - PropertyProxy_WriteOnly& operator=(const PropertyType& data) - { this->set_value(data); return *this; } -}; - -/** See PropertyProxy(). - * This property can be read, but not written, so there is no set_value() method. - */ -template -class PropertyProxy_ReadOnly : public PropertyProxy_Base -{ -public: - typedef T PropertyType; - - //obj is const, because this should be returned by const accessors. - PropertyProxy_ReadOnly(const ObjectBase* obj, const char* name) - : PropertyProxy_Base(const_cast(obj), name) {} - - /** Get the value of this property. - * @result The current value of the property. - */ - PropertyType get_value() const; - - operator PropertyType() const - { return this->get_value(); } -}; - - -/**** Template Implementation **********************************************/ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -template -void PropertyProxy::set_value(const T& data) -{ - Glib::Value value; - value.init(Glib::Value::value_type()); - - value.set(data); - set_property_(value); -} - -template -T PropertyProxy::get_value() const -{ - Glib::Value value; - value.init(Glib::Value::value_type()); - - get_property_(value); - return value.get(); -} - -//We previously just static_cast<> PropertyProxy_WriteOnly<> to PropertyProxy<> to call its set_value(), -//to avoid code duplication. -//But the AIX compiler does not like that hack. -template -void PropertyProxy_WriteOnly::set_value(const T& data) -{ - Glib::Value value; - value.init(Glib::Value::value_type()); - - value.set(data); - set_property_(value); -} - -//We previously just static_cast<> PropertyProxy_WriteOnly<> to PropertyProxy<> to call its set_value(), -//to avoid code duplication. -//But the AIX compiler does not like that hack. -template -T PropertyProxy_ReadOnly::get_value() const -{ - Glib::Value value; - value.init(Glib::Value::value_type()); - - get_property_(value); - return value.get(); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - -#endif //GLIBMM_PROPERTIES_ENABLED - -#endif /* _GLIBMM_PROPERTYPROXY_H */ - diff --git a/libs/glibmm2/glib/glibmm/propertyproxy_base.cc b/libs/glibmm2/glib/glibmm/propertyproxy_base.cc deleted file mode 100644 index 960cc0210e..0000000000 --- a/libs/glibmm2/glib/glibmm/propertyproxy_base.cc +++ /dev/null @@ -1,131 +0,0 @@ -// -*- c++ -*- -/* $Id: propertyproxy_base.cc 354 2006-11-28 12:59:19Z murrayc $ */ - -/* propertyproxy_base.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -#include -#include -#include - -namespace Glib -{ - -PropertyProxyConnectionNode::PropertyProxyConnectionNode(const sigc::slot_base& slot, GObject* gobject) -: SignalProxyConnectionNode(slot, gobject) -{ -} - -void PropertyProxyConnectionNode::callback(GObject*, GParamSpec* pspec, gpointer data) //static -{ - if(pspec && data) - { - if(sigc::slot_base *const slot = SignalProxyBase::data_to_slot(data)) - (*static_cast*>(slot))(); - } -} - -#ifdef GLIBMM_PROPERTIES_ENABLED - -//SignalProxyProperty implementation: - -SignalProxyProperty::SignalProxyProperty(Glib::ObjectBase* obj, const gchar* property_name) -: SignalProxyBase(obj), - property_name_(property_name) -{ -} - -SignalProxyProperty::~SignalProxyProperty() -{ -} - -sigc::connection SignalProxyProperty::connect(const SlotType& sl) -{ - // Create a proxy to hold our connection info - // This will be deleted by destroy_notify_handler. - PropertyProxyConnectionNode* pConnectionNode = new PropertyProxyConnectionNode(sl, obj_->gobj()); - - // connect it to gtk+ - // pConnectionNode will be passed as the data argument to the callback. - // The callback will then call the virtual Object::property_change_notify() method, - // which will contain a switch/case statement which will examine the property name. - const Glib::ustring notify_signal_name = "notify::" + Glib::ustring(property_name_); - pConnectionNode->connection_id_ = g_signal_connect_data(obj_->gobj(), - notify_signal_name.c_str(), (GCallback)(&PropertyProxyConnectionNode::callback), pConnectionNode, - &PropertyProxyConnectionNode::destroy_notify_handler, - G_CONNECT_AFTER); - - return sigc::connection(pConnectionNode->slot_); -} - - -//PropertyProxy_Base implementation: - -PropertyProxy_Base::PropertyProxy_Base(ObjectBase* obj, const char* property_name) -: - obj_ (obj), - property_name_ (property_name) -{} - -PropertyProxy_Base::PropertyProxy_Base(const PropertyProxy_Base& other) -: - obj_ (other.obj_), - property_name_ (other.property_name_) -{} - -SignalProxyProperty PropertyProxy_Base::signal_changed() -{ - return SignalProxyProperty(obj_, property_name_); -} - -void PropertyProxy_Base::set_property_(const Glib::ValueBase& value) -{ - g_object_set_property(obj_->gobj(), property_name_, value.gobj()); -} - -void PropertyProxy_Base::get_property_(Glib::ValueBase& value) const -{ - g_object_get_property(obj_->gobj(), property_name_, value.gobj()); -} - -void PropertyProxy_Base::reset_property_() -{ - // Get information about the parameter: - const GParamSpec *const pParamSpec = - g_object_class_find_property(G_OBJECT_GET_CLASS(obj_->gobj()), property_name_); - - g_return_if_fail(pParamSpec != 0); - - Glib::ValueBase value; - value.init(G_PARAM_SPEC_VALUE_TYPE(pParamSpec)); - - // An explicit reset is not needed, because ValueBase:init() - // has already initialized it to the default value for this type. - // value.reset(); - - g_object_set_property(obj_->gobj(), property_name_, value.gobj()); -} - -#endif //GLIBMM_PROPERTIES_ENABLED - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/propertyproxy_base.h b/libs/glibmm2/glib/glibmm/propertyproxy_base.h deleted file mode 100644 index 4706b2f167..0000000000 --- a/libs/glibmm2/glib/glibmm/propertyproxy_base.h +++ /dev/null @@ -1,111 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_PROPERTYPROXY_BASE_H -#define _GLIBMM_PROPERTYPROXY_BASE_H -/* $Id: propertyproxy_base.h 337 2006-11-10 02:24:49Z murrayc $ */ - -/* propertyproxy_base.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -#include -#include - -namespace Glib -{ - -#ifdef GLIBMM_PROPERTIES_ENABLED - -class ObjectBase; - -/// Use the connect() method, with sigc::ptr_fun() or sig::mem_fun() to connect signals to signal handlers. -class SignalProxyProperty : public SignalProxyBase -{ -public: - friend class PropertyProxy_Base; - - SignalProxyProperty(Glib::ObjectBase* obj, const gchar* property_name); - ~SignalProxyProperty(); - - typedef sigc::slot SlotType; - sigc::connection connect(const SlotType& sl); - -protected: - - const char* property_name_; //Should be a static string literal. - -private: - SignalProxyProperty& operator=(const SignalProxyProperty&); // not implemented -}; - - -class PropertyProxy_Base -{ -public: - PropertyProxy_Base(ObjectBase* obj, const char* property_name); - PropertyProxy_Base(const PropertyProxy_Base& other); - - ///This signal will be emitted when the property changes. - SignalProxyProperty signal_changed(); - - ObjectBase* get_object() const { return obj_; } - const char* get_name() const { return property_name_; } - -protected: - void set_property_(const Glib::ValueBase& value); - void get_property_(Glib::ValueBase& value) const; - void reset_property_(); - - ObjectBase* obj_; //The C++ wrapper instance of which this PropertyProxy is a member. - - const char* property_name_; //Should be a static string literal. - -private: - //Declared as private, but not implemented to prevent any automatically generated implementation. - PropertyProxy_Base& operator=(const PropertyProxy_Base&); -}; - -#endif //GLIBMM_PROPERTIES_ENABLED - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -class SignalProxyProperty; - -/** PropertyProxyConnectionNode is a connection node for use with SignalProxyProperty. - * It's like ProxyConnectionNode, but it contains the property name too. - * This is not public API. - */ -class PropertyProxyConnectionNode : public SignalProxyConnectionNode -{ -public: - friend class SignalProxyProperty; - - PropertyProxyConnectionNode(const sigc::slot_base& slot, GObject* gobject); - - static void callback(GObject* object, GParamSpec* pspec, gpointer data); -}; - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - - - -#endif /* _GLIBMM_PROPERTYPROXY_BASE_H */ - diff --git a/libs/glibmm2/glib/glibmm/quark.cc b/libs/glibmm2/glib/glibmm/quark.cc deleted file mode 100644 index 5fe617ef71..0000000000 --- a/libs/glibmm2/glib/glibmm/quark.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* $Id: quark.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* quark.cc - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Glib -{ - -QueryQuark::QueryQuark(const GQuark& q) - : quark_(q) -{} - -QueryQuark::QueryQuark(const ustring& s) -: quark_(g_quark_try_string(s.c_str())) -{} - -QueryQuark::QueryQuark(const char* s) -: quark_(g_quark_try_string(s)) -{} - -QueryQuark& QueryQuark::operator=(const QueryQuark& q) -{ quark_=q.quark_; - return *this; -} - -QueryQuark::operator ustring() const -{ - return ustring(g_quark_to_string(quark_)); -} - - -Quark::Quark(const ustring& s) -: QueryQuark(g_quark_from_string(s.c_str())) -{} - -Quark::Quark(const char* s) -: QueryQuark(g_quark_from_string(s)) -{} - -Quark::~Quark() -{} - - -GQuark quark_ = 0; -GQuark quark_cpp_wrapper_deleted_ = 0; - -} /* namespace Glib */ diff --git a/libs/glibmm2/glib/glibmm/quark.h b/libs/glibmm2/glib/glibmm/quark.h deleted file mode 100644 index 69cc90c208..0000000000 --- a/libs/glibmm2/glib/glibmm/quark.h +++ /dev/null @@ -1,88 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_QUARK_H -#define _GLIBMM_QUARK_H -/* $Id: quark.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* quark.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -/** Quarks are unique IDs in Glib for strings for use in - * hash table lookups. Each Quark is unique but may change - * between runs. - * - * QueryQuark is a converter class for looking up but not - * allocating an ID. An id means the quark lookup failed. - * - * Quark is used for actions for which the id should live on - * While QueryQuark should be used for queries. - * ie. - * void set_data (const Quark&, void * data); - * void* get_data (const QueryQuark&); - */ -class QueryQuark -{ - public: - QueryQuark(const GQuark& q); - QueryQuark(const ustring& s); - QueryQuark(const char*s); - ~QueryQuark() {} - QueryQuark& operator=(const QueryQuark& q); - operator ustring() const; - - operator GQuark() const {return quark_;} - GQuark id() const {return quark_;} - - private: - GQuark quark_; -}; - -class Quark: public QueryQuark -{ - public: - Quark(const ustring& s); - Quark(const char* s); - ~Quark(); -}; - -/** @relates Glib::QueryQuark */ -inline bool operator==(const QueryQuark& a, const QueryQuark& b) - { return a.id() == b.id(); } - -/** @relates Glib::QueryQuark */ -inline bool operator!=(const QueryQuark& a, const QueryQuark& b) - { return a.id() != b.id(); } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -// TODO: Put this somewhere else. -// (internal) The quark for C++ wrappers. -extern GLIBMM_API GQuark quark_; -extern GLIBMM_API GQuark quark_cpp_wrapper_deleted_; -#endif - -} /* namespace Glib */ - -#endif /* _GLIBMM_QUARK_H */ - diff --git a/libs/glibmm2/glib/glibmm/random.cc b/libs/glibmm2/glib/glibmm/random.cc deleted file mode 100644 index 6a529cd64f..0000000000 --- a/libs/glibmm2/glib/glibmm/random.cc +++ /dev/null @@ -1,75 +0,0 @@ -// -*- c++ -*- -/* $Id: random.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* random.cc - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -Rand::Rand() -: - gobject_ (g_rand_new()) -{} - -Rand::Rand(guint32 seed) -: - gobject_ (g_rand_new_with_seed(seed)) -{} - -Rand::~Rand() -{ - g_rand_free(gobject_); -} - -void Rand::set_seed(guint32 seed) -{ - g_rand_set_seed(gobject_, seed); -} - -bool Rand::get_bool() -{ - return g_rand_boolean(gobject_); -} - -guint32 Rand::get_int() -{ - return g_rand_int(gobject_); -} - -gint32 Rand::get_int_range(gint32 begin, gint32 end) -{ - return g_rand_int_range(gobject_, begin, end); -} - -double Rand::get_double() -{ - return g_rand_double(gobject_); -} - -double Rand::get_double_range(double begin, double end) -{ - return g_rand_double_range(gobject_, begin, end); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/random.h b/libs/glibmm2/glib/glibmm/random.h deleted file mode 100644 index cbf0c24429..0000000000 --- a/libs/glibmm2/glib/glibmm/random.h +++ /dev/null @@ -1,73 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_RANDOM_H -#define _GLIBMM_RANDOM_H - -/* $Id: random.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* random.h - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -extern "C" { typedef struct _GRand GRand; } - - -namespace Glib -{ - -/** @defgroup Random Random Numbers - * Pseudo random number generator. - * @{ - */ - -class Rand -{ -public: - Rand(); - explicit Rand(guint32 seed); - ~Rand(); - - void set_seed(guint32 seed); - - bool get_bool(); - - guint32 get_int(); - gint32 get_int_range(gint32 begin, gint32 end); - - double get_double(); - double get_double_range(double begin, double end); - - GRand* gobj() { return gobject_; } - const GRand* gobj() const { return gobject_; } - -private: - GRand* gobject_; - - // noncopyable - Rand(const Rand&); - Rand& operator=(const Rand&); -}; - -/** @} group Random */ - -} // namespace Glib - - -#endif /* _GLIBMM_RANDOM_H */ - diff --git a/libs/glibmm2/glib/glibmm/refptr.h b/libs/glibmm2/glib/glibmm/refptr.h deleted file mode 100644 index f237dcb107..0000000000 --- a/libs/glibmm2/glib/glibmm/refptr.h +++ /dev/null @@ -1,355 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_REFPTR_H -#define _GLIBMM_REFPTR_H - -/* $Id: refptr.h 476 2007-12-28 11:11:42Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -namespace Glib -{ - -/** RefPtr<> is a reference-counting shared smartpointer. - * - * Some objects in gtkmm are obtained from a shared - * store. Consequently you cannot instantiate them yourself. Instead they - * return a RefPtr which behaves much like an ordinary pointer in that members - * can be reached with the usual object_ptr->member notation. - * Unlike most other smart pointers, RefPtr doesn't support dereferencing - * through *object_ptr. - * - * Reference counting means that a shared reference count is incremented each - * time a RefPtr is copied, and decremented each time a RefPtr is destroyed, - * for instance when it leaves its scope. When the reference count reaches - * zero, the contained object is deleted, meaning you don't need to remember - * to delete the object. - * - * RefPtr<> can store any class that has reference() and unreference() methods. - * In gtkmm, that is anything derived from Glib::ObjectBase, such as - * Gdk::Pixmap. - * - * See the "Memory Management" section in the "Programming with gtkmm" - * book for further information. - */ -template -class RefPtr -{ -public: - /** Default constructor - * - * Afterwards it will be null and use of -> will cause a segmentation fault. - */ - inline RefPtr(); - - /// Destructor - decrements reference count. - inline ~RefPtr(); - - /// For use only by the ::create() methods. - explicit inline RefPtr(T_CppObject* pCppObject); - - /** Copy constructor - * - * This increments the shared reference count. - */ - inline RefPtr(const RefPtr& src); - - /** Copy constructor (from different, but castable type). - * - * Increments the reference count. - */ - template - inline RefPtr(const RefPtr& src); - - /** Swap the contents of two RefPtr<>. - * This method swaps the internal pointers to T_CppObject. This can be - * done safely without involving a reference/unreference cycle and is - * therefore highly efficient. - */ - inline void swap(RefPtr& other); - - /// Copy from another RefPtr: - inline RefPtr& operator=(const RefPtr& src); - - /** Copy from different, but castable type). - * - * Increments the reference count. - */ - template - inline RefPtr& operator=(const RefPtr& src); - - /// Tests whether the RefPtr<> point to the same underlying instance. - inline bool operator==(const RefPtr& src) const; - - /// See operator==(). - inline bool operator!=(const RefPtr& src) const; - - /** Dereferencing. - * - * Use the methods of the underlying instance like so: - * refptr->memberfun(). - */ - inline T_CppObject* operator->() const; - - /** Test whether the RefPtr<> points to any underlying instance. - * - * Mimics usage of ordinary pointers: - * @code - * if (ptr) - * do_something(); - * @endcode - */ - inline operator bool() const; - -#ifndef GLIBMM_DISABLE_DEPRECATED - /// @deprecated Use reset() instead because this leads to confusion with clear() methods on the underlying class. For instance, people use .clear() when they mean ->clear(). - inline void clear(); -#endif //GLIBMM_DISABLE_DEPRECATED - - /** Set underlying instance to 0, decrementing reference count of existing instance appropriately. - * @newin2p16 - */ - inline void reset(); - - /** Dynamic cast to derived class. - * - * The RefPtr can't be cast with the usual notation so instead you can use - * @code - * ptr_derived = RefPtr::cast_dynamic(ptr_base); - * @endcode - */ - template - static inline RefPtr cast_dynamic(const RefPtr& src); - - /** Static cast to derived class. - * - * Like the dynamic cast; the notation is - * @code - * ptr_derived = RefPtr::cast_static(ptr_base); - * @endcode - */ - template - static inline RefPtr cast_static(const RefPtr& src); - - /** Cast to non-const. - * - * The RefPtr can't be cast with the usual notation so instead you can use - * @code - * ptr_unconst = RefPtr::cast_const(ptr_const); - * @endcode - */ - template - static inline RefPtr cast_const(const RefPtr& src); - -private: - T_CppObject* pCppObject_; -}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -// RefPtr<>::operator->() comes first here since it's used by other methods. -// If it would come after them it wouldn't be inlined. - -template inline -T_CppObject* RefPtr::operator->() const -{ - return pCppObject_; -} - -template inline -RefPtr::RefPtr() -: - pCppObject_ (0) -{} - -template inline -RefPtr::~RefPtr() -{ - if(pCppObject_) - pCppObject_->unreference(); // This could cause pCppObject to be deleted. -} - -template inline -RefPtr::RefPtr(T_CppObject* pCppObject) -: - pCppObject_ (pCppObject) -{} - -template inline -RefPtr::RefPtr(const RefPtr& src) -: - pCppObject_ (src.pCppObject_) -{ - if(pCppObject_) - pCppObject_->reference(); -} - -// The templated ctor allows copy construction from any object that's -// castable. Thus, it does downcasts: -// base_ref = derived_ref -template - template -inline -RefPtr::RefPtr(const RefPtr& src) -: - // A different RefPtr<> will not allow us access to pCppObject_. We need - // to add a get_underlying() for this, but that would encourage incorrect - // use, so we use the less well-known operator->() accessor: - pCppObject_ (src.operator->()) -{ - if(pCppObject_) - pCppObject_->reference(); -} - -template inline -void RefPtr::swap(RefPtr& other) -{ - T_CppObject *const temp = pCppObject_; - pCppObject_ = other.pCppObject_; - other.pCppObject_ = temp; -} - -template inline -RefPtr& RefPtr::operator=(const RefPtr& src) -{ - // In case you haven't seen the swap() technique to implement copy - // assignment before, here's what it does: - // - // 1) Create a temporary RefPtr<> instance via the copy ctor, thereby - // increasing the reference count of the source object. - // - // 2) Swap the internal object pointers of *this and the temporary - // RefPtr<>. After this step, *this already contains the new pointer, - // and the old pointer is now managed by temp. - // - // 3) The destructor of temp is executed, thereby unreferencing the - // old object pointer. - // - // This technique is described in Herb Sutter's "Exceptional C++", and - // has a number of advantages over conventional approaches: - // - // - Code reuse by calling the copy ctor. - // - Strong exception safety for free. - // - Self assignment is handled implicitely. - // - Simplicity. - // - It just works and is hard to get wrong; i.e. you can use it without - // even thinking about it to implement copy assignment whereever the - // object data is managed indirectly via a pointer, which is very common. - - RefPtr temp (src); - this->swap(temp); - return *this; -} - -template - template -inline -RefPtr& RefPtr::operator=(const RefPtr& src) -{ - RefPtr temp (src); - this->swap(temp); - return *this; -} - -template inline -bool RefPtr::operator==(const RefPtr& src) const -{ - return (pCppObject_ == src.pCppObject_); -} - -template inline -bool RefPtr::operator!=(const RefPtr& src) const -{ - return (pCppObject_ != src.pCppObject_); -} - -template inline -RefPtr::operator bool() const -{ - return (pCppObject_ != 0); -} - -#ifndef GLIBMM_DISABLE_DEPRECATED -template inline -void RefPtr::clear() -{ - reset(); -} -#endif //GLIBMM_DISABLE_DEPRECATED - -template inline -void RefPtr::reset() -{ - RefPtr temp; // swap with an empty RefPtr<> to clear *this - this->swap(temp); -} - -template - template -inline -RefPtr RefPtr::cast_dynamic(const RefPtr& src) -{ - T_CppObject *const pCppObject = dynamic_cast(src.operator->()); - - if(pCppObject) - pCppObject->reference(); - - return RefPtr(pCppObject); -} - -template - template -inline -RefPtr RefPtr::cast_static(const RefPtr& src) -{ - T_CppObject *const pCppObject = static_cast(src.operator->()); - - if(pCppObject) - pCppObject->reference(); - - return RefPtr(pCppObject); -} - -template - template -inline -RefPtr RefPtr::cast_const(const RefPtr& src) -{ - T_CppObject *const pCppObject = const_cast(src.operator->()); - - if(pCppObject) - pCppObject->reference(); - - return RefPtr(pCppObject); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -/** @relates Glib::RefPtr */ -template inline -void swap(RefPtr& lhs, RefPtr& rhs) -{ - lhs.swap(rhs); -} - -} // namespace Glib - - -#endif /* _GLIBMM_REFPTR_H */ - diff --git a/libs/glibmm2/glib/glibmm/regex.cc b/libs/glibmm2/glib/glibmm/regex.cc deleted file mode 100644 index 8cc257ec60..0000000000 --- a/libs/glibmm2/glib/glibmm/regex.cc +++ /dev/null @@ -1,451 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -/* Copyright (C) 2007 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Glib -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr Regex::create(const Glib::ustring& pattern, - RegexCompileFlags compile_options, - RegexMatchFlags match_options) -#else -Glib::RefPtr Regex::create(const Glib::ustring& pattern, - RegexCompileFlags compile_options, - RegexMatchFlags match_options, - std::auto_ptr& error) -#endif /* GLIBMM_EXCEPTIONS_ENABLED */ -{ - GError* gerror = 0; - GRegex* regex = g_regex_new(pattern.c_str(), (GRegexCompileFlags)compile_options, - (GRegexMatchFlags)match_options, &gerror); - - if(gerror) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); -#else - error = Glib::Error::throw_exception(gerror); -#endif - return Glib::wrap(regex); -} - -// static -Glib::ustring Regex::escape_string(const Glib::ustring& string) -{ - const Glib::ScopedPtr buf (g_regex_escape_string(string.raw().c_str(), - string.raw().size())); - return Glib::ustring(buf.get()); -} - -bool Regex::match(const Glib::ustring& string, RegexMatchFlags match_options) -{ - return g_regex_match(gobj(), string.c_str(), (GRegexMatchFlags)(match_options), 0); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_full(gobj(), string.c_str(), -1, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_full(gobj(), string.c_str(), string_len, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -bool Regex::match_all(const Glib::ustring& string, RegexMatchFlags match_options) -{ - return g_regex_match_all(gobj(), string.c_str(), ((GRegexMatchFlags)(match_options)), 0); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_all_full(gobj(), string.c_str(), -1, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_all_full(gobj(), string.c_str(), string_len, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options) -#else -Glib::ustring Regex::replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace(gobj(), string.c_str(), -1, start_position, replacement.c_str(), ((GRegexMatchFlags)(match_options)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options) -#else -Glib::ustring Regex::replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace_literal(gobj(), string.c_str(), -1, start_position, replacement.c_str(), ((GRegexMatchFlags)(match_options)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::StringArrayHandle Regex::split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens) const -#else -Glib::StringArrayHandle Regex::split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::StringArrayHandle retvalue = Glib::StringArrayHandle(g_regex_split_full(const_cast(gobj()), string.c_str(), -1, start_position, ((GRegexMatchFlags)(match_options)), max_tokens, &(gerror)), Glib::OWNERSHIP_DEEP); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -} // namespace Glib - -namespace -{ -} // anonymous namespace - - -Glib::RegexError::RegexError(Glib::RegexError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_REGEX_ERROR, error_code, error_message) -{} - -Glib::RegexError::RegexError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::RegexError::Code Glib::RegexError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::RegexError::throw_func(GError* gobject) -{ - throw Glib::RegexError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::RegexError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::RegexError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -/* Why reinterpret_cast(gobject) is needed: - * - * A Regex instance is in fact always a GRegex instance. - * Unfortunately, GRegex cannot be a member of Regex, - * because it is an opaque struct. Also, the C interface does not provide - * any hooks to install a destroy notification handler, thus we cannot - * wrap it dynamically either. - * - * The cast works because Regex does not have any member data, and - * it is impossible to derive from it. This is ensured by not implementing - * the (protected) default constructor. The ctor is protected rather than - * private just to avoid a compile warning. - */ - -namespace Glib -{ - -Glib::RefPtr wrap(GRegex* object, bool take_copy) -{ - if(take_copy && object) - g_regex_ref(object); - - // See the comment at the top of this file, if you want to know why the cast works. - return Glib::RefPtr(reinterpret_cast(object)); -} - -} // namespace Glib - - -namespace Glib -{ - - -void Regex::reference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - g_regex_ref(reinterpret_cast(const_cast(this))); -} - -void Regex::unreference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - g_regex_unref(reinterpret_cast(const_cast(this))); -} - -GRegex* Regex::gobj() -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -const GRegex* Regex::gobj() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -GRegex* Regex::gobj_copy() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - GRegex *const gobject = reinterpret_cast(const_cast(this)); - g_regex_ref(gobject); - return gobject; -} - - -Glib::ustring Regex::get_pattern() const -{ - return Glib::convert_const_gchar_ptr_to_ustring(g_regex_get_pattern(const_cast(gobj()))); -} - -int Regex::get_max_backref() const -{ - return g_regex_get_max_backref(const_cast(gobj())); -} - -int Regex::get_capture_count() const -{ - return g_regex_get_capture_count(const_cast(gobj())); -} - -int Regex::get_string_number(const Glib::ustring& name) const -{ - return g_regex_get_string_number(const_cast(gobj()), name.c_str()); -} - -bool Regex::match_simple(const Glib::ustring& pattern, const Glib::ustring& string, RegexCompileFlags compile_options, RegexMatchFlags match_options) -{ - return g_regex_match_simple(pattern.c_str(), string.c_str(), ((GRegexCompileFlags)(compile_options)), ((GRegexMatchFlags)(match_options))); -} - - -Glib::StringArrayHandle Regex::split_simple(const Glib::ustring& pattern, const Glib::ustring& string, RegexCompileFlags compile_options, RegexMatchFlags match_options) -{ - return Glib::StringArrayHandle(g_regex_split_simple(pattern.c_str(), string.c_str(), ((GRegexCompileFlags)(compile_options)), ((GRegexMatchFlags)(match_options))), Glib::OWNERSHIP_DEEP); -} - - -Glib::StringArrayHandle Regex::split(const Glib::ustring& string, RegexMatchFlags match_options) -{ - return Glib::StringArrayHandle(g_regex_split(gobj(), string.c_str(), ((GRegexMatchFlags)(match_options))), Glib::OWNERSHIP_DEEP); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::StringArrayHandle Regex::split(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options, int max_tokens) const -#else -Glib::StringArrayHandle Regex::split(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options, int max_tokens, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::StringArrayHandle retvalue = Glib::StringArrayHandle(g_regex_split_full(const_cast(gobj()), string, string_len, start_position, ((GRegexMatchFlags)(match_options)), max_tokens, &(gerror)), Glib::OWNERSHIP_DEEP); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace(const gchar* string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options) -#else -Glib::ustring Regex::replace(const gchar* string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace(gobj(), string, string_len, start_position, replacement.c_str(), ((GRegexMatchFlags)(match_options)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace_literal(const gchar * string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options) -#else -Glib::ustring Regex::replace_literal(const gchar * string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace_literal(gobj(), string, string_len, start_position, replacement.c_str(), ((GRegexMatchFlags)(match_options)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace_eval(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data) -#else -Glib::ustring Regex::replace_eval(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace_eval(gobj(), string.c_str(), string_len, start_position, ((GRegexMatchFlags)(match_options)), eval, user_data, &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; - -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::check_replacement(const Glib::ustring& replacement, gboolean* has_references) -#else -bool Regex::check_replacement(const Glib::ustring& replacement, gboolean* has_references, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_check_replacement(replacement.c_str(), has_references, &(gerror)); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -} // namespace Glib - - diff --git a/libs/glibmm2/glib/glibmm/regex.h b/libs/glibmm2/glib/glibmm/regex.h deleted file mode 100644 index 334819d74f..0000000000 --- a/libs/glibmm2/glib/glibmm/regex.h +++ /dev/null @@ -1,671 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_REGEX_H -#define _GLIBMM_REGEX_H - - -/* Copyright (C) 2007 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GRegex GRegex; -#endif - -namespace Glib -{ - -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %RegexCompileFlags operator|(RegexCompileFlags, RegexCompileFlags)
- * %RegexCompileFlags operator&(RegexCompileFlags, RegexCompileFlags)
- * %RegexCompileFlags operator^(RegexCompileFlags, RegexCompileFlags)
- * %RegexCompileFlags operator~(RegexCompileFlags)
- * %RegexCompileFlags& operator|=(RegexCompileFlags&, RegexCompileFlags)
- * %RegexCompileFlags& operator&=(RegexCompileFlags&, RegexCompileFlags)
- * %RegexCompileFlags& operator^=(RegexCompileFlags&, RegexCompileFlags)
- */ -enum RegexCompileFlags -{ - REGEX_CASELESS = 1 << 0, - REGEX_MULTILINE = 1 << 1, - REGEX_DOTALL = 1 << 2, - REGEX_EXTENDED = 1 << 3, - REGEX_ANCHORED = 1 << 4, - REGEX_DOLLAR_ENDONLY = 1 << 5, - REGEX_UNGREEDY = 1 << 9, - REGEX_RAW = 1 << 11, - REGEX_NO_AUTO_CAPTURE = 1 << 12, - REGEX_OPTIMIZE = 1 << 13, - REGEX_DUPNAMES = 1 << 19, - REGEX_NEWLINE_CR = 1 << 20, - REGEX_NEWLINE_LF = 1 << 21, - REGEX_NEWLINE_CRLF = 0x100000 -}; - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags operator|(RegexCompileFlags lhs, RegexCompileFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags operator&(RegexCompileFlags lhs, RegexCompileFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags operator^(RegexCompileFlags lhs, RegexCompileFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags operator~(RegexCompileFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags& operator|=(RegexCompileFlags& lhs, RegexCompileFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags& operator&=(RegexCompileFlags& lhs, RegexCompileFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline RegexCompileFlags& operator^=(RegexCompileFlags& lhs, RegexCompileFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %RegexMatchFlags operator|(RegexMatchFlags, RegexMatchFlags)
- * %RegexMatchFlags operator&(RegexMatchFlags, RegexMatchFlags)
- * %RegexMatchFlags operator^(RegexMatchFlags, RegexMatchFlags)
- * %RegexMatchFlags operator~(RegexMatchFlags)
- * %RegexMatchFlags& operator|=(RegexMatchFlags&, RegexMatchFlags)
- * %RegexMatchFlags& operator&=(RegexMatchFlags&, RegexMatchFlags)
- * %RegexMatchFlags& operator^=(RegexMatchFlags&, RegexMatchFlags)
- */ -enum RegexMatchFlags -{ - REGEX_MATCH_ANCHORED = 1 << 4, - REGEX_MATCH_NOTBOL = 1 << 7, - REGEX_MATCH_NOTEOL = 1 << 8, - REGEX_MATCH_NOTEMPTY = 1 << 10, - REGEX_MATCH_PARTIAL = 1 << 15, - REGEX_MATCH_NEWLINE_CR = 1 << 20, - REGEX_MATCH_NEWLINE_LF = 1 << 21, - REGEX_MATCH_NEWLINE_CRLF = 0x100000, - REGEX_MATCH_NEWLINE_ANY = 1 << 22 -}; - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags operator|(RegexMatchFlags lhs, RegexMatchFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags operator&(RegexMatchFlags lhs, RegexMatchFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags operator^(RegexMatchFlags lhs, RegexMatchFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags operator~(RegexMatchFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags& operator|=(RegexMatchFlags& lhs, RegexMatchFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags& operator&=(RegexMatchFlags& lhs, RegexMatchFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline RegexMatchFlags& operator^=(RegexMatchFlags& lhs, RegexMatchFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** Exception class for Regex - */ -class RegexError : public Glib::Error -{ -public: - enum Code - { - COMPILE, - OPTIMIZE, - REPLACE, - MATCH - }; - - RegexError(Code error_code, const Glib::ustring& error_message); - explicit RegexError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** Perl-compatible regular expressions - matches strings against regular expressions. - * - * The Glib::Regex functions implement regular expression pattern matching using - * syntax and semantics similar to Perl regular expression. - * - * Some functions accept a start_position argument, setting it differs from just - * passing over a shortened string and setting REGEX_MATCH_NOTBOL in the case - * of a pattern that begins with any kind of lookbehind assertion. For example, - * consider the pattern "\Biss\B" which finds occurrences of "iss" in the middle - * of words. ("\B" matches only if the current position in the subject is not a - * word boundary.) When applied to the string "Mississipi" from the fourth byte, - * namely "issipi", it does not match, because "\B" is always false at the - * start of the subject, which is deemed to be a word boundary. However, if - * the entire string is passed , but with start_position set to 4, it finds the - * second occurrence of "iss" because it is able to look behind the starting point - * to discover that it is preceded by a letter. - * - * Note that, unless you set the REGEX_RAW flag, all the strings passed to these - * functions must be encoded in UTF-8. The lengths and the positions inside the - * strings are in bytes and not in characters, so, for instance, - * "\xc3\xa0" (i.e. "à") is two bytes long but it is treated as a single - * character. If you set REGEX_RAW the strings can be non-valid UTF-8 strings - * and a byte is treated as a character, so "\xc3\xa0" is two bytes and - * two characters long. - * - * When matching a pattern, "\n" matches only against a "\n" character in the - * string, and "\r" matches only a "\r" character. To match any newline sequence - * use "\R". This particular group matches either the two-character sequence - * CR + LF ("\r\n"), or one of the single characters LF (linefeed, U+000A, "\n"), - * VT (vertical tab, U+000B, "\v"), FF (formfeed, U+000C, "\f"), CR (carriage - * return, U+000D, "\r"), NEL (next line, U+0085), LS (line separator, U+2028), - * or PS (paragraph separator, U+2029). - * - * The behaviour of the dot, circumflex, and dollar metacharacters are affected - * by newline characters, the default is to recognize any newline character (the - * same characters recognized by "\R"). This can be changed with REGEX_NEWLINE_CR, - * REGEX_NEWLINE_LF and REGEX_NEWLINE_CRLF compile options, and with - * REGEX_MATCH_NEWLINE_ANY, REGEX_MATCH_NEWLINE_CR, REGEX_MATCH_NEWLINE_LF - * and REGEX_MATCH_NEWLINE_CRLF match options. These settings are also - * relevant when compiling a pattern if REGEX_EXTENDED is set, and an unescaped - * "#" outside a character class is encountered. This indicates a comment that - * lasts until after the next newline. - * - * Creating and manipulating the same Glib::Regex class from different threads is - * not a problem as Glib::Regex does not modify its internal state between creation and - * destruction, on the other hand Glib::MatchInfo is not threadsafe. - * - * The regular expressions low level functionalities are obtained through the - * excellent PCRE library written by Philip Hazel. - * - * @newin2p14 - */ -class Regex -{ - public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef Regex CppObjectType; - typedef GRegex BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - - // For use with Glib::RefPtr<> only. - void reference() const; - void unreference() const; - - ///Provides access to the underlying C instance. - GRegex* gobj(); - - ///Provides access to the underlying C instance. - const GRegex* gobj() const; - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - GRegex* gobj_copy() const; - -protected: - // Do not derive this. Glib::Regex can neither be constructed nor deleted. - Regex(); - void operator delete(void*, size_t); - -private: - // noncopyable - Regex(const Regex&); - Regex& operator=(const Regex&); - - -public: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static Glib::RefPtr create(const Glib::ustring& pattern, RegexCompileFlags compile_options = static_cast(0), RegexMatchFlags match_options = static_cast(0)); -#else - static Glib::RefPtr create(const Glib::ustring& pattern, RegexCompileFlags compile_options, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - - /** Gets the pattern string associated with @a regex, i.e.\ a copy of - * the string passed to g_regex_new(). - * @return The pattern of @a regex - * - * @newin2p14. - */ - Glib::ustring get_pattern() const; - - /** Returns: the number of the highest back reference - * @return The number of the highest back reference - * - * @newin2p14. - */ - int get_max_backref() const; - - /** Returns: the number of capturing subpatterns - * @return The number of capturing subpatterns - * - * @newin2p14. - */ - int get_capture_count() const; - - /** Retrieves the number of the subexpression named @a name. - * @param name Name of the subexpression. - * @return The number of the subexpression or -1 if @a name - * does not exists - * - * @newin2p14. - */ - int get_string_number(const Glib::ustring& name) const; - - static Glib::ustring escape_string(const Glib::ustring& string); - - - /** Scans for a match in @a string for @a pattern. - * - * This function is equivalent to g_regex_match() but it does not - * require to compile the pattern with g_regex_new(), avoiding some - * lines of code when you need just to do a match without extracting - * substrings, capture counts, and so on. - * - * If this function is to be called on the same @a pattern more than - * once, it's more efficient to compile the pattern once with - * g_regex_new() and then use g_regex_match(). - * @param pattern The regular expression. - * @param string The string to scan for matches. - * @param compile_options Compile options for the regular expression. - * @param match_options Match options. - * @return true is the string matched, false otherwise - * - * @newin2p14. - */ - static bool match_simple(const Glib::ustring& pattern, const Glib::ustring& string, RegexCompileFlags compile_options = static_cast(0), RegexMatchFlags match_options = static_cast(0)); - - //TODO: _WRAP_METHOD(bool match(const Glib::ustring& string, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo **match_info = 0), g_regex_match) - bool match(const Glib::ustring& string, RegexMatchFlags match_options = static_cast(0)); - - //TODO: Wrap GMatchInfo as an iterator: - //_WRAP_METHOD(bool match_full(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo** match_info = 0), g_regex_match_full, errthrow) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options); -#else - bool match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options); -#else - bool match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - //TODO: _WRAP_METHOD(bool match_all(const Glib::ustring& string, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo ** match_info = 0), g_regex_match_all) - bool match_all(const Glib::ustring& string, RegexMatchFlags match_options = static_cast(0)); - - //TODO: _WRAP_METHOD(bool match_all_full(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo** match_info = 0), g_regex_match_all_full, errthrow) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options); -#else - bool match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options); -#else - bool match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - - /** Breaks the string on the pattern, and returns an array of - * the tokens. If the pattern contains capturing parentheses, - * then the text for each of the substrings will also be returned. - * If the pattern does not match anywhere in the string, then the - * whole string is returned as the first token. - * - * This function is equivalent to g_regex_split() but it does - * not require to compile the pattern with g_regex_new(), avoiding - * some lines of code when you need just to do a split without - * extracting substrings, capture counts, and so on. - * - * If this function is to be called on the same @a pattern more than - * once, it's more efficient to compile the pattern once with - * g_regex_new() and then use g_regex_split(). - * - * As a special case, the result of splitting the empty string "" - * is an empty vector, not a vector containing a single string. - * The reason for this special case is that being able to represent - * a empty vector is typically more useful than consistent handling - * of empty elements. If you do need to represent empty elements, - * you'll need to check for the empty string before calling this - * function. - * - * A pattern that can match empty strings splits @a string into - * separate characters wherever it matches the empty string between - * characters. For example splitting "ab c" using as a separator - * "\s*", you will get "a", "b" and "c". - * @param pattern The regular expression. - * @param string The string to scan for matches. - * @param compile_options Compile options for the regular expression. - * @param match_options Match options. - * @return A 0-terminated gchar ** array. Free it using g_strfreev() - * - * @newin2p14. - */ - static Glib::StringArrayHandle split_simple(const Glib::ustring& pattern, const Glib::ustring& string, RegexCompileFlags compile_options = static_cast(0), RegexMatchFlags match_options = static_cast(0)); - - /** Breaks the string on the pattern, and returns an array of the tokens. - * If the pattern contains capturing parentheses, then the text for each - * of the substrings will also be returned. If the pattern does not match - * anywhere in the string, then the whole string is returned as the first - * token. - * - * As a special case, the result of splitting the empty string "" is an - * empty vector, not a vector containing a single string. The reason for - * this special case is that being able to represent a empty vector is - * typically more useful than consistent handling of empty elements. If - * you do need to represent empty elements, you'll need to check for the - * empty string before calling this function. - * - * A pattern that can match empty strings splits @a string into separate - * characters wherever it matches the empty string between characters. - * For example splitting "ab c" using as a separator "\s*", you will get - * "a", "b" and "c". - * @param string The string to split with the pattern. - * @param match_options Match time option flags. - * @return A 0-terminated gchar ** array. Free it using g_strfreev() - * - * @newin2p14. - */ - Glib::StringArrayHandle split(const Glib::ustring& string, RegexMatchFlags match_options = static_cast(0)); - - - /** Breaks the string on the pattern, and returns an array of the tokens. - * If the pattern contains capturing parentheses, then the text for each - * of the substrings will also be returned. If the pattern does not match - * anywhere in the string, then the whole string is returned as the first - * token. - * - * As a special case, the result of splitting the empty string "" is an - * empty vector, not a vector containing a single string. The reason for - * this special case is that being able to represent a empty vector is - * typically more useful than consistent handling of empty elements. If - * you do need to represent empty elements, you'll need to check for the - * empty string before calling this function. - * - * A pattern that can match empty strings splits @a string into separate - * characters wherever it matches the empty string between characters. - * For example splitting "ab c" using as a separator "\s*", you will get - * "a", "b" and "c". - * - * Setting @a start_position differs from just passing over a shortened - * string and setting REGEX_MATCH_NOTBOL in the case of a pattern - * that begins with any kind of lookbehind assertion, such as "\b". - * @param string The string to split with the pattern. - * @param string_len The length of @a string, or -1 if @a string is nul-terminated. - * @param start_position Starting index of the string to match. - * @param match_options Match time option flags. - * @param max_tokens The maximum number of tokens to split @a string into. - * If this is less than 1, the string is split completely. - * @return A 0-terminated gchar ** array. Free it using g_strfreev() - * - * @newin2p14. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::StringArrayHandle split(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options = static_cast(0), int max_tokens = 0) const; -#else - Glib::StringArrayHandle split(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options, int max_tokens, std::auto_ptr& error) const; -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::StringArrayHandle split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens) const; -#else - Glib::StringArrayHandle split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens, std::auto_ptr& error) const; -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - - /** Replaces all occurances of the pattern in @a regex with the - * replacement text. Backreferences of the form '\number' or - * '\g<number>' in the replacement text are interpolated by the - * number-th captured subexpression of the match, '\g<name>' refers - * to the captured subexpression with the given name. '\0' refers to the - * complete match, but '\0' followed by a number is the octal representation - * of a character. To include a literal '\' in the replacement, write '\\'. - * There are also escapes that changes the case of the following text: - * - * <variablelist> - * <varlistentry><term>\l</term> - * <listitem> - * Convert to lower case the next character - * </listitem> - * </varlistentry> - * <varlistentry><term>\u</term> - * <listitem> - * Convert to upper case the next character - * </listitem> - * </varlistentry> - * <varlistentry><term>\L</term> - * <listitem> - * Convert to lower case till \E - * </listitem> - * </varlistentry> - * <varlistentry><term>\U</term> - * <listitem> - * Convert to upper case till \E - * </listitem> - * </varlistentry> - * <varlistentry><term>\E</term> - * <listitem> - * End case modification - * </listitem> - * </varlistentry> - * </variablelist> - * - * If you do not need to use backreferences use g_regex_replace_literal(). - * - * The @a replacement string must be UTF-8 encoded even if REGEX_RAW was - * passed to g_regex_new(). If you want to use not UTF-8 encoded stings - * you can use g_regex_replace_literal(). - * - * Setting @a start_position differs from just passing over a shortened - * string and setting REGEX_MATCH_NOTBOL in the case of a pattern that - * begins with any kind of lookbehind assertion, such as "\b". - * @param string The string to perform matches against. - * @param string_len The length of @a string, or -1 if @a string is nul-terminated. - * @param start_position Starting index of the string to match. - * @param replacement Text to replace each match with. - * @param match_options Options for the match. - * @return A newly allocated string containing the replacements - * - * @newin2p14. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace(const gchar* string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options = static_cast(0)); -#else - Glib::ustring replace(const gchar* string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options); -#else - Glib::ustring replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - - /** Replaces all occurances of the pattern in @a regex with the - * replacement text. @a replacement is replaced literally, to - * include backreferences use g_regex_replace(). - * - * Setting @a start_position differs from just passing over a - * shortened string and setting REGEX_MATCH_NOTBOL in the - * case of a pattern that begins with any kind of lookbehind - * assertion, such as "\b". - * @param string The string to perform matches against. - * @param string_len The length of @a string, or -1 if @a string is nul-terminated. - * @param start_position Starting index of the string to match. - * @param replacement Text to replace each match with. - * @param match_options Options for the match. - * @return A newly allocated string containing the replacements - * - * @newin2p14. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace_literal(const gchar *string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options = static_cast(0)); -#else - Glib::ustring replace_literal(const gchar * string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options); -#else - Glib::ustring replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - - /** Replaces occurances of the pattern in regex with the output of - * @a eval for that occurance. - * - * Setting @a start_position differs from just passing over a shortened - * string and setting REGEX_MATCH_NOTBOL in the case of a pattern - * that begins with any kind of lookbehind assertion, such as "\b". - * @param string String to perform matches against. - * @param string_len The length of @a string, or -1 if @a string is nul-terminated. - * @param start_position Starting index of the string to match. - * @param match_options Options for the match. - * @param eval A function to call for each match. - * @param user_data User data to pass to the function. - * @return A newly allocated string containing the replacements - * - * @newin2p14. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace_eval(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data); -#else - Glib::ustring replace_eval(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - - /** Checks whether @a replacement is a valid replacement string - * (see g_regex_replace()), i.e.\ that all escape sequences in - * it are valid. - * - * If @a has_references is not 0 then @a replacement is checked - * for pattern references. For instance, replacement text 'foo\\n' - * does not contain references and may be evaluated without information - * about actual match, but '\0\1' (whole match followed by first - * subpattern) requires valid MatchInfo object. - * @param replacement The replacement string. - * @param has_references Location to store information about - * references in @a replacement or 0. - * @return Whether @a replacement is a valid replacement string - * - * @newin2p14. - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static bool check_replacement(const Glib::ustring& replacement, gboolean* has_references); -#else - static bool check_replacement(const Glib::ustring& replacement, gboolean* has_references, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - -/* Match info */ -/* -GRegex *g_match_info_get_regex (const GMatchInfo *match_info); -const gchar *g_match_info_get_string (const GMatchInfo *match_info); - -void g_match_info_free (GMatchInfo *match_info); - _WRAP_METHOD(bool g_match_info_next (GMatchInfo *match_info, - GError **error); - _WRAP_METHOD(bool g_match_info_matches (const GMatchInfo *match_info); - _WRAP_METHOD(int g_match_info_get_match_count (const GMatchInfo *match_info); - _WRAP_METHOD(bool g_match_info_is_partial_match (const GMatchInfo *match_info); -Glib::ustring g_match_info_expand_references(const GMatchInfo *match_info, - Glib::ustring& string_to_expand, - GError **error); -Glib::ustring g_match_info_fetch (const GMatchInfo *match_info, - int match_num); - _WRAP_METHOD(bool g_match_info_fetch_pos (const GMatchInfo *match_info, - int match_num, - int *start_pos, - int *end_pos); -Glib::ustring g_match_info_fetch_named (const GMatchInfo *match_info, - Glib::ustring& name); - _WRAP_METHOD(bool g_match_info_fetch_named_pos (const GMatchInfo *match_info, - Glib::ustring& name, - int *start_pos, - int *end_pos); -gchar **g_match_info_fetch_all (const GMatchInfo *match_info); -*/ - - -}; - -} // namespace Glib - - -namespace Glib -{ - - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates Glib::Regex - */ - Glib::RefPtr wrap(GRegex* object, bool take_copy = false); - -} // namespace Glib - - -#endif /* _GLIBMM_REGEX_H */ - diff --git a/libs/glibmm2/glib/glibmm/sarray.h b/libs/glibmm2/glib/glibmm/sarray.h deleted file mode 100644 index c9720b5028..0000000000 --- a/libs/glibmm2/glib/glibmm/sarray.h +++ /dev/null @@ -1,108 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_SARRAY_H -#define _GLIBMM_SARRAY_H - -/* $Id: sarray.h 2 2003-01-07 16:59:16Z murrayc $ */ - -/* array.h - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -namespace Glib { typedef Glib::ArrayHandle SArray; } - -#if 0 - -namespace Glib -{ - -template <> -inline void cpp_type_to_c_type(const ustring& cpp_value, type_constpch& ref_c_value) -{ - ref_c_value = cpp_value.c_str(); -} - -template <> -inline void cpp_type_to_c_type(const std::string& cpp_value, type_constpch& ref_c_value) -{ - ref_c_value = cpp_value.c_str(); -} - -typedef Array SArray; - -/* -class SArray: public Array -{ -public: - typedef const char* T_c; - typedef Array type_base; - - SArray(const SArray& src); - - // copy other containers - template - SArray(const T_container& t) - { - owned_ = Array_Helpers::Traits::get_owned(); - size_ = Array_Helpers::Traits::get_size(t); - pData_ = Array_Helpers::Traits::get_data(t); - } - - SArray(const T_c* pValues, size_type size); - - // copy a sequence - template - SArray(Iterator b, Iterator e); - - operator std::vector() const; - operator std::vector() const; - operator std::vector() const; - - operator std::deque() const; - operator std::deque() const; - operator std::deque() const; - - operator std::list() const; - operator std::list() const; - operator std::list() const; -}; - - -//template -//SArray::SArray(const T_container& t) -//: type_base(t) -//{ -//} - - -template -SArray::SArray(Iterator b, Iterator e) -: type_base(b, e) -{ -} -*/ - -} // namespace Glib - -#endif /* #if 0 */ - -#endif // _GLIBMM_SARRAY_H - diff --git a/libs/glibmm2/glib/glibmm/shell.cc b/libs/glibmm2/glib/glibmm/shell.cc deleted file mode 100644 index e20304aa0b..0000000000 --- a/libs/glibmm2/glib/glibmm/shell.cc +++ /dev/null @@ -1,102 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: shell.ccg,v 1.1 2003/01/07 16:58:38 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -/**** shell utility functions **********************************************/ - -Glib::ArrayHandle shell_parse_argv(const std::string& command_line) -{ - char** argv = 0; - int argc = 0; - GError* error = 0; - - g_shell_parse_argv(command_line.c_str(), &argc, &argv, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::ArrayHandle(argv, argc, Glib::OWNERSHIP_DEEP); -} - -std::string shell_quote(const std::string& unquoted_string) -{ - const ScopedPtr buf (g_shell_quote(unquoted_string.c_str())); - return std::string(buf.get()); -} - -std::string shell_unquote(const std::string& quoted_string) -{ - GError* error = 0; - char *const buf = g_shell_unquote(quoted_string.c_str(), &error); - - if(error) - Glib::Error::throw_exception(error); - - return std::string(ScopedPtr(buf).get()); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::ShellError::ShellError(Glib::ShellError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_SHELL_ERROR, error_code, error_message) -{} - -Glib::ShellError::ShellError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::ShellError::Code Glib::ShellError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::ShellError::throw_func(GError* gobject) -{ - throw Glib::ShellError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::ShellError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::ShellError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/shell.h b/libs/glibmm2/glib/glibmm/shell.h deleted file mode 100644 index 2a87bfb2ae..0000000000 --- a/libs/glibmm2/glib/glibmm/shell.h +++ /dev/null @@ -1,130 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_SHELL_H -#define _GLIBMM_SHELL_H - - -/* $Id: shell.hg,v 1.2 2003/01/22 21:38:35 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -#include -#include - -#include -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -/** @defgroup ShellUtils Shell-related Utilities - * Shell-like command line handling. - * @{ - */ - -/** Exception class for shell utility errors. - */ -class ShellError : public Glib::Error -{ -public: - enum Code - { - BAD_QUOTING, - EMPTY_STRING, - FAILED - }; - - ShellError(Code error_code, const Glib::ustring& error_message); - explicit ShellError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** Parses a command line into an argument vector, in much the same way the - * shell would, but without many of the expansions the shell would perform - * (variable expansion, globs, operators, filename expansion, etc.\ are not - * supported). The results are defined to be the same as those you would - * get from a UNIX98 /bin/sh, as long as the input contains none of the - * unsupported shell expansions. If the input does contain such expansions, - * they are passed through literally. - * @param command_line Command line to parse. - * @return Array of args (The generic ArrayHandle will be implicitly - * converted to any STL compatible container type). - * @throw Glib::ShellError - */ -Glib::ArrayHandle shell_parse_argv(const std::string& command_line); - -/** Quotes a string so that the shell (/bin/sh) will interpret the quoted - * string to mean @a unquoted_string. If you pass a filename to the shell, - * for example, you should first quote it with this function. The quoting - * style used is undefined (single or double quotes may be used). - * @param unquoted_string A literal string. - * @return A quoted string. - */ -std::string shell_quote(const std::string& unquoted_string); - -/** Unquotes a string as the shell (/bin/sh) would. Only handles quotes; if - * a string contains file globs, arithmetic operators, variables, backticks, - * redirections, or other special-to-the-shell features, the result will be - * different from the result a real shell would produce (the variables, - * backticks, etc. will be passed through literally instead of being expanded). - * This function is guaranteed to succeed if applied to the result of - * shell_quote(). If it fails, it throws a Glib::ShellError exception. The - * @a quoted_string need not actually contain quoted or escaped text; - * shell_unquote() simply goes through the string and unquotes/unescapes - * anything that the shell would. Both single and double quotes are handled, - * as are escapes including escaped newlines. - * - * Shell quoting rules are a bit strange. Single quotes preserve the literal - * string exactly. Escape sequences are not allowed; not even \\' -- - * if you want a ' in the quoted text, you have to do something like - * 'foo'\\''bar'. Double quotes allow $, `, - * ", \\, and newline to be escaped with backslash. - * Otherwise double quotes preserve things literally. - * - * @param quoted_string Shell-quoted string. - * @return An unquoted string. - * @throw Glib::ShellError - */ -std::string shell_unquote(const std::string& quoted_string); - -/** @} group ShellUtils */ - -} // namespace Glib - - -#endif /* _GLIBMM_SHELL_H */ - diff --git a/libs/glibmm2/glib/glibmm/signalproxy.cc b/libs/glibmm2/glib/glibmm/signalproxy.cc deleted file mode 100644 index 49e35c550e..0000000000 --- a/libs/glibmm2/glib/glibmm/signalproxy.cc +++ /dev/null @@ -1,109 +0,0 @@ -// -*- c++ -*- - -/* $Id: signalproxy.cc 291 2006-05-12 08:08:45Z murrayc $ */ - -/* signalproxy.cc - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace Glib -{ - -// SignalProxyBase implementation: - -SignalProxyBase::SignalProxyBase(Glib::ObjectBase* obj) -: - obj_ (obj) -{} - - -// SignalProxyNormal implementation: - -SignalProxyNormal::SignalProxyNormal(Glib::ObjectBase* obj, const SignalProxyInfo* info) -: - SignalProxyBase (obj), - info_ (info) -{} - -SignalProxyNormal::~SignalProxyNormal() -{} - -sigc::slot_base& -SignalProxyNormal::connect_(const sigc::slot_base& slot, bool after) -{ - return connect_impl_(info_->callback, slot, after); -} - -sigc::slot_base& -SignalProxyNormal::connect_notify_(const sigc::slot_base& slot, bool after) -{ - return connect_impl_(info_->notify_callback, slot, after); -} - -sigc::slot_base& -SignalProxyNormal::connect_impl_(GCallback callback, const sigc::slot_base& slot, bool after) -{ - // create a proxy to hold our connection info - SignalProxyConnectionNode *const pConnectionNode = - new SignalProxyConnectionNode(slot, obj_->gobj()); - - // connect it to glib - // pConnectionNode will be passed in the data argument to the callback. - pConnectionNode->connection_id_ = g_signal_connect_data( - obj_->gobj(), info_->signal_name, callback, pConnectionNode, - &SignalProxyConnectionNode::destroy_notify_handler, - static_cast((after) ? G_CONNECT_AFTER : 0)); - - return pConnectionNode->slot_; -} - -void SignalProxyNormal::emission_stop() -{ - g_signal_stop_emission_by_name(obj_->gobj(), info_->signal_name); -} - -// static -void SignalProxyNormal::slot0_void_callback(GObject* self, void* data) -{ - // Do not try to call a signal on a disassociated wrapper. - if(Glib::ObjectBase::_get_current_wrapper(self)) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - if(sigc::slot_base *const slot = data_to_slot(data)) - (*static_cast*>(slot))(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/signalproxy.h b/libs/glibmm2/glib/glibmm/signalproxy.h deleted file mode 100644 index 43c8fc3fb8..0000000000 --- a/libs/glibmm2/glib/glibmm/signalproxy.h +++ /dev/null @@ -1,394 +0,0 @@ -// -*- c++ -*- -/* This is a generated file, do not edit. Generated from signalproxy.h.m4 */ - -#ifndef _GLIBMM_SIGNALPROXY_H -#define _GLIBMM_SIGNALPROXY_H - -extern "C" -{ - typedef void (*GCallback) (void); - typedef struct _GObject GObject; -} - -#include -#include - - -namespace Glib -{ - -// Forward declarations -class ObjectBase; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -struct SignalProxyInfo -{ - const char* signal_name; - GCallback callback; - GCallback notify_callback; -}; - -#endif //DOXYGEN_SHOULD_SKIP_THIS - -// This base class is used by SignalProxyNormal and SignalProxyProperty. -class SignalProxyBase -{ -public: - SignalProxyBase(Glib::ObjectBase* obj); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static inline sigc::slot_base* data_to_slot(void* data) - { - SignalProxyConnectionNode *const pConnectionNode = static_cast(data); - - // Return 0 if the connection is blocked. - return (!pConnectionNode->slot_.blocked()) ? &pConnectionNode->slot_ : 0; - } -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -protected: - ObjectBase* obj_; - -private: - SignalProxyBase& operator=(const SignalProxyBase&); // not implemented -}; - - -// shared portion of a Signal -/** The SignalProxy provides an API similar to sigc::signal that can be used to - * connect sigc::slots to glib signals. - * - * This holds the name of the glib signal and the object - * which might emit it. Actually, proxies are controlled by - * the template derivatives, which serve as gatekeepers for the - * types allowed on a particular signal. - * - */ -class SignalProxyNormal : public SignalProxyBase -{ -public: - ~SignalProxyNormal(); - - /// stops the current signal emmision (not in libsigc++) - void emission_stop(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // This callback for SignalProxy0 - // is defined here to avoid code duplication. - static void slot0_void_callback(GObject*, void* data); -#endif - -protected: - - /** Create a proxy for a signal that can be emitted by @a obj. - * @param obj The object that can emit the signal. - * @param info Information about the signal, including its name, and the C callbacks that should be called by glib. - */ - SignalProxyNormal(Glib::ObjectBase* obj, const SignalProxyInfo* info); - - /** Connects a signal to a generic signal handler. This is called by connect() in derived SignalProxy classes. - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::slot_base& connect_(const sigc::slot_base& slot, bool after); - - /** Connects a signal to a signal handler without a return value. - * This is called by connect() in derived SignalProxy classes. - * - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::slot_base& connect_notify_(const sigc::slot_base& slot, bool after); - -private: - const SignalProxyInfo* info_; - - //TODO: We could maybe replace both connect_ and connect_notify_ with this in future, because they don't do anything extra. - /** This is called by connect_ and connect_impl_. - */ - sigc::slot_base& connect_impl_(GCallback callback, const sigc::slot_base& slot, bool after); - - // no copy assignment - SignalProxyNormal& operator=(const SignalProxyNormal&); -}; - - - - - -/**** Glib::SignalProxy0 ***************************************************/ - -/** Proxy for signals with 0 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy0 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy0(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -/**** Glib::SignalProxy1 ***************************************************/ - -/** Proxy for signals with 1 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy1 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy1(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -/**** Glib::SignalProxy2 ***************************************************/ - -/** Proxy for signals with 2 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy2 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy2(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -/**** Glib::SignalProxy3 ***************************************************/ - -/** Proxy for signals with 3 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy3 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy3(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -/**** Glib::SignalProxy4 ***************************************************/ - -/** Proxy for signals with 4 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy4 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy4(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -/**** Glib::SignalProxy5 ***************************************************/ - -/** Proxy for signals with 5 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy5 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy5(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -/**** Glib::SignalProxy6 ***************************************************/ - -/** Proxy for signals with 6 arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class SignalProxy6 : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - SignalProxy6(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; - - -} // namespace Glib - - -#endif /* _GLIBMM_SIGNALPROXY_H */ - diff --git a/libs/glibmm2/glib/glibmm/signalproxy_connectionnode.cc b/libs/glibmm2/glib/glibmm/signalproxy_connectionnode.cc deleted file mode 100644 index 9311fad3b9..0000000000 --- a/libs/glibmm2/glib/glibmm/signalproxy_connectionnode.cc +++ /dev/null @@ -1,94 +0,0 @@ -// -*- c++ -*- - -/* $Id: signalproxy_connectionnode.cc 137 2004-10-07 16:02:01Z philipl $ */ - -/* signalproxy_connectionnode.cc - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -SignalProxyConnectionNode::SignalProxyConnectionNode(const sigc::slot_base& slot, GObject* gobject) -: - connection_id_ (0), - slot_ (slot), - object_ (gobject) -{ - //The cleanup callback will be called when the connection is disconnected. - slot_.set_parent(this, &SignalProxyConnectionNode::notify /* cleanup callback */); -} - -// notify is a message coming up from the slot to be passed back to Gtk+ -// disconnect is a message coming up from the Gtk+ to be passed down to SigC++ -//static -void* SignalProxyConnectionNode::notify(void* data) -{ - // notification from libsigc++. - SignalProxyConnectionNode* conn = static_cast(data); - - // If there is no object, this call was triggered from destroy_notify_handler(), - // because we set conn->object to 0 there: - if(conn && conn->object_) - { - GObject* o = conn->object_; - conn->object_ = 0; - - if(g_signal_handler_is_connected(o, conn->connection_id_)) //We check first, because during destruction, GTK+ sometimes seems to disconnect them for us, before we expect it to. See bug #87912 - { - // Disconnecting triggers execution of destroy_notify_handler(), eiter immediately or later: - // When the signal handler is currently running. (for instance, if the callback disconnects its own connection) - // In that case, destroy_notify_handler() will be called after this whole function has returned. - // Anyway. destroy_notify_handler() will always be called, so we leave that to do the deletion. - - - //Forget the connection: - gulong connection_id = conn->connection_id_; - conn->connection_id_ = 0; - - g_signal_handler_disconnect(o, connection_id); - } - } - - return 0; // apparently unused in libsigc++ -} - -//static -void SignalProxyConnectionNode::destroy_notify_handler(gpointer data, GClosure*) -{ - //glib calls this when it has finished with a glib signal connection, - //either when the emitting object dies, or when the connection has been disconnected. - - // notification from gtk+. - SignalProxyConnectionNode* conn = static_cast(data); - - if(conn) - { - // the object has already lost track of this object. - conn->object_ = 0; - - delete conn; // if there are connection objects referring to slot_ they are notified during destruction of slot_ - } -} - -} /* namespace Glib */ - diff --git a/libs/glibmm2/glib/glibmm/signalproxy_connectionnode.h b/libs/glibmm2/glib/glibmm/signalproxy_connectionnode.h deleted file mode 100644 index 113852c4f4..0000000000 --- a/libs/glibmm2/glib/glibmm/signalproxy_connectionnode.h +++ /dev/null @@ -1,77 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_SIGNALPROXY_CONNECTIONNODE_H -#define _GLIBMM_SIGNALPROXY_CONNECTIONNODE_H - -/* $Id: signalproxy_connectionnode.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* signalproxy_connectionnode.h - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GObject GObject; -typedef struct _GClosure GClosure; -#endif //DOXYGEN_SHOULD_SKIP_THIS - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/** SignalProxyConnectionNode is a connection node for use with SignalProxy. - * It lives between the layer of Gtk+ and libsigc++. - * It is very much an internal class. - */ -class SignalProxyConnectionNode -{ -public: - - /** @param slot The signal handler for the glib signal. - * @param gobject The GObject that might emit this glib signal - */ - SignalProxyConnectionNode(const sigc::slot_base& slot, GObject* gobject); - - /** Callback that is executed when the slot becomes invalid. - * This callback is registered in the slot. - * @param data The SignalProxyConnectionNode object (@p this). - */ - static void* notify(void* data); - - /** Callback that is executed when the glib closure is destroyed. - * @param data The SignalProxyConnectionNode object (@p this). - * @param closure The glib closure object. - */ - static void destroy_notify_handler(gpointer data, GClosure* closure); - - gulong connection_id_; - sigc::slot_base slot_; - -protected: - GObject* object_; -}; - -#endif //DOXYGEN_SHOULD_SKIP_THIS - -} /* namespace Glib */ - - -#endif /* _GLIBMM_SIGNALPROXY_CONNECTIONNODE_H */ - diff --git a/libs/glibmm2/glib/glibmm/slisthandle.h b/libs/glibmm2/glib/glibmm/slisthandle.h deleted file mode 100644 index c4132e9bd5..0000000000 --- a/libs/glibmm2/glib/glibmm/slisthandle.h +++ /dev/null @@ -1,405 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_SLISTHANDLE_H -#define _GLIBMM_SLISTHANDLE_H - -/* $Id: slisthandle.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -namespace Container_Helpers -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/* Create and fill a GSList as efficient as possible. - * This requires bidirectional iterators. - */ -template -GSList* create_slist(Bi pbegin, Bi pend, Tr) -{ - GSList* head = 0; - - while(pend != pbegin) - { - // Use & to force a warning if the iterator returns a temporary object. - const void *const item = Tr::to_c_type(*&*--pend); - head = g_slist_prepend(head, const_cast(item)); - } - - return head; -} - -/* Create a GSList from a 0-terminated input sequence. - * Build it in reverse order and reverse the whole list afterwards, - * because appending to the list would be horribly inefficient. - */ -template -GSList* create_slist(For pbegin, Tr) -{ - GSList* head = 0; - - while(*pbegin) - { - // Use & to force a warning if the iterator returns a temporary object. - const void *const item = Tr::to_c_type(*&*pbegin); - head = g_slist_prepend(head, const_cast(item)); - ++pbegin; - } - - return g_slist_reverse(head); -} - - -/* Convert from any container that supports bidirectional iterators. - */ -template -struct SListSourceTraits -{ - static GSList* get_data(const Cont& cont) - { return Glib::Container_Helpers::create_slist(cont.begin(), cont.end(), Tr()); } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -/* Convert from a 0-terminated array. The Cont - * argument must be a pointer to the first element. - */ -template -struct SListSourceTraits -{ - static GSList* get_data(const Cont* array) - { return (array) ? Glib::Container_Helpers::create_slist(array, Tr()) : 0; } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -template -struct SListSourceTraits : SListSourceTraits -{}; - -/* Convert from a 0-terminated array. The Cont argument must be a pointer - * to the first element. For consistency, the array must be 0-terminated, - * even though the array size is known at compile time. - */ -template -struct SListSourceTraits -{ - static GSList* get_data(const Cont* array) - { return Glib::Container_Helpers::create_slist(array, array + (N - 1), Tr()); } - - static const Glib::OwnershipType initial_ownership = Glib::OWNERSHIP_SHALLOW; -}; - -template -struct SListSourceTraits : SListSourceTraits -{}; - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** - * @ingroup ContHelpers - * If a method takes this as an argument, or has this as a return type, then you can use a standard - * container such as std::list or std::vector. - */ -template -class SListHandleIterator -{ -public: - typedef typename Tr::CppType CppType; - typedef typename Tr::CType CType; - - typedef std::forward_iterator_tag iterator_category; - typedef CppType value_type; - typedef ptrdiff_t difference_type; - typedef value_type reference; - typedef void pointer; - - explicit inline SListHandleIterator(const GSList* node); - - inline value_type operator*() const; - inline SListHandleIterator & operator++(); - inline const SListHandleIterator operator++(int); - - inline bool operator==(const SListHandleIterator& rhs) const; - inline bool operator!=(const SListHandleIterator& rhs) const; - -private: - const GSList* node_; -}; - -} // namespace Container_Helpers - - -/** - * @ingroup ContHandles - */ -template < class T, class Tr = Glib::Container_Helpers::TypeTraits > -class SListHandle -{ -public: - typedef typename Tr::CppType CppType; - typedef typename Tr::CType CType; - - typedef CppType value_type; - typedef size_t size_type; - typedef ptrdiff_t difference_type; - - typedef Glib::Container_Helpers::SListHandleIterator const_iterator; - typedef Glib::Container_Helpers::SListHandleIterator iterator; - - template inline - SListHandle(const Cont& container); - - // Take over ownership of a GSList created by GTK+ functions. - inline SListHandle(GSList* glist, Glib::OwnershipType ownership); - - // Copying clears the ownership flag of the source handle. - inline SListHandle(const SListHandle& other); - - ~SListHandle(); - - inline const_iterator begin() const; - inline const_iterator end() const; - - template inline operator std::vector() const; - template inline operator std::deque() const; - template inline operator std::list() const; - - template inline - void assign_to(Cont& container) const; - template inline - void copy(Out pdest) const; - - inline GSList* data() const; - inline size_t size() const; - inline bool empty() const; - -private: - GSList * pslist_; - mutable Glib::OwnershipType ownership_; - - // No copy assignment. - SListHandle& operator=(const SListHandle&); -}; - - -/***************************************************************************/ -/* Inline implementation */ -/***************************************************************************/ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -namespace Container_Helpers -{ - -/**** Glib::Container_Helpers::SListHandleIterator<> ***********************/ - -template inline -SListHandleIterator::SListHandleIterator(const GSList* node) -: - node_ (node) -{} - -template inline -typename SListHandleIterator::value_type SListHandleIterator::operator*() const -{ - return Tr::to_cpp_type(static_cast(node_->data)); -} - -template inline -SListHandleIterator& SListHandleIterator::operator++() -{ - node_ = node_->next; - return *this; -} - -template inline -const SListHandleIterator SListHandleIterator::operator++(int) -{ - const SListHandleIterator tmp (*this); - node_ = node_->next; - return tmp; -} - -template inline -bool SListHandleIterator::operator==(const SListHandleIterator& rhs) const -{ - return (node_ == rhs.node_); -} - -template inline -bool SListHandleIterator::operator!=(const SListHandleIterator& rhs) const -{ - return (node_ != rhs.node_); -} - -} // namespace Container_Helpers - - -/**** Glib::SListHandle<> **************************************************/ - -template - template -inline -SListHandle::SListHandle(const Cont& container) -: - pslist_ (Glib::Container_Helpers::SListSourceTraits::get_data(container)), - ownership_ (Glib::Container_Helpers::SListSourceTraits::initial_ownership) -{} - -template inline -SListHandle::SListHandle(GSList* gslist, Glib::OwnershipType ownership) -: - pslist_ (gslist), - ownership_ (ownership) -{} - -template inline -SListHandle::SListHandle(const SListHandle& other) -: - pslist_ (other.pslist_), - ownership_ (other.ownership_) -{ - other.ownership_ = Glib::OWNERSHIP_NONE; -} - -template -SListHandle::~SListHandle() -{ - if(ownership_ != Glib::OWNERSHIP_NONE) - { - if(ownership_ != Glib::OWNERSHIP_SHALLOW) - { - // Deep ownership: release each container element. - for(GSList* node = pslist_; node != 0; node = node->next) - Tr::release_c_type(static_cast(node->data)); - } - g_slist_free(pslist_); - } -} - -template inline -typename SListHandle::const_iterator SListHandle::begin() const -{ - return Glib::Container_Helpers::SListHandleIterator(pslist_); -} - -template inline -typename SListHandle::const_iterator SListHandle::end() const -{ - return Glib::Container_Helpers::SListHandleIterator(0); -} - -template - template -inline -SListHandle::operator std::vector() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::vector(this->begin(), this->end()); -#else - std::vector temp; - temp.reserve(this->size()); - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -SListHandle::operator std::deque() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::deque(this->begin(), this->end()); -#else - std::deque temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -SListHandle::operator std::list() const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - return std::list(this->begin(), this->end()); -#else - std::list temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - return temp; -#endif -} - -template - template -inline -void SListHandle::assign_to(Cont& container) const -{ -#ifdef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS - container.assign(this->begin(), this->end()); -#else - Cont temp; - Glib::Container_Helpers::fill_container(temp, this->begin(), this->end()); - container.swap(temp); -#endif -} - -template - template -inline -void SListHandle::copy(Out pdest) const -{ - std::copy(this->begin(), this->end(), pdest); -} - -template inline -GSList* SListHandle::data() const -{ - return pslist_; -} - -template inline -size_t SListHandle::size() const -{ - return g_slist_length(pslist_); -} - -template inline -bool SListHandle::empty() const -{ - return (pslist_ == 0); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - - -#endif /* _GLIBMM_SLISTHANDLE_H */ - diff --git a/libs/glibmm2/glib/glibmm/spawn.cc b/libs/glibmm2/glib/glibmm/spawn.cc deleted file mode 100644 index bae66aa0b7..0000000000 --- a/libs/glibmm2/glib/glibmm/spawn.cc +++ /dev/null @@ -1,324 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: spawn.ccg,v 1.8 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - - -namespace -{ - -extern "C" -{ - -/* Helper callback to invoke the actual sigc++ slot. - * We don't need to worry about (un)referencing, since the - * child process gets its own copy of the parent's memory anyway. - */ -static void child_setup_callback(void* user_data) -{ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - (*reinterpret_cast*>(user_data))(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -static void copy_output_buf(std::string* dest, const char* buf) -{ - if(dest) - { - if(buf) - *dest = buf; - else - dest->erase(); - } -} - -} //extern "C" - -} //anonymous namespace - - -namespace Glib -{ - -/**** process spawning functions *******************************************/ - -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid, - int* standard_input, - int* standard_output, - int* standard_error) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async_with_pipes( - working_directory.c_str(), - const_cast(argv.data()), - const_cast(envp.data()), - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - standard_input, standard_output, standard_error, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid, - int* standard_input, - int* standard_output, - int* standard_error) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async_with_pipes( - working_directory.c_str(), - const_cast(argv.data()), 0, - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - standard_input, standard_output, standard_error, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async( - working_directory.c_str(), - const_cast(argv.data()), - const_cast(envp.data()), - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async( - working_directory.c_str(), - const_cast(argv.data()), 0, - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags, - const sigc::slot& child_setup, - std::string* standard_output, - std::string* standard_error, - int* exit_status) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - - Glib::ScopedPtr buf_standard_output; - Glib::ScopedPtr buf_standard_error; - GError* error = 0; - - g_spawn_sync( - working_directory.c_str(), - const_cast(argv.data()), - const_cast(envp.data()), - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - (standard_output) ? buf_standard_output.addr() : 0, - (standard_error) ? buf_standard_error.addr() : 0, - exit_status, - &error); - - if(error) - Glib::Error::throw_exception(error); - - copy_output_buf(standard_output, buf_standard_output.get()); - copy_output_buf(standard_error, buf_standard_error.get()); -} - -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags, - const sigc::slot& child_setup, - std::string* standard_output, - std::string* standard_error, - int* exit_status) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - - Glib::ScopedPtr buf_standard_output; - Glib::ScopedPtr buf_standard_error; - GError* error = 0; - - g_spawn_sync( - working_directory.c_str(), - const_cast(argv.data()), 0, - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - (standard_output) ? buf_standard_output.addr() : 0, - (standard_error) ? buf_standard_error.addr() : 0, - exit_status, - &error); - - if(error) - Glib::Error::throw_exception(error); - - copy_output_buf(standard_output, buf_standard_output.get()); - copy_output_buf(standard_error, buf_standard_error.get()); -} - -void spawn_command_line_async(const std::string& command_line) -{ - GError* error = 0; - g_spawn_command_line_async(command_line.c_str(), &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_command_line_sync(const std::string& command_line, - std::string* standard_output, - std::string* standard_error, - int* exit_status) -{ - Glib::ScopedPtr buf_standard_output; - Glib::ScopedPtr buf_standard_error; - GError* error = 0; - - g_spawn_command_line_sync( - command_line.c_str(), - (standard_output) ? buf_standard_output.addr() : 0, - (standard_error) ? buf_standard_error.addr() : 0, - exit_status, - &error); - - if(error) - Glib::Error::throw_exception(error); - - copy_output_buf(standard_output, buf_standard_output.get()); - copy_output_buf(standard_error, buf_standard_error.get()); -} - -void spawn_close_pid(Pid pid) -{ - g_spawn_close_pid(pid); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::SpawnError::SpawnError(Glib::SpawnError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_SPAWN_ERROR, error_code, error_message) -{} - -Glib::SpawnError::SpawnError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::SpawnError::Code Glib::SpawnError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::SpawnError::throw_func(GError* gobject) -{ - throw Glib::SpawnError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::SpawnError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::SpawnError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/spawn.h b/libs/glibmm2/glib/glibmm/spawn.h deleted file mode 100644 index 296838a887..0000000000 --- a/libs/glibmm2/glib/glibmm/spawn.h +++ /dev/null @@ -1,516 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_SPAWN_H -#define _GLIBMM_SPAWN_H - - -/* $Id: spawn.hg,v 1.4 2004/03/02 23:29:57 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include -#include - -#include -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -typedef GPid Pid; - -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %SpawnFlags operator|(SpawnFlags, SpawnFlags)
- * %SpawnFlags operator&(SpawnFlags, SpawnFlags)
- * %SpawnFlags operator^(SpawnFlags, SpawnFlags)
- * %SpawnFlags operator~(SpawnFlags)
- * %SpawnFlags& operator|=(SpawnFlags&, SpawnFlags)
- * %SpawnFlags& operator&=(SpawnFlags&, SpawnFlags)
- * %SpawnFlags& operator^=(SpawnFlags&, SpawnFlags)
- */ -enum SpawnFlags -{ - SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, - SPAWN_DO_NOT_REAP_CHILD = 1 << 1, - SPAWN_SEARCH_PATH = 1 << 2, - SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, - SPAWN_STDERR_TO_DEV_NULL = 1 << 4, - SPAWN_CHILD_INHERITS_STDIN = 1 << 5, - SPAWN_FILE_AND_ARGV_ZERO = 1 << 6 -}; - -/** @ingroup glibmmEnums */ -inline SpawnFlags operator|(SpawnFlags lhs, SpawnFlags rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline SpawnFlags operator&(SpawnFlags lhs, SpawnFlags rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline SpawnFlags operator^(SpawnFlags lhs, SpawnFlags rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline SpawnFlags operator~(SpawnFlags flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline SpawnFlags& operator|=(SpawnFlags& lhs, SpawnFlags rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline SpawnFlags& operator&=(SpawnFlags& lhs, SpawnFlags rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline SpawnFlags& operator^=(SpawnFlags& lhs, SpawnFlags rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** @defgroup Spawn Spawning Processes - * Process launching with fork()/exec(). - * @{ - */ - -/** Exception class for errors occuring when spawning processes. - */ -class SpawnError : public Glib::Error -{ -public: - enum Code - { - FORK, - READ, - CHDIR, - ACCES, - PERM, - TOOBIG, - NOEXEC, - NAMETOOLONG, - NOENT, - NOMEM, - NOTDIR, - LOOP, - TXTBUSY, - IO, - NFILE, - MFILE, - INVAL, - ISDIR, - LIBBAD - }; - - SpawnError(Code error_code, const Glib::ustring& error_message); - explicit SpawnError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** Executes a child program asynchronously (your program will not - * block waiting for the child to exit). The child program is - * specified by the only argument that must be provided, @a argv. - * The first string in @a argv is of - * course the name of the program to execute. By default, the name of - * the program must be a full path; the PATH shell variable - * will only be searched if you pass the SPAWN_SEARCH_PATH flag. - * - * On Windows, note that all the string or string vector arguments to - * this function and the other spawn*() functions are in UTF-8, the - * GLib file name encoding. Unicode characters that are not part of - * the system codepage passed in these arguments will be correctly - * available in the spawned program only if it uses wide character API - * to retrieve its command line. For C programs built with Microsoft's - * tools it is enough to make the program have a wmain() instead of - * main(). wmain() has a wide character argument vector as parameter. - * - * At least currently, mingw doesn't support wmain(), so if you use - * mingw to develop the spawned program, it will have to call the - * undocumented function __wgetmainargs() to get the wide character - * argument vector and environment. See gspawn-win32-helper.c in the - * GLib sources or init.c in the mingw runtime sources for a prototype - * for that function. Alternatively, you can retrieve the Win32 system - * level wide character command line passed to the spawned program - * using the GetCommandLineW() function. - * - * On Windows the low-level child process creation API - * CreateProcess() doesn't use argument vectors, - * but a command line. The C runtime library's - * spawn*() family of functions (which - * spawn_async_with_pipes() eventually calls) paste the argument - * vector elements together into a command line, and the C runtime startup code - * does a corresponding reconstruction of an argument vector from the - * command line, to be passed to main(). Complications arise when you have - * argument vector elements that contain spaces of double quotes. The - * spawn*() functions don't do any quoting or - * escaping, but on the other hand the startup code does do unquoting - * and unescaping in order to enable receiving arguments with embedded - * spaces or double quotes. To work around this asymmetry, - * spawn_async_with_pipes() will do quoting and escaping on argument - * vector elements that need it before calling the C runtime - * spawn() function. - * - * @a envp is a lists of strings, where each string - * has the form KEY=VALUE. This will become - * the child's environment. - * - * @a flags should be the bitwise OR of any flags you want to affect the - * function's behaviour. The SPAWN_DO_NOT_REAP_CHILD flags means that - * the child will not automatically be reaped; you must use a - * ChildWatch source to be notified about the death of the child - * process. Eventually you must call spawn_close_pid() on the - * @a child_pid, in order to free resources which may be associated - * with the child process. (On Unix, using a ChildWatch source is - * equivalent to calling waitpid() or handling the SIGCHLD signal - * manually. On Windows, calling spawn_close_pid() is equivalent - * to calling CloseHandle() on the process handle returned in - * @a child_pid). - * - * PAWN_LEAVE_DESCRIPTORS_OPEN means that the parent's open file - * descriptors will be inherited by the child; otherwise all - * descriptors except stdin/stdout/stderr will be closed before - * calling exec() in the child. SPAWN_SEARCH_PATH - * means that argv[0] need not be an absolute path, it - * will be looked for in the user's PATH. - * SPAWN_STDOUT_TO_DEV_NULL means that the child's standard output will - * be discarded, instead of going to the same location as the parent's - * standard output. If you use this flag, @a standard_output must be NULL. - * SPAWN_STDERR_TO_DEV_NULL means that the child's standard error - * will be discarded, instead of going to the same location as the parent's - * standard error. If you use this flag, @a standard_error must be NULL. - * SPAWN_CHILD_INHERITS_STDIN means that the child will inherit the parent's - * standard input (by default, the child's standard input is attached to - * /dev/null). If you use this flag, @a standard_input must be NULL. - * G_SPAWN_FILE_AND_ARGV_ZERO means that the first element of @a argv is - * the file to execute, while the remaining elements are the - * actual argument vector to pass to the file. Normally - * spawn_async_with_pipes() uses argv[0] as the file to execute, and - * passes all of @a argv to the child. - * - * @a child_setup is a callback slot. On POSIX - * platforms, the function is called in the child after GLib has - * performed all the setup it plans to perform (including creating - * pipes, closing file descriptors, etc.) but before calling - * exec(). That is, @a child_setup is called just - * before calling exec() in the child. Obviously - * actions taken in this function will only affect the child, not the - * parent. On Windows, there is no separate fork() and exec() - * functionality. Child processes are created and run with - * a single API call, CreateProcess(). @a child_setup is - * called in the parent process just before creating the child - * process. You should carefully consider what you do in @a child_setup - * if you intend your software to be portable to Windows. - * - * If non-NULL, @a child_pid will on Unix be filled with the child's - * process ID. You can use the process ID to send signals to the - * child, or to use child_watch_add() (or waitpid()) if you specified the - * SPAWN_DO_NOT_REAP_CHILD flag. On Windows, @a child_pid will be - * filled with a handle to the child process only if you specified the - * SPAWN_DO_NOT_REAP_CHILD flag. You can then access the child - * process using the Win32 API, for example wait for its termination - * with the WaitFor*() functions, or examine its - * exit code with GetExitCodeProcess(). You should close the handle - * with CloseHandle() or spawn_close_pid() when you no longer need it. - * - * If non-NULL, the @a standard_input, @a standard_output, @a standard_error - * locations will be filled with file descriptors for writing to the child's - * standard input or reading from its standard output or standard error. - * The caller of pawn_async_with_pipes() must close these file descriptors - * when they are no longer in use. If these parameters are NULL, the corresponding - * pipe won't be created. - * - * If @a standard_input is NULL, the child's standard input is attached to - * /dev/null unless SPAWN_CHILD_INHERITS_STDIN is set. - * - * If @a standard_error is NULL, the child's standard error goes to the same - * location as the parent's standard error unless SPAWN_STDERR_TO_DEV_NULL - * is set. - * - * If @a standard_output is NULL, the child's standard output goes to the same - * location as the parent's standard output unless SPAWN_STDOUT_TO_DEV_NULL - * is set. - * - * If @a child_pid is not NULL and an error does not occur then the returned - * pid must be closed using spawn_close_pid(). - * - * @note - * If you are writing a gtkmm application, and the program you - * are spawning is a graphical application, too, then you may - * want to use spawn_on_screen_with_pipes() instead to ensure that - * the spawned program opens its windows on the right screen. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param envp Child's environment. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL. - * @param standard_input Return location for file descriptor to write to child's stdin, or NULL. - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0, - int* standard_input = 0, - int* standard_output = 0, - int* standard_error = 0); - -/** Like the main spawn_async_with_pipes() method, but inheriting the parent's environment. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL. - * @param standard_input Return location for file descriptor to write to child's stdin, or NULL. - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ - -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0, - int* standard_input = 0, - int* standard_output = 0, - int* standard_error = 0); - -/** See pawn_async_with_pipes() for a full description. This function - * simply calls the spawn_async_with_pipes() without any pipes. - * - * @note - * If you are writing a GTK+ application, and the program you - * are spawning is a graphical application, too, then you may - * want to use gdk_spawn_on_screen() instead to ensure that - * the spawned program opens its windows on the right screen. - * - * @param working_directory Child's current working directory, or an empty string to inherit parent's. - * @param argv Child's argument vector. - * @param env Child's environment. - * @param flags Flags from SpawnFlags. - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - */ -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0); - -/** Like the main spawn_async() method, but inheriting the parent's environment. - * - * @param working_directory Child's current working directory, or an empty string to inherit parent's. - * @param argv Child's argument vector. - * @param env Child's environment. - * @param flags Flags from SpawnFlags. - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - */ -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0); - -/** Executes a child synchronously (waits for the child to exit before returning). - * All output from the child is stored in @a standard_output and @a standard_error, - * if those parameters are non-NULL. Note that you must set the - * SPAWN_STDOUT_TO_DEV_NULL and SPAWN_STDERR_TO_DEV_NULL flags when - * passing NULL for @a standard_output and @a standard_error. - * If @a exit_status is non-NULL, the exit status of the child is stored - * there as it would be returned by waitpid(); standard UNIX macros such - * as WIFEXITED() and WEXITSTATUS() must be used to evaluate the exit status. - * Note that this function calls waitpid() even if @a exit_status is NULL, and - * does not accept the SPAWN_DO_NOT_REAP_CHILD flag. - * If an error occurs, no data is returned in @a standard_output, - * @a standard_error, or @a exit_status. - * - * This function calls spawn_async_with_pipes() internally; see that - * function for full details on the other parameters and details on - * how these functions work on Windows. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param envp Child's environment. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * @param exit_status Return location for child exit status, as returned by waitpid(), or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - std::string* standard_output = 0, - std::string* standard_error = 0, - int* exit_status = 0); - -/** Like the main spawn_sync() method, but inheriting the parent's environment. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * @param exit_status Return location for child exit status, as returned by waitpid(), or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - std::string* standard_output = 0, - std::string* standard_error = 0, - int* exit_status = 0); - -/** A simple version of spawn_async() that parses a command line with - * shell_parse_argv() and passes it to spawn_async(). It runs a - * command line in the background. Unlike spawn_async(), the - * SPAWN_SEARCH_PATH flag is enabled, other flags are not. Note - * that SPAWN_SEARCH_PATH can have security implications, so - * consider using spawn_async() directly if appropriate. - * - * The same concerns on Windows apply as for spawn_command_line_sync(). - * - * @param command_line A command line. - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - * @throws ShellError If the command line could not be parsed. - */ -void spawn_command_line_async(const std::string& command_line); - -/** A simple version of spawn_sync() with little-used parameters - * removed, taking a command line instead of an argument vector. See - * spawn_sync() for full details. @a command_line will be parsed by - * shell_parse_argv(). Unlike spawn_sync(), the SPAWN_SEARCH_PATH flag - * is enabled. Note that SPAWN_SEARCH_PATH can have security - * implications, so consider using spawn_sync() directly if - * appropriate. - * - * If @a exit_status is non-NULL, the exit status of the child is stored there as - * it would be returned by waitpid(); standard UNIX macros such as WIFEXITED() - * and WEXITSTATUS() must be used to evaluate the exit status. - * - * On Windows, please note the implications of shell_parse_argv() - * parsing @a command_line. Parsing is done according to Unix shell rules, not - * Windows command interpreter rules. - * Space is a separator, and backslashes are - * special. Thus you cannot simply pass a @a command_line containing - * canonical Windows paths, like "c:\\program files\\app\\app.exe", as - * the backslashes will be eaten, and the space will act as a - * separator. You need to enclose such paths with single quotes, like - * "'c:\\program files\\app\\app.exe' 'e:\\folder\\argument.txt'". - * - * @param command_line A command line. - * @param standard_output Return location for child output. - * @param standard_error Return location for child errors. - * @param exit_status Return location for child exit status, as returned by waitpid(). - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - * @throws ShellError If the command line could not be parsed. - */ -void spawn_command_line_sync(const std::string& command_line, - std::string* standard_output = 0, - std::string* standard_error = 0, - int* exit_status = 0); - -/** On some platforms, notably WIN32, the Pid type represents a resource - * which must be closed to prevent resource leaking. close_pid() - * is provided for this purpose. It should be used on all platforms, even - * though it doesn't do anything under UNIX. - * - * @param pid The process identifier to close. - */ -void spawn_close_pid(Pid pid); - -/** @} group Spawn */ - -} // namespace Glib - - -#endif /* _GLIBMM_SPAWN_H */ - diff --git a/libs/glibmm2/glib/glibmm/streamiochannel.cc b/libs/glibmm2/glib/glibmm/streamiochannel.cc deleted file mode 100644 index db7f45aabc..0000000000 --- a/libs/glibmm2/glib/glibmm/streamiochannel.cc +++ /dev/null @@ -1,216 +0,0 @@ -/* $Id: streamiochannel.cc 291 2006-05-12 08:08:45Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - -GLIBMM_USING_STD(ios) - - -namespace Glib -{ - -// static -Glib::RefPtr StreamIOChannel::create(std::istream& stream) -{ - return Glib::RefPtr(new StreamIOChannel(&stream, 0)); -} - -// static -Glib::RefPtr StreamIOChannel::create(std::ostream& stream) -{ - return Glib::RefPtr(new StreamIOChannel(0, &stream)); -} - -// static -Glib::RefPtr StreamIOChannel::create(std::iostream& stream) -{ - return Glib::RefPtr(new StreamIOChannel(&stream, &stream)); -} - -StreamIOChannel::StreamIOChannel(std::istream* stream_in, std::ostream* stream_out) -: - stream_in_ (stream_in), - stream_out_ (stream_out) -{ - get_flags_vfunc(); // initialize GIOChannel flag bits -} - -StreamIOChannel::~StreamIOChannel() -{} - -IOStatus StreamIOChannel::read_vfunc(char* buf, gsize count, gsize& bytes_read) -{ - g_return_val_if_fail(stream_in_ != 0, IO_STATUS_ERROR); - - stream_in_->clear(); - stream_in_->read(buf, count); - bytes_read = stream_in_->gcount(); - - if(stream_in_->eof()) - return IO_STATUS_EOF; - - if(stream_in_->fail()) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - throw Glib::Error(G_IO_CHANNEL_ERROR, G_IO_CHANNEL_ERROR_FAILED, "Reading from stream failed"); - #else - return IO_STATUS_ERROR; - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return IO_STATUS_NORMAL; -} - -IOStatus StreamIOChannel::write_vfunc(const char* buf, gsize count, gsize& bytes_written) -{ - g_return_val_if_fail(stream_out_ != 0, IO_STATUS_ERROR); - - bytes_written = 0; - - stream_out_->clear(); - stream_out_->write(buf, count); - - if(stream_out_->fail()) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - throw Glib::Error(G_IO_CHANNEL_ERROR, G_IO_CHANNEL_ERROR_FAILED, "Writing to stream failed"); - #else - return IO_STATUS_ERROR; - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - bytes_written = count; // all or nothing ;) - - return IO_STATUS_NORMAL; -} - -IOStatus StreamIOChannel::seek_vfunc(gint64 offset, SeekType type) -{ - std::ios::seekdir direction = std::ios::beg; - - switch(type) - { - case SEEK_TYPE_SET: direction = std::ios::beg; break; - case SEEK_TYPE_CUR: direction = std::ios::cur; break; - case SEEK_TYPE_END: direction = std::ios::end; break; - } - - bool failed = false; - - if(stream_in_) - { - stream_in_->clear(); - stream_in_->seekg(offset, direction); - failed = stream_in_->fail(); - } - if(stream_out_) - { - stream_out_->clear(); - stream_out_->seekp(offset, direction); - failed = (failed || stream_out_->fail()); - } - - if(failed) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - throw Glib::Error(G_IO_CHANNEL_ERROR, G_IO_CHANNEL_ERROR_FAILED, "Seeking into stream failed"); - #else - return IO_STATUS_ERROR; - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return Glib::IO_STATUS_NORMAL; -} - -IOStatus StreamIOChannel::close_vfunc() -{ - bool failed = false; - - if(std::fstream *const stream = dynamic_cast(stream_in_)) - { - stream->clear(); - stream->close(); - failed = stream->fail(); - } - else if(std::ifstream *const stream = dynamic_cast(stream_in_)) - { - stream->clear(); - stream->close(); - failed = stream->fail(); - } - else if(std::ofstream *const stream = dynamic_cast(stream_out_)) - { - stream->clear(); - stream->close(); - failed = stream->fail(); - } - else - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - throw Glib::Error(G_IO_CHANNEL_ERROR, G_IO_CHANNEL_ERROR_FAILED, - "Attempt to close non-file stream"); - #else - return IO_STATUS_ERROR; - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(failed) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - throw Glib::Error(G_IO_CHANNEL_ERROR, G_IO_CHANNEL_ERROR_FAILED, "Failed to close stream"); - #else - return IO_STATUS_ERROR; - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return IO_STATUS_NORMAL; -} - -IOStatus StreamIOChannel::set_flags_vfunc(IOFlags) -{ - return IO_STATUS_NORMAL; -} - -IOFlags StreamIOChannel::get_flags_vfunc() -{ - gobj()->is_seekable = 1; - gobj()->is_readable = (stream_in_ != 0); - gobj()->is_writeable = (stream_out_ != 0); - - IOFlags flags = IO_FLAG_IS_SEEKABLE; - - if(stream_in_) - flags |= IO_FLAG_IS_READABLE; - if(stream_out_) - flags |= IO_FLAG_IS_WRITEABLE; - - return flags; -} - -Glib::RefPtr StreamIOChannel::create_watch_vfunc(IOCondition) -{ - g_warning("Glib::StreamIOChannel::create_watch_vfunc() not implemented"); - return Glib::RefPtr(); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/streamiochannel.h b/libs/glibmm2/glib/glibmm/streamiochannel.h deleted file mode 100644 index 65c6972598..0000000000 --- a/libs/glibmm2/glib/glibmm/streamiochannel.h +++ /dev/null @@ -1,67 +0,0 @@ -// -*- c++ -*- -/* $Id: streamiochannel.h 17 2003-01-22 12:09:02Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef _GLIBMM_STREAMIOCHANNEL_H -#define _GLIBMM_STREAMIOCHANNEL_H - -#include -#include -#include - -GLIBMM_USING_STD(istream) -GLIBMM_USING_STD(ostream) -GLIBMM_USING_STD(iostream) - - -namespace Glib -{ - -/** This whole class is deprecated in glibmm 2.2. - * See the Glib::IOChannel documentation for an explanation. - */ -class StreamIOChannel : public Glib::IOChannel -{ -public: - virtual ~StreamIOChannel(); - - static Glib::RefPtr create(std::istream& stream); - static Glib::RefPtr create(std::ostream& stream); - static Glib::RefPtr create(std::iostream& stream); - -protected: - std::istream* stream_in_; - std::ostream* stream_out_; - - StreamIOChannel(std::istream* stream_in, std::ostream* stream_out); - - virtual IOStatus read_vfunc(char* buf, gsize count, gsize& bytes_read); - virtual IOStatus write_vfunc(const char* buf, gsize count, gsize& bytes_written); - virtual IOStatus seek_vfunc(gint64 offset, SeekType type); - virtual IOStatus close_vfunc(); - virtual IOStatus set_flags_vfunc(IOFlags flags); - virtual IOFlags get_flags_vfunc(); - virtual Glib::RefPtr create_watch_vfunc(IOCondition cond); -}; - -} // namespace Glib - - -#endif /* _GLIBMM_STREAMIOCHANNEL_H */ - diff --git a/libs/glibmm2/glib/glibmm/stringutils.cc b/libs/glibmm2/glib/glibmm/stringutils.cc deleted file mode 100644 index 6cf0137b54..0000000000 --- a/libs/glibmm2/glib/glibmm/stringutils.cc +++ /dev/null @@ -1,128 +0,0 @@ -// -*- c++ -*- -/* $Id: stringutils.cc 291 2006-05-12 08:08:45Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include -#include - -GLIBMM_USING_STD(out_of_range) -GLIBMM_USING_STD(overflow_error) -GLIBMM_USING_STD(underflow_error) - - -bool Glib::str_has_prefix(const std::string& str, const std::string& prefix) -{ - return g_str_has_prefix(str.c_str(), prefix.c_str()); -} - -bool Glib::str_has_suffix(const std::string& str, const std::string& suffix) -{ - return g_str_has_suffix(str.c_str(), suffix.c_str()); -} - -double Glib::Ascii::strtod(const std::string& str) -{ - std::string::size_type dummy; - return Glib::Ascii::strtod(str, dummy, 0); -} - -double Glib::Ascii::strtod(const std::string& str, - std::string::size_type& end_index, - std::string::size_type start_index) -{ - if(start_index > str.size()) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - throw std::out_of_range("out of range (strtod): start_index > str.size()"); - #else - return 0; - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - const char *const bufptr = str.c_str(); - char* endptr = 0; - - const double result = g_ascii_strtod(bufptr + start_index, &endptr); - const int err_no = errno; - - if(err_no != 0) - { - g_return_val_if_fail(err_no == ERANGE, result); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - //Interpret the result in the event of an error: - if(result > 0.0) - throw std::overflow_error("overflow (strtod): positive number too large"); - - if(result < 0.0) - throw std::overflow_error("overflow (strtod): negative number too large"); - - throw std::underflow_error("underflow (strtod): number too small"); - #else - return result; - #endif // GLIBMM_EXCEPTIONS_ENABLED - } - - if(endptr) - end_index = endptr - bufptr; - else - end_index = str.size(); - - return result; -} - -std::string Glib::Ascii::dtostr(double d) -{ - char buf[G_ASCII_DTOSTR_BUF_SIZE]; - - return g_ascii_dtostr(buf, sizeof(buf), d); -} - -std::string Glib::strescape(const std::string& source) -{ - const Glib::ScopedPtr buf (g_strescape(source.c_str(), 0)); - return buf.get(); -} - -std::string Glib::strescape(const std::string& source, const std::string& exceptions) -{ - const Glib::ScopedPtr buf (g_strescape(source.c_str(), exceptions.c_str())); - return buf.get(); -} - -std::string Glib::strcompress(const std::string& source) -{ - const Glib::ScopedPtr buf (g_strcompress(source.c_str())); - return buf.get(); -} - -Glib::ustring Glib::strerror(int errnum) -{ - return g_strerror(errnum); -} - -Glib::ustring Glib::strsignal(int signum) -{ - return g_strsignal(signum); -} - diff --git a/libs/glibmm2/glib/glibmm/stringutils.h b/libs/glibmm2/glib/glibmm/stringutils.h deleted file mode 100644 index aa32e755e3..0000000000 --- a/libs/glibmm2/glib/glibmm/stringutils.h +++ /dev/null @@ -1,184 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_STRINGUTILS_H -#define _GLIBMM_STRINGUTILS_H - -/* $Id: stringutils.h 116 2004-06-07 17:26:39Z daniel $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -/** @defgroup StringUtils String Utility Functions - * - * This section describes a number of utility functions for creating - * and manipulating strings, as well as other string-related stuff. - */ - -/** Looks whether the string @a str begins with @a prefix. - * @ingroup StringUtils - * @param str A string. - * @param prefix The prefix to look for. - * @return true if @a str begins with @a prefix, false otherwise. - */ -bool str_has_prefix(const std::string& str, const std::string& prefix); - -/** Looks whether the string @a str ends with @a suffix. - * @ingroup StringUtils - * @param str A string. - * @param suffix The suffix to look for. - * @return true if @a str ends with @a suffix, false otherwise. - */ -bool str_has_suffix(const std::string& str, const std::string& suffix); - - -namespace Ascii -{ - -/** Converts a string to a double value. - * @ingroup StringUtils - * This function behaves like the standard %strtod() function does in - * the C locale. It does this without actually changing the current - * locale, since that would not be thread-safe. - * - * This function is typically used when reading configuration files or other - * non-user input that should be locale independent. To handle input from the - * user you should normally use locale-sensitive C++ streams. - * - * To convert from a string to double in a locale-insensitive way, use - * Glib::Ascii::dtostr(). - * - * @param str The string to convert to a numeric value. - * @return The double value. - * @throw std::overflow_error Thrown if the correct value would cause overflow. - * @throw std::underflow_error Thrown if the correct value would cause underflow. - */ -double strtod(const std::string& str); - -/** Converts a string to a double value. - * @ingroup StringUtils - * This function behaves like the standard %strtod() function does in - * the C locale. It does this without actually changing the current - * locale, since that would not be thread-safe. - * - * This function is typically used when reading configuration files or other - * non-user input that should be locale independent. To handle input from the - * user you should normally use locale-sensitive C++ streams. - * - * To convert from a string to double in a locale-insensitive way, use - * Glib::Ascii::dtostr(). - * - * @param str The string to convert to a numeric value. - * @param start_index The index of the first character that should be used in the conversion. - * @retval end_index The index of the character after the last character used in the conversion. - * @return The double value. - * @throw std::out_of_range Thrown if @a start_index is out of range. - * @throw std::overflow_error Thrown if the correct value would cause overflow. - * @throw std::underflow_error Thrown if the correct value would cause underflow. - */ -double strtod(const std::string& str, - std::string::size_type& end_index, - std::string::size_type start_index = 0); - -/** Converts a double to a string, using the '.' as decimal point. - * @ingroup StringUtils - * This functions generates enough precision that converting the string back - * using Glib::Ascii::strtod() gives the same machine-number (on machines with - * IEEE compatible 64bit doubles). - * - * @param d The double value to convert. - * @return The converted string. - */ -std::string dtostr(double d); - -} // namespace Ascii - - -/** Escapes all special characters in the string. - * @ingroup StringUtils - * Escapes the special characters '\\b', '\\f', '\\n', - * '\\r', '\\t', '\\' and '"' in the string - * @a source by inserting a '\\' before them. Additionally all characters - * in the range 0x01 - 0x1F (everything below SPACE) - * and in the range 0x80 - 0xFF (all non-ASCII chars) - * are replaced with a '\\' followed by their octal representation. - * - * Glib::strcompress() does the reverse conversion. - * - * @param source A string to escape. - * @return A copy of @a source with certain characters escaped. See above. - */ -std::string strescape(const std::string& source); - -/** Escapes all special characters in the string. - * @ingroup StringUtils - * Escapes the special characters '\\b', '\\f', '\\n', - * '\\r', '\\t', '\\' and '"' in the string - * @a source by inserting a '\\' before them. Additionally all characters - * in the range 0x01 - 0x1F (everything below SPACE) - * and in the range 0x80 - 0xFF (all non-ASCII chars) - * are replaced with a '\\' followed by their octal representation. - * Characters supplied in @a exceptions are not escaped. - * - * Glib::strcompress() does the reverse conversion. - * - * @param source A string to escape. - * @param exceptions A string of characters not to escape in @a source. - * @return A copy of @a source with certain characters escaped. See above. - */ -std::string strescape(const std::string& source, const std::string& exceptions); - -/** Replaces all escaped characters with their one byte equivalent. - * @ingroup StringUtils - * This function does the reverse conversion of Glib::strescape(). - * - * @param source A string to compress. - * @return A copy of @a source with all escaped characters compressed. - */ -std::string strcompress(const std::string& source); - -/** Returns a string corresponding to the given error code, e.g.\ "no such process". - * @ingroup StringUtils - * This function is included since not all platforms support the - * %strerror() function. - * - * @param errnum The system error number. See the standard C errno documentation. - * @return A string describing the error code. If the error code is unknown, - * "unknown error (\)" is returned. - */ -Glib::ustring strerror(int errnum); - -/** Returns a string describing the given signal, e.g.\ "Segmentation fault". - * @ingroup StringUtils - * This function is included since not all platforms support the - * %strsignal() function. - * - * @param signum The signal number. See the signal() documentation. - * @return A string describing the signal. If the signal is unknown, - * "unknown signal (\)" is returned. - */ -Glib::ustring strsignal(int signum); - -} // namespace Glib - - -#endif /* _GLIBMM_STRINGUTILS_H */ - diff --git a/libs/glibmm2/glib/glibmm/thread.cc b/libs/glibmm2/glib/glibmm/thread.cc deleted file mode 100644 index 9a67a0b4ee..0000000000 --- a/libs/glibmm2/glib/glibmm/thread.cc +++ /dev/null @@ -1,412 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: thread.ccg,v 1.9 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace -{ - -extern "C" -{ - -static void* call_thread_entry_slot(void* data) -{ - sigc::slot_base *const slot = reinterpret_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Recreate the specific slot, and drop the reference obtained by create(). - (*static_cast*>(slot))(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Thread::Exit&) - { - // Just exit from the thread. The Thread::Exit exception - // is our sane C++ replacement of g_thread_exit(). - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete slot; - return 0; -} - -} //extern "C" - -} // anonymous namespace - - -namespace Glib -{ - -// internal -void thread_init_impl() -{ - // Make sure the exception map is initialized before creating any thread. - Glib::Error::register_init(); -} - - -/**** Glib::Thread *********************************************************/ - -// static -Thread* Thread::create(const sigc::slot& slot, bool joinable) -{ - // Make a copy of slot on the heap - sigc::slot_base *const slot_copy = new sigc::slot(slot); - - GError* error = 0; - - GThread *const thread = g_thread_create( - &call_thread_entry_slot, slot_copy, joinable, &error); - - if(error) - { - delete slot_copy; - Glib::Error::throw_exception(error); - } - - return reinterpret_cast(thread); -} - -// static -Thread* Thread::create(const sigc::slot& slot, unsigned long stack_size, - bool joinable, bool bound, ThreadPriority priority) -{ - // Make a copy of slot on the heap - sigc::slot_base *const slot_copy = new sigc::slot(slot); - - GError* error = 0; - - GThread *const thread = g_thread_create_full( - &call_thread_entry_slot, slot_copy, stack_size, joinable, - bound, (GThreadPriority) priority, &error); - - if(error) - { - delete slot_copy; - Glib::Error::throw_exception(error); - } - - return reinterpret_cast(thread); -} - -// static -Thread* Thread::self() -{ - return reinterpret_cast(g_thread_self()); -} - -bool Thread::joinable() const -{ - return gobject_.joinable; -} - -void Thread::join() -{ - g_thread_join(&gobject_); -} - -void Thread::set_priority(ThreadPriority priority) -{ - g_thread_set_priority(&gobject_, (GThreadPriority) priority); -} - -ThreadPriority Thread::get_priority() const -{ - return (ThreadPriority) gobject_.priority; -} - -// static -void Thread::yield() -{ - g_thread_yield(); -} - -Thread* wrap(GThread* gobject) -{ - return reinterpret_cast(gobject); -} - - -/**** Glib::StaticMutex ****************************************************/ - -void StaticMutex::lock() -{ - g_static_mutex_lock(&gobject_); -} - -bool StaticMutex::trylock() -{ - return g_static_mutex_trylock(&gobject_); -} - -void StaticMutex::unlock() -{ - g_static_mutex_unlock(&gobject_); -} - -StaticMutex::operator Mutex&() -{ - // If GStaticMutex is implemented as struct (e.g. on Linux), its first struct - // member (runtime_mutex) is a GMutex pointer. If the gthread implementation - // is native (i.e. the vtable pointer passed to g_thread_init() was 0), then - // the runtime_mutex pointer is unused, and the rest of the GStaticMutex - // struct resembles the mutex data. - // - // On Win32, GStaticMutex is just a typedef to struct _GMutex*. Either way, - // the first sizeof(GMutex*) bytes of GStaticMutex always resemble a GMutex - // pointer. The gthread implementation relies on that, and we'll also do so. - - GMutex*& runtime_mutex = reinterpret_cast(gobject_); - - // Fortunately, it cannot hurt if we set this to the GMutex pointer returned - // by g_static_mutex_get_mutex(). Either we just overwrite it with the same - // value, or it was unused anyway. Doing that allows casting the pointer - // location to a Glib::Mutex reference (its only data member is a GMutex*). - - runtime_mutex = g_static_mutex_get_mutex(&gobject_); - - return reinterpret_cast(runtime_mutex); -} - - -/**** Glib::Mutex **********************************************************/ - -Mutex::Mutex() -: - gobject_ (g_mutex_new()) -{} - -Mutex::~Mutex() -{ - g_mutex_free(gobject_); -} - -void Mutex::lock() -{ - g_mutex_lock(gobject_); -} - -bool Mutex::trylock() -{ - return g_mutex_trylock(gobject_); -} - -void Mutex::unlock() -{ - g_mutex_unlock(gobject_); -} - - -/**** Glib::StaticRecMutex *************************************************/ - -void StaticRecMutex::lock() -{ - g_static_rec_mutex_lock(&gobject_); -} - -bool StaticRecMutex::trylock() -{ - return g_static_rec_mutex_trylock(&gobject_); -} - -void StaticRecMutex::unlock() -{ - g_static_rec_mutex_unlock(&gobject_); -} - -void StaticRecMutex::lock_full(unsigned int depth) -{ - g_static_rec_mutex_lock_full(&gobject_, depth); -} - -unsigned int StaticRecMutex::unlock_full() -{ - return g_static_rec_mutex_unlock_full(&gobject_); -} - -StaticRecMutex::operator RecMutex&() -{ - return static_cast(*this); -} - - -/**** Glib::RecMutex *******************************************************/ - -RecMutex::RecMutex() -{ - g_static_rec_mutex_init(&gobject_); - - // GLib doesn't have GRecMutex, only GStaticRecMutex. Force initialization - // of the mutex now, to mimic the behaviour of a (hypothetical) GRecMutex. - g_static_mutex_get_mutex(&gobject_.mutex); -} - -RecMutex::~RecMutex() -{ - g_static_rec_mutex_free(&gobject_); -} - - -/**** Glib::StaticRWLock ***************************************************/ - -void StaticRWLock::reader_lock() -{ - g_static_rw_lock_reader_lock(&gobject_); -} - -bool StaticRWLock::reader_trylock() -{ - return g_static_rw_lock_reader_trylock(&gobject_); -} - -void StaticRWLock::reader_unlock() -{ - g_static_rw_lock_reader_unlock(&gobject_); -} - -void StaticRWLock::writer_lock() -{ - g_static_rw_lock_writer_lock(&gobject_); -} - -bool StaticRWLock::writer_trylock() -{ - return g_static_rw_lock_writer_trylock(&gobject_); -} - -void StaticRWLock::writer_unlock() -{ - g_static_rw_lock_writer_unlock(&gobject_); -} - -StaticRWLock::operator RWLock&() -{ - return static_cast(*this); -} - - -/**** Glib::RWLock *********************************************************/ - -RWLock::RWLock() -{ - g_static_rw_lock_init(&gobject_); - - // GLib doesn't have GRWLock, only GStaticRWLock. Force initialization - // of the mutex and the condition variables now, to mimic the behaviour - // of a (hypothetical) GRWLock. - - if(g_static_mutex_get_mutex(&gobject_.mutex)) - { - gobject_.read_cond = g_cond_new(); - gobject_.write_cond = g_cond_new(); - } -} - -RWLock::~RWLock() -{ - g_static_rw_lock_free(&gobject_); -} - - -/**** Glib::Cond ***********************************************************/ - -Cond::Cond() -: - gobject_ (g_cond_new()) -{} - -Cond::~Cond() -{ - g_cond_free(gobject_); -} - -void Cond::signal() -{ - g_cond_signal(gobject_); -} - -void Cond::broadcast() -{ - g_cond_broadcast(gobject_); -} - -void Cond::wait(Mutex& mutex) -{ - g_cond_wait(gobject_, mutex.gobj()); -} - -bool Cond::timed_wait(Mutex& mutex, const Glib::TimeVal& abs_time) -{ - return g_cond_timed_wait(gobject_, mutex.gobj(), const_cast(&abs_time)); -} - - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - -Glib::ThreadError::ThreadError(Glib::ThreadError::Code error_code, const Glib::ustring& error_message) -: - Glib::Error (G_THREAD_ERROR, error_code, error_message) -{} - -Glib::ThreadError::ThreadError(GError* gobject) -: - Glib::Error (gobject) -{} - -Glib::ThreadError::Code Glib::ThreadError::code() const -{ - return static_cast(Glib::Error::code()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -void Glib::ThreadError::throw_func(GError* gobject) -{ - throw Glib::ThreadError(gobject); -} -#else -//When not using exceptions, we just pass the Exception object around without throwing it: -std::auto_ptr Glib::ThreadError::throw_func(GError* gobject) -{ - return std::auto_ptr(new Glib::ThreadError(gobject)); -} -#endif //GLIBMM_EXCEPTIONS_ENABLED - - diff --git a/libs/glibmm2/glib/glibmm/thread.h b/libs/glibmm2/glib/glibmm/thread.h deleted file mode 100644 index 13b7f49b8c..0000000000 --- a/libs/glibmm2/glib/glibmm/thread.h +++ /dev/null @@ -1,1101 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_THREAD_H -#define _GLIBMM_THREAD_H - - -/* $Id: thread.hg,v 1.13 2005/01/21 12:48:05 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -#include -#include -#include - -/* Shadow THREAD_PRIORITY_NORMAL macro (from winbase.h). - */ -#if defined(THREAD_PRIORITY_NORMAL) && !defined(GLIBMM_MACRO_SHADOW_THREAD_PRIORITY_NORMAL) -enum { GLIBMM_MACRO_DEFINITION_THREAD_PRIORITY_NORMAL = THREAD_PRIORITY_NORMAL }; -#undef THREAD_PRIORITY_NORMAL -enum { THREAD_PRIORITY_NORMAL = GLIBMM_MACRO_DEFINITION_THREAD_PRIORITY_NORMAL }; -#define THREAD_PRIORITY_NORMAL THREAD_PRIORITY_NORMAL -#define GLIBMM_MACRO_SHADOW_THREAD_PRIORITY_NORMAL 1 -#endif - - -/** Initializer macro for Glib::StaticMutex. - * @relates Glib::StaticMutex - * @hideinitializer - */ -#define GLIBMM_STATIC_MUTEX_INIT { G_STATIC_MUTEX_INIT } - -/** Initializer macro for Glib::StaticRecMutex. - * @relates Glib::StaticRecMutex - * @hideinitializer - */ -#define GLIBMM_STATIC_REC_MUTEX_INIT { G_STATIC_REC_MUTEX_INIT } - -/** Initializer macro for Glib::StaticRWLock. - * @relates Glib::StaticRWLock - * @hideinitializer - */ -#define GLIBMM_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT } - -/** Initializer macro for Glib::StaticPrivate. - * @relates Glib::StaticPrivate - * @hideinitializer - */ -#define GLIBMM_STATIC_PRIVATE_INIT { G_STATIC_PRIVATE_INIT } - - -namespace Glib -{ - -/** Specifies the priority of a thread. - * @note It is not guaranteed, that threads with different priorities really - * behave accordingly. On some systems (e.g. Linux) only root can - * increase priorities. On other systems (e.g. Solaris) there doesn't seem to - * be different scheduling for different priorities. All in all try to avoid - * being dependent on priorities. - */ -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - */ -enum ThreadPriority -{ - THREAD_PRIORITY_LOW, - THREAD_PRIORITY_NORMAL, - THREAD_PRIORITY_HIGH, - THREAD_PRIORITY_URGENT -}; - - -/*! @var ThreadPriority THREAD_PRIORITY_LOW - * A priority lower than normal. - */ -/*! @var ThreadPriority THREAD_PRIORITY_NORMAL - * The default priority. - */ -/*! @var ThreadPriority THREAD_PRIORITY_HIGH - * A priority higher than normal. - */ -/*! @var ThreadPriority THREAD_PRIORITY_URGENT - * The highest priority. - */ - - -/** @defgroup Threads Threads - * Thread abstraction; including threads, different mutexes, - * conditions and thread private data. - * @{ - */ - -enum NotLock { NOT_LOCK }; -enum TryLock { TRY_LOCK }; - -/** Initializes the GLib thread system. - * Before you use a thread related function in glibmm, you should initialize - * the thread system. This is done by calling Glib::thread_init(). - * - * @note You should only call thread_init() with a non-0 parameter - * if you really know what you are doing. - * - * @note thread_init() must not be called directly or indirectly as - * a callback from glibmm. Also no mutexes may be currently locked while - * calling thread_init(). - * - * thread_init() might only be called once. On the second call it will - * abort with an error. If you want to make sure that the thread system - * is initialized, you can do that too: - * @code - * if(!Glib::thread_supported()) Glib::thread_init(); - * @endcode - * After that line either the thread system is initialized, or the program - * will abort if no thread system is available in GLib, i.e. either - * @c G_THREADS_ENABLED is not defined or @c G_THREADS_IMPL_NONE is defined. - * - * If no thread system is available and @a vtable is 0 or if not all - * elements of @a vtable are non-0, then thread_init() will abort. - * - * @note To use thread_init() in your program, you have to link with the - * libraries that the command pkg-config --libs gthread-2.0 - * outputs. This is not the case for all the other thread related functions - * of glibmm. Those can be used without having to link with the thread - * libraries. (You @em have to link with gthread-2.0 if you actually - * want to use threads in your application, though.) - * - * @param vtable A function table of type @c GThreadFunctions, that provides - * the entry points to the thread system to be used. - */ -inline void thread_init(GThreadFunctions* vtable = 0); - -/** Returns whether the thread system is initialized. - * @return @c true, if the thread system is initialized. - */ -inline bool thread_supported(); - - -class Mutex; -class RecMutex; -class RWLock; -struct StaticMutex; -struct StaticRecMutex; -struct StaticRWLock; - - -/** Exception class for thread-related errors. - */ -class ThreadError : public Glib::Error -{ -public: - enum Code - { - AGAIN - }; - - ThreadError(Code error_code, const Glib::ustring& error_message); - explicit ThreadError(GError* gobject); - Code code() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -private: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static void throw_func(GError* gobject); -#else - //When not using exceptions, we just pass the Exception object around without throwing it: - static std::auto_ptr throw_func(GError* gobject); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - friend void wrap_init(); // uses throw_func() -#endif -}; - - -/** Represents a running thread. - * An instance of this class can only be obtained with create(), self(), - * or wrap(GThread*). It's not possible to delete a Thread object. If the - * thread is @em not joinable, its resources will be freed automatically - * when it exits. Otherwise, if the thread @em is joinable, you must call - * join() to avoid a memory leak. - * - * @note g_thread_exit() is not wrapped, because that function exits a thread - * without any cleanup. That's especially dangerous in C++ code, since the - * destructors of automatic objects won't be invoked. Instead, you can throw - * a Thread::Exit exception, which will be caught by the internal thread - * entry function. - * - * @note You might have noticed that the thread entry slot doesn't have the - * usual void* return value. If you want to return any data from your thread - * you can pass an additional output argument to the thread's entry slot. - */ -class Thread -{ -public: - class Exit; - - //See http://bugzilla.gnome.org/show_bug.cgi?id=512348 about the sigc::trackable issue. - /** Creates a new thread with the priority THREAD_PRIORITY_NORMAL. - * If @a joinable is @c true, you can wait for this thread's termination by - * calling join(). Otherwise the thread will just disappear, when ready. - * - * The new thread executes the function or method @a slot points to. You can - * pass additional arguments using sigc::bind(). If the thread was created - * successfully, it is returned, otherwise a ThreadError exception is thrown. - * - * Because sigc::trackable is not thread safe, if the slot represents a - * non-static class method (that is, it is created by sigc::mem_fun()), the - * class concerned should not derive from sigc::trackable. - * - * @param slot A slot to execute in the new thread. - * @param joinable Should this thread be joinable? - * @return The new Thread* on success. - * @throw Glib::ThreadError - */ - static Thread* create(const sigc::slot& slot, bool joinable); - - //See http://bugzilla.gnome.org/show_bug.cgi?id=512348 about the sigc::trackable issue. - /** Creates a new thread with the priority @a priority. The stack gets the - * size @a stack_size or the default value for the current platform, if - * @a stack_size is 0. - * - * If @a joinable is @c true, you can wait for this thread's termination by - * calling join(). Otherwise the thread will just disappear, when ready. - * If @a bound is @c true, this thread will be scheduled in the system scope, - * otherwise the implementation is free to do scheduling in the process - * scope. The first variant is more expensive resource-wise, but generally - * faster. On some systems (e.g. Linux) all threads are bound. - * - * The new thread executes the function or method @a slot points to. You can - * pass additional arguments using sigc::bind(). If the thread was created - * successfully, it is returned. - * - * Because sigc::trackable is not thread safe, if the slot represents a - * non-static class method (that is, it is created by sigc::mem_fun()), the - * class concerned should not derive from sigc::trackable. - * - * @note It is not guaranteed, that threads with different priorities really - * behave accordingly. On some systems (e.g. Linux) only root can increase - * priorities. On other systems (e.g. Solaris) there doesn't seem to be - * different scheduling for different priorities. All in all try to avoid - * being dependent on priorities. Use Glib::THREAD_PRIORITY_NORMAL - * here as a default. - * - * @note Only use the extended - * create(const sigc::slot&, unsigned long, bool, bool, ThreadPriority) - * function, when you really can't use the simple - * create(const sigc::slot&, bool) - * instead. The latter overload does not take @a stack_size, @a bound and - * @a priority as arguments, as they should only be used for cases, where - * it is inevitable. - * - * @param slot A slot to execute in the new thread. - * @param stack_size A stack size for the new thread, or 0. - * @param joinable Should this thread be joinable? - * @param bound Should this thread be bound to a system thread? - * @param priority A priority for the thread. - * @return The new Thread* on success. - * @throw Glib::ThreadError - */ - static Thread* create(const sigc::slot& slot, unsigned long stack_size, - bool joinable, bool bound, ThreadPriority priority); - - /** Returns the Thread* corresponding to the calling thread. - * @return The current thread. - */ - static Thread* self(); - - /** Returns whether the thread is joinable. - * @return Whether the thread is joinable. - */ - bool joinable() const; - - /** Waits until the thread finishes. - * Waits until the thread finishes, i.e. the slot, as given to create(), - * returns or g_thread_exit() is called by the thread. (Calling - * g_thread_exit() in a C++ program should be avoided.) All resources of - * the thread including the Glib::Thread object are released. The thread - * must have been created with joinable = true. - */ - void join(); - - /** Changes the priority of the thread to @a priority. - * @note It is not guaranteed, that threads with different priorities really - * behave accordingly. On some systems (e.g. Linux) only @c root can - * increase priorities. On other systems (e.g. Solaris) there doesn't seem - * to be different scheduling for different priorities. All in all try to - * avoid being dependent on priorities. - * @param priority A new priority for the thread. - */ - void set_priority(ThreadPriority priority); - - /** Returns the priority of the thread. - * @return The thread's priority. - */ - ThreadPriority get_priority() const; - - /** Gives way to other threads waiting to be scheduled. - * This function is often used as a method to make busy wait less evil. But - * in most cases, you will encounter, there are better methods to do that. - * So in general you shouldn't use this function. - */ - static void yield(); - - GThread* gobj() { return &gobject_; } - const GThread* gobj() const { return &gobject_; } - -private: - GThread gobject_; - - // Glib::Thread can neither be constructed nor deleted. - Thread(); - void operator delete(void*, size_t); - - // noncopyable - Thread(const Thread&); - Thread& operator=(const Thread&); -}; - -/** %Exception class used to exit from a thread. - * @code - * throw Glib::Thread::Exit(); - * @endcode - * Write this if you want to exit from a thread created by Thread::create(). - * Of course you must make sure not to catch Thread::Exit by accident, i.e. - * when using catch(...) somewhere in your code. - */ -class Thread::Exit -{}; - -/** @relates Glib::Thread */ -Thread* wrap(GThread* gobject); - - -/** Like Glib::Mutex, but can be defined at compile time. - * Use @c GLIBMM_STATIC_MUTEX_INIT to initialize a StaticMutex: - * @code - * Glib::StaticMutex mutex = GLIBMM_STATIC_MUTEX_INIT; - * @endcode - * A StaticMutex can be used without calling Glib::thread_init(), it will - * silently do nothing then. That will also work when using the implicit - * conversion to Mutex&, thus you can safely use Mutex::Lock with a - * StaticMutex. - */ -struct StaticMutex -{ - void lock(); - bool trylock(); - void unlock(); - - operator Mutex&(); - - GStaticMutex* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticMutex gobject_; -#endif -}; - -/** Represents a mutex (mutual exclusion). - * It can be used to protect data against shared access. Try to use - * Mutex::Lock instead of calling lock() and unlock() directly -- - * it will make your life much easier. - * - * @note Before creating a Glib::Mutex, Glib::thread_init() has to be called. - * - * @note Glib::Mutex is not recursive, i.e. a thread will deadlock, if it - * already has locked the mutex while calling lock(). Use Glib::RecMutex - * instead, if you need recursive mutexes. - */ -class Mutex -{ -public: - class Lock; - - Mutex(); - ~Mutex(); - - /** Locks the mutex. - * If mutex is already locked by another thread, the current thread will - * block until mutex is unlocked by the other thread. - * @see Mutex::Lock - */ - void lock(); - - /** Tries to lock the mutex. - * If the mutex is already locked by another thread, it immediately returns - * @c false. Otherwise it locks the mutex and returns @c true. - * @return Whether the mutex could be locked. - * @see Mutex::Lock - */ - bool trylock(); - - /** Unlocks the mutex. - * If another thread is blocked in a lock() call for this mutex, it will be - * woken and can lock the mutex itself. - * @see Mutex::Lock - */ - void unlock(); - - GMutex* gobj() { return gobject_; } - -private: - GMutex* gobject_; - - // noncopyable - Mutex(const Mutex&); - Mutex& operator=(const Mutex&); -}; - -/** Utility class for exception-safe mutex locking. - * @par Usage example: - * @code - * { - * Glib::Mutex::Lock lock (mutex); // calls mutex.lock() - * do_something(); - * } // the destructor calls mutex.unlock() - * @endcode - * As you can see, the compiler takes care of the unlocking. This is not - * only exception safe but also much less error-prone. You could even - * return while still holding the lock and it will be released - * properly. - */ -class Mutex::Lock -{ -public: - explicit inline Lock(Mutex& mutex); - inline Lock(Mutex& mutex, NotLock); - inline Lock(Mutex& mutex, TryLock); - inline ~Lock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - Mutex& mutex_; - bool locked_; - - // noncopyable - Lock(const Mutex::Lock&); - Mutex::Lock& operator=(const Mutex::Lock&); -}; - - -/** Like Glib::RecMutex, but can be defined at compile time. - * Use @c GLIBMM_STATIC_REC_MUTEX_INIT to initialize a StaticRecMutex: - * @code - * Glib::StaticRecMutex mutex = GLIBMM_STATIC_REC_MUTEX_INIT; - * @endcode - * A StaticRecMutex can be used without calling Glib::thread_init(), it will - * silently do nothing then. That will also work when using the implicit - * conversion to RecMutex&, thus you can safely use RecMutex::Lock with a - * StaticRecMutex. - */ -struct StaticRecMutex -{ - void lock(); - bool trylock(); - void unlock(); - - void lock_full(unsigned int depth); - unsigned int unlock_full(); - - operator RecMutex&(); - - GStaticRecMutex* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticRecMutex gobject_; -#endif -}; - -class RecMutex : public StaticRecMutex -{ -public: - class Lock; - - RecMutex(); - ~RecMutex(); - -private: - // noncopyable - RecMutex(const RecMutex&); - RecMutex& operator=(const RecMutex&); -}; - -/** Utility class for exception-safe locking of recursive mutexes. - */ -class RecMutex::Lock -{ -public: - explicit inline Lock(RecMutex& mutex); - inline Lock(RecMutex& mutex, NotLock); - inline Lock(RecMutex& mutex, TryLock); - inline ~Lock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - RecMutex& mutex_; - bool locked_; - - // noncopyable - Lock(const RecMutex::Lock&); - RecMutex::Lock& operator=(const RecMutex::Lock&); -}; - - -/** Like Glib::RWLock, but can be defined at compile time. - * Use @c GLIBMM_STATIC_RW_LOCK_INIT to initialize a StaticRWLock: - * @code - * Glib::StaticRWLock rw_lock = GLIBMM_STATIC_RW_LOCK_INIT; - * @endcode - * A StaticRWLock can be used without calling Glib::thread_init(), it will - * silently do nothing then. That will also work when using the implicit - * conversion to RWLock&, thus you can safely use RWLock::ReaderLock and - * RWLock::WriterLock with a StaticRWLock. - */ -struct StaticRWLock -{ - void reader_lock(); - bool reader_trylock(); - void reader_unlock(); - - void writer_lock(); - bool writer_trylock(); - void writer_unlock(); - - operator RWLock&(); - - GStaticRWLock* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticRWLock gobject_; -#endif -}; - -class RWLock : public StaticRWLock -{ -public: - class ReaderLock; - class WriterLock; - - RWLock(); - ~RWLock(); - -private: - // noncopyable - RWLock(const RWLock&); - RWLock& operator=(const RWLock&); -}; - -/** Utility class for exception-safe locking of read/write locks. - */ -class RWLock::ReaderLock -{ -public: - explicit inline ReaderLock(RWLock& rwlock); - inline ReaderLock(RWLock& rwlock, NotLock); - inline ReaderLock(RWLock& rwlock, TryLock); - inline ~ReaderLock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - RWLock& rwlock_; - bool locked_; - - // noncopyable - ReaderLock(const RWLock::ReaderLock&); - RWLock::ReaderLock& operator=(const RWLock::ReaderLock&); -}; - -/** Utility class for exception-safe locking of read/write locks. - */ -class RWLock::WriterLock -{ -public: - explicit inline WriterLock(RWLock& rwlock); - inline WriterLock(RWLock& rwlock, NotLock); - inline WriterLock(RWLock& rwlock, TryLock); - inline ~WriterLock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - RWLock& rwlock_; - bool locked_; - - // noncopyable - WriterLock(const RWLock::WriterLock&); - RWLock::WriterLock& operator=(const RWLock::WriterLock&); -}; - -/** An opaque data structure to represent a condition. - * A @a Cond is an object that threads can block on, if they find a certain - * condition to be false. If other threads change the state of this condition - * they can signal the @a Cond, such that the waiting thread is woken up. - * @par Usage example: - * @code - * Glib::Cond data_cond; - * Glib::Mutex data_mutex; - * void* current_data = NULL; - * - * void push_data (void* data) - * { - * data_mutex.lock(); - * current_data = data; - * data_cond.signal(); - * data_mutex.unlock(); - * } - * - * void* pop_data () - * { - * void* data; - * - * data_mutex.lock(); - * while (!current_data) - * data_cond.wait(data_mutex); - * data = current_data; - * current_data = NULL; - * data_mutex.unlock(); - * return data; - * } - * @endcode -*/ -class Cond -{ -public: - Cond(); - ~Cond(); - - /** If threads are waiting for this @a Cond, exactly one of them is woken up. - * It is good practice to hold the same lock as the waiting thread, while calling - * this method, though not required. - * - * @note This method can also be used if @a Glib::thread_init() has not yet been - * called and will do nothing then. - */ - void signal(); - - /** If threads are waiting for this @a Cond, all of them are woken up. - * It is good practice to hold the same lock as the waiting thread, while calling - * this method, though not required. - * - * @note This method can also be used if @a Glib::thread_init() has not yet been - * called and will do nothing then. - */ - void broadcast(); - - /** Waits until this thread is woken up on this @a Cond. - * The mutex is unlocked before falling asleep and locked again before resuming. - * - * This method can also be used if @a Glib::thread_init() has not yet been - * called and will immediately return then. - * - * @param mutex a @a Mutex that is currently locked. - * - * @note It is important to use the @a wait() and @a timed_wait() methods - * only inside a loop, which checks for the condition to be true as it is not - * guaranteed that the waiting thread will find it fulfilled, even if the signaling - * thread left the condition in that state. This is because another thread can have - * altered the condition, before the waiting thread got the chance to be woken up, - * even if the condition itself is protected by a @a Mutex. - */ - void wait(Mutex& mutex); - - /** Waits until this thread is woken up on this @a Cond, but not longer than until the time, that is specified by @a abs_time. - * The mutex is unlocked before falling asleep and locked again before resuming. - * - * This function can also be used, if @a Glib::thread_init() has not yet been - * called and will immediately return @c true then. - * - * @param mutex a @a Mutex that is currently locked. - * @param abs_time a max time to wait. - * - * @note It is important to use the @a wait() and @a timed_wait() methods - * only inside a loop, which checks for the condition to be true as it is not - * guaranteed that the waiting thread will find it fulfilled, even if the signaling - * thread left the condition in that state. This is because another thread can have - * altered the condition, before the waiting thread got the chance to be woken up, - * even if the condition itself is protected by a @a Mutex. - */ - bool timed_wait(Mutex& mutex, const Glib::TimeVal& abs_time); - - GCond* gobj() { return gobject_; } - -private: - GCond* gobject_; - - // noncopyable - Cond(const Cond&); - Cond& operator=(const Cond&); -}; - - -template -struct StaticPrivate -{ - typedef void (*DestroyNotifyFunc) (void*); - - static void delete_ptr(void* data); - - inline T* get(); - inline void set(T* data, DestroyNotifyFunc notify_func = &StaticPrivate::delete_ptr); - - GStaticPrivate* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticPrivate gobject_; -#endif -}; - -template -class Private -{ -public: - typedef void (*DestructorFunc) (void*); - - static void delete_ptr(void* data); - - explicit inline Private(DestructorFunc destructor_func = &Private::delete_ptr); - inline T* get(); - inline void set(T* data); - - GPrivate* gobj() { return gobject_; } - -private: - GPrivate* gobject_; - - // noncopyable - Private(const Private&); - Private& operator=(const Private&); -}; - -/** @} group Threads */ - -/*! A glibmm thread example. - * @example thread/thread.cc - */ - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/***************************************************************************/ -/* inline implementation */ -/***************************************************************************/ - -// internal -void thread_init_impl(); - -/* This function must be inline, to avoid an unnecessary dependency on - * libgthread even if the thread system is not used. libgthread might - * not even be available if GLib was compiled without thread support. - */ -inline -void thread_init(GThreadFunctions* vtable) -{ - g_thread_init(vtable); - Glib::thread_init_impl(); -} - -inline -bool thread_supported() -{ - //MSVC++ needs the != 0 to avoid an int -> bool cast warning. - return (g_thread_supported() != 0); -} - - -/**** Glib::Mutex::Lock ****************************************************/ - -inline -Mutex::Lock::Lock(Mutex& mutex) -: - mutex_ (mutex), - locked_ (true) -{ - mutex_.lock(); -} - -inline -Mutex::Lock::Lock(Mutex& mutex, NotLock) -: - mutex_ (mutex), - locked_ (false) -{} - -inline -Mutex::Lock::Lock(Mutex& mutex, TryLock) -: - mutex_ (mutex), - locked_ (mutex.trylock()) -{} - -inline -Mutex::Lock::~Lock() -{ - if(locked_) - mutex_.unlock(); -} - -inline -void Mutex::Lock::acquire() -{ - mutex_.lock(); - locked_ = true; -} - -inline -bool Mutex::Lock::try_acquire() -{ - locked_ = mutex_.trylock(); - return locked_; -} - -inline -void Mutex::Lock::release() -{ - mutex_.unlock(); - locked_ = false; -} - -inline -bool Mutex::Lock::locked() const -{ - return locked_; -} - - -/**** Glib::RecMutex::Lock *************************************************/ - -inline -RecMutex::Lock::Lock(RecMutex& mutex) -: - mutex_ (mutex), - locked_ (true) -{ - mutex_.lock(); -} - -inline -RecMutex::Lock::Lock(RecMutex& mutex, NotLock) -: - mutex_ (mutex), - locked_ (false) -{} - -inline -RecMutex::Lock::Lock(RecMutex& mutex, TryLock) -: - mutex_ (mutex), - locked_ (mutex.trylock()) -{} - -inline -RecMutex::Lock::~Lock() -{ - if(locked_) - mutex_.unlock(); -} - -inline -void RecMutex::Lock::acquire() -{ - mutex_.lock(); - locked_ = true; -} - -inline -bool RecMutex::Lock::try_acquire() -{ - locked_ = mutex_.trylock(); - return locked_; -} - -inline -void RecMutex::Lock::release() -{ - mutex_.unlock(); - locked_ = false; -} - -inline -bool RecMutex::Lock::locked() const -{ - return locked_; -} - - -/**** Glib::RWLock::ReaderLock *********************************************/ - -inline -RWLock::ReaderLock::ReaderLock(RWLock& rwlock) -: - rwlock_ (rwlock), - locked_ (true) -{ - rwlock_.reader_lock(); -} - -inline -RWLock::ReaderLock::ReaderLock(RWLock& rwlock, NotLock) -: - rwlock_ (rwlock), - locked_ (false) -{} - -inline -RWLock::ReaderLock::ReaderLock(RWLock& rwlock, TryLock) -: - rwlock_ (rwlock), - locked_ (rwlock.reader_trylock()) -{} - -inline -RWLock::ReaderLock::~ReaderLock() -{ - if(locked_) - rwlock_.reader_unlock(); -} - -inline -void RWLock::ReaderLock::acquire() -{ - rwlock_.reader_lock(); - locked_ = true; -} - -inline -bool RWLock::ReaderLock::try_acquire() -{ - locked_ = rwlock_.reader_trylock(); - return locked_; -} - -inline -void RWLock::ReaderLock::release() -{ - rwlock_.reader_unlock(); - locked_ = false; -} - -inline -bool RWLock::ReaderLock::locked() const -{ - return locked_; -} - - -/**** Glib::RWLock::WriterLock *********************************************/ - -inline -RWLock::WriterLock::WriterLock(RWLock& rwlock) -: - rwlock_ (rwlock), - locked_ (true) -{ - rwlock_.writer_lock(); -} - -inline -RWLock::WriterLock::WriterLock(RWLock& rwlock, NotLock) -: - rwlock_ (rwlock), - locked_ (false) -{} - -inline -RWLock::WriterLock::WriterLock(RWLock& rwlock, TryLock) -: - rwlock_ (rwlock), - locked_ (rwlock.writer_trylock()) -{} - -inline -RWLock::WriterLock::~WriterLock() -{ - if(locked_) - rwlock_.writer_unlock(); -} - -inline -void RWLock::WriterLock::acquire() -{ - rwlock_.writer_lock(); - locked_ = true; -} - -inline -bool RWLock::WriterLock::try_acquire() -{ - locked_ = rwlock_.writer_trylock(); - return locked_; -} - -inline -void RWLock::WriterLock::release() -{ - rwlock_.writer_unlock(); - locked_ = false; -} - -inline -bool RWLock::WriterLock::locked() const -{ - return locked_; -} - - -/**** Glib::StaticPrivate **************************************************/ - -// static -template -void StaticPrivate::delete_ptr(void* data) -{ - delete static_cast(data); -} - -template inline -T* StaticPrivate::get() -{ - return static_cast(g_static_private_get(&gobject_)); -} - -template inline -void StaticPrivate::set(T* data, typename StaticPrivate::DestroyNotifyFunc notify_func) -{ - g_static_private_set(&gobject_, data, notify_func); -} - - -/**** Glib::Private ********************************************************/ - -// static -template -void Private::delete_ptr(void* data) -{ - delete static_cast(data); -} - -template inline -Private::Private(typename Private::DestructorFunc destructor_func) -: - gobject_ (g_private_new(destructor_func)) -{} - -template inline -T* Private::get() -{ - return static_cast(g_private_get(gobject_)); -} - -template inline -void Private::set(T* data) -{ - g_private_set(gobject_, data); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - - -#endif /* _GLIBMM_THREAD_H */ - diff --git a/libs/glibmm2/glib/glibmm/threadpool.cc b/libs/glibmm2/glib/glibmm/threadpool.cc deleted file mode 100644 index f6ccfe055b..0000000000 --- a/libs/glibmm2/glib/glibmm/threadpool.cc +++ /dev/null @@ -1,249 +0,0 @@ -// -*- c++ -*- -/* $Id: threadpool.cc 291 2006-05-12 08:08:45Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include -#include - -GLIBMM_USING_STD(list) - - -namespace Glib -{ - -// internal -class ThreadPool::SlotList -{ -public: - SlotList(); - ~SlotList(); - - sigc::slot* push(const sigc::slot& slot); - sigc::slot pop(sigc::slot* slot_ptr); - - void lock_and_unlock(); - -private: - Glib::Mutex mutex_; - std::list< sigc::slot > list_; - - // noncopyable - SlotList(const ThreadPool::SlotList&); - ThreadPool::SlotList& operator=(const ThreadPool::SlotList&); -}; - -ThreadPool::SlotList::SlotList() -{} - -ThreadPool::SlotList::~SlotList() -{} - -sigc::slot* ThreadPool::SlotList::push(const sigc::slot& slot) -{ - Mutex::Lock lock (mutex_); - - list_.push_back(slot); - return &list_.back(); -} - -sigc::slot ThreadPool::SlotList::pop(sigc::slot* slot_ptr) -{ - sigc::slot slot; - - { - Mutex::Lock lock (mutex_); - - std::list< sigc::slot >::iterator pslot = list_.begin(); - while(pslot != list_.end() && slot_ptr != &*pslot) - ++pslot; - - if(pslot != list_.end()) - { - slot = *pslot; - list_.erase(pslot); - } - } - - return slot; -} - -void ThreadPool::SlotList::lock_and_unlock() -{ - mutex_.lock(); - mutex_.unlock(); -} - -} // namespace Glib - - -namespace -{ - -static void call_thread_entry_slot(void* data, void* user_data) -{ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Glib::ThreadPool::SlotList *const slot_list = - static_cast(user_data); - - sigc::slot slot (slot_list->pop(static_cast*>(data))); - - slot(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Thread::Exit&) - { - // Just exit from the thread. The Thread::Exit exception - // is our sane C++ replacement of g_thread_exit(). - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -} // anonymous namespace - - -namespace Glib -{ - -ThreadPool::ThreadPool(int max_threads, bool exclusive) -: - gobject_ (0), - slot_list_ (new SlotList()) -{ - GError* error = 0; - - gobject_ = g_thread_pool_new( - &call_thread_entry_slot, slot_list_, max_threads, exclusive, &error); - - if(error) - { - delete slot_list_; - slot_list_ = 0; - Glib::Error::throw_exception(error); - } -} - -ThreadPool::~ThreadPool() -{ - if(gobject_) - g_thread_pool_free(gobject_, 1, 1); - - if(slot_list_) - { - slot_list_->lock_and_unlock(); - delete slot_list_; - } -} - -void ThreadPool::push(const sigc::slot& slot) -{ - sigc::slot *const slot_ptr = slot_list_->push(slot); - - GError* error = 0; - g_thread_pool_push(gobject_, slot_ptr, &error); - - if(error) - { - slot_list_->pop(slot_ptr); - Glib::Error::throw_exception(error); - } -} - -void ThreadPool::set_max_threads(int max_threads) -{ - GError* error = 0; - g_thread_pool_set_max_threads(gobject_, max_threads, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -int ThreadPool::get_max_threads() const -{ - return g_thread_pool_get_max_threads(gobject_); -} - -unsigned int ThreadPool::get_num_threads() const -{ - return g_thread_pool_get_num_threads(gobject_); -} - -unsigned int ThreadPool::unprocessed() const -{ - return g_thread_pool_unprocessed(gobject_); -} - -bool ThreadPool::get_exclusive() const -{ - g_return_val_if_fail(gobject_ != 0, false); - - return gobject_->exclusive; -} - -void ThreadPool::shutdown(bool immediately) -{ - if(gobject_) - { - g_thread_pool_free(gobject_, immediately, 1); - gobject_ = 0; - } - - if(slot_list_) - { - slot_list_->lock_and_unlock(); - delete slot_list_; - slot_list_ = 0; - } -} - -// static -void ThreadPool::set_max_unused_threads(int max_threads) -{ - g_thread_pool_set_max_unused_threads(max_threads); -} - -// static -int ThreadPool::get_max_unused_threads() -{ - return g_thread_pool_get_max_unused_threads(); -} - -// static -unsigned int ThreadPool::get_num_unused_threads() -{ - return g_thread_pool_get_num_unused_threads(); -} - -// static -void ThreadPool::stop_unused_threads() -{ - g_thread_pool_stop_unused_threads(); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/threadpool.h b/libs/glibmm2/glib/glibmm/threadpool.h deleted file mode 100644 index 10a1209566..0000000000 --- a/libs/glibmm2/glib/glibmm/threadpool.h +++ /dev/null @@ -1,183 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_THREADPOOL_H -#define _GLIBMM_THREADPOOL_H - -/* $Id: threadpool.h 72 2004-02-10 14:26:07Z murrayc $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -extern "C" { typedef struct _GThreadPool GThreadPool; } - - -namespace Glib -{ - -/** @defgroup ThreadPools Thread Pools - * Pools of threads to execute work concurrently. - * @{ - */ - -/** A pool of threads to execute work concurrently. - */ -class ThreadPool -{ -public: - /** Constructs a new thread pool. - * Whenever you call ThreadPool::push(), either a new thread is created or an - * unused one is reused. At most @a max_threads threads are running - * concurrently for this thread pool. @a max_threads = -1 allows - * unlimited threads to be created for this thread pool. - * - * The parameter @a exclusive determines, whether the thread pool owns all - * threads exclusive or whether the threads are shared globally. If @a - * exclusive is true, @a max_threads threads are started immediately - * and they will run exclusively for this thread pool until it is destroyed - * by ~ThreadPool(). If @a exclusive is false, threads are created - * when needed and shared between all non-exclusive thread pools. This - * implies that @a max_threads may not be -1 for exclusive thread pools. - * - * @param max_threads The maximal number of threads to execute concurrently - * in the new thread pool, -1 means no limit. - * @param exclusive Should this thread pool be exclusive? - * @throw Glib::ThreadError An error can only occur when @a exclusive is - * set to true and not all @a max_threads threads could be created. - */ - explicit ThreadPool(int max_threads = -1, bool exclusive = false); - virtual ~ThreadPool(); - - /** Inserts @a slot into the list of tasks to be executed by the pool. - * When the number of currently running threads is lower than the maximal - * allowed number of threads, a new thread is started (or reused). Otherwise - * @a slot stays in the queue until a thread in this pool finishes its - * previous task and processes @a slot. - * @param slot A new task for the thread pool. - * @throw Glib::ThreadError An error can only occur when a new thread - * couldn't be created. In that case @a slot is simply appended to the - * queue of work to do. - */ - void push(const sigc::slot& slot); - - /** Sets the maximal allowed number of threads for the pool. - * A value of -1 means that the maximal number of threads is unlimited. - * Setting @a max_threads to 0 means stopping all work for pool. It is - * effectively frozen until @a max_threads is set to a non-zero value again. - * - * A thread is never terminated while it is still running. Instead the - * maximal number of threads only has effect for the allocation of new - * threads in ThreadPool::push(). A new thread is allocated whenever the - * number of currently running threads in the pool is smaller than the - * maximal number. - * - * @param max_threads A new maximal number of threads for the pool. - * @throw Glib::ThreadError An error can only occur when a new thread - * couldn't be created. - */ - void set_max_threads(int max_threads); - - /** Returns the maximal number of threads for the pool. - * @return The maximal number of threads. - */ - int get_max_threads() const; - - /** Returns the number of threads currently running in the pool. - * @return The number of threads currently running. - */ - unsigned int get_num_threads() const; - - /** Returns the number of tasks still unprocessed in the pool. - * @return The number of unprocessed tasks. - */ - unsigned int unprocessed() const; - - /** Returns whether all threads are exclusive to this pool. - * @return Whether all threads are exclusive to this pool. - */ - bool get_exclusive() const; - - /** Frees all resources allocated for the pool. - * If @a immediately is true, no new task is processed. Otherwise the - * pool is not freed before the last task is processed. Note however, that no - * thread of this pool is interrupted while processing a task. Instead at least - * all still running threads can finish their tasks before the pool is freed. - * - * This method does not return before all tasks to be processed (dependent on - * @a immediately, whether all or only the currently running) are ready. - * After calling shutdown() the pool must not be used anymore. - * - * @param immediately Should the pool shut down immediately? - */ - void shutdown(bool immediately = false); - - /** Sets the maximal number of unused threads to @a max_threads. - * If @a max_threads is -1, no limit is imposed on the number of unused threads. - * @param max_threads Maximal number of unused threads. - */ - static void set_max_unused_threads(int max_threads); - - /** Returns the maximal allowed number of unused threads. - * @return The maximal number of unused threads. - */ - static int get_max_unused_threads(); - - /** Returns the number of currently unused threads. - * @return The number of currently unused threads. - */ - static unsigned int get_num_unused_threads(); - - /** Stops all currently unused threads. - * This does not change the maximal number of unused threads. This function can - * be used to regularly stop all unused threads e.g. from Glib::signal_timeout(). - */ - static void stop_unused_threads(); - - GThreadPool* gobj() { return gobject_; } - const GThreadPool* gobj() const { return gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - class SlotList; -#endif - -private: - GThreadPool* gobject_; - SlotList* slot_list_; - - ThreadPool(const ThreadPool&); - ThreadPool& operator=(const ThreadPool&); -}; - -/** @} group ThreadPools */ - - -/***************************************************************************/ -/* inline implementation */ -/***************************************************************************/ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/**** Glib::Private ********************************************************/ - - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - - -#endif /* _GLIBMM_THREADPOOL_H */ - diff --git a/libs/glibmm2/glib/glibmm/timer.cc b/libs/glibmm2/glib/glibmm/timer.cc deleted file mode 100644 index 11c2098519..0000000000 --- a/libs/glibmm2/glib/glibmm/timer.cc +++ /dev/null @@ -1,72 +0,0 @@ -// -*- c++ -*- -/* $Id: timer.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* timer.cc - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -Timer::Timer() -: - gobject_ (g_timer_new()) -{} - -Timer::~Timer() -{ - g_timer_destroy(gobject_); -} - -void Timer::start() -{ - g_timer_start(gobject_); -} - -void Timer::stop() -{ - g_timer_stop(gobject_); -} - -void Timer::reset() -{ - g_timer_reset(gobject_); -} - -double Timer::elapsed() const -{ - return g_timer_elapsed(gobject_, 0); -} - -double Timer::elapsed(unsigned long& microseconds) const -{ - return g_timer_elapsed(gobject_, µseconds); -} - - -void usleep(unsigned long microseconds) -{ - g_usleep(microseconds); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/timer.h b/libs/glibmm2/glib/glibmm/timer.h deleted file mode 100644 index b80f9ef8b7..0000000000 --- a/libs/glibmm2/glib/glibmm/timer.h +++ /dev/null @@ -1,79 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_TIMER_H -#define _GLIBMM_TIMER_H - -/* $Id: timer.h 2 2003-01-07 16:59:16Z murrayc $ */ - -/* timer.h - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -extern "C" { typedef struct _GTimer GTimer; } - - -namespace Glib -{ - -/** Portable stop watch interface. - * This resembles a convient and portable timer with microseconds resolution. - */ -class Timer -{ -public: - /** Create a new timer. - * Also starts timing by calling start() implicitly. - */ - Timer(); - ~Timer(); - - void start(); - void stop(); - void reset(); - - /** Get the elapsed time. - * @return The value in seconds. - */ - double elapsed() const; - - /** Get the elapsed time. - * @return The value in seconds. Also fills @p microseconds - * with the corresponding @htmlonlyµs@endhtmlonly value. - */ - double elapsed(unsigned long& microseconds) const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GTimer* gobj() { return gobject_; } - const GTimer* gobj() const { return gobject_; } -#endif - -private: - GTimer* gobject_; - - // not copyable - Timer(const Timer&); - Timer& operator=(const Timer&); -}; - - -void usleep(unsigned long microseconds); - -} // namespace Glib - - -#endif /* _GLIBMM_TIMER_H */ - diff --git a/libs/glibmm2/glib/glibmm/timeval.cc b/libs/glibmm2/glib/glibmm/timeval.cc deleted file mode 100644 index 41645777e6..0000000000 --- a/libs/glibmm2/glib/glibmm/timeval.cc +++ /dev/null @@ -1,116 +0,0 @@ -// -*- c++ -*- -/* $Id: timeval.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* timeval.cc - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -void TimeVal::assign_current_time() -{ - g_get_current_time(this); -} - -void TimeVal::add(const TimeVal& rhs) -{ - g_return_if_fail(tv_usec >= 0 && tv_usec < G_USEC_PER_SEC); - g_return_if_fail(rhs.tv_usec >= 0 && rhs.tv_usec < G_USEC_PER_SEC); - - tv_usec += rhs.tv_usec; - - if(tv_usec >= G_USEC_PER_SEC) - { - tv_usec -= G_USEC_PER_SEC; - ++tv_sec; - } - - tv_sec += rhs.tv_sec; -} - -void TimeVal::subtract(const TimeVal& rhs) -{ - g_return_if_fail(tv_usec >= 0 && tv_usec < G_USEC_PER_SEC); - g_return_if_fail(rhs.tv_usec >= 0 && rhs.tv_usec < G_USEC_PER_SEC); - - tv_usec -= rhs.tv_usec; - - if(tv_usec < 0) - { - tv_usec += G_USEC_PER_SEC; - --tv_sec; - } - - tv_sec -= rhs.tv_sec; -} - -void TimeVal::add_seconds(long seconds) -{ - g_return_if_fail(tv_usec >= 0 && tv_usec < G_USEC_PER_SEC); - - tv_sec += seconds; -} - -void TimeVal::subtract_seconds(long seconds) -{ - g_return_if_fail(tv_usec >= 0 && tv_usec < G_USEC_PER_SEC); - - tv_sec -= seconds; -} - -void TimeVal::add_milliseconds(long milliseconds) -{ - g_return_if_fail(tv_usec >= 0 && tv_usec < G_USEC_PER_SEC); - - tv_usec += (milliseconds % 1000) * 1000; - - if(tv_usec < 0) - { - tv_usec += G_USEC_PER_SEC; - --tv_sec; - } - else if(tv_usec >= G_USEC_PER_SEC) - { - tv_usec -= G_USEC_PER_SEC; - ++tv_sec; - } - - tv_sec += milliseconds / 1000; -} - -void TimeVal::subtract_milliseconds(long milliseconds) -{ - add_milliseconds(-1 * milliseconds); -} - -void TimeVal::add_microseconds(long microseconds) -{ - g_time_val_add(this, microseconds); -} - -void TimeVal::subtract_microseconds(long microseconds) -{ - g_time_val_add(this, -1 * microseconds); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/timeval.h b/libs/glibmm2/glib/glibmm/timeval.h deleted file mode 100644 index ddfb985864..0000000000 --- a/libs/glibmm2/glib/glibmm/timeval.h +++ /dev/null @@ -1,232 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_TIMEVAL_H -#define _GLIBMM_TIMEVAL_H - -/* $Id: timeval.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* timeval.h - * - * Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Glib -{ - -/** Glib::TimeVal is a wrapper around the glib structure GTimeVal. - * The glib structure GTimeVal itself is equivalent to struct timeval, - * which is returned by the gettimeofday() UNIX call. Additionally - * this wrapper provides an assortment of time manipulation functions. - */ -struct TimeVal : public GTimeVal -{ - inline TimeVal(); - inline TimeVal(long seconds, long microseconds); - - inline TimeVal(const GTimeVal& gtimeval); - inline TimeVal& operator=(const GTimeVal& gtimeval); - - /** Assigns the current time to the TimeVal instance. - * Equivalent to the UNIX gettimeofday() function, but is portable and - * works also on Win32. - */ - void assign_current_time(); - - void add(const TimeVal& rhs); - void subtract(const TimeVal& rhs); - void add_seconds(long seconds); - void subtract_seconds(long seconds); - void add_milliseconds(long milliseconds); - void subtract_milliseconds(long milliseconds); - void add_microseconds(long microseconds); - void subtract_microseconds(long microseconds); - - inline TimeVal& operator+=(const TimeVal& gtimeval); - inline TimeVal& operator-=(const TimeVal& gtimeval); - inline TimeVal& operator+=(long seconds); - inline TimeVal& operator-=(long seconds); - - /** Returns a double representation of the time interval. - * This member function converts the time interval, that is - * internally stored as two long values for seconds and microseconds, - * to a double representation, whose unit is seconds. - */ - inline double as_double() const; - - inline bool negative() const; - - /** Checks whether the stored time interval is positive. - * Returns true if the stored time / time interval is positive. - */ - inline bool valid() const; -}; - -inline -TimeVal::TimeVal() -{ - tv_sec = 0; - tv_usec = 0; -} - -inline -TimeVal::TimeVal(long seconds, long microseconds) -{ - tv_sec = seconds; - tv_usec = microseconds; -} - -inline -TimeVal::TimeVal(const GTimeVal& gtimeval) -{ - tv_sec = gtimeval.tv_sec; - tv_usec = gtimeval.tv_usec; -} - -inline -TimeVal& TimeVal::operator=(const GTimeVal& gtimeval) -{ - tv_sec = gtimeval.tv_sec; - tv_usec = gtimeval.tv_usec; - return *this; -} - -inline -TimeVal& TimeVal::operator+=(const TimeVal& gtimeval) -{ - add(gtimeval); - - return *this; -} - -inline -TimeVal& TimeVal::operator-=(const TimeVal& gtimeval) -{ - subtract(gtimeval); - - return *this; -} - -inline -TimeVal& TimeVal::operator+=(long seconds) -{ - add_seconds(seconds); - - return *this; -} - -inline -TimeVal& TimeVal::operator-=(long seconds) -{ - subtract_seconds(seconds); - - return *this; -} - -inline -double TimeVal::as_double() const -{ - return tv_sec + ((double) tv_usec / (double) G_USEC_PER_SEC); -} - -inline -bool TimeVal::negative() const -{ - return (tv_sec < 0); -} - -inline -bool TimeVal::valid() const -{ - return (tv_usec >= 0 && tv_usec < G_USEC_PER_SEC); -} - -/** @relates Glib::TimeVal */ -inline -TimeVal operator+(const TimeVal& lhs, const TimeVal& rhs) -{ return TimeVal(lhs) += rhs; } - -/** @relates Glib::TimeVal */ -inline -TimeVal operator+(const TimeVal& lhs, long seconds) -{ return TimeVal(lhs) += seconds; } - -/** @relates Glib::TimeVal */ -inline -TimeVal operator-(const TimeVal& lhs, const TimeVal& rhs) -{ return TimeVal(lhs) -= rhs; } - -/** @relates Glib::TimeVal */ -inline -TimeVal operator-(const TimeVal& lhs, long seconds) -{ return TimeVal(lhs) -= seconds; } - - -/** @relates Glib::TimeVal */ -inline -bool operator==(const TimeVal& lhs, const TimeVal& rhs) -{ - return (lhs.tv_sec == rhs.tv_sec && lhs.tv_usec == rhs.tv_usec); -} - -/** @relates Glib::TimeVal */ -inline -bool operator!=(const TimeVal& lhs, const TimeVal& rhs) -{ - return (lhs.tv_sec != rhs.tv_sec || lhs.tv_usec != rhs.tv_usec); -} - -/** @relates Glib::TimeVal */ -inline -bool operator<(const TimeVal& lhs, const TimeVal& rhs) -{ - return ((lhs.tv_sec < rhs.tv_sec) || - (lhs.tv_sec == rhs.tv_sec && lhs.tv_usec < rhs.tv_usec)); -} - -/** @relates Glib::TimeVal */ -inline -bool operator>(const TimeVal& lhs, const TimeVal& rhs) -{ - return ((lhs.tv_sec > rhs.tv_sec) || - (lhs.tv_sec == rhs.tv_sec && lhs.tv_usec > rhs.tv_usec)); -} - -/** @relates Glib::TimeVal */ -inline -bool operator<=(const TimeVal& lhs, const TimeVal& rhs) -{ - return ((lhs.tv_sec < rhs.tv_sec) || - (lhs.tv_sec == rhs.tv_sec && lhs.tv_usec <= rhs.tv_usec)); -} - -/** @relates Glib::TimeVal */ -inline -bool operator>=(const TimeVal& lhs, const TimeVal& rhs) -{ - return ((lhs.tv_sec > rhs.tv_sec) || - (lhs.tv_sec == rhs.tv_sec && lhs.tv_usec >= rhs.tv_usec)); -} - -} // namespace Glib - - -#endif /* _GLIBMM_TIMEVAL_H */ - - - - diff --git a/libs/glibmm2/glib/glibmm/unicode.cc b/libs/glibmm2/glib/glibmm/unicode.cc deleted file mode 100644 index a1e506049b..0000000000 --- a/libs/glibmm2/glib/glibmm/unicode.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: unicode.ccg,v 1.1 2003/01/07 16:58:42 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace -{ -} // anonymous namespace - - diff --git a/libs/glibmm2/glib/glibmm/unicode.h b/libs/glibmm2/glib/glibmm/unicode.h deleted file mode 100644 index f9be9cb2c5..0000000000 --- a/libs/glibmm2/glib/glibmm/unicode.h +++ /dev/null @@ -1,314 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_UNICODE_H -#define _GLIBMM_UNICODE_H - - -/* $Id: unicode.hg,v 1.2 2003/08/20 10:31:23 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include - -// Not used, but we want to get rid of possible macros. -#include - -#undef isalnum -#undef isalpha -#undef iscntrl -#undef isdigit -#undef isgraph -#undef islower -#undef isprint -#undef ispunct -#undef isspace -#undef isupper -#undef isxdigit -#undef istitle -#undef isdefined -#undef iswide -#undef toupper -#undef tolower -#undef totitle - - -namespace Glib -{ - -/** @addtogroup glibmmEnums Enums and Flags */ - -/** - * @ingroup glibmmEnums - */ -enum UnicodeType -{ - UNICODE_CONTROL, - UNICODE_FORMAT, - UNICODE_UNASSIGNED, - UNICODE_PRIVATE_USE, - UNICODE_SURROGATE, - UNICODE_LOWERCASE_LETTER, - UNICODE_MODIFIER_LETTER, - UNICODE_OTHER_LETTER, - UNICODE_TITLECASE_LETTER, - UNICODE_UPPERCASE_LETTER, - UNICODE_COMBINING_MARK, - UNICODE_ENCLOSING_MARK, - UNICODE_NON_SPACING_MARK, - UNICODE_DECIMAL_NUMBER, - UNICODE_LETTER_NUMBER, - UNICODE_OTHER_NUMBER, - UNICODE_CONNECT_PUNCTUATION, - UNICODE_DASH_PUNCTUATION, - UNICODE_CLOSE_PUNCTUATION, - UNICODE_FINAL_PUNCTUATION, - UNICODE_INITIAL_PUNCTUATION, - UNICODE_OTHER_PUNCTUATION, - UNICODE_OPEN_PUNCTUATION, - UNICODE_CURRENCY_SYMBOL, - UNICODE_MODIFIER_SYMBOL, - UNICODE_MATH_SYMBOL, - UNICODE_OTHER_SYMBOL, - UNICODE_LINE_SEPARATOR, - UNICODE_PARAGRAPH_SEPARATOR, - UNICODE_SPACE_SEPARATOR -}; - - -/** - * @ingroup glibmmEnums - */ -enum UnicodeBreakType -{ - UNICODE_BREAK_MANDATORY, - UNICODE_BREAK_CARRIAGE_RETURN, - UNICODE_BREAK_LINE_FEED, - UNICODE_BREAK_COMBINING_MARK, - UNICODE_BREAK_SURROGATE, - UNICODE_BREAK_ZERO_WIDTH_SPACE, - UNICODE_BREAK_INSEPARABLE, - UNICODE_BREAK_NON_BREAKING_GLUE, - UNICODE_BREAK_CONTINGENT, - UNICODE_BREAK_SPACE, - UNICODE_BREAK_AFTER, - UNICODE_BREAK_BEFORE, - UNICODE_BREAK_BEFORE_AND_AFTER, - UNICODE_BREAK_HYPHEN, - UNICODE_BREAK_NON_STARTER, - UNICODE_BREAK_OPEN_PUNCTUATION, - UNICODE_BREAK_CLOSE_PUNCTUATION, - UNICODE_BREAK_QUOTATION, - UNICODE_BREAK_EXCLAMATION, - UNICODE_BREAK_IDEOGRAPHIC, - UNICODE_BREAK_NUMERIC, - UNICODE_BREAK_INFIX_SEPARATOR, - UNICODE_BREAK_SYMBOL, - UNICODE_BREAK_ALPHABETIC, - UNICODE_BREAK_PREFIX, - UNICODE_BREAK_POSTFIX, - UNICODE_BREAK_COMPLEX_CONTEXT, - UNICODE_BREAK_AMBIGUOUS, - UNICODE_BREAK_UNKNOWN, - UNICODE_BREAK_NEXT_LINE, - UNICODE_BREAK_WORD_JOINER, - UNICODE_BREAK_HANGUL_L_JAMO, - UNICODE_BREAK_HANGUL_V_JAMO, - UNICODE_BREAK_HANGUL_T_JAMO, - UNICODE_BREAK_HANGUL_LV_SYLLABLE, - UNICODE_BREAK_HANGUL_LVT_SYLLABLE -}; - - -/** - * @ingroup glibmmEnums - * @par Bitwise operators: - * %AsciiType operator|(AsciiType, AsciiType)
- * %AsciiType operator&(AsciiType, AsciiType)
- * %AsciiType operator^(AsciiType, AsciiType)
- * %AsciiType operator~(AsciiType)
- * %AsciiType& operator|=(AsciiType&, AsciiType)
- * %AsciiType& operator&=(AsciiType&, AsciiType)
- * %AsciiType& operator^=(AsciiType&, AsciiType)
- */ -enum AsciiType -{ - ASCII_ALNUM = 1 << 0, - ASCII_ALPHA = 1 << 1, - ASCII_CNTRL = 1 << 2, - ASCII_DIGIT = 1 << 3, - ASCII_GRAPH = 1 << 4, - ASCII_LOWER = 1 << 5, - ASCII_PRINT = 1 << 6, - ASCII_PUNCT = 1 << 7, - ASCII_SPACE = 1 << 8, - ASCII_UPPER = 1 << 9, - ASCII_XDIGIT = 1 << 10 -}; - -/** @ingroup glibmmEnums */ -inline AsciiType operator|(AsciiType lhs, AsciiType rhs) - { return static_cast(static_cast(lhs) | static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline AsciiType operator&(AsciiType lhs, AsciiType rhs) - { return static_cast(static_cast(lhs) & static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline AsciiType operator^(AsciiType lhs, AsciiType rhs) - { return static_cast(static_cast(lhs) ^ static_cast(rhs)); } - -/** @ingroup glibmmEnums */ -inline AsciiType operator~(AsciiType flags) - { return static_cast(~static_cast(flags)); } - -/** @ingroup glibmmEnums */ -inline AsciiType& operator|=(AsciiType& lhs, AsciiType rhs) - { return (lhs = static_cast(static_cast(lhs) | static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline AsciiType& operator&=(AsciiType& lhs, AsciiType rhs) - { return (lhs = static_cast(static_cast(lhs) & static_cast(rhs))); } - -/** @ingroup glibmmEnums */ -inline AsciiType& operator^=(AsciiType& lhs, AsciiType rhs) - { return (lhs = static_cast(static_cast(lhs) ^ static_cast(rhs))); } - - -/** - * @ingroup glibmmEnums - */ -enum NormalizeMode -{ - NORMALIZE_DEFAULT, - NORMALIZE_NFD, - NORMALIZE_DEFAULT_COMPOSE, - NORMALIZE_NFC = NORMALIZE_DEFAULT_COMPOSE, - NORMALIZE_ALL, - NORMALIZE_NFKD = NORMALIZE_ALL, - NORMALIZE_ALL_COMPOSE, - NORMALIZE_NFKC = NORMALIZE_ALL_COMPOSE -}; - - -/** @defgroup Unicode Unicode Manipulation - * Functions operating on Unicode characters and UTF-8 strings. - * @{ - */ - -namespace Unicode -{ - -inline bool validate(gunichar uc) - { return (g_unichar_validate(uc) != 0); } -inline bool isalnum(gunichar uc) - { return (g_unichar_isalnum(uc) != 0); } -inline bool isalpha(gunichar uc) - { return (g_unichar_isalpha(uc) != 0); } -inline bool iscntrl(gunichar uc) - { return (g_unichar_iscntrl(uc) != 0); } -inline bool isdigit(gunichar uc) - { return (g_unichar_isdigit(uc) != 0); } -inline bool isgraph(gunichar uc) - { return (g_unichar_isgraph(uc) != 0); } -inline bool islower(gunichar uc) - { return (g_unichar_islower(uc) != 0); } -inline bool isprint(gunichar uc) - { return (g_unichar_isprint(uc) != 0); } -inline bool ispunct(gunichar uc) - { return (g_unichar_ispunct(uc) != 0); } -inline bool isspace(gunichar uc) - { return (g_unichar_isspace(uc) != 0); } -inline bool isupper(gunichar uc) - { return (g_unichar_isupper(uc) != 0); } -inline bool isxdigit(gunichar uc) - { return (g_unichar_isxdigit(uc) != 0); } -inline bool istitle(gunichar uc) - { return (g_unichar_istitle(uc) != 0); } -inline bool isdefined(gunichar uc) - { return (g_unichar_isdefined(uc) != 0); } -inline bool iswide(gunichar uc) - { return (g_unichar_iswide(uc) != 0); } - -inline gunichar toupper(gunichar uc) - { return g_unichar_toupper(uc); } -inline gunichar tolower(gunichar uc) - { return g_unichar_tolower(uc); } -inline gunichar totitle(gunichar uc) - { return g_unichar_totitle(uc); } - -inline int digit_value(gunichar uc) - { return g_unichar_digit_value(uc); } -inline int xdigit_value(gunichar uc) - { return g_unichar_xdigit_value(uc); } - -inline Glib::UnicodeType type(gunichar uc) - { return static_cast(static_cast(g_unichar_type(uc))); } - -inline Glib::UnicodeBreakType break_type(gunichar uc) - { return static_cast(static_cast(g_unichar_break_type(uc))); } - -} // namespace Unicode - - -namespace Ascii -{ - -inline bool isalnum(char c) - { return g_ascii_isalnum(c); } -inline bool isalpha(char c) - { return g_ascii_isalpha(c); } -inline bool iscntrl(char c) - { return g_ascii_iscntrl(c); } -inline bool isdigit(char c) - { return g_ascii_isdigit(c); } -inline bool isgraph(char c) - { return g_ascii_isgraph(c); } -inline bool islower(char c) - { return g_ascii_islower(c); } -inline bool isprint(char c) - { return g_ascii_isprint(c); } -inline bool ispunct(char c) - { return g_ascii_ispunct(c); } -inline bool isspace(char c) - { return g_ascii_isspace(c); } -inline bool isupper(char c) - { return g_ascii_isupper(c); } -inline bool isxdigit(char c) - { return g_ascii_isxdigit(c); } - -inline char tolower(char c) - { return g_ascii_tolower(c); } -inline char toupper(char c) - { return g_ascii_toupper(c); } - -inline int digit_value(char c) - { return g_ascii_digit_value(c); } -inline int xdigit_value(char c) - { return g_ascii_xdigit_value(c); } - -} // namespace Ascii - - -/** @} group Unicode */ - -} // namespace Glib - - -#endif /* _GLIBMM_UNICODE_H */ - diff --git a/libs/glibmm2/glib/glibmm/uriutils.cc b/libs/glibmm2/glib/glibmm/uriutils.cc deleted file mode 100644 index a9fecde28d..0000000000 --- a/libs/glibmm2/glib/glibmm/uriutils.cc +++ /dev/null @@ -1,57 +0,0 @@ -// Generated by gtkmmproc -- DO NOT MODIFY! - - -#include -#include - -// -*- c++ -*- -/* $Id: fileutils.ccg,v 1.1 2003/01/07 16:58:25 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -std::string uri_unescape_string(const std::string& escaped_string, const std::string& illegal_characters) -{ - gchar* cresult = g_uri_unescape_string(escaped_string.c_str(), illegal_characters.c_str()); - return Glib::convert_return_gchar_ptr_to_stdstring(cresult); -} - -std::string uri_parse_scheme(const std::string& uri) -{ - return Glib::convert_return_gchar_ptr_to_stdstring( g_uri_parse_scheme(uri.c_str()) ); -} - -std::string uri_escape_string(const std::string& unescaped, const std::string& reserved_chars_allowed, bool allow_utf8) -{ - gchar* cresult = g_uri_escape_string(unescaped.c_str(), reserved_chars_allowed.c_str(), allow_utf8); - return Glib::convert_return_gchar_ptr_to_stdstring(cresult); -} - -} // namespace Glib - - -namespace -{ -} // anonymous namespace - - diff --git a/libs/glibmm2/glib/glibmm/uriutils.h b/libs/glibmm2/glib/glibmm/uriutils.h deleted file mode 100644 index 28c148dcb4..0000000000 --- a/libs/glibmm2/glib/glibmm/uriutils.h +++ /dev/null @@ -1,101 +0,0 @@ -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef _GLIBMM_URIUTILS_H -#define _GLIBMM_URIUTILS_H - - -/* $Id: fileutils.hg,v 1.3 2004/01/22 18:38:12 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include - -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -/** @defgroup UriUtils URI Utilities - * Various uri-related functions. - */ - -//Note that the illegal_characters and reserved_chars_allowed parameters are bytes and may not be UTF-8 -//so they are not Glib::ustring. See http://bugzilla.gnome.org/show_bug.cgi?id=508773 - -/** Unescapes a whole escaped string. - * If any of the characters in @a illegal_characters or the character zero appears - * as an escaped character in @a escaped_string then that is an error and an empty string - * will be returned. This is useful it you want to avoid, for instance, having a - * slash being expanded in an escaped path element, which might confuse pathname - * handling. - * - * @param escaped_string An escaped string to be unescaped. - * @param illegal_characters An optional string of illegal characters not to be allowed. - * @result An unescaped version of @a escaped_string. - * - * @ingroup UriUtils - * @newin2p16 - */ -std::string uri_unescape_string(const std::string& escaped_string, const std::string& illegal_characters = std::string()); - -//TODO: Use iterator? -//char * g_uri_unescape_segment (const char *escaped_string, -// const char *escaped_string_end, -// const char *illegal_characters); - -/** Gets the scheme portion of a URI. RFC 3986 decodes the scheme as: - * @code - * URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] - * @endcode - * Common schemes include "file", "http", "svn+ssh", etc. - * - * @param uri - * @result The "Scheme" component of the URI, or an empty string on error. - * - * @ingroup UriUtils - * @newin2p16 - */ -std::string uri_parse_scheme(const std::string& uri); - -/** Escapes a string for use in a URI. - * - * Normally all characters that are not "unreserved" (i.e. ASCII alphanumerical - * characters plus dash, dot, underscore and tilde) are escaped. - * But if you specify characters in @a reserved_chars_allowed they are not - * escaped. This is useful for the "reserved" characters in the URI - * specification, since those are allowed unescaped in some portions of - * a URI. - * - * @param unescaped The unescaped input string. - * @param reserved_chars_allowed A string of reserved characters that are allowed to be used. - * @param allow_utf8 true if the result can include UTF-8 characters. - * @result An escaped version of @a unescaped. - * - * @ingroup UriUtils - * @newin2p16 - */ -std::string uri_escape_string(const std::string& unescaped, const std::string& reserved_chars_allowed = std::string(), bool allow_utf8 = true); - -} // namespace Glib - - -#endif /* _GLIBMM_URIUTILS_H */ - diff --git a/libs/glibmm2/glib/glibmm/ustring.cc b/libs/glibmm2/glib/glibmm/ustring.cc deleted file mode 100644 index f56fac7f66..0000000000 --- a/libs/glibmm2/glib/glibmm/ustring.cc +++ /dev/null @@ -1,1453 +0,0 @@ -// -*- c++ -*- -/* $Id: ustring.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - -#include -#include -#include - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#ifdef GLIBMM_EXCEPTIONS_ENABLED -# include -#endif -GLIBMM_USING_STD(find) - -namespace -{ - -using Glib::ustring; - -// Little helper to make the conversion from gunichar to UTF-8 a one-liner. -// -struct UnicharToUtf8 -{ - char buf[6]; - ustring::size_type len; - - explicit UnicharToUtf8(gunichar uc) - : len (g_unichar_to_utf8(uc, buf)) {} -}; - - -// All utf8_*_offset() functions return npos if offset is out of range. -// The caller should decide if npos is a valid argument and just marks -// the whole string, or if it is not allowed (e.g. for start positions). -// In the latter case std::out_of_range should be thrown, but usually -// std::string will do that for us. - -// First overload: stop on '\0' character. -static -ustring::size_type utf8_byte_offset(const char* str, ustring::size_type offset) -{ - if(offset == ustring::npos) - return ustring::npos; - - const char *const utf8_skip = g_utf8_skip; - const char* p = str; - - for(; offset != 0; --offset) - { - const unsigned int c = static_cast(*p); - - if(c == 0) - return ustring::npos; - - p += utf8_skip[c]; - } - - return (p - str); -} - -// Second overload: stop when reaching maxlen. -static -ustring::size_type utf8_byte_offset(const char* str, ustring::size_type offset, - ustring::size_type maxlen) -{ - if(offset == ustring::npos) - return ustring::npos; - - const char *const utf8_skip = g_utf8_skip; - const char *const pend = str + maxlen; - const char* p = str; - - for(; offset != 0; --offset) - { - if(p >= pend) - return ustring::npos; - - p += utf8_skip[static_cast(*p)]; - } - - return (p - str); -} - -// Third overload: stop when reaching str.size(). -// -inline -ustring::size_type utf8_byte_offset(const std::string& str, ustring::size_type offset) -{ - return utf8_byte_offset(str.data(), offset, str.size()); -} - -// Takes UTF-8 character offset and count in ci and cn. -// Returns the byte offset and count in i and n. -// -struct Utf8SubstrBounds -{ - ustring::size_type i; - ustring::size_type n; - - Utf8SubstrBounds(const std::string& str, ustring::size_type ci, ustring::size_type cn) - : - i (utf8_byte_offset(str, ci)), - n (ustring::npos) - { - if(i != ustring::npos) - n = utf8_byte_offset(str.data() + i, cn, str.size() - i); - } -}; - -// Converts byte offset to UTF-8 character offset. -inline -ustring::size_type utf8_char_offset(const std::string& str, ustring::size_type offset) -{ - if(offset == ustring::npos) - return ustring::npos; - - const char *const pdata = str.data(); - return g_utf8_pointer_to_offset(pdata, pdata + offset); -} - - -// Helper to implement ustring::find_first_of() and find_first_not_of(). -// Returns the UTF-8 character offset, or ustring::npos if not found. -static -ustring::size_type utf8_find_first_of(const std::string& str, ustring::size_type offset, - const char* utf8_match, long utf8_match_size, - bool find_not_of) -{ - const ustring::size_type byte_offset = utf8_byte_offset(str, offset); - if(byte_offset == ustring::npos) - return ustring::npos; - - long ucs4_match_size = 0; - const Glib::ScopedPtr ucs4_match - (g_utf8_to_ucs4_fast(utf8_match, utf8_match_size, &ucs4_match_size)); - - const gunichar *const match_begin = ucs4_match.get(); - const gunichar *const match_end = match_begin + ucs4_match_size; - - const char *const str_begin = str.data(); - const char *const str_end = str_begin + str.size(); - - for(const char* pstr = str_begin + byte_offset; - pstr < str_end; - pstr = g_utf8_next_char(pstr)) - { - const gunichar *const pfound = std::find(match_begin, match_end, g_utf8_get_char(pstr)); - - if((pfound != match_end) != find_not_of) - return offset; - - ++offset; - } - - return ustring::npos; -} - -// Helper to implement ustring::find_last_of() and find_last_not_of(). -// Returns the UTF-8 character offset, or ustring::npos if not found. -static -ustring::size_type utf8_find_last_of(const std::string& str, ustring::size_type offset, - const char* utf8_match, long utf8_match_size, - bool find_not_of) -{ - long ucs4_match_size = 0; - const Glib::ScopedPtr ucs4_match - (g_utf8_to_ucs4_fast(utf8_match, utf8_match_size, &ucs4_match_size)); - - const gunichar *const match_begin = ucs4_match.get(); - const gunichar *const match_end = match_begin + ucs4_match_size; - - const char *const str_begin = str.data(); - const char* pstr = str_begin; - - // Set pstr one byte beyond the actual start position. - const ustring::size_type byte_offset = utf8_byte_offset(str, offset); - pstr += (byte_offset < str.size()) ? byte_offset + 1 : str.size(); - - while(pstr > str_begin) - { - // Move to previous character. - do - --pstr; - while((static_cast(*pstr) & 0xC0u) == 0x80); - - const gunichar *const pfound = std::find(match_begin, match_end, g_utf8_get_char(pstr)); - - if((pfound != match_end) != find_not_of) - return g_utf8_pointer_to_offset(str_begin, pstr); - } - - return ustring::npos; -} - -} // anonymous namespace - - -namespace Glib -{ - -#ifndef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS -// Initialize static member here, -// because the compiler did not allow us do it inline. -const ustring::size_type ustring::npos = std::string::npos; -#endif - -/* - * We need our own version of g_utf8_get_char(), because the std::string - * iterator is not necessarily a plain pointer (it's in fact not in GCC's - * libstdc++-v3). Copying the UTF-8 data into a temporary buffer isn't an - * option since this operation is quite time critical. The implementation - * is quite different from g_utf8_get_char() -- both more generic and likely - * faster. - * - * By looking at the first byte of a UTF-8 character one can determine the - * number of bytes used. GLib offers the g_utf8_skip[] array for this purpose, - * but accessing this global variable would, on IA32 at least, introduce - * a function call to fetch the Global Offset Table, plus two levels of - * indirection in order to read the value. Even worse, fetching the GOT is - * always done right at the start of the function instead of the branch that - * actually uses the variable. - * - * Fortunately, there's a better way to get the byte count. As this table - * shows, there's a nice regular pattern in the UTF-8 encoding scheme: - * - * 0x00000000 - 0x0000007F: 0xxxxxxx - * 0x00000080 - 0x000007FF: 110xxxxx 10xxxxxx - * 0x00000800 - 0x0000FFFF: 1110xxxx 10xxxxxx 10xxxxxx - * 0x00010000 - 0x001FFFFF: 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx - * 0x00200000 - 0x03FFFFFF: 111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx - * 0x04000000 - 0x7FFFFFFF: 1111110x 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx - * - * Except for the single byte case, the number of leading 1-bits equals the - * byte count. All that is needed is to shift the first byte to the left - * until bit 7 becomes 0. Naturally, doing so requires a loop -- but since - * we already have one, no additional cost is introduced. This shifting can - * further be combined with the computation of the bitmask needed to eliminate - * the leading length bits, thus saving yet another register. - * - * Note: If you change this code, it is advisable to also review what the - * compiler makes of it in the assembler output. Except for some pointless - * register moves, the generated code is sufficiently close to the optimum - * with GCC 4.1.2 on x86_64. - */ -gunichar get_unichar_from_std_iterator(std::string::const_iterator pos) -{ - unsigned int result = static_cast(*pos); - - if((result & 0x80) != 0) - { - unsigned int mask = 0x40; - - do - { - result <<= 6; - const unsigned int c = static_cast(*++pos); - mask <<= 5; - result += c - 0x80; - } - while((result & mask) != 0); - - result &= mask - 1; - } - - return result; -} - - -/**** Glib::ustring ********************************************************/ - -ustring::ustring() -: - string_ () -{} - -ustring::ustring(const ustring& other) -: - string_ (other.string_) -{} - -ustring::ustring(const ustring& src, ustring::size_type i, ustring::size_type n) -: - string_ () -{ - const Utf8SubstrBounds bounds (src.string_, i, n); - string_.assign(src.string_, bounds.i, bounds.n); -} - -ustring::ustring(const char* src, ustring::size_type n) -: - string_ (src, utf8_byte_offset(src, n)) -{} - -ustring::ustring(const char* src) -: - string_ (src) -{} - -ustring::ustring(ustring::size_type n, gunichar uc) -: - string_ () -{ - if(uc < 0x80) - { - // Optimize the probably most common case. - string_.assign(n, static_cast(uc)); - } - else - { - const UnicharToUtf8 conv (uc); - string_.reserve(n * conv.len); - - for(; n > 0; --n) - string_.append(conv.buf, conv.len); - } -} - -ustring::ustring(ustring::size_type n, char c) -: - string_ (n, c) -{} - -ustring::ustring(const std::string& src) -: - string_ (src) -{} - -ustring::~ustring() -{} - -void ustring::swap(ustring& other) -{ - string_.swap(other.string_); -} - - -/**** Glib::ustring::operator=() *******************************************/ - -ustring& ustring::operator=(const ustring& other) -{ - string_ = other.string_; - return *this; -} - -ustring& ustring::operator=(const std::string& src) -{ - string_ = src; - return *this; -} - -ustring& ustring::operator=(const char* src) -{ - string_ = src; - return *this; -} - -ustring& ustring::operator=(gunichar uc) -{ - const UnicharToUtf8 conv (uc); - string_.assign(conv.buf, conv.len); - return *this; -} - -ustring& ustring::operator=(char c) -{ - string_ = c; - return *this; -} - - -/**** Glib::ustring::assign() **********************************************/ - -ustring& ustring::assign(const ustring& src) -{ - string_ = src.string_; - return *this; -} - -ustring& ustring::assign(const ustring& src, ustring::size_type i, ustring::size_type n) -{ - const Utf8SubstrBounds bounds (src.string_, i, n); - string_.assign(src.string_, bounds.i, bounds.n); - return *this; -} - -ustring& ustring::assign(const char* src, ustring::size_type n) -{ - string_.assign(src, utf8_byte_offset(src, n)); - return *this; -} - -ustring& ustring::assign(const char* src) -{ - string_ = src; - return *this; -} - -ustring& ustring::assign(ustring::size_type n, gunichar uc) -{ - ustring temp (n, uc); - string_.swap(temp.string_); - return *this; -} - -ustring& ustring::assign(ustring::size_type n, char c) -{ - string_.assign(n, c); - return *this; -} - - -/**** Glib::ustring::operator+=() ******************************************/ - -ustring& ustring::operator+=(const ustring& src) -{ - string_ += src.string_; - return *this; -} - -ustring& ustring::operator+=(const char* src) -{ - string_ += src; - return *this; -} - -ustring& ustring::operator+=(gunichar uc) -{ - const UnicharToUtf8 conv (uc); - string_.append(conv.buf, conv.len); - return *this; -} - -ustring& ustring::operator+=(char c) -{ - string_ += c; - return *this; -} - - -/**** Glib::ustring::push_back() *******************************************/ - -void ustring::push_back(gunichar uc) -{ - const UnicharToUtf8 conv (uc); - string_.append(conv.buf, conv.len); -} - -void ustring::push_back(char c) -{ - string_ += c; -} - - -/**** Glib::ustring::append() **********************************************/ - -ustring& ustring::append(const ustring& src) -{ - string_ += src.string_; - return *this; -} - -ustring& ustring::append(const ustring& src, ustring::size_type i, ustring::size_type n) -{ - const Utf8SubstrBounds bounds (src.string_, i, n); - string_.append(src.string_, bounds.i, bounds.n); - return *this; -} - -ustring& ustring::append(const char* src, ustring::size_type n) -{ - string_.append(src, utf8_byte_offset(src, n)); - return *this; -} - -ustring& ustring::append(const char* src) -{ - string_ += src; - return *this; -} - -ustring& ustring::append(ustring::size_type n, gunichar uc) -{ - string_.append(ustring(n, uc).string_); - return *this; -} - -ustring& ustring::append(ustring::size_type n, char c) -{ - string_.append(n, c); - return *this; -} - - -/**** Glib::ustring::insert() **********************************************/ - -ustring& ustring::insert(ustring::size_type i, const ustring& src) -{ - string_.insert(utf8_byte_offset(string_, i), src.string_); - return *this; -} - -ustring& ustring::insert(ustring::size_type i, const ustring& src, - ustring::size_type i2, ustring::size_type n) -{ - const Utf8SubstrBounds bounds2 (src.string_, i2, n); - string_.insert(utf8_byte_offset(string_, i), src.string_, bounds2.i, bounds2.n); - return *this; -} - -ustring& ustring::insert(ustring::size_type i, const char* src, ustring::size_type n) -{ - string_.insert(utf8_byte_offset(string_, i), src, utf8_byte_offset(src, n)); - return *this; -} - -ustring& ustring::insert(ustring::size_type i, const char* src) -{ - string_.insert(utf8_byte_offset(string_, i), src); - return *this; -} - -ustring& ustring::insert(ustring::size_type i, ustring::size_type n, gunichar uc) -{ - string_.insert(utf8_byte_offset(string_, i), ustring(n, uc).string_); - return *this; -} - -ustring& ustring::insert(ustring::size_type i, ustring::size_type n, char c) -{ - string_.insert(utf8_byte_offset(string_, i), n, c); - return *this; -} - -ustring::iterator ustring::insert(ustring::iterator p, gunichar uc) -{ - const size_type offset = p.base() - string_.begin(); - const UnicharToUtf8 conv (uc); - string_.insert(offset, conv.buf, conv.len); - return iterator(string_.begin() + offset); -} - -ustring::iterator ustring::insert(ustring::iterator p, char c) -{ - return iterator(string_.insert(p.base(), c)); -} - -void ustring::insert(ustring::iterator p, ustring::size_type n, gunichar uc) -{ - string_.insert(p.base() - string_.begin(), ustring(n, uc).string_); -} - -void ustring::insert(ustring::iterator p, ustring::size_type n, char c) -{ - string_.insert(p.base(), n, c); -} - - -/**** Glib::ustring::replace() *********************************************/ - -ustring& ustring::replace(ustring::size_type i, ustring::size_type n, const ustring& src) -{ - const Utf8SubstrBounds bounds (string_, i, n); - string_.replace(bounds.i, bounds.n, src.string_); - return *this; -} - -ustring& ustring::replace(ustring::size_type i, ustring::size_type n, - const ustring& src, ustring::size_type i2, ustring::size_type n2) -{ - const Utf8SubstrBounds bounds (string_, i, n); - const Utf8SubstrBounds bounds2 (src.string_, i2, n2); - string_.replace(bounds.i, bounds.n, src.string_, bounds2.i, bounds2.n); - return *this; -} - -ustring& ustring::replace(ustring::size_type i, ustring::size_type n, - const char* src, ustring::size_type n2) -{ - const Utf8SubstrBounds bounds (string_, i, n); - string_.replace(bounds.i, bounds.n, src, utf8_byte_offset(src, n2)); - return *this; -} - -ustring& ustring::replace(ustring::size_type i, ustring::size_type n, const char* src) -{ - const Utf8SubstrBounds bounds (string_, i, n); - string_.replace(bounds.i, bounds.n, src); - return *this; -} - -ustring& ustring::replace(ustring::size_type i, ustring::size_type n, - ustring::size_type n2, gunichar uc) -{ - const Utf8SubstrBounds bounds (string_, i, n); - string_.replace(bounds.i, bounds.n, ustring(n2, uc).string_); - return *this; -} - -ustring& ustring::replace(ustring::size_type i, ustring::size_type n, - ustring::size_type n2, char c) -{ - const Utf8SubstrBounds bounds (string_, i, n); - string_.replace(bounds.i, bounds.n, n2, c); - return *this; -} - -ustring& ustring::replace(ustring::iterator pbegin, ustring::iterator pend, const ustring& src) -{ - string_.replace(pbegin.base(), pend.base(), src.string_); - return *this; -} - -ustring& ustring::replace(ustring::iterator pbegin, ustring::iterator pend, - const char* src, ustring::size_type n) -{ - string_.replace(pbegin.base(), pend.base(), src, utf8_byte_offset(src, n)); - return *this; -} - -ustring& ustring::replace(ustring::iterator pbegin, ustring::iterator pend, const char* src) -{ - string_.replace(pbegin.base(), pend.base(), src); - return *this; -} - -ustring& ustring::replace(ustring::iterator pbegin, ustring::iterator pend, - ustring::size_type n, gunichar uc) -{ - string_.replace(pbegin.base(), pend.base(), ustring(n, uc).string_); - return *this; -} - -ustring& ustring::replace(ustring::iterator pbegin, ustring::iterator pend, - ustring::size_type n, char c) -{ - string_.replace(pbegin.base(), pend.base(), n, c); - return *this; -} - - -/**** Glib::ustring::erase() ***********************************************/ - -void ustring::clear() -{ - string_.erase(); -} - -ustring& ustring::erase(ustring::size_type i, ustring::size_type n) -{ - const Utf8SubstrBounds bounds (string_, i, n); - string_.erase(bounds.i, bounds.n); - return *this; -} - -ustring& ustring::erase() -{ - string_.erase(); - return *this; -} - -ustring::iterator ustring::erase(ustring::iterator p) -{ - ustring::iterator iter_end = p; - ++iter_end; - - return iterator(string_.erase(p.base(), iter_end.base())); -} - -ustring::iterator ustring::erase(ustring::iterator pbegin, ustring::iterator pend) -{ - return iterator(string_.erase(pbegin.base(), pend.base())); -} - - -/**** Glib::ustring::compare() *********************************************/ - -int ustring::compare(const ustring& rhs) const -{ - return g_utf8_collate(string_.c_str(), rhs.string_.c_str()); -} - -int ustring::compare(const char* rhs) const -{ - return g_utf8_collate(string_.c_str(), rhs); -} - -int ustring::compare(ustring::size_type i, ustring::size_type n, const ustring& rhs) const -{ - return ustring(*this, i, n).compare(rhs); -} - -int ustring::compare(ustring::size_type i, ustring::size_type n, - const ustring& rhs, ustring::size_type i2, ustring::size_type n2) const -{ - return ustring(*this, i, n).compare(ustring(rhs, i2, n2)); -} - -int ustring::compare(ustring::size_type i, ustring::size_type n, - const char* rhs, ustring::size_type n2) const -{ - return ustring(*this, i, n).compare(ustring(rhs, n2)); -} - -int ustring::compare(ustring::size_type i, ustring::size_type n, const char* rhs) const -{ - return ustring(*this, i, n).compare(rhs); -} - - -/**** Glib::ustring -- index access ****************************************/ - -ustring::value_type ustring::operator[](ustring::size_type i) const -{ - return g_utf8_get_char(g_utf8_offset_to_pointer(string_.data(), i)); -} - -ustring::value_type ustring::at(ustring::size_type i) const -{ - const size_type byte_offset = utf8_byte_offset(string_, i); - - // Throws std::out_of_range if the index is invalid. - return g_utf8_get_char(&string_.at(byte_offset)); -} - - -/**** Glib::ustring -- iterator access *************************************/ - -ustring::iterator ustring::begin() -{ - return iterator(string_.begin()); -} - -ustring::iterator ustring::end() -{ - return iterator(string_.end()); -} - -ustring::const_iterator ustring::begin() const -{ - return const_iterator(string_.begin()); -} - -ustring::const_iterator ustring::end() const -{ - return const_iterator(string_.end()); -} - -ustring::reverse_iterator ustring::rbegin() -{ - return reverse_iterator(iterator(string_.end())); -} - -ustring::reverse_iterator ustring::rend() -{ - return reverse_iterator(iterator(string_.begin())); -} - -ustring::const_reverse_iterator ustring::rbegin() const -{ - return const_reverse_iterator(const_iterator(string_.end())); -} - -ustring::const_reverse_iterator ustring::rend() const -{ - return const_reverse_iterator(const_iterator(string_.begin())); -} - - -/**** Glib::ustring::find() ************************************************/ - -ustring::size_type ustring::find(const ustring& str, ustring::size_type i) const -{ - return utf8_char_offset(string_, string_.find(str.string_, utf8_byte_offset(string_, i))); -} - -ustring::size_type ustring::find(const char* str, ustring::size_type i, ustring::size_type n) const -{ - return utf8_char_offset(string_, string_.find(str, utf8_byte_offset(string_, i), - utf8_byte_offset(str, n))); -} - -ustring::size_type ustring::find(const char* str, ustring::size_type i) const -{ - return utf8_char_offset(string_, string_.find(str, utf8_byte_offset(string_, i))); -} - -ustring::size_type ustring::find(gunichar uc, ustring::size_type i) const -{ - const UnicharToUtf8 conv (uc); - return utf8_char_offset(string_, string_.find(conv.buf, utf8_byte_offset(string_, i), conv.len)); -} - -ustring::size_type ustring::find(char c, ustring::size_type i) const -{ - return utf8_char_offset(string_, string_.find(c, utf8_byte_offset(string_, i))); -} - - -/**** Glib::ustring::rfind() ***********************************************/ - -ustring::size_type ustring::rfind(const ustring& str, ustring::size_type i) const -{ - return utf8_char_offset(string_, string_.rfind(str.string_, utf8_byte_offset(string_, i))); -} - -ustring::size_type ustring::rfind(const char* str, ustring::size_type i, - ustring::size_type n) const -{ - return utf8_char_offset(string_, string_.rfind(str, utf8_byte_offset(string_, i), - utf8_byte_offset(str, n))); -} - -ustring::size_type ustring::rfind(const char* str, ustring::size_type i) const -{ - return utf8_char_offset(string_, string_.rfind(str, utf8_byte_offset(string_, i))); -} - -ustring::size_type ustring::rfind(gunichar uc, ustring::size_type i) const -{ - const UnicharToUtf8 conv (uc); - return utf8_char_offset(string_, string_.rfind(conv.buf, utf8_byte_offset(string_, i), conv.len)); -} - -ustring::size_type ustring::rfind(char c, ustring::size_type i) const -{ - return utf8_char_offset(string_, string_.rfind(c, utf8_byte_offset(string_, i))); -} - - -/**** Glib::ustring::find_first_of() ***************************************/ - -ustring::size_type ustring::find_first_of(const ustring& match, ustring::size_type i) const -{ - return utf8_find_first_of(string_, i, match.string_.data(), match.string_.size(), false); -} - -ustring::size_type ustring::find_first_of(const char* match, - ustring::size_type i, ustring::size_type n) const -{ - return utf8_find_first_of(string_, i, match, n, false); -} - -ustring::size_type ustring::find_first_of(const char* match, ustring::size_type i) const -{ - return utf8_find_first_of(string_, i, match, -1, false); -} - -ustring::size_type ustring::find_first_of(gunichar uc, ustring::size_type i) const -{ - return find(uc, i); -} - -ustring::size_type ustring::find_first_of(char c, ustring::size_type i) const -{ - return find(c, i); -} - - -/**** Glib::ustring::find_last_of() ****************************************/ - -ustring::size_type ustring::find_last_of(const ustring& match, ustring::size_type i) const -{ - return utf8_find_last_of(string_, i, match.string_.data(), match.string_.size(), false); -} - -ustring::size_type ustring::find_last_of(const char* match, - ustring::size_type i, ustring::size_type n) const -{ - return utf8_find_last_of(string_, i, match, n, false); -} - -ustring::size_type ustring::find_last_of(const char* match, ustring::size_type i) const -{ - return utf8_find_last_of(string_, i, match, -1, false); -} - -ustring::size_type ustring::find_last_of(gunichar uc, ustring::size_type i) const -{ - return rfind(uc, i); -} - -ustring::size_type ustring::find_last_of(char c, ustring::size_type i) const -{ - return rfind(c, i); -} - - -/**** Glib::ustring::find_first_not_of() ***********************************/ - -ustring::size_type ustring::find_first_not_of(const ustring& match, ustring::size_type i) const -{ - return utf8_find_first_of(string_, i, match.string_.data(), match.string_.size(), true); -} - -ustring::size_type ustring::find_first_not_of(const char* match, - ustring::size_type i, ustring::size_type n) const -{ - return utf8_find_first_of(string_, i, match, n, true); -} - -ustring::size_type ustring::find_first_not_of(const char* match, ustring::size_type i) const -{ - return utf8_find_first_of(string_, i, match, -1, true); -} - -// Unfortunately, all of the find_*_not_of() methods for single -// characters need their own special implementation. -// -ustring::size_type ustring::find_first_not_of(gunichar uc, ustring::size_type i) const -{ - const size_type bi = utf8_byte_offset(string_, i); - if(bi != npos) - { - const char *const pbegin = string_.data(); - const char *const pend = pbegin + string_.size(); - - for(const char* p = pbegin + bi; - p < pend; - p = g_utf8_next_char(p), ++i) - { - if(g_utf8_get_char(p) != uc) - return i; - } - } - return npos; -} - -ustring::size_type ustring::find_first_not_of(char c, ustring::size_type i) const -{ - const size_type bi = utf8_byte_offset(string_, i); - if(bi != npos) - { - const char *const pbegin = string_.data(); - const char *const pend = pbegin + string_.size(); - - for(const char* p = pbegin + bi; - p < pend; - p = g_utf8_next_char(p), ++i) - { - if(*p != c) - return i; - } - } - return npos; -} - - -/**** Glib::ustring::find_last_not_of() ************************************/ - -ustring::size_type ustring::find_last_not_of(const ustring& match, ustring::size_type i) const -{ - return utf8_find_last_of(string_, i, match.string_.data(), match.string_.size(), true); -} - -ustring::size_type ustring::find_last_not_of(const char* match, - ustring::size_type i, ustring::size_type n) const -{ - return utf8_find_last_of(string_, i, match, n, true); -} - -ustring::size_type ustring::find_last_not_of(const char* match, ustring::size_type i) const -{ - return utf8_find_last_of(string_, i, match, -1, true); -} - -// Unfortunately, all of the find_*_not_of() methods for single -// characters need their own special implementation. -// -ustring::size_type ustring::find_last_not_of(gunichar uc, ustring::size_type i) const -{ - const char *const pbegin = string_.data(); - const char *const pend = pbegin + string_.size(); - size_type i_cur = 0; - size_type i_found = npos; - - for(const char* p = pbegin; - p < pend && i_cur <= i; - p = g_utf8_next_char(p), ++i_cur) - { - if(g_utf8_get_char(p) != uc) - i_found = i_cur; - } - return i_found; -} - -ustring::size_type ustring::find_last_not_of(char c, ustring::size_type i) const -{ - const char *const pbegin = string_.data(); - const char *const pend = pbegin + string_.size(); - size_type i_cur = 0; - size_type i_found = npos; - - for(const char* p = pbegin; - p < pend && i_cur <= i; - p = g_utf8_next_char(p), ++i_cur) - { - if(*p != c) - i_found = i_cur; - } - return i_found; -} - - -/**** Glib::ustring -- get size and resize *********************************/ - -bool ustring::empty() const -{ - return string_.empty(); -} - -ustring::size_type ustring::size() const -{ - const char *const pdata = string_.data(); - return g_utf8_pointer_to_offset(pdata, pdata + string_.size()); -} - -ustring::size_type ustring::length() const -{ - const char *const pdata = string_.data(); - return g_utf8_pointer_to_offset(pdata, pdata + string_.size()); -} - -ustring::size_type ustring::bytes() const -{ - return string_.size(); -} - -ustring::size_type ustring::capacity() const -{ - return string_.capacity(); -} - -ustring::size_type ustring::max_size() const -{ - return string_.max_size(); -} - -void ustring::resize(ustring::size_type n, gunichar uc) -{ - const size_type size_now = size(); - if(n < size_now) - erase(n, npos); - else if(n > size_now) - append(n - size_now, uc); -} - -void ustring::resize(ustring::size_type n, char c) -{ - const size_type size_now = size(); - if(n < size_now) - erase(n, npos); - else if(n > size_now) - string_.append(n - size_now, c); -} - -void ustring::reserve(ustring::size_type n) -{ - string_.reserve(n); -} - - -/**** Glib::ustring -- C string access *************************************/ - -const char* ustring::data() const -{ - return string_.data(); -} - -const char* ustring::c_str() const -{ - return string_.c_str(); -} - -// Note that copy() requests UTF-8 character offsets as -// parameters, but returns the number of copied bytes. -// -ustring::size_type ustring::copy(char* dest, ustring::size_type n, ustring::size_type i) const -{ - const Utf8SubstrBounds bounds (string_, i, n); - return string_.copy(dest, bounds.n, bounds.i); -} - - -/**** Glib::ustring -- UTF-8 utilities *************************************/ - -bool ustring::validate() const -{ - return (g_utf8_validate(string_.data(), string_.size(), 0) != 0); -} - -bool ustring::validate(ustring::iterator& first_invalid) -{ - const char *const pdata = string_.data(); - const char* valid_end = pdata; - const int is_valid = g_utf8_validate(pdata, string_.size(), &valid_end); - - first_invalid = iterator(string_.begin() + (valid_end - pdata)); - return (is_valid != 0); -} - -bool ustring::validate(ustring::const_iterator& first_invalid) const -{ - const char *const pdata = string_.data(); - const char* valid_end = pdata; - const int is_valid = g_utf8_validate(pdata, string_.size(), &valid_end); - - first_invalid = const_iterator(string_.begin() + (valid_end - pdata)); - return (is_valid != 0); -} - -bool ustring::is_ascii() const -{ - const char* p = string_.data(); - const char *const pend = p + string_.size(); - - for(; p != pend; ++p) - { - if((static_cast(*p) & 0x80u) != 0) - return false; - } - - return true; -} - -ustring ustring::normalize(NormalizeMode mode) const -{ - const ScopedPtr buf (g_utf8_normalize(string_.data(), string_.size(), - static_cast(int(mode)))); - return ustring(buf.get()); -} - -ustring ustring::uppercase() const -{ - const ScopedPtr buf (g_utf8_strup(string_.data(), string_.size())); - return ustring(buf.get()); -} - -ustring ustring::lowercase() const -{ - const ScopedPtr buf (g_utf8_strdown(string_.data(), string_.size())); - return ustring(buf.get()); -} - -ustring ustring::casefold() const -{ - const ScopedPtr buf (g_utf8_casefold(string_.data(), string_.size())); - return ustring(buf.get()); -} - -std::string ustring::collate_key() const -{ - const ScopedPtr buf (g_utf8_collate_key(string_.data(), string_.size())); - return std::string(buf.get()); -} - -std::string ustring::casefold_collate_key() const -{ - char *const casefold_buf = g_utf8_casefold(string_.data(), string_.size()); - char *const key_buf = g_utf8_collate_key(casefold_buf, -1); - g_free(casefold_buf); - return std::string(ScopedPtr(key_buf).get()); -} - -/**** Glib::ustring -- Message formatting **********************************/ - -// static -ustring ustring::compose_argv(const Glib::ustring& fmt, int argc, const ustring* const* argv) -{ - std::string::size_type result_size = fmt.raw().size(); - - // Guesstimate the final string size. - for (int i = 0; i < argc; ++i) - result_size += argv[i]->raw().size(); - - std::string result; - result.reserve(result_size); - - const char* const pfmt = fmt.raw().c_str(); - const char* start = pfmt; - - while (const char* const stop = std::strchr(start, '%')) - { - if (stop[1] == '%') - { - result.append(start, stop - start + 1); - start = stop + 2; - } - else - { - const int index = Ascii::digit_value(stop[1]) - 1; - - if (index >= 0 && index < argc) - { - result.append(start, stop - start); - result += argv[index]->raw(); - start = stop + 2; - } - else - { - const char* const next = (stop[1] != '\0') ? g_utf8_next_char(stop + 1) : (stop + 1); - - // Copy invalid substitutions literally to the output. - result.append(start, next - start); - - g_warning("invalid substitution \"%s\" in fmt string \"%s\"", - result.c_str() + result.size() - (next - stop), pfmt); - start = next; - } - } - } - - result.append(start, pfmt + fmt.raw().size() - start); - - return result; -} - -/**** Glib::ustring::SequenceToString **************************************/ - -ustring::SequenceToString - ::SequenceToString(Glib::ustring::iterator pbegin, Glib::ustring::iterator pend) -: - std::string(pbegin.base(), pend.base()) -{} - -ustring::SequenceToString - ::SequenceToString(Glib::ustring::const_iterator pbegin, Glib::ustring::const_iterator pend) -: - std::string(pbegin.base(), pend.base()) -{} - -/**** Glib::ustring::FormatStream ******************************************/ - -ustring::FormatStream::FormatStream() -: - stream_ () -{} - -ustring::FormatStream::~FormatStream() -{} - -ustring ustring::FormatStream::to_string() const -{ - GError* error = 0; - -#ifdef GLIBMM_HAVE_WIDE_STREAM - const std::wstring str = stream_.str(); - -# if defined(__STDC_ISO_10646__) && SIZEOF_WCHAR_T == 4 - // Avoid going through iconv if wchar_t always contains UCS-4. - glong n_bytes = 0; - const ScopedPtr buf (g_ucs4_to_utf8(reinterpret_cast(str.data()), - str.size(), 0, &n_bytes, &error)); -# elif defined(G_OS_WIN32) && SIZEOF_WCHAR_T == 2 - // Avoid going through iconv if wchar_t always contains UTF-16. - glong n_bytes = 0; - const ScopedPtr buf (g_utf16_to_utf8(reinterpret_cast(str.data()), - str.size(), 0, &n_bytes, &error)); -# else - gsize n_bytes = 0; - const ScopedPtr buf (g_convert(reinterpret_cast(str.data()), - str.size() * sizeof(std::wstring::value_type), - "UTF-8", "WCHAR_T", 0, &n_bytes, &error)); -# endif /* !(__STDC_ISO_10646__ || G_OS_WIN32) */ - -#else /* !GLIBMM_HAVE_WIDE_STREAM */ - const std::string str = stream_.str(); - - gsize n_bytes = 0; - const ScopedPtr buf (g_locale_to_utf8(str.data(), str.size(), 0, &n_bytes, &error)); -#endif /* !GLIBMM_HAVE_WIDE_STREAM */ - - if (error) - { -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(error); -#else - g_warning("%s: %s", G_STRFUNC, error->message); - g_error_free(error); - return ustring(); -#endif - } - - return ustring(buf.get(), buf.get() + n_bytes); -} - -/**** Glib::ustring -- stream I/O operators ********************************/ - -std::istream& operator>>(std::istream& is, Glib::ustring& utf8_string) -{ - std::string str; - is >> str; - - GError* error = 0; - gsize n_bytes = 0; - const ScopedPtr buf (g_locale_to_utf8(str.data(), str.size(), 0, &n_bytes, &error)); - - if (error) - { -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(error); -#else - g_warning("%s: %s", G_STRFUNC, error->message); - g_error_free(error); - return is; -#endif - } - - utf8_string.assign(buf.get(), buf.get() + n_bytes); - - return is; -} - -std::ostream& operator<<(std::ostream& os, const Glib::ustring& utf8_string) -{ - GError* error = 0; - const ScopedPtr buf (g_locale_from_utf8(utf8_string.raw().data(), - utf8_string.raw().size(), 0, 0, &error)); - if (error) - { -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(error); -#else - g_warning("%s: %s", G_STRFUNC, error->message); - g_error_free(error); - return os; -#endif - } - - // This won't work if the string contains NUL characters. Unfortunately, - // std::ostream::write() ignores format flags, so we cannot use that. - // The only option would be to create a temporary std::string. However, - // even then GCC's libstdc++-v3 prints only the characters up to the first - // NUL. Given this, there doesn't seem much of a point in allowing NUL in - // formatted output. The semantics would be unclear anyway: what's the - // screen width of a NUL? - os << buf.get(); - - return os; -} - -#ifdef GLIBMM_HAVE_WIDE_STREAM - -std::wistream& operator>>(std::wistream& is, ustring& utf8_string) -{ - GError* error = 0; - - std::wstring wstr; - is >> wstr; - -#if defined(__STDC_ISO_10646__) && SIZEOF_WCHAR_T == 4 - // Avoid going through iconv if wchar_t always contains UCS-4. - glong n_bytes = 0; - const ScopedPtr buf (g_ucs4_to_utf8(reinterpret_cast(wstr.data()), - wstr.size(), 0, &n_bytes, &error)); -#elif defined(G_OS_WIN32) && SIZEOF_WCHAR_T == 2 - // Avoid going through iconv if wchar_t always contains UTF-16. - glong n_bytes = 0; - const ScopedPtr buf (g_utf16_to_utf8(reinterpret_cast(wstr.data()), - wstr.size(), 0, &n_bytes, &error)); -#else - gsize n_bytes = 0; - const ScopedPtr buf (g_convert(reinterpret_cast(wstr.data()), - wstr.size() * sizeof(std::wstring::value_type), - "UTF-8", "WCHAR_T", 0, &n_bytes, &error)); -#endif /* !(__STDC_ISO_10646__ || G_OS_WIN32) */ - - if (error) - { -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(error); -#else - g_warning("%s: %s", G_STRFUNC, error->message); - g_error_free(error); - return is; -#endif - } - - utf8_string.assign(buf.get(), buf.get() + n_bytes); - - return is; -} - -std::wostream& operator<<(std::wostream& os, const ustring& utf8_string) -{ - GError* error = 0; - -#if defined(__STDC_ISO_10646__) && SIZEOF_WCHAR_T == 4 - // Avoid going through iconv if wchar_t always contains UCS-4. - const ScopedPtr buf (g_utf8_to_ucs4(utf8_string.raw().data(), - utf8_string.raw().size(), 0, 0, &error)); -#elif defined(G_OS_WIN32) && SIZEOF_WCHAR_T == 2 - // Avoid going through iconv if wchar_t always contains UTF-16. - const ScopedPtr buf (g_utf8_to_utf16(utf8_string.raw().data(), - utf8_string.raw().size(), 0, 0, &error)); -#else - // TODO: For some reason the conversion from UTF-8 to WCHAR_T doesn't work - // with g_convert(), while iconv on the command line handles it just fine. - // Maybe a bug in GLib? - const ScopedPtr buf (g_convert(utf8_string.raw().data(), utf8_string.raw().size(), - "WCHAR_T", "UTF-8", 0, 0, &error)); -#endif /* !(__STDC_ISO_10646__ || G_OS_WIN32) */ - - if (error) - { -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(error); -#else - g_warning("%s: %s", G_STRFUNC, error->message); - g_error_free(error); - return os; -#endif - } - - // This won't work if the string contains NUL characters. Unfortunately, - // std::wostream::write() ignores format flags, so we cannot use that. - // The only option would be to create a temporary std::wstring. However, - // even then GCC's libstdc++-v3 prints only the characters up to the first - // NUL. Given this, there doesn't seem much of a point in allowing NUL in - // formatted output. The semantics would be unclear anyway: what's the - // screen width of a NUL? - os << reinterpret_cast(buf.get()); - - return os; -} - -#endif /* GLIBMM_HAVE_WIDE_STREAM */ - -} // namespace Glib diff --git a/libs/glibmm2/glib/glibmm/ustring.h b/libs/glibmm2/glib/glibmm/ustring.h deleted file mode 100644 index f4ece4c69b..0000000000 --- a/libs/glibmm2/glib/glibmm/ustring.h +++ /dev/null @@ -1,1602 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_USTRING_H -#define _GLIBMM_USTRING_H - -/* $Id: ustring.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -#include -#include -#include -#include - -#include -GLIBMM_USING_STD(bidirectional_iterator_tag) -GLIBMM_USING_STD(reverse_iterator) -GLIBMM_USING_STD(string) -GLIBMM_USING_STD(istream) -GLIBMM_USING_STD(ostream) - -#ifdef GLIBMM_HAVE_STD_ITERATOR_TRAITS -GLIBMM_USING_STD(iterator_traits) -#else -#include /* for ptrdiff_t */ -GLIBMM_USING_STD(random_access_iterator_tag) -#endif - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -#ifndef GLIBMM_HAVE_STD_ITERATOR_TRAITS - -template -struct IteratorTraits -{ - typedef typename T::iterator_category iterator_category; - typedef typename T::value_type value_type; - typedef typename T::difference_type difference_type; - typedef typename T::pointer pointer; - typedef typename T::reference reference; -}; - -template -struct IteratorTraits -{ - typedef std::random_access_iterator_tag iterator_category; - typedef T value_type; - typedef ptrdiff_t difference_type; - typedef T* pointer; - typedef T& reference; -}; - -template -struct IteratorTraits -{ - typedef std::random_access_iterator_tag iterator_category; - typedef T value_type; - typedef ptrdiff_t difference_type; - typedef const T* pointer; - typedef const T& reference; -}; - -#endif /* GLIBMM_HAVE_STD_ITERATOR_TRAITS */ -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** The iterator type of Glib::ustring. - * Note this is not a random access iterator but a bidirectional one, - * since all index operations need to iterate over the UTF-8 data. Use - * std::advance() to move to a certain position. However, all of the - * relational operators are available: - * == != < > <= >= - * - * A writeable iterator isn't provided because: The number of bytes of - * the old UTF-8 character and the new one to write could be different. - * Therefore, any write operation would invalidate all other iterators - * pointing into the same string. - */ -template -class ustring_Iterator -{ -public: - typedef std::bidirectional_iterator_tag iterator_category; - typedef gunichar value_type; - typedef std::string::difference_type difference_type; - typedef value_type reference; - typedef void pointer; - - inline ustring_Iterator(); - inline ustring_Iterator(const ustring_Iterator& other); - - inline value_type operator*() const; - - inline ustring_Iterator & operator++(); - inline const ustring_Iterator operator++(int); - inline ustring_Iterator & operator--(); - inline const ustring_Iterator operator--(int); - - explicit inline ustring_Iterator(T pos); - inline T base() const; - -private: - T pos_; -}; - - -/** Extract a UCS-4 character from UTF-8 data. - * Convert a single UTF-8 (multibyte) character starting at @p pos to - * a UCS-4 wide character. This may read up to 6 bytes after the start - * position, depending on the UTF-8 character width. You have to make - * sure the source contains at least one valid UTF-8 character. - * - * This is mainly used by the implementation of Glib::ustring::iterator, - * but it might be useful as utility function if you prefer using - * std::string even for UTF-8 encoding. - */ -gunichar get_unichar_from_std_iterator(std::string::const_iterator pos) G_GNUC_PURE; - - -/** Glib::ustring has much the same interface as std::string, but contains - * %Unicode characters encoded as UTF-8. - * - * @par About UTF-8 and ASCII - * @par - * The standard character set ANSI_X3.4-1968 -- more commonly known as - * ASCII -- is a subset of UTF-8. So, if you want to, you can use - * Glib::ustring without even thinking about UTF-8. - * @par - * Whenever ASCII is mentioned in this manual, we mean the @em real ASCII - * (i.e. as defined in ANSI_X3.4-1968), which contains only 7-bit characters. - * Glib::ustring can @em not be used with ASCII-compatible extended 8-bit - * charsets like ISO-8859-1. It's a good idea to avoid string literals - * containing non-ASCII characters (e.g. German umlauts) in source code, - * or at least you should use UTF-8 literals. - * @par - * You can find a detailed UTF-8 and %Unicode FAQ here: - * http://www.cl.cam.ac.uk/~mgk25/unicode.html - * - * @par Glib::ustring vs. std::string - * @par - * Glib::ustring has implicit type conversions to and from std::string. - * These conversions do @em not convert to/from the current locale (see - * Glib::locale_from_utf8() and Glib::locale_to_utf8() if you need that). You - * can always use std::string instead of Glib::ustring -- however, using - * std::string with multi-byte characters is quite hard. For instance, - * std::string::operator[] might return a byte in the middle of a - * character, and std::string::length() returns the number of bytes - * rather than characters. So don't do that without a good reason. - * @par - * In a perfect world the C++ Standard Library would contain a UTF-8 string - * class. Unfortunately, the C++ standard doesn't mention UTF-8 at all. Note - * that std::wstring is not a UTF-8 string class because it contains only - * fixed-width characters (where width could be 32, 16, or even 8 bits). - * - * @par Glib::ustring and stream input/output - * @par - * The stream I/O operators, that is operator<<() and operator>>(), perform - * implicit charset conversion to/from the current locale. If that's not - * what you intented (e.g. when writing to a configuration file that should - * always be UTF-8 encoded) use ustring::raw() to override this behaviour. - * @par - * If you're using std::ostringstream to build strings for display in the - * user interface, you must convert the result back to UTF-8 as shown below: - * @code - * std::ostringstream output; - * output.imbue(std::locale("")); // use the user's locale for this stream - * output << percentage << " % done"; - * label->set_text(Glib::locale_to_utf8(output.str())); - * @endcode - * - * @par Formatted output and internationalization - * @par - * The methods ustring::compose() and ustring::format() provide a convenient - * and powerful alternative to string streams, as shown in the example below. - * Refer to the method documentation of compose() and format() for details. - * @code - * using Glib::ustring; - * - * ustring message = ustring::compose("%1 is lower than 0x%2.", - * 12, ustring::format(std::hex, 16)); - * @endcode - * - * @par Implementation notes - * @par - * Glib::ustring does not inherit from std::string, because std::string was - * intended to be a final class. For instance, it does not have a virtual - * destructor. Also, a HAS-A relationship is more appropriate because - * ustring can't just enhance the std::string interface. Rather, it has to - * reimplement the interface so that all operations are based on characters - * instead of bytes. - */ -class ustring -{ -public: - typedef std::string::size_type size_type; - typedef std::string::difference_type difference_type; - - typedef gunichar value_type; - typedef gunichar & reference; - typedef const gunichar & const_reference; - - typedef ustring_Iterator iterator; - typedef ustring_Iterator const_iterator; - -#ifndef GLIBMM_HAVE_SUN_REVERSE_ITERATOR - - typedef std::reverse_iterator reverse_iterator; - typedef std::reverse_iterator const_reverse_iterator; - -#else - - typedef std::reverse_iterator reverse_iterator; - typedef std::reverse_iterator const_reverse_iterator; - -#endif /* GLIBMM_HAVE_SUN_REVERSE_ITERATOR */ - -#ifdef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS - static GLIBMM_API const size_type npos = std::string::npos; -#else - //The IRIX MipsPro compiler says "The indicated constant value is not known", - //so we need to initalize the static member data elsewhere. - static GLIBMM_API const size_type npos; -#endif - - /*! Default constructor, which creates an empty string. - */ - ustring(); - - ~ustring(); - - /*! Construct a ustring as a copy of another ustring. - * @param other A source string. - */ - ustring(const ustring& other); - - /*! Assign the value of another string to this string. - * @param other A source string. - */ - ustring& operator=(const ustring& other); - - /*! Swap contents with another string. - * @param other String to swap with. - */ - void swap(ustring& other); - - /*! Construct a ustring as a copy of another std::string. - * @param src A source std::string containing text encoded as UTF-8. - */ - ustring(const std::string& src); - - /*! Construct a ustring as a copy of a substring. - * @param src %Source ustring. - * @param i Index of first character to copy from. - * @param n Number of UTF-8 characters to copy (defaults to copying the remainder). - */ - ustring(const ustring& src, size_type i, size_type n=npos); - - /*! Construct a ustring as a partial copy of a C string. - * @param src %Source C string encoded as UTF-8. - * @param n Number of UTF-8 characters to copy. - */ - ustring(const char* src, size_type n); - - /*! Construct a ustring as a copy of a C string. - * @param src %Source C string encoded as UTF-8. - */ - ustring(const char* src); - - /*! Construct a ustring as multiple characters. - * @param n Number of characters. - * @param uc UCS-4 code point to use. - */ - ustring(size_type n, gunichar uc); - - /*! Construct a ustring as multiple characters. - * @param n Number of characters. - * @param c ASCII character to use. - */ - ustring(size_type n, char c); - - /*! Construct a ustring as a copy of a range. - * @param pbegin Start of range. - * @param pend End of range. - */ - template ustring(In pbegin, In pend); - - -//! @name Assign new contents. -//! @{ - - ustring& operator=(const std::string& src); - ustring& operator=(const char* src); - ustring& operator=(gunichar uc); - ustring& operator=(char c); - - ustring& assign(const ustring& src); - ustring& assign(const ustring& src, size_type i, size_type n); - ustring& assign(const char* src, size_type n); - ustring& assign(const char* src); - ustring& assign(size_type n, gunichar uc); - ustring& assign(size_type n, char c); - template ustring& assign(In pbegin, In pend); - -//! @} -//! @name Append to the string. -//! @{ - - ustring& operator+=(const ustring& src); - ustring& operator+=(const char* src); - ustring& operator+=(gunichar uc); - ustring& operator+=(char c); - void push_back(gunichar uc); - void push_back(char c); - - ustring& append(const ustring& src); - ustring& append(const ustring& src, size_type i, size_type n); - ustring& append(const char* src, size_type n); - ustring& append(const char* src); - ustring& append(size_type n, gunichar uc); - ustring& append(size_type n, char c); - template ustring& append(In pbegin, In pend); - -//! @} -//! @name Insert into the string. -//! @{ - - ustring& insert(size_type i, const ustring& src); - ustring& insert(size_type i, const ustring& src, size_type i2, size_type n); - ustring& insert(size_type i, const char* src, size_type n); - ustring& insert(size_type i, const char* src); - ustring& insert(size_type i, size_type n, gunichar uc); - ustring& insert(size_type i, size_type n, char c); - - iterator insert(iterator p, gunichar uc); - iterator insert(iterator p, char c); - void insert(iterator p, size_type n, gunichar uc); - void insert(iterator p, size_type n, char c); - template void insert(iterator p, In pbegin, In pend); - -//! @} -//! @name Replace sub-strings. -//! @{ - - ustring& replace(size_type i, size_type n, const ustring& src); - ustring& replace(size_type i, size_type n, const ustring& src, size_type i2, size_type n2); - ustring& replace(size_type i, size_type n, const char* src, size_type n2); - ustring& replace(size_type i, size_type n, const char* src); - ustring& replace(size_type i, size_type n, size_type n2, gunichar uc); - ustring& replace(size_type i, size_type n, size_type n2, char c); - - ustring& replace(iterator pbegin, iterator pend, const ustring& src); - ustring& replace(iterator pbegin, iterator pend, const char* src, size_type n); - ustring& replace(iterator pbegin, iterator pend, const char* src); - ustring& replace(iterator pbegin, iterator pend, size_type n, gunichar uc); - ustring& replace(iterator pbegin, iterator pend, size_type n, char c); - template ustring& replace(iterator pbegin, iterator pend, In pbegin2, In pend2); - -//! @} -//! @name Erase sub-strings. -//! @{ - - void clear(); - ustring& erase(size_type i, size_type n=npos); - ustring& erase(); - iterator erase(iterator p); - iterator erase(iterator pbegin, iterator pend); - -//! @} -//! @name Compare and collate. -//! @{ - - int compare(const ustring& rhs) const; - int compare(const char* rhs) const; - int compare(size_type i, size_type n, const ustring& rhs) const; - int compare(size_type i, size_type n, const ustring& rhs, size_type i2, size_type n2) const; - int compare(size_type i, size_type n, const char* rhs, size_type n2) const; - int compare(size_type i, size_type n, const char* rhs) const; - - /*! Create a unique sorting key for the UTF-8 string. If you need to - * compare UTF-8 strings regularly, e.g. for sorted containers such as - * std::set<>, you should consider creating a collate key first - * and compare this key instead of the actual string. - * - * The ustring::compare() methods as well as the relational operators - * == != < > <= >= are quite costly - * because they have to deal with %Unicode and the collation rules defined by - * the current locale. Converting both operands to UCS-4 is just the first - * of several costly steps involved when comparing ustrings. So be careful. - */ - std::string collate_key() const; - - /*! Create a unique key for the UTF-8 string that can be used for caseless - * sorting. ustr.casefold_collate_key() results in the same string - * as ustr.casefold().collate_key(), but the former is likely more - * efficient. - */ - std::string casefold_collate_key() const; - -//! @} -//! @name Extract characters and sub-strings. -//! @{ - - /*! No reference return; use replace() to write characters. */ - value_type operator[](size_type i) const; - - /*! No reference return; use replace() to write characters. @throw std::out_of_range */ - value_type at(size_type i) const; - - inline ustring substr(size_type i=0, size_type n=npos) const; - -//! @} -//! @name Access a sequence of characters. -//! @{ - - iterator begin(); - iterator end(); - const_iterator begin() const; - const_iterator end() const; - reverse_iterator rbegin(); - reverse_iterator rend(); - const_reverse_iterator rbegin() const; - const_reverse_iterator rend() const; - -//! @} -//! @name Find sub-strings. -//! @{ - - size_type find(const ustring& str, size_type i=0) const; - size_type find(const char* str, size_type i, size_type n) const; - size_type find(const char* str, size_type i=0) const; - size_type find(gunichar uc, size_type i=0) const; - size_type find(char c, size_type i=0) const; - - size_type rfind(const ustring& str, size_type i=npos) const; - size_type rfind(const char* str, size_type i, size_type n) const; - size_type rfind(const char* str, size_type i=npos) const; - size_type rfind(gunichar uc, size_type i=npos) const; - size_type rfind(char c, size_type i=npos) const; - -//! @} -//! @name Match against a set of characters. -//! @{ - - size_type find_first_of(const ustring& match, size_type i=0) const; - size_type find_first_of(const char* match, size_type i, size_type n) const; - size_type find_first_of(const char* match, size_type i=0) const; - size_type find_first_of(gunichar uc, size_type i=0) const; - size_type find_first_of(char c, size_type i=0) const; - - size_type find_last_of(const ustring& match, size_type i=npos) const; - size_type find_last_of(const char* match, size_type i, size_type n) const; - size_type find_last_of(const char* match, size_type i=npos) const; - size_type find_last_of(gunichar uc, size_type i=npos) const; - size_type find_last_of(char c, size_type i=npos) const; - - size_type find_first_not_of(const ustring& match, size_type i=0) const; - size_type find_first_not_of(const char* match, size_type i, size_type n) const; - size_type find_first_not_of(const char* match, size_type i=0) const; - size_type find_first_not_of(gunichar uc, size_type i=0) const; - size_type find_first_not_of(char c, size_type i=0) const; - - size_type find_last_not_of(const ustring& match, size_type i=npos) const; - size_type find_last_not_of(const char* match, size_type i, size_type n) const; - size_type find_last_not_of(const char* match, size_type i=npos) const; - size_type find_last_not_of(gunichar uc, size_type i=npos) const; - size_type find_last_not_of(char c, size_type i=npos) const; - -//! @} -//! @name Retrieve the string's size. -//! @{ - - /** Returns true if the string is empty. Equivalent to *this == "". - * @result Whether the string is empty. - */ - bool empty() const; - - /** Returns the number of characters in the string, not including any null-termination. - * @result The number of UTF-8 characters. - * - * @see bytes(), empty() - */ - size_type size() const; - - //We have length() as well as size(), because std::string has both. - - /** This is the same as size(). - */ - size_type length() const; - - /** Returns the number of bytes in the string, not including any null-termination. - * @result The number of bytes. - * - * @see size(), empty() - */ - size_type bytes() const; - -//! @} -//! @name Change the string's size. -//! @{ - - void resize(size_type n, gunichar uc); - void resize(size_type n, char c='\0'); - -//! @} -//! @name Control the allocated memory. -//! @{ - - size_type capacity() const; - size_type max_size() const; - void reserve(size_type n=0); - -//! @} -//! @name Get a per-byte representation of the string. -//! @{ - - inline operator std::string() const; // e.g. std::string str = ustring(); - inline const std::string& raw() const; - - // Not necessarily an ASCII char*. Use g_utf8_*() where necessary. - const char* data() const; - const char* c_str() const; - - /*! @return Number of copied @em bytes, not characters. */ - size_type copy(char* dest, size_type n, size_type i=0) const; - -//! @} -//! @name UTF-8 utilities. -//! @{ - - /*! Check whether the string is valid UTF-8. */ - bool validate() const; - - /*! Check whether the string is valid UTF-8. */ - bool validate(iterator& first_invalid); - - /*! Check whether the string is valid UTF-8. */ - bool validate(const_iterator& first_invalid) const; - - /*! Check whether the string is plain 7-bit ASCII. @par - * Unlike any other ustring method, is_ascii() is safe to use on invalid - * UTF-8 strings. If the string isn't valid UTF-8, it cannot be valid - * ASCII either, therefore is_ascii() will just return @c false then. - * @return Whether the string contains only ASCII characters. - */ - bool is_ascii() const; - - /*! "Normalize" the %Unicode character representation of the string. */ - ustring normalize(NormalizeMode mode = NORMALIZE_DEFAULT_COMPOSE) const; - -//! @} -//! @name Character case conversion. -//! @{ - - /*! Returns a new UTF-8 string with all characters characters converted to - * their uppercase equivalent, while honoring the current locale. The - * resulting string may change in the number of bytes as well as in the - * number of characters. For instance, the German sharp s - * "ß" will be replaced by two characters - * "SS" because there is no capital "ß". - */ - ustring uppercase() const; - - /*! Returns a new UTF-8 string with all characters characters converted to - * their lowercase equivalent, while honoring the current locale. The - * resulting string may change in the number of bytes as well as in the - * number of characters. - */ - ustring lowercase() const; - - /*! Returns a caseless representation of the UTF-8 string. The resulting - * string doesn't correspond to any particular case, therefore the result - * is only useful to compare strings and should never be displayed to the - * user. - */ - ustring casefold() const; - -//! @} -//! @name Message formatting. -//! @{ - - /*! Substitute placeholders in a format string with the referenced arguments. - * The template string should be in qt-format, that is - * "%1", "%2", ..., "%9" are used as placeholders - * and "%%" denotes a literal "%". Substitutions may be - * reordered. - * @par Example: - * @code - * using Glib::ustring; - * const int percentage = 50; - * const ustring text = ustring::compose("%1%% done", percentage); - * @endcode - * @param fmt A template string in qt-format. - * @param a1 The argument to substitute for "%1". - * @return The substituted message string. - * @throw Glib::ConvertError - * - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, const T1& a1); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, const T1& a1, const T2& a2); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6, - const T7& a7); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6, - const T7& a7, const T8& a8); - - /* See the documentation for compose(const ustring& fmt, const T1& a1). - * @newin2p16 - */ - template - static inline - ustring compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6, - const T7& a7, const T8& a8, const T9& a9); - - /*! Format the argument to its string representation. - * Applies the arguments in order to an std::wostringstream and returns the - * resulting string. I/O manipulators may also be used as arguments. This - * greatly simplifies the common task of converting a number to a string, as - * demonstrated by the example below. The format() methods can also be used - * in conjunction with compose() to facilitate localization of user-visible - * messages. - * @code - * using Glib::ustring; - * double value = 22.0 / 7.0; - * ustring text = ustring::format(std::fixed, std::setprecision(2), value); - * @endcode - * @note The use of a wide character stream in the implementation of format() - * is almost completely transparent. However, one of the instances where the - * use of wide streams becomes visible is when the std::setfill() stream - * manipulator is used. In order for std::setfill() to work the argument - * must be of type wchar_t. This can be achieved by using the - * L prefix with a character literal, as shown in the example. - * @code - * using Glib::ustring; - * // Insert leading zeroes to fill in at least six digits - * ustring text = ustring::format(std::setfill(L'0'), std::setw(6), 123); - * @endcode - * - * @param a1 A streamable value or an I/O manipulator. - * @return The string representation of the argument stream. - * @throw Glib::ConvertError - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2, const T3& a3); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2, const T3& a3, const T4& a4); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2, const T3& a3, const T4& a4, - const T5& a5, const T6& a6, const T7& a7); - - /* See the documentation for format(const T1& a1). - * - * @newin2p16 - */ - template - static inline - ustring format(const T1& a1, const T2& a2, const T3& a3, const T4& a4, - const T5& a5, const T6& a6, const T7& a7, const T8& a8); -//! @} - -private: - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -#ifdef GLIBMM_HAVE_STD_ITERATOR_TRAITS - template ::value_type> -#else - template ::value_type> -#endif - struct SequenceToString; - - //The Tru64 compiler needs these partial specializations to be declared here, - //as well as defined later. That's probably correct. murrayc. - template struct SequenceToString; - template struct SequenceToString; - - template class Stringify; - class FormatStream; - - static ustring compose_argv(const ustring& fmt, int argc, const ustring* const* argv); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - std::string string_; -}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -template -struct ustring::SequenceToString -{}; - -template -struct ustring::SequenceToString : public std::string -{ - SequenceToString(In pbegin, In pend); -}; - -template -struct ustring::SequenceToString : public std::string -{ - SequenceToString(In pbegin, In pend); -}; - -template <> -struct ustring::SequenceToString : public std::string -{ - SequenceToString(Glib::ustring::iterator pbegin, Glib::ustring::iterator pend); -}; - -template <> -struct ustring::SequenceToString : public std::string -{ - SequenceToString(Glib::ustring::const_iterator pbegin, Glib::ustring::const_iterator pend); -}; - -class ustring::FormatStream -{ -private: -#ifdef GLIBMM_HAVE_WIDE_STREAM - typedef std::wostringstream StreamType; -#else - typedef std::ostringstream StreamType; -#endif - StreamType stream_; - - // noncopyable - FormatStream(const ustring::FormatStream&); - FormatStream& operator=(const ustring::FormatStream&); - -public: - FormatStream(); - ~FormatStream(); - - template inline void stream(const T& value); - inline void stream(const char* value); - ustring to_string() const; -}; - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** Stream input operator. - * @relates Glib::ustring - * @throw Glib::ConvertError - */ -std::istream& operator>>(std::istream& is, Glib::ustring& utf8_string); - -/** Stream output operator. - * @relates Glib::ustring - * @throw Glib::ConvertError - */ -std::ostream& operator<<(std::ostream& os, const Glib::ustring& utf8_string); - -#ifdef GLIBMM_HAVE_WIDE_STREAM - -/** Wide stream input operator. - * @relates Glib::ustring - * @throw Glib::ConvertError - */ -std::wistream& operator>>(std::wistream& is, ustring& utf8_string); - -/** Wide stream output operator. - * @relates Glib::ustring - * @throw Glib::ConvertError - */ -std::wostream& operator<<(std::wostream& os, const ustring& utf8_string); - -#endif /* GLIBMM_HAVE_WIDE_STREAM */ - -/***************************************************************************/ -/* Inline implementation */ -/***************************************************************************/ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/**** Glib::ustring_Iterator<> *********************************************/ - -template inline -ustring_Iterator::ustring_Iterator(T pos) -: - pos_ (pos) -{} - -template inline -T ustring_Iterator::base() const -{ - return pos_; -} - -template inline -ustring_Iterator::ustring_Iterator() -: - pos_ () -{} - -template inline -ustring_Iterator::ustring_Iterator(const ustring_Iterator& other) -: - pos_ (other.base()) -{} - -template inline -typename ustring_Iterator::value_type ustring_Iterator::operator*() const -{ - return Glib::get_unichar_from_std_iterator(pos_); -} - -template inline -ustring_Iterator& ustring_Iterator::operator++() -{ - pos_ += g_utf8_skip[static_cast(*pos_)]; - return *this; -} - -template inline -const ustring_Iterator ustring_Iterator::operator++(int) -{ - const ustring_Iterator temp (*this); - this->operator++(); - return temp; -} - -template inline -ustring_Iterator& ustring_Iterator::operator--() -{ - do --pos_; while((static_cast(*pos_) & 0xC0u) == 0x80); - return *this; -} - -template inline -const ustring_Iterator ustring_Iterator::operator--(int) -{ - const ustring_Iterator temp (*this); - this->operator--(); - return temp; -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** @relates Glib::ustring_Iterator */ -template inline -bool operator==(const ustring_Iterator& lhs, const ustring_Iterator& rhs) -{ - return (lhs.base() == rhs.base()); -} - -/** @relates Glib::ustring_Iterator */ -template inline -bool operator!=(const ustring_Iterator& lhs, const ustring_Iterator& rhs) -{ - return (lhs.base() != rhs.base()); -} - -/** @relates Glib::ustring_Iterator */ -template inline -bool operator<(const ustring_Iterator& lhs, const ustring_Iterator& rhs) -{ - return (lhs.base() < rhs.base()); -} - -/** @relates Glib::ustring_Iterator */ -template inline -bool operator>(const ustring_Iterator& lhs, const ustring_Iterator& rhs) -{ - return (lhs.base() > rhs.base()); -} - -/** @relates Glib::ustring_Iterator */ -template inline -bool operator<=(const ustring_Iterator& lhs, const ustring_Iterator& rhs) -{ - return (lhs.base() <= rhs.base()); -} - -/** @relates Glib::ustring_Iterator */ -template inline -bool operator>=(const ustring_Iterator& lhs, const ustring_Iterator& rhs) -{ - return (lhs.base() >= rhs.base()); -} - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/**** Glib::ustring::SequenceToString **************************************/ - -template -ustring::SequenceToString::SequenceToString(In pbegin, In pend) -: - std::string(pbegin, pend) -{} - -template -ustring::SequenceToString::SequenceToString(In pbegin, In pend) -{ - char utf8_buf[6]; // stores a single UTF-8 character - - for(; pbegin != pend; ++pbegin) - { - const std::string::size_type utf8_len = g_unichar_to_utf8(*pbegin, utf8_buf); - this->append(utf8_buf, utf8_len); - } -} - -/**** Glib::ustring::FormatStream ******************************************/ - -template inline -void ustring::FormatStream::stream(const T& value) -{ - stream_ << value; -} - -inline -void ustring::FormatStream::stream(const char* value) -{ - stream_ << ustring(value); -} - -/**** Glib::ustring ********************************************************/ - -template -ustring::ustring(In pbegin, In pend) -: - string_ (Glib::ustring::SequenceToString(pbegin, pend)) -{} - -template -ustring& ustring::assign(In pbegin, In pend) -{ - Glib::ustring::SequenceToString temp_string (pbegin, pend); - string_.swap(temp_string); // constant-time operation - return *this; -} - -template -ustring& ustring::append(In pbegin, In pend) -{ - string_.append(Glib::ustring::SequenceToString(pbegin, pend)); - return *this; -} - -template -void ustring::insert(ustring::iterator p, In pbegin, In pend) -{ - string_.insert(p.base(), Glib::ustring::SequenceToString(pbegin, pend)); -} - -template -ustring& ustring::replace(ustring::iterator pbegin, ustring::iterator pend, In pbegin2, In pend2) -{ - string_.replace( - pbegin.base(), pend.base(), - Glib::ustring::SequenceToString(pbegin2, pend2)); - return *this; -} - -// The ustring methods substr() and operator std::string() are inline, -// so that the compiler has a fair chance to optimize the copy ctor away. - -inline -ustring ustring::substr(ustring::size_type i, ustring::size_type n) const -{ - return ustring(*this, i, n); -} - -inline -ustring::operator std::string() const -{ - return string_; -} - -inline -const std::string& ustring::raw() const -{ - return string_; -} - -template -inline // static -ustring ustring::format(const T1& a1) -{ - ustring::FormatStream buf; - buf.stream(a1); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2, const T3& a3) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - buf.stream(a3); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2, const T3& a3, const T4& a4) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - buf.stream(a3); - buf.stream(a4); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - buf.stream(a3); - buf.stream(a4); - buf.stream(a5); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - buf.stream(a3); - buf.stream(a4); - buf.stream(a5); - buf.stream(a6); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2, const T3& a3, const T4& a4, - const T5& a5, const T6& a6, const T7& a7) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - buf.stream(a3); - buf.stream(a4); - buf.stream(a5); - buf.stream(a6); - buf.stream(a7); - return buf.to_string(); -} - -template -inline // static -ustring ustring::format(const T1& a1, const T2& a2, const T3& a3, const T4& a4, - const T5& a5, const T6& a6, const T7& a7, const T8& a8) -{ - ustring::FormatStream buf; - buf.stream(a1); - buf.stream(a2); - buf.stream(a3); - buf.stream(a4); - buf.stream(a5); - buf.stream(a6); - buf.stream(a7); - buf.stream(a8); - return buf.to_string(); -} - -/** An inner class used by ustring. - */ -template -class ustring::Stringify -{ -private: - ustring string_; - - // noncopyable - Stringify(const ustring::Stringify&); - Stringify& operator=(const ustring::Stringify&); - -public: - explicit inline Stringify(const T& arg) : string_ (ustring::format(arg)) {} - - //TODO: Why is this here? See the template specialization: - explicit inline Stringify(const char* arg) : string_(arg) {} - - inline const ustring* ptr() const { return &string_; } -}; - -/// A template specialization for Stringify: -template <> -class ustring::Stringify -{ -private: - const ustring& string_; - - // noncopyable - Stringify(const ustring::Stringify&); - Stringify& operator=(const ustring::Stringify&); - -public: - explicit inline Stringify(const ustring& arg) : string_(arg) {} - inline const ustring* ptr() const { return &string_; } -}; - -/** A template specialization for Stringify, - * because the regular template has ambiguous constructor overloads for char*. - */ -template <> -class ustring::Stringify -{ -private: - const ustring string_; - - // noncopyable - Stringify(const ustring::Stringify&); - Stringify& operator=(const ustring::Stringify&); - -public: - explicit inline Stringify(const char* arg) : string_(arg) {} - inline const ustring* ptr() const { return &string_; } -}; - -/** A template specialization for Stringify (for string literals), - * because the regular template has ambiguous constructor overloads for char*. - */ -template -class ustring::Stringify -{ -private: - const ustring string_; - - // noncopyable - Stringify(const ustring::Stringify&); - Stringify& operator=(const ustring::Stringify&); - -public: - explicit inline Stringify(const char arg[N]) : string_(arg) {} - inline const ustring* ptr() const { return &string_; } -}; - -template -inline // static -ustring ustring::compose(const ustring& fmt, const T1& a1) -{ - const ustring::Stringify s1(a1); - - const ustring *const argv[] = { s1.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, const T1& a1, const T2& a2) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - - const ustring *const argv[] = { s1.ptr(), s2.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, const T4& a4) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - const ustring::Stringify s4(a4); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr(), s4.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - const ustring::Stringify s4(a4); - const ustring::Stringify s5(a5); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr(), s4.ptr(), s5.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - const ustring::Stringify s4(a4); - const ustring::Stringify s5(a5); - const ustring::Stringify s6(a6); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr(), s4.ptr(), - s5.ptr(), s6.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6, const T7& a7) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - const ustring::Stringify s4(a4); - const ustring::Stringify s5(a5); - const ustring::Stringify s6(a6); - const ustring::Stringify s7(a7); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr(), s4.ptr(), - s5.ptr(), s6.ptr(), s7.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6, - const T7& a7, const T8& a8) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - const ustring::Stringify s4(a4); - const ustring::Stringify s5(a5); - const ustring::Stringify s6(a6); - const ustring::Stringify s7(a7); - const ustring::Stringify s8(a8); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr(), s4.ptr(), - s5.ptr(), s6.ptr(), s7.ptr(), s8.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -template -inline // static -ustring ustring::compose(const ustring& fmt, - const T1& a1, const T2& a2, const T3& a3, - const T4& a4, const T5& a5, const T6& a6, - const T7& a7, const T8& a8, const T9& a9) -{ - const ustring::Stringify s1(a1); - const ustring::Stringify s2(a2); - const ustring::Stringify s3(a3); - const ustring::Stringify s4(a4); - const ustring::Stringify s5(a5); - const ustring::Stringify s6(a6); - const ustring::Stringify s7(a7); - const ustring::Stringify s8(a8); - const ustring::Stringify s9(a9); - - const ustring *const argv[] = { s1.ptr(), s2.ptr(), s3.ptr(), s4.ptr(), - s5.ptr(), s6.ptr(), s7.ptr(), s8.ptr(), s9.ptr() }; - return ustring::compose_argv(fmt, G_N_ELEMENTS(argv), argv); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** @relates Glib::ustring */ -inline -void swap(ustring& lhs, ustring& rhs) -{ - lhs.swap(rhs); -} - - -/**** Glib::ustring -- comparison operators ********************************/ - -/** @relates Glib::ustring */ -inline bool operator==(const ustring& lhs, const ustring& rhs) - { return (lhs.compare(rhs) == 0); } - -/** @relates Glib::ustring */ -inline bool operator==(const ustring& lhs, const char* rhs) - { return (lhs.compare(rhs) == 0); } - -/** @relates Glib::ustring */ -inline bool operator==(const char* lhs, const ustring& rhs) - { return (rhs.compare(lhs) == 0); } - - -/** @relates Glib::ustring */ -inline bool operator!=(const ustring& lhs, const ustring& rhs) - { return (lhs.compare(rhs) != 0); } - -/** @relates Glib::ustring */ -inline bool operator!=(const ustring& lhs, const char* rhs) - { return (lhs.compare(rhs) != 0); } - -/** @relates Glib::ustring */ -inline bool operator!=(const char* lhs, const ustring& rhs) - { return (rhs.compare(lhs) != 0); } - - -/** @relates Glib::ustring */ -inline bool operator<(const ustring& lhs, const ustring& rhs) - { return (lhs.compare(rhs) < 0); } - -/** @relates Glib::ustring */ -inline bool operator<(const ustring& lhs, const char* rhs) - { return (lhs.compare(rhs) < 0); } - -/** @relates Glib::ustring */ -inline bool operator<(const char* lhs, const ustring& rhs) - { return (rhs.compare(lhs) > 0); } - - -/** @relates Glib::ustring */ -inline bool operator>(const ustring& lhs, const ustring& rhs) - { return (lhs.compare(rhs) > 0); } - -/** @relates Glib::ustring */ -inline bool operator>(const ustring& lhs, const char* rhs) - { return (lhs.compare(rhs) > 0); } - -/** @relates Glib::ustring */ -inline bool operator>(const char* lhs, const ustring& rhs) - { return (rhs.compare(lhs) < 0); } - - -/** @relates Glib::ustring */ -inline bool operator<=(const ustring& lhs, const ustring& rhs) - { return (lhs.compare(rhs) <= 0); } - -/** @relates Glib::ustring */ -inline bool operator<=(const ustring& lhs, const char* rhs) - { return (lhs.compare(rhs) <= 0); } - -/** @relates Glib::ustring */ -inline bool operator<=(const char* lhs, const ustring& rhs) - { return (rhs.compare(lhs) >= 0); } - - -/** @relates Glib::ustring */ -inline bool operator>=(const ustring& lhs, const ustring& rhs) - { return (lhs.compare(rhs) >= 0); } - -/** @relates Glib::ustring */ -inline bool operator>=(const ustring& lhs, const char* rhs) - { return (lhs.compare(rhs) >= 0); } - -/** @relates Glib::ustring */ -inline bool operator>=(const char* lhs, const ustring& rhs) - { return (rhs.compare(lhs) <= 0); } - - -/**** Glib::ustring -- concatenation operators *****************************/ - -/** @relates Glib::ustring */ -inline ustring operator+(const ustring& lhs, const ustring& rhs) -{ - ustring temp(lhs); - temp += rhs; - return temp; -} - -/** @relates Glib::ustring */ -inline ustring operator+(const ustring& lhs, const char* rhs) -{ - ustring temp(lhs); - temp += rhs; - return temp; -} - -/** @relates Glib::ustring */ -inline ustring operator+(const char* lhs, const ustring& rhs) -{ - ustring temp(lhs); - temp += rhs; - return temp; -} - -/** @relates Glib::ustring */ -inline ustring operator+(const ustring& lhs, gunichar rhs) -{ - ustring temp(lhs); - temp += rhs; - return temp; -} - -/** @relates Glib::ustring */ -inline ustring operator+(gunichar lhs, const ustring& rhs) -{ - ustring temp(1, lhs); - temp += rhs; - return temp; -} - -/** @relates Glib::ustring */ -inline ustring operator+(const ustring& lhs, char rhs) -{ - ustring temp(lhs); - temp += rhs; - return temp; -} - -/** @relates Glib::ustring */ -inline ustring operator+(char lhs, const ustring& rhs) -{ - ustring temp(1, lhs); - temp += rhs; - return temp; -} - -} // namespace Glib - - -#endif /* _GLIBMM_USTRING_H */ - diff --git a/libs/glibmm2/glib/glibmm/utility.cc b/libs/glibmm2/glib/glibmm/utility.cc deleted file mode 100644 index 1b091511eb..0000000000 --- a/libs/glibmm2/glib/glibmm/utility.cc +++ /dev/null @@ -1,39 +0,0 @@ -// -*- c++ -*- - -/* $Id: utility.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -void Glib::append_canonical_typename(std::string& dest, const char* type_name) -{ - const std::string::size_type offset = dest.size(); - dest += type_name; - - std::string::iterator p = dest.begin() + offset; - const std::string::iterator pend = dest.end(); - - for(; p != pend; ++p) - { - if(!(g_ascii_isalnum(*p) || *p == '_' || *p == '-')) - *p = '+'; - } -} - diff --git a/libs/glibmm2/glib/glibmm/utility.h b/libs/glibmm2/glib/glibmm/utility.h deleted file mode 100644 index 6ae8b7063c..0000000000 --- a/libs/glibmm2/glib/glibmm/utility.h +++ /dev/null @@ -1,116 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_UTILITY_H -#define _GLIBMM_UTILITY_H -/* $Id: utility.h 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/* Occasionally, a struct variable has to be initialized after its definition, - * i.e. when using structs as class member data. For convenience, the macro - * GLIBMM_INITIALIZE_STRUCT(Var, Type) is provided. It even avoids creating - * a temporary if the compiler is GCC. - */ -#if ((__GNUC__ >= 3) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)) && !defined(__STRICT_ANSI__) - -#define GLIBMM_INITIALIZE_STRUCT(Var, Type) __builtin_memset(&(Var), 0, sizeof(Type)) - -#else - -#define GLIBMM_INITIALIZE_STRUCT(Var, Type) \ - G_STMT_START{ \ - Type const temp_initializer__ = { 0, }; \ - (Var) = temp_initializer__; \ - }G_STMT_END - -#endif /* ((__GNUC__ >= 3) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)) && !defined(__STRICT_ANSI__) */ - - -namespace Glib -{ - -// These are used by gtkmmproc-generated type conversions: - -// Helper to deal with memory allocated -// by GLib functions in an exception-safe manner. -template -class ScopedPtr -{ -private: - T* ptr_; - ScopedPtr(const ScopedPtr&); - ScopedPtr& operator=(const ScopedPtr&); - -public: - ScopedPtr() : ptr_ (0) {} - explicit ScopedPtr(T* ptr) : ptr_ (ptr) {} - ~ScopedPtr() { g_free(ptr_); } - T* get() const { return ptr_; } - T** addr() { return &ptr_; } -}; - -// Removes the const nature of a ptr -template -inline T* unconst(const T* t) - { return const_cast(t); } - -// Convert const gchar* to ustring, while treating NULL as empty string. -inline -Glib::ustring convert_const_gchar_ptr_to_ustring(const char* str) -{ - return (str) ? Glib::ustring(str) : Glib::ustring(); -} - -// Convert const gchar* to std::string, while treating NULL as empty string. -inline -std::string convert_const_gchar_ptr_to_stdstring(const char* str) -{ - return (str) ? std::string(str) : std::string(); -} - -// Convert a non-const gchar* return value to ustring, freeing it too. -inline -Glib::ustring convert_return_gchar_ptr_to_ustring(char* str) -{ - return (str) ? Glib::ustring(Glib::ScopedPtr(str).get()) - : Glib::ustring(); -} - -// Convert a non-const gchar* return value to std::string, freeing it too. -inline -std::string convert_return_gchar_ptr_to_stdstring(char* str) -{ - return (str) ? std::string(Glib::ScopedPtr(str).get()) - : std::string(); -} - -// Append type_name to dest, while replacing special characters with '+'. -void append_canonical_typename(std::string& dest, const char* type_name); - -} // namespace Glib - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -#endif /* _GLIBMM_UTILITY_H */ - diff --git a/libs/glibmm2/glib/glibmm/value.cc b/libs/glibmm2/glib/glibmm/value.cc deleted file mode 100644 index 63aff5f4d0..0000000000 --- a/libs/glibmm2/glib/glibmm/value.cc +++ /dev/null @@ -1,250 +0,0 @@ -// -*- c++ -*- -/* $Id: value.cc 292 2006-05-14 12:12:41Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace Glib -{ - -/**** Glib::ValueBase ******************************************************/ - -ValueBase::ValueBase() -{ - GLIBMM_INITIALIZE_STRUCT(gobject_, GValue); -} - -void ValueBase::init(GType type) -{ - g_value_init(&gobject_, type); -} - -void ValueBase::init(const GValue* value) -{ - g_value_init(&gobject_, G_VALUE_TYPE(value)); - - if(value) - g_value_copy(value, &gobject_); -} - -ValueBase::ValueBase(const ValueBase& other) -{ - GLIBMM_INITIALIZE_STRUCT(gobject_, GValue); - - g_value_init(&gobject_, G_VALUE_TYPE(&other.gobject_)); - g_value_copy(&other.gobject_, &gobject_); -} - -ValueBase& ValueBase::operator=(const ValueBase& other) -{ - // g_value_copy() prevents self-assignment and deletes the destination. - g_value_copy(&other.gobject_, &gobject_); - return *this; -} - -ValueBase::~ValueBase() -{ - g_value_unset(&gobject_); -} - -void ValueBase::reset() -{ - g_value_reset(&gobject_); -} - - -/**** Glib::ValueBase_Boxed ************************************************/ - -// static -GType ValueBase_Boxed::value_type() -{ - return G_TYPE_BOXED; -} - -void ValueBase_Boxed::set_boxed(const void* data) -{ - g_value_set_boxed(&gobject_, data); -} - -void* ValueBase_Boxed::get_boxed() const -{ - return g_value_get_boxed(&gobject_); -} - -GParamSpec* ValueBase_Boxed::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_boxed( - name.c_str(), 0, 0, G_VALUE_TYPE(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::ValueBase_Object ***********************************************/ - -// static -GType ValueBase_Object::value_type() -{ - return G_TYPE_OBJECT; -} - -void ValueBase_Object::set_object(Glib::ObjectBase* data) -{ - g_value_set_object(&gobject_, (data) ? data->gobj() : 0); -} - -Glib::ObjectBase* ValueBase_Object::get_object() const -{ - GObject *const data = static_cast(g_value_get_object(&gobject_)); - return Glib::wrap_auto(data, false); -} - -Glib::RefPtr ValueBase_Object::get_object_copy() const -{ - GObject *const data = static_cast(g_value_get_object(&gobject_)); - return Glib::RefPtr(Glib::wrap_auto(data, true)); -} - -GParamSpec* ValueBase_Object::create_param_spec(const Glib::ustring& name) const -{ - // Glib::Value_Pointer<> derives from Glib::ValueBase_Object, because - // we don't know beforehand whether a certain type is derived from - // Glib::Object or not. To keep create_param_spec() out of the template - // struggle, we dispatch here at runtime. - - if(G_VALUE_HOLDS_OBJECT(&gobject_)) - { - return g_param_spec_object( - name.c_str(), 0, 0, G_VALUE_TYPE(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); - } - else - { - g_return_val_if_fail(G_VALUE_HOLDS_POINTER(&gobject_), 0); - - return g_param_spec_pointer( - name.c_str(), 0, 0, - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); - } -} - - -/**** Glib::ValueBase_Enum *************************************************/ - -// static -GType ValueBase_Enum::value_type() -{ - return G_TYPE_ENUM; -} - -void ValueBase_Enum::set_enum(int data) -{ - g_value_set_enum(&gobject_, data); -} - -int ValueBase_Enum::get_enum() const -{ - return g_value_get_enum(&gobject_); -} - -GParamSpec* ValueBase_Enum::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_enum( - name.c_str(), 0, 0, - G_VALUE_TYPE(&gobject_), g_value_get_enum(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::ValueBase_Flags ************************************************/ - -// static -GType ValueBase_Flags::value_type() -{ - return G_TYPE_FLAGS; -} - -void ValueBase_Flags::set_flags(unsigned int data) -{ - g_value_set_flags(&gobject_, data); -} - -unsigned int ValueBase_Flags::get_flags() const -{ - return g_value_get_flags(&gobject_); -} - -GParamSpec* ValueBase_Flags::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_flags( - name.c_str(), 0, 0, - G_VALUE_TYPE(&gobject_), g_value_get_flags(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::ValueBase_String ***********************************************/ - -// static -GType ValueBase_String::value_type() -{ - return G_TYPE_STRING; -} - -void ValueBase_String::set_cstring(const char* data) -{ - g_value_set_string(&gobject_, data); -} - -const char* ValueBase_String::get_cstring() const -{ - if(const char *const data = g_value_get_string(&gobject_)) - return data; - else - return ""; -} - -GParamSpec* ValueBase_String::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_string( - name.c_str(), 0, 0, get_cstring(), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value *********************************************/ - -void Value::set(const std::string& data) -{ - g_value_set_string(&gobject_, data.c_str()); -} - - -/**** Glib::Value *******************************************/ - -void Value::set(const Glib::ustring& data) -{ - g_value_set_string(&gobject_, data.c_str()); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/value.h b/libs/glibmm2/glib/glibmm/value.h deleted file mode 100644 index 12d611bc91..0000000000 --- a/libs/glibmm2/glib/glibmm/value.h +++ /dev/null @@ -1,331 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_VALUE_H -#define _GLIBMM_VALUE_H -/* $Id: value.h 292 2006-05-14 12:12:41Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - - -namespace Glib -{ - -class ObjectBase; -class Object; - -/** @defgroup glibmmValue Generic Values - * - * Glib::Value<> is specialized for almost any type used within - * the glibmm and gtkmm libraries. - * - * - Basic types like int, char, bool, etc., also void*. - * - Glib::ustring and std::string. - * - Pointers to classes derived from Glib::Object. - * - Glib::RefPtr<> pointer types, which are assumed to be Glib::Object pointers. - * - All flags and enum types used within the gtkmm libraries. - * - * If a type doesn't fit into any of these categories, then a generic - * implementation for custom types will be used. The requirements imposed - * on custom types are described in the Glib::Value class documentation. - */ - -/** - * @ingroup glibmmValue - */ -class ValueBase -{ -public: - /** Initializes the GValue, but without a type. You have to - * call init() before using the set(), get(), or reset() methods. - */ - ValueBase(); - - ValueBase(const ValueBase& other); - ValueBase& operator=(const ValueBase& other); - - ~ValueBase(); - - /** Setup the GValue for storing the specified @a type. - * The contents will be initialized to the default value for this type. - * Note that init() should never be called twice. - * - * init() is not implemented as constructor, to avoid the necessity - * to implement a forward constructor in each derived class. - * - * @param type The type that the Value should hold. - */ - void init(GType type); - - /** Setup the GValue storing the type and value of the specified @a value. - * Note that init() should never be called twice. - * - * init() is not implemented as constructor, to avoid the necessity - * to implement a forward constructor in each derived class. - * - * @param value The existing GValue. - */ - void init(const GValue* value); - - /** Reset contents to the default value of its type. - */ - void reset(); - - GValue* gobj() { return &gobject_; } - const GValue* gobj() const { return &gobject_; } - -protected: - GValue gobject_; -}; - -/** - * @ingroup glibmmValue - */ -class ValueBase_Boxed : public ValueBase -{ -public: - static GType value_type() G_GNUC_CONST; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif - -protected: - void set_boxed(const void* data); - void* get_boxed() const; // doesn't copy -}; - - -/** - * @ingroup glibmmValue - */ -class ValueBase_Object : public ValueBase -{ -public: - static GType value_type() G_GNUC_CONST; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif - -protected: - void set_object(Glib::ObjectBase* data); - Glib::ObjectBase* get_object() const; - Glib::RefPtr get_object_copy() const; -}; - - -/** - * @ingroup glibmmValue - */ -class ValueBase_Enum : public ValueBase -{ -public: - typedef gint CType; - static GType value_type() G_GNUC_CONST; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif - -protected: - void set_enum(int data); - int get_enum() const; -}; - - -/** - * @ingroup glibmmValue - */ -class ValueBase_Flags : public ValueBase -{ -public: - typedef guint CType; - static GType value_type() G_GNUC_CONST; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif - -protected: - void set_flags(unsigned int data); - unsigned int get_flags() const; -}; - - -/** - * @ingroup glibmmValue - */ -class ValueBase_String : public ValueBase -{ -public: - typedef const gchar* CType; - static GType value_type() G_GNUC_CONST; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif - -protected: - void set_cstring(const char* data); - const char* get_cstring() const; // never returns 0 -}; - -} // namespace Glib - - -/* Include generic Glib::Value<> template, before any specializations: - */ -#define _GLIBMM_VALUE_H_INCLUDE_VALUE_CUSTOM_H -#include -#undef _GLIBMM_VALUE_H_INCLUDE_VALUE_CUSTOM_H - - -namespace Glib -{ - -/** - * @ingroup glibmmValue - */ -template -class Value_Boxed : public ValueBase_Boxed -{ -public: - typedef T CppType; - typedef typename T::BaseObjectType* CType; - - static GType value_type() { return T::get_type(); } - - void set(const CppType& data) { set_boxed(data.gobj()); } - CppType get() const { return CppType(static_cast(get_boxed())); } -}; - -//More spec-compliant compilers (such as Tru64) need this to be near Glib::Object instead. -#ifdef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION - -/** Partial specialization for RefPtr<> to Glib::Object. - * @ingroup glibmmValue - */ -template -class Value< Glib::RefPtr > : public ValueBase_Object -{ -public: - typedef Glib::RefPtr CppType; - typedef typename T::BaseObjectType* CType; - - static GType value_type() { return T::get_base_type(); } - - void set(const CppType& data) { set_object(data.operator->()); } - CppType get() const { return Glib::RefPtr::cast_dynamic(get_object_copy()); } -}; - -//The SUN Forte Compiler has a problem with this: -#ifdef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -/** Partial specialization for RefPtr<> to const Glib::Object. - * @ingroup glibmmValue - */ -template -class Value< Glib::RefPtr > : public ValueBase_Object -{ -public: - typedef Glib::RefPtr CppType; - typedef typename T::BaseObjectType* CType; - - static GType value_type() { return T::get_base_type(); } - - void set(const CppType& data) { set_object(const_cast(data.operator->())); } - CppType get() const { return Glib::RefPtr::cast_dynamic(get_object_copy()); } -}; -#endif //GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS - -#endif //GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION - -} // namespace Glib - - -/* Include generated specializations of Glib::Value<> for fundamental types: - */ -#define _GLIBMM_VALUE_H_INCLUDE_VALUE_BASICTYPES_H -#include -#undef _GLIBMM_VALUE_H_INCLUDE_VALUE_BASICTYPES_H - - -namespace Glib -{ - -/** Specialization for strings. - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase_String -{ -public: - typedef std::string CppType; - - void set(const std::string& data); - std::string get() const { return get_cstring(); } -}; - -/** Specialization for UTF-8 strings. - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase_String -{ -public: - typedef Glib::ustring CppType; - - void set(const Glib::ustring& data); - Glib::ustring get() const { return get_cstring(); } -}; - - -/** Base class of Glib::Value specializations for enum types. - * @ingroup glibmmValue - */ -template -class Value_Enum : public ValueBase_Enum -{ -public: - typedef T CppType; - - void set(CppType data) { set_enum(data); } - CppType get() const { return CppType(get_enum()); } -}; - -/** Base class of Glib::Value specializations for flags types. - * @ingroup glibmmValue - */ -template -class Value_Flags : public ValueBase_Flags -{ -public: - typedef T CppType; - - void set(CppType data) { set_flags(data); } - CppType get() const { return CppType(get_flags()); } -}; - -} // namespace Glib - - -#endif /* _GLIBMM_VALUE_H */ - diff --git a/libs/glibmm2/glib/glibmm/value_basictypes.cc b/libs/glibmm2/glib/glibmm/value_basictypes.cc deleted file mode 100644 index 9a3275075d..0000000000 --- a/libs/glibmm2/glib/glibmm/value_basictypes.cc +++ /dev/null @@ -1,336 +0,0 @@ -// -*- c++ -*- -// This is a generated file, do not edit. Generated from value_basictypes.cc.m4 - -#include - -namespace Glib -{ - -G_GNUC_EXTENSION typedef long long long_long; -G_GNUC_EXTENSION typedef unsigned long long unsigned_long_long; - - -/**** Glib::Value ****************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_BOOLEAN; -} - -void Value::set(bool data) -{ - g_value_set_boolean(&gobject_, data); -} - -bool Value::get() const -{ - return g_value_get_boolean(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_boolean( - name.c_str(), 0, 0, - g_value_get_boolean(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value ****************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_CHAR; -} - -void Value::set(char data) -{ - g_value_set_char(&gobject_, data); -} - -char Value::get() const -{ - return g_value_get_char(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_char( - name.c_str(), 0, 0, - -128, 127, g_value_get_char(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value *******************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_UCHAR; -} - -void Value::set(unsigned char data) -{ - g_value_set_uchar(&gobject_, data); -} - -unsigned char Value::get() const -{ - return g_value_get_uchar(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_uchar( - name.c_str(), 0, 0, - 0, 255, g_value_get_uchar(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value *****************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_INT; -} - -void Value::set(int data) -{ - g_value_set_int(&gobject_, data); -} - -int Value::get() const -{ - return g_value_get_int(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_int( - name.c_str(), 0, 0, - G_MININT, G_MAXINT, g_value_get_int(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value ********************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_UINT; -} - -void Value::set(unsigned int data) -{ - g_value_set_uint(&gobject_, data); -} - -unsigned int Value::get() const -{ - return g_value_get_uint(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_uint( - name.c_str(), 0, 0, - 0, G_MAXUINT, g_value_get_uint(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value ****************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_LONG; -} - -void Value::set(long data) -{ - g_value_set_long(&gobject_, data); -} - -long Value::get() const -{ - return g_value_get_long(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_long( - name.c_str(), 0, 0, - G_MINLONG, G_MAXLONG, g_value_get_long(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value *******************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_ULONG; -} - -void Value::set(unsigned long data) -{ - g_value_set_ulong(&gobject_, data); -} - -unsigned long Value::get() const -{ - return g_value_get_ulong(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_ulong( - name.c_str(), 0, 0, - 0, G_MAXULONG, g_value_get_ulong(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value ***********************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_INT64; -} - -void Value::set(long_long data) -{ - g_value_set_int64(&gobject_, data); -} - -long_long Value::get() const -{ - return g_value_get_int64(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_int64( - name.c_str(), 0, 0, - G_GINT64_CONSTANT(0x8000000000000000), G_GINT64_CONSTANT(0x7fffffffffffffff), g_value_get_int64(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value **************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_UINT64; -} - -void Value::set(unsigned_long_long data) -{ - g_value_set_uint64(&gobject_, data); -} - -unsigned_long_long Value::get() const -{ - return g_value_get_uint64(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_uint64( - name.c_str(), 0, 0, - G_GINT64_CONSTANT(0U), G_GINT64_CONSTANT(0xffffffffffffffffU), g_value_get_uint64(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value ***************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_FLOAT; -} - -void Value::set(float data) -{ - g_value_set_float(&gobject_, data); -} - -float Value::get() const -{ - return g_value_get_float(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_float( - name.c_str(), 0, 0, - -G_MAXFLOAT, G_MAXFLOAT, g_value_get_float(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value **************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_DOUBLE; -} - -void Value::set(double data) -{ - g_value_set_double(&gobject_, data); -} - -double Value::get() const -{ - return g_value_get_double(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_double( - name.c_str(), 0, 0, - -G_MAXDOUBLE, G_MAXDOUBLE, g_value_get_double(&gobject_), - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - - -/**** Glib::Value ***************************************************/ - -// static -GType Value::value_type() -{ - return G_TYPE_POINTER; -} - -void Value::set(void* data) -{ - g_value_set_pointer(&gobject_, data); -} - -void* Value::get() const -{ - return g_value_get_pointer(&gobject_); -} - -GParamSpec* Value::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_pointer( - name.c_str(), 0, 0, - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/value_basictypes.h b/libs/glibmm2/glib/glibmm/value_basictypes.h deleted file mode 100644 index 3d81e3ece8..0000000000 --- a/libs/glibmm2/glib/glibmm/value_basictypes.h +++ /dev/null @@ -1,271 +0,0 @@ -// -*- c++ -*- -// This is a generated file, do not edit. Generated from value_basictypes.h.m4 - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -#ifndef _GLIBMM_VALUE_H_INCLUDE_VALUE_BASICTYPES_H -#error "glibmm/value_basictypes.h cannot be included directly" -#endif -#endif - -/* Suppress warnings about `long long' when GCC is in -pedantic mode. - */ -#if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)) -#pragma GCC system_header -#endif - -namespace Glib -{ - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef bool CppType; - typedef gboolean CType; - - static GType value_type() G_GNUC_CONST; - - void set(bool data); - bool get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef char CppType; - typedef gchar CType; - - static GType value_type() G_GNUC_CONST; - - void set(char data); - char get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef unsigned char CppType; - typedef guchar CType; - - static GType value_type() G_GNUC_CONST; - - void set(unsigned char data); - unsigned char get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef int CppType; - typedef gint CType; - - static GType value_type() G_GNUC_CONST; - - void set(int data); - int get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef unsigned int CppType; - typedef guint CType; - - static GType value_type() G_GNUC_CONST; - - void set(unsigned int data); - unsigned int get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef long CppType; - typedef glong CType; - - static GType value_type() G_GNUC_CONST; - - void set(long data); - long get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef unsigned long CppType; - typedef gulong CType; - - static GType value_type() G_GNUC_CONST; - - void set(unsigned long data); - unsigned long get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef long long CppType; - typedef gint64 CType; - - static GType value_type() G_GNUC_CONST; - - void set(long long data); - long long get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef unsigned long long CppType; - typedef guint64 CType; - - static GType value_type() G_GNUC_CONST; - - void set(unsigned long long data); - unsigned long long get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef float CppType; - typedef gfloat CType; - - static GType value_type() G_GNUC_CONST; - - void set(float data); - float get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef double CppType; - typedef gdouble CType; - - static GType value_type() G_GNUC_CONST; - - void set(double data); - double get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - - -/** - * @ingroup glibmmValue - */ -template <> -class Value : public ValueBase -{ -public: - typedef void* CppType; - typedef gpointer CType; - - static GType value_type() G_GNUC_CONST; - - void set(void* data); - void* get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/value_custom.cc b/libs/glibmm2/glib/glibmm/value_custom.cc deleted file mode 100644 index 09919f4a6b..0000000000 --- a/libs/glibmm2/glib/glibmm/value_custom.cc +++ /dev/null @@ -1,145 +0,0 @@ -// -*- c++ -*- -/* $Id: value_custom.cc 260 2006-04-12 08:12:12Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - - -namespace -{ - -static void warn_already_registered(const char* location, const std::string& full_name) -{ - g_warning("file %s: (%s): The type name `%s' has been registered already.\n" - "This is not supposed to happen -- please send a mail with detailed " - "information about your platform to gtkmm-list@gnome.org. Thanks.\n", - __FILE__, location, full_name.c_str()); -} - -} // anonymous namespace - - -namespace Glib -{ - -GType custom_boxed_type_register(const char* type_name, - ValueInitFunc init_func, - ValueFreeFunc free_func, - ValueCopyFunc copy_func) -{ - std::string full_name ("glibmm__CustomBoxed_"); - Glib::append_canonical_typename(full_name, type_name); - - // Templates of the same type _might_ be duplicated when instantiated in - // multiple translation units -- I'm not sure whether this is true. If the - // static custom_type_ variable in Value<> is duplicated, then the type - // would be registered more than once. - // - // Lookup the type name to see whether this scenario actually happens. - // If this turns out to be common behaviour on some platform the warning - // should be removed. - - if(const GType existing_type = g_type_from_name(full_name.c_str())) - { - warn_already_registered("Glib::custom_boxed_type_register", full_name); - return existing_type; - } - - // Via GTypeValueTable, we can teach GValue how to instantiate, - // destroy, and copy arbitrary objects of the C++ type. - - const GTypeValueTable value_table = - { - init_func, - free_func, - copy_func, - 0, // value_peek_pointer - 0, // collect_format - 0, // collect_value - 0, // lcopy_format - 0, // lcopy_value - }; - - const GTypeInfo type_info = - { - 0, // class_size - 0, // base_init - 0, // base_finalize - 0, // class_init_func - 0, // class_finalize - 0, // class_data - 0, // instance_size - 0, // n_preallocs - 0, // instance_init - &value_table, - }; - - // Don't use g_boxed_type_register_static(), because that wouldn't allow - // for a non-NULL default value. The implementation of g_boxed_copy() will - // use our custom GTypeValueTable automatically. - - return g_type_register_static(G_TYPE_BOXED, full_name.c_str(), &type_info, GTypeFlags(0)); -} - -GType custom_pointer_type_register(const char* type_name) -{ - std::string full_name ("glibmm__CustomPointer_"); - Glib::append_canonical_typename(full_name, type_name); - - // Templates of the same type _might_ be duplicated when instantiated in - // multiple translation units -- I'm not sure whether this is true. If the - // static custom_type variable in Value<>::value_type_() is duplicated, then - // the type would be registered more than once. - // - // Lookup the type name to see whether this scenario actually happens. - // If this turns out to be common behaviour on some platform the warning - // should be removed. - - if(const GType existing_type = g_type_from_name(full_name.c_str())) - { - warn_already_registered("Glib::custom_pointer_type_register", full_name); - return existing_type; - } - - const GTypeInfo type_info = - { - 0, // class_size - 0, // base_init - 0, // base_finalize - 0, // class_init_func - 0, // class_finalize - 0, // class_data - 0, // instance_size - 0, // n_preallocs - 0, // instance_init - 0, // value_table - }; - - // We could probably use g_pointer_type_register_static(), but I want - // to keep this function symmetric to custom_boxed_type_register(). Also, - // g_pointer_type_register_static() would lookup the type name once again. - - return g_type_register_static(G_TYPE_POINTER, full_name.c_str(), &type_info, GTypeFlags(0)); -} - - -} // namespace Glib - diff --git a/libs/glibmm2/glib/glibmm/value_custom.h b/libs/glibmm2/glib/glibmm/value_custom.h deleted file mode 100644 index b08c591051..0000000000 --- a/libs/glibmm2/glib/glibmm/value_custom.h +++ /dev/null @@ -1,295 +0,0 @@ -// -*- c++ -*- -/* $Id: value_custom.h 419 2007-06-22 14:43:53Z murrayc $ */ - -/* Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef _GLIBMM_VALUE_CUSTOM_H -#define _GLIBMM_VALUE_CUSTOM_H - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -#ifndef _GLIBMM_VALUE_H_INCLUDE_VALUE_CUSTOM_H -#error "glibmm/value_custom.h cannot be included directly" -#endif -#endif - -#include -#include -#include - -GLIBMM_USING_STD(nothrow) - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -extern "C" -{ - typedef void (* ValueInitFunc) (GValue*); - typedef void (* ValueFreeFunc) (GValue*); - typedef void (* ValueCopyFunc) (const GValue*, GValue*); -} - -/* When using Glib::Value with custom types, each T will be registered - * as subtype of G_TYPE_BOXED, via this function. The type_name argument - * should be the C++ RTTI name. - */ -GType custom_boxed_type_register(const char* type_name, - ValueInitFunc init_func, - ValueFreeFunc free_func, - ValueCopyFunc copy_func); - -/* When using Glib::Value or Glib::Value with custom types, - * each T* or const T* will be registered as a subtype of G_TYPE_POINTER, - * via this function. The type_name argument should be the C++ RTTI name. - */ -GType custom_pointer_type_register(const char* type_name); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - -/** - * @ingroup glibmmValue - */ -template -class Value_Pointer : public ValueBase_Object -{ -public: - typedef PtrT CppType; - typedef void* CType; - - static inline GType value_type() G_GNUC_CONST; - - inline void set(CppType data); - inline CppType get() const; - -private: - inline - static GType value_type_(Glib::Object*); - static GType value_type_(void*); - - inline void set_(CppType data, Glib::Object*); - inline void set_(CppType data, void*); - - inline CppType get_(Glib::Object*) const; - inline CppType get_(void*) const; -}; - - -/** Generic value implementation for custom types. - * @ingroup glibmmValue - * Any type to be used with this template must implement: - * - default constructor - * - copy constructor - * - assignment operator - * - destructor - * - * Compiler-generated implementations are OK, provided they do the - * right thing for the type. In other words, any type that works with - * std::vector will work with Glib::Value<>. - * - * @note None of the operations listed above are allowed to throw. If you - * cannot ensure that no exceptions will be thrown, consider using either - * a normal pointer or a smart pointer to hold your objects indirectly. - */ -template -class Value : public ValueBase_Boxed -{ -public: - typedef T CppType; - typedef T* CType; - - static GType value_type() G_GNUC_CONST; - - inline void set(const CppType& data); - inline CppType get() const; - -private: - static GType custom_type_; - - static void value_init_func(GValue* value); - static void value_free_func(GValue* value); - static void value_copy_func(const GValue* src_value, GValue* dest_value); -}; - - -/** Specialization for pointers to instances of any type. - * @ingroup glibmmValue - * No attempt is made to manage the memory associated with the - * pointer, you must take care of that yourself. - */ -template -class Value : public Value_Pointer -{}; - -/** Specialization for pointers to const instances of any type. - * @ingroup glibmmValue - * No attempt is made to manage the memory associated with the - * pointer, you must take care of that yourself. - */ -template -class Value : public Value_Pointer -{}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/**** Glib::Value_Pointer *****************************************/ - -/** Implementation for Glib::Object pointers **/ - -// static -template inline -GType Value_Pointer::value_type_(Glib::Object*) -{ - return T::get_base_type(); -} - -template inline -void Value_Pointer::set_(PtrT data, Glib::Object*) -{ - set_object(const_cast(data)); -} - -//More spec-compliant compilers (such as Tru64) need this to be near Glib::Object instead. -#ifdef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION -template inline -PtrT Value_Pointer::get_(Glib::Object*) const -{ - return dynamic_cast(get_object()); -} -#endif //GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION - -/** Implementation for custom pointers **/ - -// static -template -GType Value_Pointer::value_type_(void*) -{ - static GType custom_type = 0; - - if(!custom_type) - custom_type = Glib::custom_pointer_type_register(typeid(PtrT).name()); - - return custom_type; -} - -template inline -void Value_Pointer::set_(PtrT data, void*) -{ - gobject_.data[0].v_pointer = const_cast(data); -} - -template inline -PtrT Value_Pointer::get_(void*) const -{ - return static_cast(gobject_.data[0].v_pointer); -} - -/** Public forwarding interface **/ - -// static -template inline -GType Value_Pointer::value_type() -{ - // Dispatch to the specific value_type_() overload. - return Value_Pointer::value_type_(static_cast(0)); -} - -template inline -void Value_Pointer::set(PtrT data) -{ - // Dispatch to the specific set_() overload. - this->set_(data, static_cast(0)); -} - -template inline -PtrT Value_Pointer::get() const -{ - // Dispatch to the specific get_() overload. - return this->get_(static_cast(0)); -} - - -/**** Glib::Value *******************************************************/ - -// Static data, specific to each template instantiation. -template -GType Value::custom_type_ = 0; - -template inline -void Value::set(const typename Value::CppType& data) -{ - // Assume the value is already default-initialized. See value_init_func(). - *static_cast(gobject_.data[0].v_pointer) = data; -} - -template inline -typename Value::CppType Value::get() const -{ - // Assume the pointer is not NULL. See value_init_func(). - return *static_cast(gobject_.data[0].v_pointer); -} - -// static -template -GType Value::value_type() -{ - if(!custom_type_) - { - custom_type_ = Glib::custom_boxed_type_register( - typeid(CppType).name(), - &Value::value_init_func, - &Value::value_free_func, - &Value::value_copy_func); - } - return custom_type_; -} - -// static -template -void Value::value_init_func(GValue* value) -{ - // Never store a NULL pointer (unless we're out of memory). - value->data[0].v_pointer = new(std::nothrow) T(); -} - -// static -template -void Value::value_free_func(GValue* value) -{ - delete static_cast(value->data[0].v_pointer); -} - -// static -template -void Value::value_copy_func(const GValue* src_value, GValue* dest_value) -{ - // Assume the source is not NULL. See value_init_func(). - const T& source = *static_cast(src_value->data[0].v_pointer); - dest_value->data[0].v_pointer = new(std::nothrow) T(source); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - -#endif //_GLIBMM_VALUE_CUSTOM_H - - diff --git a/libs/glibmm2/glib/glibmm/wrap.cc b/libs/glibmm2/glib/glibmm/wrap.cc deleted file mode 100644 index c8840fbcdf..0000000000 --- a/libs/glibmm2/glib/glibmm/wrap.cc +++ /dev/null @@ -1,208 +0,0 @@ -// -*- c++ -*- -/* $Id: wrap.cc 749 2008-12-10 14:23:33Z jjongsma $ */ - -/* wrap.cc - * - * Copyright (C) 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -#include -#include -#include -#include - -#include -GLIBMM_USING_STD(vector) - - -namespace -{ - -// Although the new g_type_set_qdata() interface is used now, we still need -// a table because we cannot assume that a function pointer fits into void* -// on any platform. Nevertheless, indexing a vector costs almost nothing -// compared to a map lookup. - -typedef std::vector WrapFuncTable; - -static WrapFuncTable* wrap_func_table = 0; - -} // anonymous namespace - - -namespace Glib -{ - -void wrap_register_init() -{ - g_type_init(); - - if(!Glib::quark_) - { - Glib::quark_ = g_quark_from_static_string("glibmm__Glib::quark_"); - Glib::quark_cpp_wrapper_deleted_ = g_quark_from_static_string("glibmm__Glib::quark_cpp_wrapper_deleted_"); - } - - if(!wrap_func_table) - { - // Make the first element a dummy so we can detect unregistered types. - // g_type_get_qdata() returns NULL if no data has been set up. - wrap_func_table = new WrapFuncTable(1); - } -} - -void wrap_register_cleanup() -{ - if(wrap_func_table) - { - delete wrap_func_table; - wrap_func_table = 0; - } -} - -// Register the unique wrap_new() function of a new C++ wrapper type. -// The GType argument specifies the parent C type to wrap from. -// -void wrap_register(GType type, WrapNewFunction func) -{ - const guint idx = wrap_func_table->size(); - wrap_func_table->push_back(func); - - // Store the table index in the type's static data. - g_type_set_qdata(type, Glib::quark_, GUINT_TO_POINTER(idx)); -} - - -static Glib::ObjectBase* wrap_create_new_wrapper(GObject* object) -{ - g_return_val_if_fail(wrap_func_table != 0, 0); - - const bool gtkmm_wrapper_already_deleted = (bool)g_object_get_qdata((GObject*)object, Glib::quark_cpp_wrapper_deleted_); - if(gtkmm_wrapper_already_deleted) - { - g_warning("Glib::wrap_create_new_wrapper: Attempted to create a 2nd C++ wrapper for a C instance whose C++ wrapper has been deleted."); - return 0; - } - - // Traverse upwards through the inheritance hierarchy - // to find the most-specialized wrap_new() for this GType. - // - for(GType type = G_OBJECT_TYPE(object); type != 0; type = g_type_parent(type)) - { - // Look up the wrap table index stored in the type's static data. - // If a wrap_new() has been registered for the type then call it. - // - if(const gpointer idx = g_type_get_qdata(type, Glib::quark_)) - { - const Glib::WrapNewFunction func = (*wrap_func_table)[GPOINTER_TO_UINT(idx)]; - return (*func)(object); - } - } - - return 0; -} - -static gboolean gtype_wraps_interface(GType implementer_type, GType interface_type) -{ - guint n_ifaces = 0; - GType *ifaces = g_type_interfaces (implementer_type, &n_ifaces); - - gboolean found = FALSE; - while (n_ifaces-- && !found) - { - found = (ifaces[n_ifaces] == interface_type); - } - - g_free (ifaces); - - return found; -} - -Glib::ObjectBase* wrap_create_new_wrapper_for_interface(GObject* object, GType interface_gtype) -{ - g_return_val_if_fail(wrap_func_table != 0, 0); - - const bool gtkmm_wrapper_already_deleted = (bool)g_object_get_qdata((GObject*)object, Glib::quark_cpp_wrapper_deleted_); - if(gtkmm_wrapper_already_deleted) - { - g_warning("Glib::wrap_create_new_wrapper: Attempted to create a 2nd C++ wrapper for a C instance whose C++ wrapper has been deleted."); - return 0; - } - - // Traverse upwards through the inheritance hierarchy - // to find the most-specialized wrap_new() for this GType. - // - for(GType type = G_OBJECT_TYPE(object); type != 0; type = g_type_parent(type)) - { - // Look up the wrap table index stored in the type's static data. - // If a wrap_new() has been registered for the type then call it. - // But only if the type implements the interface, - // so that the C++ instance is likely to inherit from the appropriate class too. - // - const gpointer idx = g_type_get_qdata(type, Glib::quark_); - if(idx && gtype_wraps_interface(type, interface_gtype)) - { - const Glib::WrapNewFunction func = (*wrap_func_table)[GPOINTER_TO_UINT(idx)]; - return (*func)(object); - } - } - - return 0; -} - - -// This is a factory function that converts any type to -// its C++ wrapper instance by looking up a wrap_new() function in a map. -// -ObjectBase* wrap_auto(GObject* object, bool take_copy) -{ - if(!object) - return 0; - - // Look up current C++ wrapper instance: - ObjectBase* pCppObject = ObjectBase::_get_current_wrapper(object); - - if(!pCppObject) - { - // There's not already a wrapper: generate a new C++ instance. - pCppObject = wrap_create_new_wrapper(object); - - if(!pCppObject) - { - g_warning("Failed to wrap object of type '%s'. Hint: this error is commonly caused by failing to call a library init() function.", G_OBJECT_TYPE_NAME(object)); - return 0; - } - } - - // take_copy=true is used where the GTK+ function doesn't do - // an extra ref for us, and always for plain struct members. - if(take_copy) - pCppObject->reference(); - - return pCppObject; -} - -Glib::RefPtr wrap(GObject* object, bool take_copy /* = false */) -{ - return Glib::RefPtr(dynamic_cast(wrap_auto(object, take_copy))); -} - -} /* namespace Glib */ - diff --git a/libs/glibmm2/glib/glibmm/wrap.h b/libs/glibmm2/glib/glibmm/wrap.h deleted file mode 100644 index 69d792677f..0000000000 --- a/libs/glibmm2/glib/glibmm/wrap.h +++ /dev/null @@ -1,164 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_WRAP_H -#define _GLIBMM_WRAP_H - -/* $Id: wrap.h 448 2007-10-03 09:52:10Z murrayc $ */ - -/* Copyright (C) 1998-2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -class ObjectBase; -class Object; - -// Type of the per-class wrap_new() functions. -typedef Glib::ObjectBase* (*WrapNewFunction) (GObject*); - -// Setup and free the structures used by wrap_register(). -// Both functions might be called more than once. -void wrap_register_init(); -void wrap_register_cleanup(); - -// Register a new type for auto allocation. -void wrap_register(GType type, WrapNewFunction func); - -// Return the current C++ wrapper instance of the GObject, -// or automatically generate a new wrapper if there's none. -Glib::ObjectBase* wrap_auto(GObject* object, bool take_copy = false); - -/** Create a C++ instance of a known C++ type that is mostly closely associated with the GType of the C object. - * @param object The C object which should be placed in a new C++ instance. - * @param interface_gtype The returned instance will implement this interface. Otherwise it will be NULL. - */ -Glib::ObjectBase* wrap_create_new_wrapper_for_interface(GObject* object, GType interface_gtype); - -// Return the current C++ wrapper instance of the GObject, -// or automatically generate a new wrapper if there's none. -template -TInterface* wrap_auto_interface(GObject* object, bool take_copy = false) -{ - if(!object) - return 0; - - // Look up current C++ wrapper instance: - ObjectBase* pCppObject = ObjectBase::_get_current_wrapper(object); - - if(!pCppObject) - { - // There's not already a wrapper: generate a new C++ instance. - // We use exact_type_only=true avoid creating Glib::Object for interfaces of unknown implementation, - // because we do not want a C++ object that does not dynamic_cast to the expected interface type. - pCppObject = wrap_create_new_wrapper_for_interface(object, TInterface::get_base_type()); - } - - //If no exact wrapper was created, - //create an instance of the interface, - //so we at least get the expected type: - TInterface* result = 0; - if(pCppObject) - result = dynamic_cast(pCppObject); - else - result = new TInterface((typename TInterface::BaseObjectType*)object); - - // take_copy=true is used where the GTK+ function doesn't do - // an extra ref for us, and always for plain struct members. - if(take_copy && result) - result->reference(); - - return result; -} - -#endif //DOXYGEN_SHOULD_SKIP_THIS - -// Get a C++ instance that wraps the C instance. -// This always returns the same C++ instance for the same C instance. -// Each wrapper has it's own override of Glib::wrap(). -// use take_copy = true when wrapping a struct member. -// TODO: move to object.h ? -/** @relates Glib::Object */ -Glib::RefPtr wrap(GObject* object, bool take_copy = false); - - -/** Get the underlying C instance from the C++ instance. This is just - * like calling gobj(), but it does its own check for a NULL pointer. - */ -template inline -typename T::BaseObjectType* unwrap(T* ptr) -{ - return (ptr) ? ptr->gobj() : 0; -} - -/** Get the underlying C instance from the C++ instance. This is just - * like calling gobj(), but it does its own check for a NULL pointer. - */ -template inline -const typename T::BaseObjectType* unwrap(const T* ptr) -{ - return (ptr) ? ptr->gobj() : 0; -} - -/** Get the underlying C instance from the C++ instance. This is just - * like calling gobj(), but it does its own check for a NULL pointer. - */ -template inline -typename T::BaseObjectType* unwrap(const Glib::RefPtr& ptr) -{ - return (ptr) ? ptr->gobj() : 0; -} - -/** Get the underlying C instance from the C++ instance. This is just - * like calling gobj(), but it does its own check for a NULL pointer. - */ -template inline -const typename T::BaseObjectType* unwrap(const Glib::RefPtr& ptr) -{ - return (ptr) ? ptr->gobj() : 0; -} - -/** Get the underlying C instance from the C++ instance and acquire a - * reference. This is just like calling gobj_copy(), but it does its own - * check for a NULL pointer. - */ -template inline -typename T::BaseObjectType* unwrap_copy(const Glib::RefPtr& ptr) -{ - return (ptr) ? ptr->gobj_copy() : 0; -} - -/** Get the underlying C instance from the C++ instance and acquire a - * reference. This is just like calling gobj_copy(), but it does its own - * check for a NULL pointer. - */ -template inline -const typename T::BaseObjectType* unwrap_copy(const Glib::RefPtr& ptr) -{ - return (ptr) ? ptr->gobj_copy() : 0; -} - -} // namespace Glib - - -#endif /* _GLIBMM_WRAP_H */ - diff --git a/libs/glibmm2/glib/glibmm/wrap_init.cc b/libs/glibmm2/glib/glibmm/wrap_init.cc deleted file mode 100644 index 536c5d7c19..0000000000 --- a/libs/glibmm2/glib/glibmm/wrap_init.cc +++ /dev/null @@ -1,82 +0,0 @@ - -#include - -// Disable the 'const' function attribute of the get_type() functions. -// GCC would optimize them out because we don't use the return value. -#undef G_GNUC_CONST -#define G_GNUC_CONST /* empty */ - -#include -#include -#include - -// #include the widget headers so that we can call the get_type() static methods: - -#include "checksum.h" -#include "convert.h" -#include "date.h" -#include "fileutils.h" -#include "iochannel.h" -#include "keyfile.h" -#include "markup.h" -#include "module.h" -#include "optioncontext.h" -#include "optionentry.h" -#include "optiongroup.h" -#include "regex.h" -#include "shell.h" -#include "spawn.h" -#include "thread.h" -#include "nodetree.h" -#include "unicode.h" -#include "uriutils.h" - -extern "C" -{ - -//Declarations of the *_get_type() functions: - - -//Declarations of the *_error_quark() functions: - -GQuark g_convert_error_quark(void); -GQuark g_file_error_quark(void); -GQuark g_io_channel_error_quark(void); -GQuark g_key_file_error_quark(void); -GQuark g_markup_error_quark(void); -GQuark g_option_error_quark(void); -GQuark g_regex_error_quark(void); -GQuark g_shell_error_quark(void); -GQuark g_spawn_error_quark(void); -GQuark g_thread_error_quark(void); -} // extern "C" - - -//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers: - - -namespace Glib { - -void wrap_init() -{ - // Register Error domains: - Glib::Error::register_domain(g_convert_error_quark(), &Glib::ConvertError::throw_func); - Glib::Error::register_domain(g_file_error_quark(), &Glib::FileError::throw_func); - Glib::Error::register_domain(g_io_channel_error_quark(), &Glib::IOChannelError::throw_func); - Glib::Error::register_domain(g_key_file_error_quark(), &Glib::KeyFileError::throw_func); - Glib::Error::register_domain(g_markup_error_quark(), &Glib::MarkupError::throw_func); - Glib::Error::register_domain(g_option_error_quark(), &Glib::OptionError::throw_func); - Glib::Error::register_domain(g_regex_error_quark(), &Glib::RegexError::throw_func); - Glib::Error::register_domain(g_shell_error_quark(), &Glib::ShellError::throw_func); - Glib::Error::register_domain(g_spawn_error_quark(), &Glib::SpawnError::throw_func); - Glib::Error::register_domain(g_thread_error_quark(), &Glib::ThreadError::throw_func); - -// Map gtypes to gtkmm wrapper-creation functions: - - // Register the gtkmm gtypes: - -} // wrap_init() - -} //Glib - - diff --git a/libs/glibmm2/glib/glibmm/wrap_init.h b/libs/glibmm2/glib/glibmm/wrap_init.h deleted file mode 100644 index cd5dd0dfa0..0000000000 --- a/libs/glibmm2/glib/glibmm/wrap_init.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- c++ -*- -#ifndef _GLIBMM_WRAP_INIT_H -#define _GLIBMM_WRAP_INIT_H - -/* $Id: wrap_init.h 2 2003-01-07 16:59:16Z murrayc $ */ - -/* wrap_init.h - * - * Copyright 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -void wrap_init(); - -} // namespace Glib - - -#endif /* _GLIBMM_WRAP_INIT_H */ - diff --git a/libs/glibmm2/glib/glibmmconfig.h b/libs/glibmm2/glib/glibmmconfig.h deleted file mode 100644 index 2b577ca96a..0000000000 --- a/libs/glibmm2/glib/glibmmconfig.h +++ /dev/null @@ -1,94 +0,0 @@ -/* glib/glibmmconfig.h. Generated from glibmmconfig.h.in by configure. */ -#ifndef _GLIBMM_CONFIG_H -#define _GLIBMM_CONFIG_H 1 - -/* version numbers */ -#define GLIBMM_MAJOR_VERSION 2 -#define GLIBMM_MINOR_VERSION 14 -#define GLIBMM_MICRO_VERSION 2 - -// detect common platforms -#if defined(_WIN32) -// Win32 compilers have a lot of varation -#if defined(_MSC_VER) -#define GLIBMM_MSC -#define GLIBMM_WIN32 -#define GLIBMM_DLL -#elif defined(__CYGWIN__) -#define GLIBMM_CONFIGURE -#elif defined(__MINGW32__) -#define GLIBMM_WIN32 -#define GLIBMM_DLL -#define GLIBMM_CONFIGURE -#else -//AIX clR compiler complains about this even though it doesn't get this far: -//#warning "Unknown architecture (send me gcc --dumpspecs or equiv)" -#endif -#else -#define GLIBMM_CONFIGURE -#endif /* _WIN32 */ - -#ifdef GLIBMM_CONFIGURE -/* #undef GLIBMM_CXX_HAVE_MUTABLE */ -/* #undef GLIBMM_CXX_HAVE_NAMESPACES */ -/* #undef GLIBMM_HAVE_WIDE_STREAM */ -//#undef GLIBMM_CXX_GAUB -//#undef GLIBMM_CXX_AMBIGUOUS_TEMPLATES -#define GLIBMM_HAVE_NAMESPACE_STD 1 -#define GLIBMM_HAVE_STD_ITERATOR_TRAITS 1 -/* #undef GLIBMM_HAVE_SUN_REVERSE_ITERATOR */ -#define GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS 1 -#define GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1 -#define GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 1 -/* #undef GLIBMM_COMPILER_SUN_FORTE */ -/* #undef GLIBMM_DEBUG_REFCOUNTING */ -#define GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1 -#define GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1 -#define GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1 -#define GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS 1 -#define GLIBMM_PROPERTIES_ENABLED 1 -#define GLIBMM_VFUNCS_ENABLED 1 -#define GLIBMM_EXCEPTIONS_ENABLED 1 -#define GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 1 -#endif - -#ifdef GLIBMM_MSC - #define GLIBMM_CXX_HAVE_MUTABLE 1 - #define GLIBMM_CXX_HAVE_NAMESPACES 1 - #define GLIBMM_HAVE_NAMESPACE_STD 1 - #define GLIBMM_HAVE_STD_ITERATOR_TRAITS 1 - #define GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS 1 - #define GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1 - #define GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 1 - #define GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1 - #define GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1 - #define GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1 - #define GLIBMM_PROPERTIES_ENABLED 1 - #define GLIBMM_VFUNCS_ENABLED 1 - #define GLIBMM_EXCEPTIONS_ENABLED 1 - #define GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 1 - #pragma warning (disable: 4786 4355 4800 4181) -#endif - -#ifndef GLIBMM_HAVE_NAMESPACE_STD -# define GLIBMM_USING_STD(Symbol) namespace std { using ::Symbol; } -#else -# define GLIBMM_USING_STD(Symbol) /* empty */ -#endif - -#ifdef GLIBMM_DLL - #if defined(GLIBMM_BUILD) && defined(_WINDLL) - /* Do not dllexport as it is handled by gendef on MSVC */ - #define GLIBMM_API - #elif !defined(GLIBMM_BUILD) - #define GLIBMM_API __declspec(dllimport) - #else - /* Build a static library */ - #define GLIBMM_API - #endif /* GLIBMM_BUILD - _WINDLL */ -#else - #define GLIBMM_API -#endif /* GLIBMM_DLL */ - -#endif /* _GLIBMM_CONFIG_H */ - diff --git a/libs/glibmm2/glib/glibmmconfig.h.in b/libs/glibmm2/glib/glibmmconfig.h.in deleted file mode 100644 index 739ac191cb..0000000000 --- a/libs/glibmm2/glib/glibmmconfig.h.in +++ /dev/null @@ -1,93 +0,0 @@ -#ifndef _GLIBMM_CONFIG_H -#define _GLIBMM_CONFIG_H 1 - -/* version numbers */ -#undef GLIBMM_MAJOR_VERSION -#undef GLIBMM_MINOR_VERSION -#undef GLIBMM_MICRO_VERSION - -// detect common platforms -#if defined(_WIN32) -// Win32 compilers have a lot of varation -#if defined(_MSC_VER) -#define GLIBMM_MSC -#define GLIBMM_WIN32 -#define GLIBMM_DLL -#elif defined(__CYGWIN__) -#define GLIBMM_CONFIGURE -#elif defined(__MINGW32__) -#define GLIBMM_WIN32 -#define GLIBMM_DLL -#define GLIBMM_CONFIGURE -#else -//AIX clR compiler complains about this even though it doesn't get this far: -//#warning "Unknown architecture (send me gcc --dumpspecs or equiv)" -#endif -#else -#define GLIBMM_CONFIGURE -#endif /* _WIN32 */ - -#ifdef GLIBMM_CONFIGURE -#undef GLIBMM_CXX_HAVE_MUTABLE -#undef GLIBMM_CXX_HAVE_NAMESPACES -#undef GLIBMM_HAVE_WIDE_STREAM -//#undef GLIBMM_CXX_GAUB -//#undef GLIBMM_CXX_AMBIGUOUS_TEMPLATES -#undef GLIBMM_HAVE_NAMESPACE_STD -#undef GLIBMM_HAVE_STD_ITERATOR_TRAITS -#undef GLIBMM_HAVE_SUN_REVERSE_ITERATOR -#undef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS -#undef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS -#undef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 -#undef GLIBMM_COMPILER_SUN_FORTE -#undef GLIBMM_DEBUG_REFCOUNTING -#undef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION -#undef GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS -#undef GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC -#undef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS -#undef GLIBMM_PROPERTIES_ENABLED -#undef GLIBMM_VFUNCS_ENABLED -#undef GLIBMM_EXCEPTIONS_ENABLED -#undef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif - -#ifdef GLIBMM_MSC - #define GLIBMM_CXX_HAVE_MUTABLE 1 - #define GLIBMM_CXX_HAVE_NAMESPACES 1 - #define GLIBMM_HAVE_NAMESPACE_STD 1 - #define GLIBMM_HAVE_STD_ITERATOR_TRAITS 1 - #define GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS 2 - #define GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1 - #define GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 1 - #define GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION 1 - #define GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS 1 - #define GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC 1 - #define GLIBMM_PROPERTIES_ENABLED 1 - #define GLIBMM_VFUNCS_ENABLED 1 - #define GLIBMM_EXCEPTIONS_ENABLED 1 - #define GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 1 - #pragma warning (disable: 4786 4355 4800 4181) -#endif - -#ifndef GLIBMM_HAVE_NAMESPACE_STD -# define GLIBMM_USING_STD(Symbol) namespace std { using ::Symbol; } -#else -# define GLIBMM_USING_STD(Symbol) /* empty */ -#endif - -#ifdef GLIBMM_DLL - #if defined(GLIBMM_BUILD) && defined(_WINDLL) - /* Do not dllexport as it is handled by gendef on MSVC */ - #define GLIBMM_API - #elif !defined(GLIBMM_BUILD) - #define GLIBMM_API __declspec(dllimport) - #else - /* Build a static library */ - #define GLIBMM_API - #endif /* GLIBMM_BUILD - _WINDLL */ -#else - #define GLIBMM_API -#endif /* GLIBMM_DLL */ - -#endif /* _GLIBMM_CONFIG_H */ - diff --git a/libs/glibmm2/glib/src/Makefile.am b/libs/glibmm2/glib/src/Makefile.am deleted file mode 100644 index 13dc496d13..0000000000 --- a/libs/glibmm2/glib/src/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -## Copyright (c) 2002 -## The gtkmm development team. - -sublib_name = glibmm -sublib_namespace = Glib -sublib_parentdir = glibmm -files_defs = glib.defs glib_enums.defs glib_functions.defs gobject.defs gobject_enums.defs gobject_functions.defs gmodule_enums.defs gmodule_functions.defs glib_docs.xml glib_docs_override.xml - -include $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment - -glibmm_files_m4 = signalproxy.h.m4 value_basictypes.cc.m4 value_basictypes.h.m4 - -files_stamp += $(glibmm_files_m4:%.m4=$(gensrc_destdir)/%) -EXTRA_DIST += $(glibmm_files_m4) template.macros.m4 - - -$(gensrc_destdir)/%.cc: %.cc.m4 template.macros.m4 - $(M4) -I$(srcdir) $< >$@ - -$(gensrc_destdir)/%.h: %.h.m4 template.macros.m4 - $(M4) -I$(srcdir) $< >$@ - diff --git a/libs/glibmm2/glib/src/Makefile.in b/libs/glibmm2/glib/src/Makefile.in deleted file mode 100644 index 44dbc65b81..0000000000 --- a/libs/glibmm2/glib/src/Makefile.in +++ /dev/null @@ -1,476 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Built files -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(srcdir)/../src/Makefile_list_of_hg.am_fragment \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment \ - $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment \ - $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment -subdir = glib/src -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -sublib_name = glibmm -sublib_namespace = Glib -sublib_parentdir = glibmm -files_defs = glib.defs glib_enums.defs glib_functions.defs gobject.defs gobject_enums.defs gobject_functions.defs gmodule_enums.defs gmodule_functions.defs glib_docs.xml glib_docs_override.xml -tools_dir = $(top_srcdir)/tools -tools_dir_m4 = $(top_srcdir)/tools/m4 -tools_dir_pm = $(top_srcdir)/tools/pm -gensrc_destdir = $(srcdir)/../$(sublib_name) -stamp_dir = $(srcdir)/.stamps -files_tools_m4 = base.m4 class_shared.m4 class_boxedtype.m4 class_boxedtype_static.m4 \ - class_generic.m4 class_gobject.m4 class_gtkobject.m4 \ - class_interface.m4 class_opaque_refcounted.m4 class_opaque_copyable.m4 \ - gerror.m4 \ - compare.m4 convert.m4 convert_base.m4 convert_gtkmm.m4 convert_atk.m4 convert_gdk.m4 \ - convert_glib.m4 convert_gio.m4 convert_gtk.m4 convert_pango.m4 ctor.m4 doc.m4 enum.m4 list.m4 member.m4 \ - method.m4 property.m4 signal.m4 vfunc.m4 - -files_tools_pm = DocsParser.pm GtkDefs.pm Enum.pm Function.pm FunctionBase.pm Object.pm Output.pm Property.pm Util.pm WrapParser.pm -files_tools_genwrap = generate_wrap_init.pl -files_tools_perl = $(files_tools_genwrap) gmmproc.in -tools_m4 = $(files_tools_m4:%.m4=$(tools_dir_m4)/%.m4) -files_posix_hg = -files_win32_hg = -files_general_hg = checksum.hg convert.hg date.hg fileutils.hg iochannel.hg keyfile.hg markup.hg \ - module.hg optioncontext.hg optionentry.hg optiongroup.hg regex.hg \ - shell.hg spawn.hg thread.hg nodetree.hg unicode.hg uriutils.hg - -files_general_deprecated_hg = -files_all_hg = \ - $(files_posix_hg) \ - $(files_win32_hg) \ - $(files_general_hg) \ - $(files_general_deprecated_hg) - -@OS_WIN32_FALSE@files_hg = $(files_general_hg) $(files_posix_hg) $(files_general_deprecated_hg) -@OS_WIN32_TRUE@files_hg = $(files_general_hg) $(files_win32_hg) $(files_general_deprecated_hg) -files_built_cc = $(files_hg:.hg=.cc) wrap_init.cc -files_built_h = $(files_hg:.hg=.h) -files_all_built_cc = $(files_all_hg:.hg=.cc) wrap_init.cc -files_all_built_h = $(files_all_hg:.hg=.h) - -# Extra files -files_all_extra_cc = \ - $(sublib_files_extra_posix_cc) \ - $(sublib_files_extra_win32_cc) \ - $(sublib_files_extra_general_cc) \ - $(sublib_files_extra_general_deprecated_cc) - -files_all_extra_h = $(sublib_files_extra_posix_h) \ - $(sublib_files_extra_win32_h) $(sublib_files_extra_general_h) \ - $(sublib_files_extra_general_deprecated_h) wrap_init.h -@OS_WIN32_FALSE@files_extra_cc = \ -@OS_WIN32_FALSE@ $(sublib_files_extra_posix_cc) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_TRUE@files_extra_cc = \ -@OS_WIN32_TRUE@ $(sublib_files_extra_win32_cc) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_cc) - -@OS_WIN32_FALSE@files_extra_h = $(sublib_files_extra_posix_h) \ -@OS_WIN32_FALSE@ $(sublib_files_extra_general_h) wrap_init.h -@OS_WIN32_TRUE@files_extra_h = $(sublib_files_extra_win32_h) \ -@OS_WIN32_TRUE@ $(sublib_files_extra_general_h) wrap_init.h -# tools_pm = $(files_tools_pm:%.pm=$(tools_dir_pm)/%.pm) -files_all_ccg = $(files_all_hg:%.hg=%.ccg) -files_h = $(files_all_hg:%.hg=$(gensrc_destdir)/%.h) -files_cc = $(files_all_hg:%.hg=$(gensrc_destdir)/%.cc) -files_stamp = $(files_all_hg:%.hg=$(stamp_dir)/stamp-%) \ - $(glibmm_files_m4:%.m4=$(gensrc_destdir)/%) - -#The gmmproc from this glibmm: -gmmproc_in = $(top_srcdir)/tools/gmmproc.in -gmmproc_path = $(top_builddir)/tools/gmmproc - -# We use our own m4 and pm files as well as the ones installed by gtkmm: -# Our override m4 include seems to need to be before the default one. -gmmproc_args = -I $(tools_dir_m4) --defs $(srcdir) -run_gmmproc = $(PERL_PATH) -I$(tools_dir_pm) $(gmmproc_path) $(gmmproc_args) -gen_wrap_init_in = $(top_srcdir)/tools/generate_wrap_init.pl.in -gen_wrap_init_path = $(top_builddir)/tools/generate_wrap_init.pl -gen_wrap_init_args = --namespace=$(sublib_namespace) --parent_dir=$(sublib_parentdir) -run_gen_wrap_init = $(PERL_PATH) $(gen_wrap_init_path) $(gen_wrap_init_args) -EXTRA_DIST = Makefile_list_of_hg.am_fragment $(files_defs) \ - $(files_all_hg) $(files_all_ccg) $(glibmm_files_m4) \ - template.macros.m4 -sublib_srcdir = $(srcdir)/../src -files_hg_with_path = $(patsubst %.hg,$(sublib_srcdir)/%.hg,$(files_all_hg)) -glibmm_files_m4 = signalproxy.h.m4 value_basictypes.cc.m4 value_basictypes.h.m4 -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/build_shared/Makefile_gensrc.am_fragment $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment $(srcdir)/../src/Makefile_list_of_hg.am_fragment $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu glib/src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu glib/src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -@MAINTAINER_MODE_FALSE@all-local: -all-am: Makefile all-local -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic \ - maintainer-clean-local - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: - -.MAKE: install-am install-strip - -.PHONY: all all-am all-local check check-am clean clean-generic \ - clean-libtool distclean distclean-generic distclean-libtool \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-local mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am - - -$(stamp_dir)/stamp-%: %.hg %.ccg $(tools_m4) $(files_defs) - $(run_gmmproc) $(notdir $*) $(srcdir) $(gensrc_destdir) - @echo 'timestamp' > $@ - -$(gensrc_destdir)/wrap_init.cc: $(gen_wrap_init_path) $(files_hg_with_path) - $(run_gen_wrap_init) $(files_all_hg:%.hg=$(srcdir)/%.hg) >$@ - -create-stamp-dir: - @(test -d $(stamp_dir) || mkdir $(stamp_dir)) - -@MAINTAINER_MODE_TRUE@all-local: create-stamp-dir $(files_stamp) $(gensrc_destdir)/wrap_init.cc - -maintainer-clean-local: - rm -rf $(stamp_dir) - -$(gensrc_destdir)/%.cc: %.cc.m4 template.macros.m4 - $(M4) -I$(srcdir) $< >$@ - -$(gensrc_destdir)/%.h: %.h.m4 template.macros.m4 - $(M4) -I$(srcdir) $< >$@ -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/glib/src/Makefile_list_of_hg.am_fragment b/libs/glibmm2/glib/src/Makefile_list_of_hg.am_fragment deleted file mode 100644 index 37863c8248..0000000000 --- a/libs/glibmm2/glib/src/Makefile_list_of_hg.am_fragment +++ /dev/null @@ -1,13 +0,0 @@ -## This file is include by other Makefile.am files, using the automake -## include feature. The include happens in Makefile.am, not Makefile.in -## or Makefile, so it's like copy-and-pasting this into each of those -## Makefile.am files. - -files_posix_hg = -files_win32_hg = -files_general_hg = checksum.hg convert.hg date.hg fileutils.hg iochannel.hg keyfile.hg markup.hg \ - module.hg optioncontext.hg optionentry.hg optiongroup.hg regex.hg \ - shell.hg spawn.hg thread.hg nodetree.hg unicode.hg uriutils.hg -files_general_deprecated_hg = - -include $(top_srcdir)/build_shared/Makefile_build_gensrc.am_fragment diff --git a/libs/glibmm2/glib/src/checksum.ccg b/libs/glibmm2/glib/src/checksum.ccg deleted file mode 100644 index c0ffd63162..0000000000 --- a/libs/glibmm2/glib/src/checksum.ccg +++ /dev/null @@ -1,53 +0,0 @@ -/* $Id$ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -Checksum::Checksum(ChecksumType type) -: gobject_(g_checksum_new((GChecksumType)type)) -{ -} - -Checksum::operator bool() const -{ - return gobject_ != 0; -} - -gssize Checksum::get_length(ChecksumType checksum_type) -{ - return g_checksum_type_get_length((GChecksumType)checksum_type); -} - -std::string Checksum::compute_checksum(ChecksumType type, const std::string& data) -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_compute_checksum_for_string(((GChecksumType)type), data.c_str(), data.size())); -} - -void Checksum::update(const std::string& data) -{ - g_checksum_update(gobj(), (const guchar*)data.c_str(), data.size()); -} - -} // Glib namespace - - diff --git a/libs/glibmm2/glib/src/checksum.hg b/libs/glibmm2/glib/src/checksum.hg deleted file mode 100644 index 1f8ef0b711..0000000000 --- a/libs/glibmm2/glib/src/checksum.hg +++ /dev/null @@ -1,116 +0,0 @@ -/* $Id$ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include - -#ifndef DOXYGEN_SHOUD_SKIP_THIS -extern "C" { typedef struct _GChecksum GChecksum; } -#endif - -namespace Glib -{ - -/** Computes the checksum for data. - * This is a generic API for computing checksums (or "digests") for a sequence of arbitrary bytes, - * using various hashing algorithms like MD5, SHA-1 and SHA-256. Checksums are commonly used in various environments and specifications. - * - * glibmm supports incremental checksums by calling update() as long as there's data available and then using get_string() - * or get_digest() to compute the checksum and return it either as a string in hexadecimal form, or as a raw sequence of bytes. - * To compute the checksum for binary blobs and NULL-terminated strings in one go, use the static compute_checksum() convenience functions(). - * - * @newin2p16 - */ -class Checksum -{ - _CLASS_OPAQUE_COPYABLE(Checksum, GChecksum, NONE, g_checksum_copy, g_checksum_free) - _IGNORE(g_checksum_copy, g_checksum_free) -public: - - /** - * @class ChecksumType: - * @a CHECKSUM_MD5: Use the MD5 hashing algorithm - * @a CHECKSUM_SHA1: Use the SHA-1 hashing algorithm - * @a CHECKSUM_SHA256: Use the SHA-256 hashing algorithm - * - * The hashing algorithm to be used by Checksum when performing the - * digest of some data. - * - * Note that the ChecksumType enumeration may be extended at a later - * date to include new hashing algorithm types. - * - * @newin2p16 - */ - _WRAP_ENUM(ChecksumType, GChecksumType, NO_GTYPE) - -#m4 _CONVERSION(`ChecksumType', `GChecksumType', `(($2)$3)') - - /** Creates a new Checksum, using the checksum algorithm @a checksum_type. - * If the checksum_type is not known, then operator bool() will return false. - * - * @param type checksum type, one of defined above. - */ - explicit Checksum(ChecksumType checksum_type); - - /** Returns true if the Checksum object is valid. - * This will return false, for instance, if an unsupported checksum type was provided to the constructor. - */ - operator bool() const; - - _WRAP_METHOD(void reset(), g_checksum_reset) - - _WRAP_METHOD(void update(const guchar* data, gsize length), g_checksum_update) - - /** Feeds data into an existing Checksum. - * The checksum must still be open, that is get_string() or get_digest() must not have been called on the checksum. - * - * @param data Buffer used to compute the checksum - */ - void update(const std::string& data); - - _WRAP_METHOD(void get_digest(guint8 *buffer, gsize *digest_len) const, g_checksum_get_digest) - - _WRAP_METHOD(std::string get_string() const, g_checksum_get_string) - - - _WRAP_METHOD(static std::string compute_checksum(ChecksumType type, const guchar* data, gsize length), g_compute_checksum_for_data) - - /** Computes the checksum of a string. - * - * @param checksum_type A ChecksumType - * @param str The string to compute the checksum of. - * @result The checksum as a hexadecimal string. - */ - static std::string compute_checksum(ChecksumType type, const std::string& str); - _IGNORE(g_compute_checksum_for_string) - - - //We don't use _WRAP_METHOD because this is not really a GCheckSum function: - /** Gets the length in bytes of digests of type @a checksum_type. - * - * @param checksum_type A ChecksumType. - * @result The checksum length, or -1 if @a checksum_type is not supported. - */ - static gssize get_length(ChecksumType checksum_type); -}; - -} //namespace Glib - diff --git a/libs/glibmm2/glib/src/convert.ccg b/libs/glibmm2/glib/src/convert.ccg deleted file mode 100644 index 829009be1b..0000000000 --- a/libs/glibmm2/glib/src/convert.ccg +++ /dev/null @@ -1,396 +0,0 @@ -// -*- c++ -*- -/* $Id: convert.ccg,v 1.4 2006/06/05 17:32:14 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //For g_assert() in glib >= 2.15.0 -//#include //For g_assert() in glib < 2.15.0 -#include //For g_assert() in all versions of glib. - -#include - - -namespace Glib -{ - -/**** Glib::IConv **********************************************************/ - -IConv::IConv(const std::string& to_codeset, const std::string& from_codeset) -: - gobject_ (g_iconv_open(to_codeset.c_str(), from_codeset.c_str())) -{ - if(gobject_ == reinterpret_cast(-1)) - { - GError* gerror = 0; - - // Abuse g_convert() to create a GError object. This may seem a weird - // thing to do, but it gives us consistently translated error messages - // at no further cost. - g_convert("", 0, to_codeset.c_str(), from_codeset.c_str(), 0, 0, &gerror); - - // If this should ever fail we're fucked. - g_assert(gerror != 0); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } -} - -IConv::IConv(GIConv gobject) -: - gobject_ (gobject) -{} - -IConv::~IConv() -{ - g_iconv_close(gobject_); -} - -size_t IConv::iconv(char** inbuf, gsize* inbytes_left, char** outbuf, gsize* outbytes_left) -{ - return g_iconv(gobject_, inbuf, inbytes_left, outbuf, outbytes_left); -} - -void IConv::reset() -{ - // Apparently iconv() on Solaris <= 7 segfaults if you pass in - // NULL for anything but inbuf; work around that. (NULL outbuf - // or NULL *outbuf is allowed by Unix98.) - - char* outbuf = 0; - gsize inbytes_left = 0; - gsize outbytes_left = 0; - - g_iconv(gobject_, 0, &inbytes_left, &outbuf, &outbytes_left); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string IConv::convert(const std::string& str) -#else -std::string IConv::convert(const std::string& str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert_with_iconv( - str.data(), str.size(), gobject_, 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -/**** charset conversion functions *****************************************/ - -bool get_charset() -{ - return g_get_charset(0); -} - -bool get_charset(std::string& charset) -{ - const char* charset_cstr = 0; - const bool is_utf8 = g_get_charset(&charset_cstr); - - charset = charset_cstr; - return is_utf8; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset) -#else -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert( - str.data(), str.size(), to_codeset.c_str(), from_codeset.c_str(), - 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset) -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert_with_fallback( - str.data(), str.size(), to_codeset.c_str(), from_codeset.c_str(), 0, - 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback) -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_convert_with_fallback( - str.data(), str.size(), to_codeset.c_str(), from_codeset.c_str(), - const_cast(fallback.c_str()), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring locale_to_utf8(const std::string& opsys_string) -#else -Glib::ustring locale_to_utf8(const std::string& opsys_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_locale_to_utf8( - opsys_string.data(), opsys_string.size(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - const ScopedPtr scoped_buf (buf); - return Glib::ustring(scoped_buf.get(), scoped_buf.get() + bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string locale_from_utf8(const Glib::ustring& utf8_string) -#else -std::string locale_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_locale_from_utf8( - utf8_string.data(), utf8_string.bytes(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_utf8(const std::string& opsys_string) -#else -Glib::ustring filename_to_utf8(const std::string& opsys_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_filename_to_utf8( - opsys_string.data(), opsys_string.size(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - const ScopedPtr scoped_buf (buf); - return Glib::ustring(scoped_buf.get(), scoped_buf.get() + bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_utf8(const Glib::ustring& utf8_string) -#else -std::string filename_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; - GError* gerror = 0; - - char *const buf = g_filename_from_utf8( - utf8_string.data(), utf8_string.bytes(), 0, &bytes_written, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get(), bytes_written); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname) -#else -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - char* hostname_buf = 0; - GError* gerror = 0; - - char *const buf = g_filename_from_uri(uri.c_str(), &hostname_buf, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - // Let's take ownership at this point. - const ScopedPtr scoped_buf (buf); - - if(hostname_buf) - hostname = ScopedPtr(hostname_buf).get(); - else - hostname.erase(); - - return std::string(scoped_buf.get()); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri) -#else -std::string filename_from_uri(const Glib::ustring& uri, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char *const buf = g_filename_from_uri(uri.c_str(), 0, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return std::string(ScopedPtr(buf).get()); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname) -#else -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char *const buf = g_filename_to_uri(filename.c_str(), hostname.c_str(), &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return Glib::ustring(ScopedPtr(buf).get()); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename) -#else -Glib::ustring filename_to_uri(const std::string& filename, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - char *const buf = g_filename_to_uri(filename.c_str(), 0, &gerror); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) ::Glib::Error::throw_exception(gerror); - #else - if(gerror) error = ::Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return Glib::ustring(ScopedPtr(buf).get()); -} - -Glib::ustring filename_display_basename(const std::string& filename) -{ - char *const buf = g_filename_display_basename(filename.c_str()); - - return Glib::ustring(ScopedPtr(buf).get()); -} - - -Glib::ustring filename_display_name(const std::string& filename) -{ - char *const buf = g_filename_display_name(filename.c_str()); - - return Glib::ustring(ScopedPtr(buf).get()); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/convert.hg b/libs/glibmm2/glib/src/convert.hg deleted file mode 100644 index 1a22f25978..0000000000 --- a/libs/glibmm2/glib/src/convert.hg +++ /dev/null @@ -1,324 +0,0 @@ -/* $Id: convert.hg,v 1.5 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include /* for gsize */ - -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GIConv* GIConv; } -#endif - - -namespace Glib -{ - -/** @defgroup CharsetConv Character Set Conversion - * Utility functions for converting strings between different character sets. - * @{ - */ - -/** Exception class for charset conversion errors. - * Glib::convert() and friends throw a ConvertError exception if the charset - * conversion failed for some reason. When writing non-trivial applications - * you should always catch those errors, and then try to recover, or tell the - * user the input was invalid. - */ -_WRAP_GERROR(ConvertError, GConvertError, G_CONVERT_ERROR, NO_GTYPE) - - -/** Thin %iconv() wrapper. - * glibmm provides Glib::convert() and Glib::locale_to_utf8() which - * are likely more convenient than the raw iconv wrappers. However, - * creating an IConv object once and using the convert() method could - * be useful when converting multiple times between the same charsets. - */ -class IConv -{ -public: - /** Open new conversion descriptor. - * @param to_codeset Destination codeset. - * @param from_codeset %Source codeset. - * @throw Glib::ConvertError - */ - IConv(const std::string& to_codeset, const std::string& from_codeset); - - explicit IConv(GIConv gobject); - - /** Close conversion descriptor. - */ - ~IConv(); - - /** Same as the standard UNIX routine %iconv(), but may be implemented - * via libiconv on UNIX flavors that lack a native implementation. glibmm - * provides Glib::convert() and Glib::locale_to_utf8() which are likely - * more convenient than the raw iconv wrappers. - * @param inbuf Bytes to convert. - * @param inbytes_left In/out parameter, bytes remaining to convert in @a inbuf. - * @param outbuf Converted output bytes. - * @param outbytes_left In/out parameter, bytes available to fill in @a outbuf. - * @return Count of non-reversible conversions, or static_cast(-1) on error. - */ - size_t iconv(char** inbuf, gsize* inbytes_left, char** outbuf, gsize* outbytes_left); - - /** Reset conversion descriptor to initial state. - * Same as iconv(0, 0, 0, 0), but implemented slightly differently - * in order to work on Sun Solaris <= 7. It's also more obvious so you're - * encouraged to use it. - */ - void reset(); - - /** Convert from one encoding to another. - * @param str The string to convert. - * @return The converted string. - * @throw Glib::ConvertError - */ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - std::string convert(const std::string& str); - #else - std::string convert(const std::string& str, std::auto_ptr& error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - GIConv gobj() { return gobject_; } - -private: - GIConv gobject_; - - // noncopyable - IConv(const IConv&); - IConv& operator=(const IConv&); -}; - - -/** Get the charset used by the current locale. - * @return Whether the current locale uses the UTF-8 charset. - */ -bool get_charset(); - -/** Get the charset used by the current locale. - * @param charset Will be filled with the charset's name. - * @return Whether the current locale uses the UTF-8 charset. - */ -bool get_charset(std::string& charset); - -/** Convert from one encoding to another. - * @param str The string to convert. - * @param to_codeset Name of the target charset. - * @param from_codeset Name of the source charset. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset); -#else -std::string convert(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string from one character set to another, possibly including - * fallback sequences for characters not representable in the output. - * Characters not in the target encoding will be represented as Unicode - * escapes \\x{XXXX} or \\x{XXXXXX}. - * @param str The string to convert. - * @param to_codeset Name of the target charset. - * @param from_codeset Name of the source charset. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset); -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string from one character set to another, possibly including - * fallback sequences for characters not representable in the output. - * @note It is not guaranteed that the specification for the fallback sequences - * in @a fallback will be honored. Some systems may do a approximate conversion - * from @a from_codeset to @a to_codeset in their iconv() functions, in which - * case Glib will simply return that approximate conversion. - * - * @param str The string to convert. - * @param to_codeset Name of the target charset. - * @param from_codeset Name of the source charset. - * @param fallback UTF-8 string to be used in place of characters which aren't - * available in the target encoding. All characters in the fallback string - * @em must be available in the target encoding. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback); -#else -std::string convert_with_fallback(const std::string& str, - const std::string& to_codeset, - const std::string& from_codeset, - const Glib::ustring& fallback, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Convert from the current locale's encoding to UTF-8. - * Convenience wrapper around Glib::convert(). - * @param opsys_string The string to convert. Must be encoded in the charset - * used by the operating system's current locale. - * @return The input string converted to UTF-8 encoding. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring locale_to_utf8(const std::string& opsys_string); -#else -Glib::ustring locale_to_utf8(const std::string& opsys_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Convert from UTF-8 to the current locale's encoding. - * Convenience wrapper around Glib::convert(). - * @param utf8_string The UTF-8 string to convert. - * @return The input string converted to the charset used by the operating - * system's current locale. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string locale_from_utf8(const Glib::ustring& utf8_string); -#else -std::string locale_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string which is in the encoding used for filenames into - * a UTF-8 string. - * @param opsys_string A string in the encoding for filenames. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_utf8(const std::string& opsys_string); -#else -Glib::ustring filename_to_utf8(const std::string& opsys_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts a string from UTF-8 to the encoding used for filenames. - * @param utf8_string A UTF-8 encoded string. - * @return The converted string. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_utf8(const Glib::ustring& utf8_string); -#else -std::string filename_from_utf8(const Glib::ustring& utf8_string, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an escaped UTF-8 encoded URI to a local filename - * in the encoding used for filenames. - * @param uri A string in the encoding for filenames. - * @param hostname Location to store hostname for the URI. If there is no - * hostname in the URI, "" will be stored in this location. - * @return The resulting filename. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname); -#else -std::string filename_from_uri(const Glib::ustring& uri, Glib::ustring& hostname, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an escaped UTF-8 encoded URI to a local filename in the encoding - * used for filenames. - * @param uri A string in the encoding for filenames. - * @return The resulting filename. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -std::string filename_from_uri(const Glib::ustring& uri); -#else -std::string filename_from_uri(const Glib::ustring& uri, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an absolute filename to an escaped UTF-8 encoded URI. - * @param filename An absolute filename specified in the encoding used - * for filenames by the operating system. - * @param hostname A UTF-8 encoded hostname. - * @return The resulting URI. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname); -#else -Glib::ustring filename_to_uri(const std::string& filename, const Glib::ustring& hostname, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Converts an absolute filename to an escaped UTF-8 encoded URI. - * @param filename An absolute filename specified in the encoding used - * for filenames by the operating system. - * @return The resulting URI. - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring filename_to_uri(const std::string& filename); -#else -Glib::ustring filename_to_uri(const std::string& filename, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - -/** Returns the display basename for the particular filename, guaranteed - * to be valid UTF-8. The display name might not be identical to the filename, - * for instance there might be problems converting it to UTF-8, and some files - * can be translated in the display - * - * You must pass the whole absolute pathname to this function so that - * translation of well known locations can be done. - * - * This function is preferred over filename_display_name() if you know the - * whole path, as it allows translation. - * - * @param filename An absolute pathname in the GLib file name encoding. - * @result A string containing a rendition of the basename of the filename in valid UTF-8 - */ -Glib::ustring filename_display_basename(const std::string& filename); - -/** Converts a filename into a valid UTF-8 string. The - * conversion is not necessarily reversible, so you - * should keep the original around and use the return - * value of this function only for display purposes. - * Unlike g_filename_to_utf8(), the result is guaranteed - * to be non-empty even if the filename actually isn't in the GLib - * file name encoding. - * - * If you know the whole pathname of the file you should use - * g_filename_display_basename(), since that allows location-based - * translation of filenames. - * - * @param filename: a pathname hopefully in the GLib file name encoding - * @result A string containing a rendition of the filename in valid UTF-8. - */ -Glib::ustring filename_display_name(const std::string& filename); - -/** @} group CharsetConv */ - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/date.ccg b/libs/glibmm2/glib/src/date.ccg deleted file mode 100644 index fe09b50177..0000000000 --- a/libs/glibmm2/glib/src/date.ccg +++ /dev/null @@ -1,390 +0,0 @@ -// -*- c++ -*- -/* $Id: date.ccg,v 1.7 2006/07/16 13:54:02 jjongsma Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -//#include //For g_assert() in glib >= 2.15.0 -//#include //For g_assert() in glib < 2.15.0 -#include //For g_assert() in all versions of glib. - -#include -#include - -#include -#include - -#include -GLIBMM_USING_STD(max) - -namespace Glib -{ - -Date::Date() -{ - g_date_clear(&gobject_, 1); -} - -Date::Date(Date::Day day, Date::Month month, Date::Year year) -{ - g_date_clear(&gobject_, 1); - g_date_set_dmy(&gobject_, day, (GDateMonth) month, year); -} - -Date::Date(guint32 julian_day) -{ - g_date_clear(&gobject_, 1); - g_date_set_julian(&gobject_, julian_day); -} - -Date::Date(const GDate& castitem) -: - gobject_ (castitem) -{} - -Date::Date(const Date& other) -{ - g_date_clear(&gobject_, 1); - g_date_set_julian(&gobject_, other.get_julian()); -} - -Date& Date::operator=(const Date& other) -{ - if (&other != this) - g_date_set_julian(&gobject_, other.get_julian()); - - return *this; -} - -void Date::clear() -{ - g_date_clear(&gobject_, 1); -} - -void Date::set_parse(const Glib::ustring& str) -{ - g_date_set_parse(&gobject_, str.c_str()); -} - - -_DEPRECATE_IFDEF_START - -//Avoid a build problem in the case that time_t is equivalent to guint32 (GTime is also guint32) -//That would make the set_time() method overload impossible. -#ifdef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 -void Date::set_time(GTime time) -{ - //This method, and the C function that it wraps, are deprecated. - g_date_set_time(&gobject_, time); -} -#endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 - -_DEPRECATE_IFDEF_END - - -void Date::set_time(time_t timet) -{ - g_date_set_time_t(&gobject_, timet); -} - -void Date::set_time_current() -{ - //As suggested in the C documentation: - g_date_set_time_t(&gobject_, time(NULL)); -} - -void Date::set_time(const GTimeVal& timeval) -{ - g_date_set_time_val(&gobject_, const_cast(&timeval)); -} - -void Date::set_month(Date::Month month) -{ - g_date_set_month(&gobject_, (GDateMonth) month); -} - -void Date::set_day(Date::Day day) -{ - g_date_set_day(&gobject_, day); -} - -void Date::set_year(Date::Year year) -{ - g_date_set_year(&gobject_, year); -} - -void Date::set_dmy(Date::Day day, Date::Month month, Date::Year year) -{ - g_date_set_dmy(&gobject_, day, (GDateMonth) month, year); -} - -void Date::set_julian(guint32 julian_day) -{ - g_date_set_julian(&gobject_, julian_day); -} - -Date& Date::add_days(int n_days) -{ - if(n_days >= 0) - g_date_add_days(&gobject_, n_days); - else - g_date_subtract_days(&gobject_, -n_days); - return *this; -} - -Date& Date::subtract_days(int n_days) -{ - if(n_days >= 0) - g_date_subtract_days(&gobject_, n_days); - else - g_date_add_days(&gobject_, -n_days); - return *this; -} - -Date& Date::add_months(int n_months) -{ - if(n_months >= 0) - g_date_add_months(&gobject_, n_months); - else - g_date_subtract_months(&gobject_, -n_months); - return *this; -} - -Date& Date::subtract_months(int n_months) -{ - if(n_months >= 0) - g_date_subtract_months(&gobject_, n_months); - else - g_date_add_months(&gobject_, -n_months); - return *this; -} - -Date& Date::add_years(int n_years) -{ - if(n_years >= 0) - g_date_add_years(&gobject_, n_years); - else - g_date_subtract_years(&gobject_, -n_years); - return *this; -} - -Date& Date::subtract_years(int n_years) -{ - if(n_years >= 0) - g_date_subtract_years(&gobject_, n_years); - else - g_date_add_years(&gobject_, -n_years); - return *this; -} - -int Date::days_between(const Date& rhs) const -{ - return g_date_days_between(&gobject_, &rhs.gobject_); -} - -int Date::compare(const Date& rhs) const -{ - return g_date_compare(&gobject_, &rhs.gobject_); -} - -Date& Date::clamp(const Date& min_date, const Date& max_date) -{ - g_date_clamp(&gobject_, &min_date.gobject_, &max_date.gobject_); - return *this; -} - -Date& Date::clamp_min(const Date& min_date) -{ - g_date_clamp(&gobject_, &min_date.gobject_, 0 /* see the C docs */); - return *this; -} - -Date& Date::clamp_max(const Date& max_date) -{ - g_date_clamp(&gobject_, 0 /* see the C docs */, &max_date.gobject_); - return *this; -} - -void Date::order(Date& other) -{ - g_date_order(&gobject_, &other.gobject_); -} - -Date::Weekday Date::get_weekday() const -{ - return (Date::Weekday) g_date_get_weekday(&gobject_); -} - -Date::Month Date::get_month() const -{ - return (Date::Month) g_date_get_month(&gobject_); -} - -Date::Year Date::get_year() const -{ - return g_date_get_year(&gobject_); -} - -Date::Day Date::get_day() const -{ - return g_date_get_day(&gobject_); -} - -guint32 Date::get_julian() const -{ - return g_date_get_julian(&gobject_); -} - -unsigned int Date::get_day_of_year() const -{ - return g_date_get_day_of_year(&gobject_); -} - -unsigned int Date::get_monday_week_of_year() const -{ - return g_date_get_monday_week_of_year(&gobject_); -} - -unsigned int Date::get_sunday_week_of_year() const -{ - return g_date_get_sunday_week_of_year(&gobject_); -} - -bool Date::is_first_of_month() const -{ - return g_date_is_first_of_month(&gobject_); -} - -bool Date::is_last_of_month() const -{ - return g_date_is_last_of_month(&gobject_); -} - -//static -guint8 Date::get_days_in_month(Date::Month month, Date::Year year) -{ - return g_date_get_days_in_month((GDateMonth) month, year); -} - -//static -guint8 Date::get_monday_weeks_in_year(Date::Year year) -{ - return g_date_get_monday_weeks_in_year(year); -} - -//static -guint8 Date::get_sunday_weeks_in_year(Date::Year year) -{ - return g_date_get_sunday_weeks_in_year(year); -} - -//static -bool Date::is_leap_year(Date::Year year) -{ - return g_date_is_leap_year(year); -} - -Glib::ustring Date::format_string(const Glib::ustring& format) const -{ - struct tm tm_data; - g_date_to_struct_tm(&gobject_, &tm_data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - const std::string locale_format = locale_from_utf8(format); - #else - std::auto_ptr error; //TODO: Check it? - const std::string locale_format = locale_from_utf8(format, error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - - gsize bufsize = std::max(2 * locale_format.size(), 128); - - do - { - const ScopedPtr buf (static_cast(g_malloc(bufsize))); - - // Set the first byte to something other than '\0', to be able to - // recognize whether strftime actually failed or just returned "". - buf.get()[0] = '\1'; - const gsize len = strftime(buf.get(), bufsize, locale_format.c_str(), &tm_data); - - if(len != 0 || buf.get()[0] == '\0') - { - g_assert(len < bufsize); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - return locale_to_utf8(std::string(buf.get(), len)); - #else - std::auto_ptr error; //TODO: Check it? - return locale_to_utf8(std::string(buf.get(), len), error); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - } - while((bufsize *= 2) <= 65536); - - // This error is quite unlikely (unless strftime is buggy). - g_warning("Glib::Date::format_string(): maximum size of strftime buffer exceeded, giving up"); - - return Glib::ustring(); -} - -void Date::to_struct_tm(struct tm& dest) const -{ - g_date_to_struct_tm(&gobject_, &dest); -} - -bool Date::valid() const -{ - return g_date_valid(&gobject_); -} - -//static -bool Date::valid_day(Date::Day day) -{ - return g_date_valid_day(day); -} - -//static -bool Date::valid_month(Date::Month month) -{ - return g_date_valid_month((GDateMonth) month); -} - -//static -bool Date::valid_year(Date::Year year) -{ - return g_date_valid_year(year); -} - -//static -bool Date::valid_weekday(Date::Weekday weekday) -{ - return g_date_valid_weekday((GDateWeekday) weekday); -} - -//static -bool Date::valid_julian(guint32 julian_day) -{ - return g_date_valid_julian(julian_day); -} - -//static -bool Date::valid_dmy(Date::Day day, Date::Month month, Date::Year year) -{ - return g_date_valid_dmy(day, (GDateMonth) month, year); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/date.hg b/libs/glibmm2/glib/src/date.hg deleted file mode 100644 index d3eede126f..0000000000 --- a/libs/glibmm2/glib/src/date.hg +++ /dev/null @@ -1,445 +0,0 @@ -/* $Id: date.hg,v 1.6 2005/11/29 15:53:27 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#m4 _PUSH(SECTION_HEADER1) -#m4 #undef G_DISABLE_DEPRECATED //So we can use deprecated functions in our deprecated methods. -#m4 _POP() - -#include - -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { struct tm; } -#endif - -namespace Glib -{ - -/** Julian calendar date. - */ -class Date -{ -public: - typedef guint8 Day; - typedef guint16 Year; - - _WRAP_ENUM(Month, GDateMonth, s#^DATE_##, NO_GTYPE, get_type_func=) - _WRAP_ENUM(Weekday, GDateWeekday, s#^DATE_##, NO_GTYPE) - _WRAP_ENUM(DMY, GDateDMY, s#^DATE_##, NO_GTYPE) - - static const Day BAD_DAY = 0; - static const Year BAD_YEAR = 0; - static const guint32 BAD_JULIAN = 0; - - /** Construct an undefined date. - */ - Date(); - - /** Construct a date with the given day, month and year. - * @param day The day. - * @param month The month. - * @param year The year. - */ - Date(Day day, Month month, Year year); - - /** Construct a date from a julian day. - * @param julian_day The julian day (guint32). - */ - explicit Date(guint32 julian_day); - - /** Construct a Glib::Date by copying the contents of a GDate. - * @param castitem The GDate. - * - * @newin2p18 - */ - explicit Date(const GDate& castitem); - - /** Construct a Glib::Date from another. - * @param other the other Glib::Date. - * - * @newin2p18 - */ - Date(const Date& other); - - /** Assign another date to this one. For example: - * @code - * ... - * Glib::Date my_date; - * my_date = other_date; - * @endcode - * - * @param other The other Glib::Date. - * - * @newin2p18 - */ - Date& operator=(const Date& other); - - /// Provides access to the underlying C instance. - GDate* gobj() { return &gobject_; } - - /// Provides access to the underlying C instance. - const GDate* gobj() const { return &gobject_; } - -private: - GDate gobject_; - -public: - /** Clear the date. The cleared dates will not represent an existing date, - * but will not contain garbage. - */ - void clear(); - - /** Parses a user-inputted string str, and try to figure out what date it represents, taking the current locale into account. If the string is successfully parsed, the date will be valid after the call. Otherwise, it will be invalid. - * This function is not appropriate for file formats and the like; it isn't very precise, and its exact behavior varies with the locale. It's intended to be a heuristic routine that guesses what the user means by a given string (and it does work pretty well in that capacity). - * @param str String to parse. - */ - void set_parse (const Glib::ustring& str); - - - _DEPRECATE_IFDEF_START - - //Avoid a build problem in the case that time_t is equivalent to guint32 (GTime is also guint32) - //That would make the set_time() method overload impossible. - #ifdef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 - /** Sets the value of a date from a GTime (time_t) value. - * - * @param time GTime value to set. - * - * @deprecated Please use set_time(time_t) or set_time(const GTimeVal&). - */ - void set_time(GTime time); - #endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 - - _DEPRECATE_IFDEF_END - - - /** Sets the value of a date from a time_t value. - * - * @param timet time_t value to set - * - * @see set_time_current() - * - * Since: 2.10 - */ - void set_time(time_t timet); - - /** Sets the value of a date from a GTimeVal value. Note that the - * tv_usec member is ignored, because Glib::Date can't make use of the - * additional precision. - * - * @see set_time_current() - * - * @param timeval GTimeVal value to set - * - * Since: 2.10 - */ - void set_time(const GTimeVal& timeval); - - /** Set this Glib::Date to the current time. - */ - void set_time_current(); - - /** Sets the month of the year. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param month Month to set. - */ - void set_month(Month month); - - /** Sets the day of the month. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param day Day to set. - */ - void set_day(Day day); - - /** Sets the year. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param year Year to set. - */ - void set_year(Year year); - - /** Sets the value of a day, month, and year.. If the resulting day-month-year triplet is invalid, the date will be invalid. - * @param day Day to set. - * @param month Month to set. - * @param year Year to set. - */ - void set_dmy(Day day, Month month, Year year); - - /** Sets the value of a GDate from a Julian day number. - * @param julian_day Julian day to set. - */ - void set_julian(guint32 julian_day); - - //TODO: Why return Date& (which is always *this) from these methods? - //Isn't it enough to also change the current instance? - //murrayc - - /** Add a number of days to a Date. - * @param n_days Days to add. - * @return Resulting Date - */ - Date& add_days(int n_days); - - /** Subtract n_days to a Date. - * @param n_days Days to subtract. - * @return Resulting Date - */ - Date& subtract_days(int n_days); - - /** Add n_months to a Date. - * @param n_months Months to add. - * @return Resulting Date - */ - Date& add_months(int n_months); - - /** Subtract n_months to a Date. - * @param n_months Months to subtract. - * @return Resulting Date - */ - Date& subtract_months(int n_months); - - /** Add n_days to a Date. - * @param n_years Years to add. - * @return Resulting Date - */ - Date& add_years(int n_years); - - /** Subtract n_years to a Date. - * @param n_years Years to subtract. - * @return Resulting Date - */ - Date& subtract_years(int n_years); - - /** Calculate days between two dates. - * @param rhs Date. - * @return Numbers of days. - */ - int days_between(const Date& rhs) const; - - /** Compare two dates. - * @param rhs Date to compare. - * @return Result of comparition. - */ - int compare(const Date& rhs) const; - - /** If date is prior to min_date, sets date equal to min_date. - * If date falls after max_date, sets date equal to max_date. All dates must be valid. - * See also clamp_min() and clamp_max(). - * @param min_date Date minimum value. - * @param max_date Date maximum value. - * @return Date in interval. - */ - Date& clamp(const Date& min_date, const Date& max_date); - - /** If date is prior to min_date, sets date equal to min_date. - * See also clamp(), and clamp_max(). - * @param min_date Date minimum value. - * @return Date in interval. - */ - Date& clamp_min(const Date& min_date); - - /** If date falls after max_date, sets date equal to max_date. - * See also clamp(), and clamp_min(). - * @param max_date Date maximum value. - * @return Date in interval. - */ - Date& clamp_max(const Date& max_date); - - /** Checks if date is less than or equal to other date, and swap the values if this is not the case. - * @param other Date ro compare. - * @return Date. - */ - void order(Date& other); - - /** Returns the day of the week for a Date. The date must be valid. - * @return Day of the week as a Date::Weekday. - */ - Weekday get_weekday() const; - - /** Returns the month of the year. The date must be valid. - * @return Month of the year as a Date::Month. - */ - Month get_month() const; - - /** Returns the year of a Date. The date must be valid. - * @return Year in which the date falls. - */ - Year get_year() const; - - /** Returns the day of the month. The date must be valid. - * @return Day of the month.. - */ - Day get_day() const; - - /** Returns the Julian day or "serial number" of the Date. - * The Julian day is simply the number of days since January 1, Year 1; - * i.e., January 1, Year 1 is Julian day 1; January 2, Year 1 is Julian day 2, etc. - * The date must be valid. - * @return Julian day. - */ - guint32 get_julian() const; - - /** Returns the day of the year, where Jan 1 is the first day of the year. - * The date must be valid. - * @return Julian day. - */ - unsigned int get_day_of_year() const; - - /** Returns the week of the year, where weeks are understood to start on Monday. - * If the date is before the first Monday of the year, return 0. - * The date must be valid. - * @return Week of the year. - */ - unsigned int get_monday_week_of_year() const; - - /** Returns the week of the year during which this date falls, if weeks are understood to being on Sunday. - * Can return 0 if the day is before the first Sunday of the year. - * The date must be valid. - * @return Week of the year. - */ - unsigned int get_sunday_week_of_year() const; - - /** Returns true if the date is on the first of a month. - * The date must be valid. - * @return true if the date is the first of the month. - */ - bool is_first_of_month() const; - - /** Returns true if the date is the last day of the month. - * The date must be valid. - * @return true if the date is the last day of the month. - */ - bool is_last_of_month() const; - - /** Returns the number of days in a month, taking leap years into account. - * @param month Month. - * @param year Year. - * @return Number of days in month during the year. - */ - static guint8 get_days_in_month(Month month, Year year); - - /** Returns the number of weeks in the year, where weeks are taken to start on Monday. Will be 52 or 53. - * (Years always have 52 7-day periods, plus 1 or 2 extra days depending on whether it's a leap year. This function is basically telling you how many Mondays are in the year, i.e. there are 53 Mondays if one of the extra days happens to be a Monday.) - * @param year Year to count weeks in. - * @return Number of weeks. - */ - static guint8 get_monday_weeks_in_year(Year year); - - /** Returns the number of weeks in the year, where weeks are taken to start on Sunday. Will be 52 or 53. - * (Years always have 52 7-day periods, plus 1 or 2 extra days depending on whether it's a leap year. This function is basically telling you how many Sundays are in the year, i.e. there are 53 Sundays if one of the extra days happens to be a Sunday.) - * @param year Year to count weeks in. - * @return Number of weeks. - */ - static guint8 get_sunday_weeks_in_year(Year year); - - /** Returns true if the year is a leap year. - * @param year Year to check. - * @return true if the year is a leap year. - */ - static bool is_leap_year(Year year); - - /** Convert date to string. - * @param format A format string as used by @c strftime(), in UTF-8 - * encoding. Only date formats are allowed, the result of time formats - * is undefined. - * @return The formatted date string. - * @throw Glib::ConvertError - */ - Glib::ustring format_string(const Glib::ustring& format) const; - - /** Fills in the date-related bits of a struct tm using the date value. Initializes the non-date parts with something sane but meaningless. - * @param dest Struct tm to fill. - */ - void to_struct_tm(struct tm& dest) const; - - /** Returns true if the Date represents an existing day. - * @return true if the date is valid. - */ - bool valid() const; - - /** Returns true if the day of the month is valid (a day is valid if it's between 1 and 31 inclusive). - * @param day Day to check. - * @return true if the day is valid. - */ - static bool valid_day(Day day); - - /** Returns true if the month value is valid. The 12 Date::Month enumeration values are the only valid months. - * @param month Month to check. - * @return true if the month is valid. - */ - static bool valid_month(Month month); - - - /** Returns true if the year is valid. - * Any year greater than 0 is valid, though there is a 16-bit limit to what Date will understand. - * @param year Year to check. - * @return true if the year is valid. - */ - static bool valid_year(Year year); - - /** Returns true if the weekday is valid. - * The 7 Date::Weekday enumeration values are the only valid. - * @param weekday Weekday to check. - * @return true if the weekday is valid. - */ - static bool valid_weekday(Weekday weekday); - - /** Returns true if the Julian day is valid. - * Anything greater than zero is basically a valid Julian, though there is a 32-bit limit. - * @param julian_day Julian day to check. - * @return true if the Julian day is valid. - */ - static bool valid_julian(guint32 julian_day); - - - /** Returns true if the day-month-year triplet forms a valid, existing day in the range of days Date understands (Year 1 or later, no more than a few thousand years in the future). - * @param day Day to check. - * @param month Month to check. - * @param year Year to check. - * @return true if the date is a valid one. - */ - static bool valid_dmy(Day day, Month month, Year year); -}; - - -/** @relates Glib::Date */ -inline bool operator==(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) == 0); } - -/** @relates Glib::Date */ -inline bool operator!=(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) != 0); } - -/** @relates Glib::Date */ -inline bool operator<(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) < 0); } - -/** @relates Glib::Date */ -inline bool operator>(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) > 0); } - -/** @relates Glib::Date */ -inline bool operator<=(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) <= 0); } - -/** @relates Glib::Date */ -inline bool operator>=(const Date& lhs, const Date& rhs) - { return (lhs.compare(rhs) >= 0); } - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/fileutils.ccg b/libs/glibmm2/glib/src/fileutils.ccg deleted file mode 100644 index 0c75bf964c..0000000000 --- a/libs/glibmm2/glib/src/fileutils.ccg +++ /dev/null @@ -1,183 +0,0 @@ -// -*- c++ -*- -/* $Id: fileutils.ccg,v 1.1 2003/01/07 16:58:25 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace Glib -{ - -/**** Glib::Dir ************************************************************/ - -Dir::Dir(const std::string& path) -{ - GError* error = 0; - gobject_ = g_dir_open(path.c_str(), 0, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -Dir::Dir(GDir* gobject) -: - gobject_ (gobject) -{} - -Dir::~Dir() -{ - if(gobject_) - g_dir_close(gobject_); -} - -std::string Dir::read_name() -{ - const char *const name = g_dir_read_name(gobject_); - return Glib::convert_const_gchar_ptr_to_stdstring(name); -} - -void Dir::rewind() -{ - g_dir_rewind(gobject_); -} - -void Dir::close() -{ - if(gobject_) - { - g_dir_close(gobject_); - gobject_ = 0; - } -} - -DirIterator Dir::begin() -{ - g_dir_rewind(gobject_); - return DirIterator(gobject_, g_dir_read_name(gobject_)); -} - -DirIterator Dir::end() -{ - return DirIterator(gobject_, 0); -} - - -/**** Glib::DirIterator ****************************************************/ - -DirIterator::DirIterator() -: - gobject_ (0), - current_ (0) -{} - -DirIterator::DirIterator(GDir* gobject, const char* current) -: - gobject_ (gobject), - current_ (current) -{} - -std::string DirIterator::operator*() const -{ - return (current_) ? std::string(current_) : std::string(); -} - -DirIterator& DirIterator::operator++() -{ - current_ = g_dir_read_name(gobject_); - return *this; -} - -void DirIterator::operator++(int) -{ - current_ = g_dir_read_name(gobject_); -} - -bool DirIterator::operator==(const DirIterator& rhs) const -{ - return (current_ == rhs.current_); -} - -bool DirIterator::operator!=(const DirIterator& rhs) const -{ - return (current_ != rhs.current_); -} - - -bool file_test(const std::string& filename, FileTest test) -{ - return g_file_test(filename.c_str(), static_cast(unsigned(test))); -} - -int mkstemp(std::string& filename_template) -{ - const ScopedPtr buf (g_strndup(filename_template.data(), filename_template.size())); - const int fileno = g_mkstemp(buf.get()); - - filename_template = buf.get(); - return fileno; -} - -int file_open_tmp(std::string& name_used, const std::string& prefix) -{ - std::string basename_template (prefix); - basename_template += "XXXXXX"; // this sillyness shouldn't be in the interface - - GError* error = 0; - ScopedPtr buf_name_used; - - const int fileno = g_file_open_tmp(basename_template.c_str(), buf_name_used.addr(), &error); - - if(error) - Glib::Error::throw_exception(error); - - name_used = buf_name_used.get(); - return fileno; -} - -int file_open_tmp(std::string& name_used) -{ - GError* error = 0; - ScopedPtr buf_name_used; - - const int fileno = g_file_open_tmp(0, buf_name_used.addr(), &error); - - if(error) - Glib::Error::throw_exception(error); - - name_used = buf_name_used.get(); - return fileno; -} - -std::string file_get_contents(const std::string& filename) -{ - ScopedPtr contents; - gsize length = 0; - GError* error = 0; - - g_file_get_contents(filename.c_str(), contents.addr(), &length, &error); - - if(error) - Glib::Error::throw_exception(error); - - return std::string(contents.get(), length); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/fileutils.hg b/libs/glibmm2/glib/src/fileutils.hg deleted file mode 100644 index 70dc779ee0..0000000000 --- a/libs/glibmm2/glib/src/fileutils.hg +++ /dev/null @@ -1,400 +0,0 @@ -/* $Id: fileutils.hg,v 1.3 2004/01/22 18:38:12 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GDir GDir; } -#endif - -#include -#include - -#include -#include - -GLIBMM_USING_STD(input_iterator_tag) -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -_WRAP_ENUM(FileTest, GFileTest, NO_GTYPE) - -/** @defgroup FileUtils File Utilities - * Various file-related classes and functions. - */ - -/** Exception class for file-related errors. - * @ingroup FileUtils - */ -_WRAP_GERROR(FileError, GFileError, G_FILE_ERROR, NO_GTYPE, - s#^EXIST$#EXISTS#, - s#^ISDIR$#IS_DIRECTORY#, - s#^ACCES$#ACCESS_DENIED#, - s#^NAMETOOLONG$#NAME_TOO_LONG#, - s#^NOENT$#NO_SUCH_ENTITY#, - s#^NOTDIR$#NOT_DIRECTORY#, - s#^NXIO$#NO_SUCH_DEVICE#, - s#^NODEV$#NOT_DEVICE#, - s#^ROFS$#READONLY_FILESYSTEM#, - s#^TXTBSY$#TEXT_FILE_BUSY#, - s#^FAULT$#FAULTY_ADDRESS#, - s#^LOOP$#SYMLINK_LOOP#, - s#^NOSPC$#NO_SPACE_LEFT#, - s#^NOMEM$#NOT_ENOUGH_MEMORY#, - s#^MFILE$#TOO_MANY_OPEN_FILES#, - s#^NFILE$#FILE_TABLE_OVERFLOW#, - s#^BADF$#BAD_FILE_DESCRIPTOR#, - s#^INVAL$#INVALID_ARGUMENT#, - s#^PIPE$#BROKEN_PIPE#, - s#^AGAIN$#TRYAGAIN#, - s#^INTR$#INTERRUPTED#, - s#^IO$#IO_ERROR#, - s#^PERM$#NOT_OWNER# -) - -/** @enum FileError::Code - * Values corresponding to errno codes returned from file operations - * on UNIX. - * Unlike errno codes, FileError::Code values are available on all - * systems, even Windows. The exact meaning of each code depends on what sort - * of file operation you were performing; the UNIX documentation gives more - * details. The following error code descriptions come from the GNU C Library - * manual, and are under the copyright of that manual. - * - * It's not very portable to make detailed assumptions about exactly which - * errors will be returned from a given operation. Some errors don't occur on - * some systems, etc., sometimes there are subtle differences in when a system - * will report a given error, etc. - */ - -/** @var FileError::Code FileError::EXISTS - * (EEXIST) Operation not permitted; only the owner of the file (or - * other resource) or processes with special privileges can perform the operation. - *

- */ -/** @var FileError::Code FileError::IS_DIRECTORY - * (EISDIR) File is a directory; you cannot open a directory for writing, - * or create or remove hard links to it. - *

- */ -/** @var FileError::Code FileError::ACCESS_DENIED - * (EACCES) Permission denied; the file permissions do not allow the - * attempted operation. - *

- */ -/** @var FileError::Code FileError::NAME_TOO_LONG - * (ENAMETOOLONG) Filename too long. - *

- */ -/** @var FileError::Code FileError::NO_SUCH_ENTITY - * (ENOENT) No such file or directory. This is a "file doesn't exist" - * error for ordinary files that are referenced in contexts where they are expected - * to already exist. - *

- */ -/** @var FileError::Code FileError::NOT_DIRECTORY - * (ENOTDIR) A file that isn't a directory was specified when a directory - * is required. - *

- */ -/** @var FileError::Code FileError::NO_SUCH_DEVICE - * (ENXIO) No such device or address. The system tried to use the device - * represented by a file you specified, and it couldn't find the device. This can - * mean that the device file was installed incorrectly, or that the physical device - * is missing or not correctly attached to the computer. - *

- */ -/** @var FileError::Code FileError::NOT_DEVICE - * (ENODEV) This file is of a type that doesn't support mapping. - *

- */ -/** @var FileError::Code FileError::READONLY_FILESYSTEM - * (EROFS) The directory containing the new link can't be modified - * because it's on a read-only file system. - *

- */ -/** @var FileError::Code FileError::TEXT_FILE_BUSY - * (ETXTBSY) Text file busy. - *

- */ -/** @var FileError::Code FileError::FAULTY_ADDRESS - * (EFAULT) You passed in a pointer to bad memory. (Glib won't - * reliably return this, don't pass in pointers to bad memory.) - *

- */ -/** @var FileError::Code FileError::SYMLINK_LOOP - * (ELOOP) Too many levels of symbolic links were encountered in - * looking up a file name. This often indicates a cycle of symbolic links. - *

- */ -/** @var FileError::Code FileError::NO_SPACE_LEFT - * (ENOSPC) No space left on device; write operation on a file failed - * because the disk is full. - *

- */ -/** @var FileError::Code FileError::NOT_ENOUGH_MEMORY - * (ENOMEM) No memory available. The system cannot allocate more - * virtual memory because its capacity is full. - *

- */ -/** @var FileError::Code FileError::TOO_MANY_OPEN_FILES - * (EMFILE) The current process has too many files open and can't - * open any more. Duplicate descriptors do count toward this limit. - *

- */ -/** @var FileError::Code FileError::FILE_TABLE_OVERFLOW - * (ENFILE) There are too many distinct file openings in the - * entire system. - *

- */ -/** @var FileError::Code FileError::BAD_FILE_DESCRIPTOR - * (EBADF) Bad file descriptor; for example, I/O on a descriptor - * that has been closed or reading from a descriptor open only for writing - * (or vice versa). - *

- */ -/** @var FileError::Code FileError::INVALID_ARGUMENT - * (EINVAL) Invalid argument. This is used to indicate various kinds - * of problems with passing the wrong argument to a library function. - *

- */ -/** @var FileError::Code FileError::BROKEN_PIPE - * (EPIPE) Broken pipe; there is no process reading from the other - * end of a pipe. Every library function that returns this error code also - * generates a SIGPIPE signal; this signal terminates the program - * if not handled or blocked. Thus, your program will never actually see - * this code unless it has handled or blocked SIGPIPE. - *

- */ -/** @var FileError::Code FileError::TRYAGAIN - * (EAGAIN) Resource temporarily unavailable; the call might work - * if you try again later. - * We used TRYAGAIN instead of TRY_AGAIN, because that is a defined as a macro by a Unix header. - *

- */ -/** @var FileError::Code FileError::INTERRUPTED - * (EINTR) Interrupted function call; an asynchronous signal occurred - * and prevented completion of the call. When this happens, you should try - * the call again. - *

- */ -/** @var FileError::Code FileError::IO_ERROR - * (EIO) Input/output error; usually used for physical read or write - * errors. I.e. the disk or other physical device hardware is returning errors. - *

- */ -/** @var FileError::Code FileError::NOT_OWNER - * (EPERM) Operation not permitted; only the owner of the file (or other - * resource) or processes with special privileges can perform the operation. - *

- */ -/** @var FileError::Code FileError::FAILED - * Does not correspond to a UNIX error code; this is the standard "failed for - * unspecified reason" error code present in all Glib::Error error code - * enumerations. Returned if no specific code applies. - */ - -class Dir; - -/** The iterator type of Glib::Dir. - * @ingroup FileUtils - */ -class DirIterator -{ -public: - typedef std::input_iterator_tag iterator_category; - typedef std::string value_type; - typedef int difference_type; - typedef value_type reference; - typedef void pointer; - - DirIterator(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - DirIterator(GDir* gobject, const char* current); -#endif - - std::string operator*() const; - DirIterator& operator++(); - - /** @note DirIterator has input iterator semantics, which means real - * postfix increment is impossible. The return type is @c void to - * prevent surprising behaviour. - */ - void operator++(int); - - bool operator==(const DirIterator& rhs) const; - bool operator!=(const DirIterator& rhs) const; - -private: - GDir* gobject_; - const char* current_; -}; - - -/** Utility class representing an open directory. - * @ingroup FileUtils - * It's highly recommended to use the iterator interface. With iterators, - * reading an entire directory into a STL container is really easy: - * @code - * Glib::Dir dir (directory_path); - * std::list entries (dir.begin(), dir.end()); - * @endcode - * @note The encoding of the directory entries isn't necessarily UTF-8. - * Use Glib::filename_to_utf8() if you need to display them. - */ -class Dir -{ -public: - typedef DirIterator iterator; - typedef DirIterator const_iterator; - - /** Opens a directory for reading. The names of the files in the - * directory can then be retrieved using read_name(). - * @param path The path to the directory you are interested in. - * @throw Glib::FileError - */ - explicit Dir(const std::string& path); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - explicit Dir(GDir* gobject); -#endif - - /** Closes the directory and deallocates all related resources. - */ - ~Dir(); - - /** Retrieves the name of the next entry in the directory. - * The '.' and '..' entries are omitted. - * @return The entry's name or "" if there are no more entries. - * @see begin(), end() - */ - std::string read_name(); - - /** Resets the directory. The next call to - * read_name() will return the first entry again. - */ - void rewind(); - - /** Closes the directory and deallocates all related resources. - * Note that close() is implicitely called by ~Dir(). Thus you don't - * need to call close() yourself unless you want to close the directory - * before the destructor runs. - */ - void close(); - - /** Get the begin of an input iterator sequence. - * @return An input iterator pointing to the first directory entry. - */ - DirIterator begin(); - - /** Get the end of an input iterator sequence. - * @return An input iterator pointing behind the last directory entry. - */ - DirIterator end(); - -private: - GDir* gobject_; - - // noncopyable - Dir(const Dir&); - Dir& operator=(const Dir&); -}; - - -/** Returns @c true if any of the tests in the bitfield @a test are true. - * @ingroup FileUtils - * For example, (Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR) will - * return @c true if the file exists; the check whether it's a directory - * doesn't matter since the existence test is true. With the current set of - * available tests, there's no point passing in more than one test at a time. - * - * Apart from Glib::FILE_TEST_IS_SYMLINK all tests follow symbolic - * links, so for a symbolic link to a regular file file_test() will return - * @c true for both Glib::FILE_TEST_IS_SYMLINK and - * Glib::FILE_TEST_IS_REGULAR. - * - * @note For a dangling symbolic link file_test() will return @c true for - * Glib::FILE_TEST_IS_SYMLINK and @c false for all other flags. - * - * @param filename A filename to test. - * @param test Bitfield of Glib::FileTest flags. - * @return Whether a test was true. - */ -bool file_test(const std::string& filename, FileTest test); - -/** Opens a temporary file. - * @ingroup FileUtils - * See the %mkstemp() documentation on most UNIX-like systems. This is a - * portability wrapper, which simply calls %mkstemp() on systems that have - * it, and implements it in GLib otherwise. - * @param filename_template A string that should match the rules for - * %mkstemp(), i.e. end in "XXXXXX". The X string - * will be modified to form the name of a file that didn't exist. - * @return A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms where there - * is a difference. The file handle should be closed with close(). In - * case of errors, -1 is returned. - */ -int mkstemp(std::string& filename_template); - -/** Opens a file for writing in the preferred directory for temporary files - * (as returned by Glib::get_tmp_dir()). - * @ingroup FileUtils - * @a prefix should a basename template; it'll be suffixed by 6 characters - * in order to form a unique filename. No directory components are allowed. - * - * The actual name used is returned in @a name_used. - * - * @param prefix Template for file name, basename only. - * @retval name_used The actual name used. - * @return A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms where there is a - * difference. The file handle should be closed with close(). - * @throw Glib::FileError - */ -int file_open_tmp(std::string& name_used, const std::string& prefix); - -/** Opens a file for writing in the preferred directory for temporary files - * (as returned by Glib::get_tmp_dir()). - * @ingroup FileUtils - * This function works like file_open_tmp(std::string&, const std::string&) - * but uses a default basename prefix. - * - * @retval name_used The actual name used. - * @return A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms where there is a - * difference. The file handle should be closed with close(). - * @throw Glib::FileError - */ -int file_open_tmp(std::string& name_used); - -/** Reads an entire file into a string, with good error checking. - * @ingroup FileUtils - * @param filename A file to read contents from. - * @return The file contents. - * @throw Glib::FileError - */ -std::string file_get_contents(const std::string& filename); - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/glib.defs b/libs/glibmm2/glib/src/glib.defs deleted file mode 100644 index ce4f36d9d3..0000000000 --- a/libs/glibmm2/glib/src/glib.defs +++ /dev/null @@ -1,5 +0,0 @@ -(include glib_functions.defs) -(include glib_enums.defs) -(include gobject_functions.defs) -(include gmodule_functions.defs) -(include gmodule_enums.defs) diff --git a/libs/glibmm2/glib/src/glib_docs.xml b/libs/glibmm2/glib/src/glib_docs.xml deleted file mode 100644 index 43f382fc5f..0000000000 --- a/libs/glibmm2/glib/src/glib_docs.xml +++ /dev/null @@ -1,42092 +0,0 @@ - - - -Converts a string to a hash value. -It can be passed to g_hash_table_new() as the @hash_func -parameter, when using strings as keys in a #GHashTable. - - - - - - a string key - - - - a hash value corresponding to the key - - - - - -Unquotes a string as the shell (/bin/sh) would. Only handles -quotes; if a string contains file globs, arithmetic operators, -variables, backticks, redirections, or other special-to-the-shell -features, the result will be different from the result a real shell -would produce (the variables, backticks, etc. will be passed -through literally instead of being expanded). This function is -guaranteed to succeed if applied to the result of -g_shell_quote(). If it fails, it returns %NULL and sets the -error. The @quoted_string need not actually contain quoted or -escaped text; g_shell_unquote() simply goes through the string and -unquotes/unescapes anything that the shell would. Both single and -double quotes are handled, as are escapes including escaped -newlines. The return value must be freed with g_free(). Possible -errors are in the #G_SHELL_ERROR domain. - -Shell quoting rules are a bit strange. Single quotes preserve the -literal string exactly. escape sequences are not allowed; not even -\' - if you want a ' in the quoted text, you have to do something -like 'foo'\''bar'. Double quotes allow $, `, ", \, and newline to -be escaped with backslash. Otherwise double quotes preserve things -literally. - - - - - - shell-quoted string - - - - error return location or NULL - - - - an unquoted string - - - - - -Removes a previously installed #GTypeClassCacheFunc. The cache -maintained by @cache_func has to be empty when calling -g_type_remove_class_cache_func() to avoid leaks. - - - - - data that was given when adding @cache_func - - - - a #GTypeClassCacheFunc - - - - - - - - -Behaves exactly like g_build_path(), but takes the path elements -as a string array, instead of varargs. This function is mainly -meant for language bindings. - - - - - - a string used to separator the elements of the path. - - - - %NULL-terminated array of strings containing the path elements. - - - - a newly-allocated string that must be freed with g_free(). - -Since: 2.8 - - - - - -References a file attribute info list. - - - - - - a #GFileAttributeInfoList to reference. - - - - #GFileAttributeInfoList or %NULL on error. - - - - - -Return value: the number of threads currently running - - - - - a #GThreadPool - - - - the number of threads currently running - - - - - -Retrieves the names of the applications that have registered the -bookmark for @uri. - -In the event the URI cannot be found, %NULL is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location of the length of the returned list, or %NULL - - - - return location for a #GError, or %NULL - - - - a newly allocated %NULL-terminated array of strings. -Use g_strfreev() to free it. - -Since: 2.12 - - - - - -Checks if @drive is capabable of automatically detecting media changes. - - - - - - a #GDrive. - - - - %TRUE if the @drive is capabable of automatically detecting media changes, %FALSE otherwise. - - - - - -Returns: a canonical representation for the string - - - - - a string - - - - a canonical representation for the string - -Since: 2.10 - - - - - -Flushes a stream asynchronously. -For behaviour details see g_output_stream_flush(). - -When the operation is finished @callback will be -called. You can then call g_output_stream_flush_finish() to get the -result of the operation. - - - - - a #GOutputStream. - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Adds a content type to the application information to indicate the -application is capable of opening files with the given content type. - - - - - - a #GAppInfo. - - - - a string. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Creates a new closure which invokes @callback_func with @user_data as -the last parameter. - - - - - - the function to invoke - - - - user data to pass to @callback_func - - - - destroy notify to be called when @user_data is no longer used - - - - a new #GCClosure - - - - - -Gets the file's size. - - - - - - a #GFileInfo. - - - - a #goffset containing the file's size. - - - - - -Creates a new #GSource structure. The size is specified to -allow creating structures derived from #GSource that contain -additional data. The size passed in must be at least -&lt;literal&gt;sizeof (GSource)&lt;/literal&gt;. - -The source will not initially be associated with any #GMainContext -and must be added to one with g_source_attach() before it will be -executed. - - - - - - structure containing functions that implement -the sources behavior. - - - - size of the #GSource structure to create. - - - - the newly-created #GSource. - - - - - -The initial reference count of a newly created #GParamSpec is 1, -even though no one has explicitly called g_param_spec_ref() on it -yet. So the initial reference count is flagged as "floating", until -someone calls &lt;literal&gt;g_param_spec_ref (pspec); g_param_spec_sink -(pspec);&lt;/literal&gt; in sequence on it, taking over the initial -reference count (thus ending up with a @pspec that has a reference -count of 1 still, but is not flagged "floating" anymore). - - - - - a valid #GParamSpec - - - - - - - - -Gets the number of children of a #GNode. - - - - - - a #GNode - - - - the number of children of @node - - - - - -Creates a new #GStringChunk. - - - - - - the default size of the blocks of memory which are -allocated to store the strings. If a particular string -is larger than this default size, a larger block of -memory will be allocated for it. - - - - a new #GStringChunk - - - - - -Scans for the next match using the same parameters of the previous -call to g_regex_match_full() or g_regex_match() that returned -@match_info. - -The match is done on the string passed to the match function, so you -cannot free it before calling this function. - - - - - - a #GMatchInfo structure - - - - location to store the error occuring, or %NULL to ignore errors - - - - %TRUE is the string matched, %FALSE otherwise - -Since: 2.14 - - - - - -Creates a symbolic link. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string with the value of the new symlink. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - %TRUE on the creation of a new symlink, %FALSE otherwise. - - - - - -Adds an emission hook for a signal, which will get called for any emission -of that signal, independent of the instance. This is possible only -for signals which don't have #G_SIGNAL_NO_HOOKS flag set. - - - - - - the signal identifier, as returned by g_signal_lookup(). - - - - the detail on which to call the hook. - - - - a #GSignalEmissionHook function. - - - - user data for @hook_func. - - - - a #GDestroyNotify for @hook_data. - - - - the hook id, for later use with g_signal_remove_emission_hook(). - - - - - -Decreases reference count of @regex by 1. When reference count drops -to zero, it frees all the memory associated with the regex structure. - -Since: 2.14 - - - - - a #GRegex - - - - - - - - -If @context is currently waiting in a poll(), interrupt -the poll(), and continue the iteration process. - - - - - a #GMainContext - - - - - - - - -Sets the meta marshaller of @closure. A meta marshaller wraps -@closure-&gt;marshal and modifies the way it is called in some -fashion. The most common use of this facility is for C callbacks. -The same marshallers (generated by &lt;link -linkend="glib-genmarshal"&gt;glib-genmarshal&lt;/link&gt;) are used -everywhere, but the way that we get the callback function -differs. In most cases we want to use @closure-&gt;callback, but in -other cases we want to use some different technique to retrieve the -callback function. - -For example, class closures for signals (see -g_signal_type_cclosure_new()) retrieve the callback function from a -fixed offset in the class structure. The meta marshaller retrieves -the right callback and passes it to the marshaller as the -@marshal_data argument. - - - - - a #GClosure - - - - context-dependent data to pass to @meta_marshal - - - - a #GClosureMarshal function - - - - - - - - -Gets the directory to use for temporary files. This is found from -inspecting the environment variables &lt;envar&gt;TMPDIR&lt;/envar&gt;, -&lt;envar&gt;TMP&lt;/envar&gt;, and &lt;envar&gt;TEMP&lt;/envar&gt; in that order. If none -of those are defined "/tmp" is returned on UNIX and "C:\" on Windows. -The encoding of the returned string is system-defined. On Windows, -it is always UTF-8. The return value is never %NULL. - - - - - - the directory to use for temporary files. - - - - - -Tries to find a content type based on the mime type name. - - - - - - a mime type string. - - - - Newly allocated string with content type or NULL when does not know. - -Since: 2.18 - - - - - -Puts an unsigned 32-bit integer into the stream. - - - - - - a #GDataOutputStream. - - - - a #guint32. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Returns: the string searched with @match_info - - - - - a #GMatchInfo - - - - the string searched with @match_info - -Since: 2.14 - - - - - -Return value: A negative number if @a comes before @b, 0 if they are - - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - A negative number if @a comes before @b, 0 if they are -equal, and a positive number if @a comes after @b. - -Since: 2.14 - - - - - -Adds a function to be called whenever there are no higher priority -events pending. If the function returns %FALSE it is automatically -removed from the list of event sources and will not be called again. - - - - - - the priority of the idle source. Typically this will be in the -range btweeen #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE. - - - - function to call - - - - data to pass to @function - - - - function to call when the idle is removed, or %NULL - - - - the ID (greater than 0) of the event source. - - - - - -Removes the @n'th element of @queue. - - - - - - a #GQueue - - - - the position of the element. - - - - the element's data, or %NULL if @n is off the end of @queue. - -Since: 2.4 - - - - - -Adds a new element on to the start of the list. - -&lt;note&gt;&lt;para&gt; -The return value is the new start of the list, which -may have changed, so make sure you store the new value. -&lt;/para&gt;&lt;/note&gt; - -|[ -/&ast; Notice that it is initialized to the empty list. &ast;/ -GSList *list = NULL; -list = g_slist_prepend (list, "last"); -list = g_slist_prepend (list, "first"); -]| - - - - - - a #GSList - - - - the data for the new element - - - - the new start of the #GSList - - - - - -Gets the parse name of the @file. -A parse name is a UTF-8 string that describes the -file such that one can get the #GFile back using -g_file_parse_name(). - -This is generally used to show the #GFile as a nice -full-pathname kind of string in a user interface, -like in a location entry. - -For local files with names that can safely be converted -to UTF8 the pathname is used, otherwise the IRI is used -(a form of URI that allows UTF8 characters unescaped). - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing the #GFile's parse name. The returned -string should be freed with g_free() when no longer needed. - - - - - -Gets the user data from a #GAsyncResult. - - - - - - a #GAsyncResult. - - - - the user data for @res. - - - - - -Return value: A random number. - - - - - a #GRand. - - - - A random number. - - - - - -Creates a new GIOModule that will load the specific -shared library when in use. - - - - - - filename of the shared library module. - - - - a #GIOModule from given @filename, -or %NULL on error. - - - - - -Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing -its reference count. - - - - - - a valid #GValue whose type is derived from %G_TYPE_OBJECT - - - - object content of @value, should be unreferenced when no -longer needed. - - - - - -Emits a signal. - -Note that g_signal_emit_valist() resets the return value to the default -if no handlers are connected, in contrast to g_signal_emitv(). - - - - - the instance the signal is being emitted on. - - - - the signal id - - - - the detail - - - - a list of parameters to be passed to the signal, followed by a -location for the return value. If the return type of the signal -is #G_TYPE_NONE, the return value location can be omitted. - - - - - - - - -This function looks for a desktop bookmark file named @file in the -paths returned from g_get_user_data_dir() and g_get_system_data_dirs(), -loads the file into @bookmark and returns the file's full path in -@full_path. If the file could not be loaded then an %error is -set to either a #GFileError or #GBookmarkFileError. - - - - - - a #GBookmarkFile - - - - a relative path to a filename to open and parse - - - - return location for a string containing the full path -of the file, or %NULL - - - - return location for a #GError, or %NULL - - - - %TRUE if a key file could be loaded, %FALSE othewise - -Since: 2.12 - - - - - -Return value: the main group of @context, or %NULL if @context doesn't - - - - - a #GOptionContext - - - - the main group of @context, or %NULL if @context doesn't -have a main group. Note that group belongs to @context and should -not be modified or freed. - -Since: 2.6 - - - - - -Converts all upper case ASCII letters to lower case ASCII letters. - - - - - - a string. - - - - length of @str in bytes, or -1 if @str is nul-terminated. - - - - a newly-allocated string, with all the upper case -characters in @str converted to lower case, with -semantics that exactly match g_ascii_tolower(). (Note -that this is unlike the old g_strdown(), which modified -the string in place.) - - - - - -Duplicates a file info structure. - - - - - - a #GFileInfo. - - - - a duplicate #GFileInfo of @other. - - - - - -Retrieves the list of group names of the bookmark for @uri. - -In the event the URI cannot be found, %NULL is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - -The returned array is %NULL terminated, so @length may optionally -be %NULL. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for the length of the returned string, or %NULL - - - - return location for a #GError, or %NULL - - - - a newly allocated %NULL-terminated array of group names. -Use g_strfreev() to free it. - -Since: 2.12 - - - - - -Return value: The start group of the key file. - - - - - a #GKeyFile - - - - The start group of the key file. - -Since: 2.6 - - - - - -Guesses the icon of a Unix mount point. - - - - - - a #GUnixMountPoint - - - - a #GIcon - - - - - -This function will return the maximum @interval that a thread will -wait in the thread pool for new tasks before being stopped. - -If this function returns 0, threads waiting in the thread pool for -new work are not stopped. - - - - - - the maximum @interval to wait for new tasks in the -thread pool before stopping the thread (1/1000ths of a second). - -Since: 2.10 - - - - - -Removes @len bytes from a #GString, starting at position @pos. -The rest of the #GString is shifted down to fill the gap. - - - - - - a #GString - - - - the position of the content to remove - - - - the number of bytes to remove, or -1 to remove all -following bytes - - - - @string - - - - - -Attaches arbitrary data to a type. - - - - - a #GType - - - - a #GQuark id to identify the data - - - - the data - - - - - - - - -Finds an element in a #GSList, using a supplied function to -find the desired element. It iterates over the list, calling -the given function which should return 0 when the desired -element is found. The function takes two #gconstpointer arguments, -the #GSList element's data as the first argument and the -given user data. - - - - - - a #GSList - - - - user data passed to the function - - - - the function to call for each element. -It should return 0 when the desired element is found - - - - the found #GSList element, or %NULL if it is not found - - - - - -Return value: a string owned by GLib that must not be modified - - - - - a string owned by GLib that must not be modified -or freed. -Since: 2.6 - - - - - -Frees a unix mount point. - - - - - unix mount point to free. - - - - - - - - -Compare @s1 and @s2, ignoring the case of ASCII characters and any -characters after the first @n in each string. - -Unlike the BSD strcasecmp() function, this only recognizes standard -ASCII letters and ignores the locale, treating all non-ASCII -characters as if they are not letters. - -The same warning as in g_ascii_strcasecmp() applies: Use this -function only on strings known to be in encodings where bytes -corresponding to ASCII letters always represent themselves. - - - - - - string to compare with @s2. - - - - string to compare with @s1. - - - - number of characters to compare. - - - - 0 if the strings match, a negative value if @s1 &lt; @s2, -or a positive value if @s1 &gt; @s2. - - - - - -Atomically increments the reference count of @hash_table by one. -This function is MT-safe and may be called from any thread. - - - - - - a valid #GHashTable. - - - - the passed in #GHashTable. - -Since: 2.10 - - - - - -Runs a main loop until g_main_loop_quit() is called on the loop. -If this is called for the thread of the loop's #GMainContext, -it will process events from the loop, otherwise it will -simply wait. - - - - - a #GMainLoop - - - - - - - - -Adds a new element at the head of the queue. - - - - - a #GQueue. - - - - a single #GList element, &lt;emphasis&gt;not&lt;/emphasis&gt; a list with -more than one element. - - - - - - - - -Converts a string to lower case. - - - - - - the string to convert. - - - - the string - -Deprecated:2.2: This function is totally broken for the reasons discussed -in the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown() -instead. - - - - - -Finds an element in a #GQueue, using a supplied function to find the -desired element. It iterates over the queue, calling the given function -which should return 0 when the desired element is found. The function -takes two gconstpointer arguments, the #GQueue element's data as the -first argument and the given user data as the second argument. - - - - - - a #GQueue - - - - user data passed to @func - - - - a #GCompareFunc to call for each element. It should return 0 -when the desired element is found - - - - The found link, or %NULL if it wasn't found - -Since: 2.4 - - - - - -Associates a function with @group which will be called -from g_option_context_parse() when an error occurs. - -Note that the user data to be passed to @pre_parse_func and -@post_parse_func can be specified when constructing the group -with g_option_group_new(). - -Since: 2.6 - - - - - a #GOptionGroup - - - - a function to call when an error occurs - - - - - - - - -Return a newly allocated and 0-terminated array of type IDs, listing the -child types of @type. The return value has to be g_free()ed after use. - - - - - - The parent type. - - - - Optional #guint pointer to contain the number of child types. - - - - Newly allocated and 0-terminated array of child types. - - - - - -Gets a #GUnixMountEntry for a given mount path. If @time_read -is set, it will be filled with a unix timestamp for checking -if the mounts have changed since with g_unix_mounts_changed_since(). - - - - - - path for a possible unix mount. - - - - guint64 to contain a timestamp. - - - - a #GUnixMount. - - - - - -Initializes a key/value pair iterator and associates it with -@hash_table. Modifying the hash table after calling this function -invalidates the returned iterator. -|[ -GHashTableIter iter; -gpointer key, value; - -g_hash_table_iter_init (&iter, hash_table); -while (g_hash_table_iter_next (&iter, &key, &value)) -{ -/&ast; do something with key and value &ast;/ -} -]| - -Since: 2.16 - - - - - an uninitialized #GHashTableIter. - - - - a #GHashTable. - - - - - - - - -Computes a list of applicable locale names, which can be used to -e.g. construct locale-dependent filenames or search paths. The returned -list is sorted from most desirable to least desirable and always contains -the default locale "C". - -For example, if LANGUAGE=de:en_US, then the returned list is -"de", "en_US", "en", "C". - -This function consults the environment variables &lt;envar&gt;LANGUAGE&lt;/envar&gt;, -&lt;envar&gt;LC_ALL&lt;/envar&gt;, &lt;envar&gt;LC_MESSAGES&lt;/envar&gt; and &lt;envar&gt;LANG&lt;/envar&gt; -to find the list of locales specified by the user. - - - - - - a %NULL-terminated array of strings owned by GLib -that must not be modified or freed. - -Since: 2.6 - - - - - -Looks up a #GFlagsValue by nickname. - - - - - - a #GFlagsClass - - - - the nickname to look up - - - - the #GFlagsValue with nickname @nick, or %NULL if there is -no flag with that nickname - - - - - -Gets the kinds of identifiers that @drive has. -Use g_drive_get_identifer() to obtain the identifiers -themselves. - - - - - - a #GDrive - - - - a %NULL-terminated array of strings containing -kinds of identifiers. Use g_strfreev() to free. - - - - - -Gets a list of the volumes on the system. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GVolumeMonitor. - - - - a #GList of #GVolume&lt;!-- --&gt;s. - - - - - -Frees an instance of a type, returning it to the instance pool for -the type, if there is one. - -Like g_type_create_instance(), this function is reserved for -implementors of fundamental types. - - - - - an instance of a type. - - - - - - - - -Looks up a key in a #GHashTable. Note that this function cannot -distinguish between a key that is not present and one which is present -and has the value %NULL. If you need this distinction, use -g_hash_table_lookup_extended(). - - - - - - a #GHashTable. - - - - the key to look up. - - - - the associated value, or %NULL if the key is not found. - - - - - -Checks if an input stream is closed. - - - - - - input stream. - - - - %TRUE if the stream is closed. - - - - - -Encode a sequence of binary data into its Base-64 stringified -representation. - - - - - - the binary data to encode - - - - the length of @data - - - - a newly allocated, zero-terminated Base-64 encoded -string representing @data. The returned string must -be freed with g_free(). - -Since: 2.12 - - - - - -Replaces the contents of @file with @contents of @length bytes. - -If @etag is specified (not %NULL) any existing file must have that etag, or -the error %G_IO_ERROR_WRONG_ETAG will be returned. - -If @make_backup is %TRUE, this function will attempt to make a backup of @file. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -The returned @new_etag can be used to verify that the file hasn't changed the -next time it is saved over. - - - - - - input #GFile. - - - - a string containing the new contents for @file. - - - - the length of @contents in bytes. - - - - the old &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - a location to a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. This should be freed with g_free() when no longer -needed. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Gets a list of URI schemes supported by @vfs. - - - - - - a #GVfs. - - - - a list of strings. - - - - - -Guesses the icon of a Unix mount. - - - - - - a #GUnixMountEntry - - - - a #GIcon - - - - - -Queries a file input stream the given @attributes. This function blocks -while querying the stream. For the asynchronous (non-blocking) version -of this function, see g_file_input_stream_query_info_async(). While the -stream is blocked, the stream will set the pending flag internally, and -any other operations on the stream will fail with %G_IO_ERROR_PENDING. - - - - - - a #GFileInputStream. - - - - a file attribute query string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GFileInfo, or %NULL on error. - - - - - -A variant of g_closure_new_simple() which stores @object in the -@data field of the closure and calls g_object_watch_closure() on -@object and the created closure. This function is mainly useful -when implementing new types of closures. - - - - - - the size of the structure to allocate, must be at least -&lt;literal&gt;sizeof (GClosure)&lt;/literal&gt; - - - - a #GObject pointer to store in the @data field of the newly -allocated #GClosure - - - - a newly allocated #GClosure - - - - - -Adds a copy of @string to the #GStringChunk. -It returns a pointer to the new copy of the string -in the #GStringChunk. The characters in the string -can be changed, if necessary, though you should not -change anything after the end of the string. - -Unlike g_string_chunk_insert_const(), this function -does not check for duplicates. Also strings added -with g_string_chunk_insert() will not be searched -by g_string_chunk_insert_const() when looking for -duplicates. - - - - - - a #GStringChunk - - - - the string to add - - - - a pointer to the copy of @string within -the #GStringChunk - - - - - -Removes @root and its children from the tree, freeing any memory -allocated. - - - - - the root of the tree/subtree to destroy - - - - - - - - -Finishes a mount operation started by g_file_mount_enclosing_volume(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Locates the first executable named @program in the user's path, in the -same way that execvp() would locate it. Returns an allocated string -with the absolute path name, or %NULL if the program is not found in -the path. If @program is already an absolute path, returns a copy of -@program if @program exists and is executable, and %NULL otherwise. - -On Windows, if @program does not have a file type suffix, tries -with the suffixes .exe, .cmd, .bat and .com, and the suffixes in -the &lt;envar&gt;PATHEXT&lt;/envar&gt; environment variable. - -On Windows, it looks for the file in the same way as CreateProcess() -would. This means first in the directory where the executing -program was loaded from, then in the current directory, then in the -Windows 32-bit system directory, then in the Windows directory, and -finally in the directories in the &lt;envar&gt;PATH&lt;/envar&gt; environment -variable. If the program is found, the return value contains the -full name including the type suffix. - - - - - - a program name in the GLib file name encoding - - - - absolute path, or %NULL - - - - - -Creates a new data output stream for @base_stream. - - - - - - a #GOutputStream. - - - - #GDataOutputStream. - - - - - -Formats arguments according to @format, escaping -all string and character arguments in the fashion -of g_markup_escape_text(). This is useful when you -want to insert literal strings into XML-style markup -output, without having to worry that the strings -might themselves contain markup. - -|[ -const char *store = "Fortnum &amp; Mason"; -const char *item = "Tea"; -char *output; -&nbsp; -output = g_markup_printf_escaped ("&lt;purchase&gt;" -"&lt;store&gt;&percnt;s&lt;/store&gt;" -"&lt;item&gt;&percnt;s&lt;/item&gt;" -"&lt;/purchase&gt;", -store, item); -]| - - - - - - printf() style format string - - - - the arguments to insert in the format string - - - - newly allocated result from formatting -operation. Free with g_free(). - -Since: 2.4 - - - - - -Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Gets the #GFile associated with the given @icon. - - - - - - a #GIcon. - - - - a #GFile, or %NULL. - - - - - -Writes a formatted string into a #GString. -This function is similar to g_string_printf() except that -the arguments to the format string are passed as a va_list. - -Since: 2.14 - - - - - a #GString - - - - the string format. See the printf() documentation - - - - the parameters to insert into the format string - - - - - - - - -Gets the names of all variables set in the environment. - - - - - - a %NULL-terminated list of strings which must be freed -with g_strfreev(). - -Programs that want to be portable to Windows should typically use -this function and g_getenv() instead of using the environ array -from the C library directly. On Windows, the strings in the environ -array are in system codepage encoding, while in most of the typical -use cases for environment variables in GLib-using programs you want -the UTF-8 encoding that this function and g_getenv() provide. - -Since: 2.8 - - - - - -Changes the data for the item pointed to by @iter to be @data. If -the sequence has a data destroy function associated with it, that -function is called on the existing data that @iter pointed to. - -Since: 2.14 - - - - - a #GSequenceIter - - - - new data for the item - - - - - - - - -Sets an attribute in the file with attribute name @attribute to @value. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - The type of the attribute - - - - a pointer to the value (or the pointer itself if the type is a pointer type) - - - - a set of #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the attribute was set, %FALSE otherwise. - - - - - -Return a random #guint32 equally distributed over the range -[0..2^32-1]. - - - - - - A random number. - - - - - -Finishes a stream skip operation. - - - - - - a #GInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - the size of the bytes skipped, or %-1 on error. - - - - - -Return value: the length of @seq - - - - - a #GSequence - - - - the length of @seq - -Since: 2.14 - - - - - -Sets the value of a date from a #GTime value. - -@Deprecated:2.10: Use g_date_set_time_t() instead. - - - - - a #GDate. - - - - #GTime value to set. - - - - - - - - -Get the time since the last start of the timer with g_test_timer_start(). - - - - - - the time since the last start of the timer, as a double - -Since: 2.16 - - - - - -Sorts a #GSList using the given comparison function. - - - - - - a #GSList - - - - the comparison function used to sort the #GSList. -This function is passed the data from 2 elements of the #GSList -and should return 0 if they are equal, a negative value if the -first element comes before the second, or a positive value if -the first element comes after the second. - - - - the start of the sorted #GSList - - - - - -Formats the data in @args according to @format, escaping -all string and character arguments in the fashion -of g_markup_escape_text(). See g_markup_printf_escaped(). - - - - - - printf() style format string - - - - variable argument list, similar to vprintf() - - - - newly allocated result from formatting -operation. Free with g_free(). - -Since: 2.4 - - - - - -Finishes an asynchronous info query operation. - - - - - - a #GFileInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, -or %NULL to ignore. - - - - #GFileInfo. - - - - - -Creates a new #GParamSpecGType instance specifying a -%G_TYPE_GTYPE property. - -See g_param_spec_internal() for details on property names. - -Since: 2.10 - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - a #GType whose subtypes are allowed as values -of the property (use %G_TYPE_NONE for any type) - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Copies a #GSList. - -&lt;note&gt;&lt;para&gt; -Note that this is a "shallow" copy. If the list elements -consist of pointers to data, the pointers are copied but -the actual data isn't. -&lt;/para&gt;&lt;/note&gt; - - - - - - a #GSList - - - - a copy of @list - - - - - -Frees all the memory associated with the #GMatchInfo structure. - -Since: 2.14 - - - - - a #GMatchInfo - - - - - - - - - - - - - Universal Resource Identifier for the dummy file object. - - - - a new #GFile. - - - - - -Unblocks all handlers on an instance that match a certain selection -criteria. The criteria mask is passed as an OR-ed combination of -#GSignalMatchType flags, and the criteria values are passed as arguments. -Passing at least one of the %G_SIGNAL_MATCH_CLOSURE, %G_SIGNAL_MATCH_FUNC -or %G_SIGNAL_MATCH_DATA match flags is required for successful matches. -If no handlers were found, 0 is returned, the number of unblocked handlers -otherwise. The match criteria should not apply to any handlers that are -not currently blocked. - - - - - - The instance to unblock handlers from. - - - - Mask indicating which of @signal_id, @detail, @closure, @func -and/or @data the handlers have to match. - - - - Signal the handlers have to be connected to. - - - - Signal detail the handlers have to be connected to. - - - - The closure the handlers will invoke. - - - - The C closure callback of the handlers (useless for non-C closures). - - - - The closure data of the handlers' closures. - - - - The number of handlers that matched. - - - - - -Won't hold a ref, we have a timout callback to clean unused fdata. -If there is no value for a key, add it and return it; else return the old -one. - - - - - - - - - -Returns: the data of the first element in the queue, or %NULL if the queue - - - - - a #GQueue. - - - - the data of the first element in the queue, or %NULL if the queue -is empty. - - - - - -Schedules the I/O job to run. - -@notify will be called on @user_data after @job_func has returned, -regardless whether the job was cancelled or has run to completion. - -If @cancellable is not %NULL, it can be used to cancel the I/O job -by calling g_cancellable_cancel() or by calling -g_io_scheduler_cancel_all_jobs(). - - - - - a #GIOSchedulerJobFunc. - - - - data to pass to @job_func - - - - a #GDestroyNotify for @user_data, or %NULL - - - - the &lt;link linkend="gioscheduler"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Return value: a %NULL-terminated array of strings owned by GLib that must - - - - - a %NULL-terminated array of strings owned by GLib that must -not be modified or freed. -Since: 2.6 - - - - - -Get an array of #GParamSpec* for all properties of a class. - - - - - - a #GObjectClass - - - - return location for the length of the returned array - - - - an array of #GParamSpec* which should be freed after use - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #GBoxed* parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Looks up a #GParamSpec in the pool. - - - - - - a #GParamSpecPool - - - - the name to look for - - - - the owner to look for - - - - If %TRUE, also try to find a #GParamSpec with @param_name -owned by an ancestor of @owner_type. - - - - The found #GParamSpec, or %NULL if no matching #GParamSpec was found. - - - - - -Creates a #GFile with the given argument from the command line. The value of -@arg can be either a URI, an absolute path or a relative path resolved -relative to the current working directory. -This operation never fails, but the returned object might not support any -I/O operation if @arg points to a malformed path. - - - - - - a command line string. - - - - a new #GFile. - - - - - -Determines the canonical combining class of a Unicode character. - - - - - - a Unicode character - - - - the combining class of the character - -Since: 2.14 - - - - - -Queries the signal system for in-depth information about a -specific signal. This function will fill in a user-provided -structure to hold signal-specific information. If an invalid -signal id is passed in, the @signal_id member of the #GSignalQuery -is 0. All members filled into the #GSignalQuery structure should -be considered constant and have to be left untouched. - - - - - The signal id of the signal to query information for. - - - - A user provided structure that is filled in with constant -values upon success. - - - - - - - - -This signal is emitted when the #GVolume have been removed. If -the recipient is holding references to the object they should -release them so the object can be finalized. - - - - - - - - - -Obtain the list of settable attributes for the file. - -Returns: a #GFileAttributeInfoList describing the settable attributes. - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileAttributeInfoList describing the settable attributes. -When you are done with it, release it with g_file_attribute_info_list_unref() - - - - - -Inserts a new element into @queue at the given position - -Since: 2.4 - - - - - a #GQueue - - - - the data for the new element - - - - the position to insert the new element. If @n is negative or -larger than the number of elements in the @queue, the element is -added to the end of the queue. - - - - - - - - -Inserts @data into @queue after @sibling - -@sibling must be part of @queue - -Since: 2.4 - - - - - a #GQueue - - - - a #GList link that &lt;emphasis&gt;must&lt;/emphasis&gt; be part of @queue - - - - the data to insert - - - - - - - - -Finds the element in a #GList which -contains the given data. - - - - - - a #GList - - - - the element data to find - - - - the found #GList element, -or %NULL if it is not found - - - - - -Incrementally encode a sequence of binary data into it's Base-64 stringified -representation. By calling this function multiple times you can convert -data in chunks to avoid having to have the full encoded data in memory. - -When all of the data has been converted you must call -g_base64_encode_close() to flush the saved state. - -The output buffer must be large enough to fit all the data that will -be written to it. Due to the way base64 encodes you will need -at least: @len * 4 / 3 + 6 bytes. If you enable line-breaking you will -need at least: @len * 4 / 3 + @len * 4 / (3 * 72) + 7 bytes. - -@break_lines is typically used when putting base64-encoded data in emails. -It breaks the lines at 72 columns instead of putting all of the text on -the same line. This avoids problems with long lines in the email system. - - - - - - the binary data to encode - - - - the length of @in - - - - whether to break long lines - - - - pointer to destination buffer - - - - Saved state between steps, initialize to 0 - - - - Saved state between steps, initialize to 0 - - - - The number of bytes of output that was written - -Since: 2.12 - - - - - -Like g_slist_sort(), but the sort function accepts a user data argument. - - - - - - a #GSList - - - - comparison function - - - - data to pass to comparison function - - - - new head of the list - - - - - -Converts a string to a #gdouble value. -It calls the standard strtod() function to handle the conversion, but -if the string is not completely converted it attempts the conversion -again with g_ascii_strtod(), and returns the best match. - -This function should seldomly be used. The normal situation when reading -numbers not for human consumption is to use g_ascii_strtod(). Only when -you know that you must expect both locale formatted and C formatted numbers -should you use this. Make sure that you don't pass strings such as comma -separated lists of values, since the commas may be interpreted as a decimal -point in some locales, causing unexpected results. - - - - - - the string to convert to a numeric value. - - - - if non-%NULL, it returns the character after -the last character used in the conversion. - - - - the #gdouble value. - - - - - -Get the corresponding quark of the type IDs name. - - - - - - Type to return quark of type name for. - - - - The type names quark or 0. - - - - - -Peeks in the buffer, copying data of size @count into @buffer, -offset @offset bytes. - - - - - - a #GBufferedInputStream. - - - - a pointer to an allocated chunk of memory. - - - - a #gsize. - - - - a #gsize. - - - - a #gsize of the number of bytes peeked, or %-1 on error. - - - - - -Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED -derived property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - %G_TYPE_BOXED derived type of this property - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Return value: a newly allocated string or %NULL if the specified - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - a locale or %NULL - - - - return location for a #GError, or %NULL - - - - a newly allocated string or %NULL if the specified -key cannot be found. - -Since: 2.6 - - - - - -Creates a new #GParamSpecPoiner instance specifying a pointer property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Converts a pointer to a #gint to a hash value. -It can be passed to g_hash_table_new() as the @hash_func parameter, -when using pointers to integers values as keys in a #GHashTable. - - - - - - a pointer to a #gint key - - - - a hash value corresponding to the key. - - - - - -Checks if the matcher will match all of the keys in a given namespace. -This will always return %TRUE if a wildcard character is in use (e.g. if -matcher was created with "standard::*" and @ns is "standard", or if matcher was created -using "*" and namespace is anything.) - -TODO: this is awkwardly worded. - - - - - - a #GFileAttributeMatcher. - - - - a string containing a file attribute namespace. - - - - %TRUE if the matcher matches all of the entries -in the given @ns, %FALSE otherwise. - - - - - -Gets the operation result boolean from within the asynchronous result. - - - - - - a #GSimpleAsyncResult. - - - - %TRUE if the operation's result was %TRUE, %FALSE -if the operation's result was %FALSE. - - - - - -&lt; private &gt; -Unsafe, need lock fen_lock. - - - - - - - - - -Removes the bookmark for @uri from the bookmark file @bookmark. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - %TRUE if the bookmark was removed successfully. - -Since: 2.12 - - - - - -Attempts to complete the string @prefix using the #GCompletion target items. -In contrast to g_completion_complete(), this function returns the largest common -prefix that is a valid UTF-8 string, omitting a possible common partial -character. - -You should use this function instead of g_completion_complete() if your -items are UTF-8 strings. - - - - - - the #GCompletion - - - - the prefix string, typically used by the user, which is compared -with each of the items - - - - if non-%NULL, returns the longest prefix which is common to all -items that matched @prefix, or %NULL if no items matched @prefix. -This string should be freed when no longer needed. - - - - the list of items whose strings begin with @prefix. This should -not be changed. - -Since: 2.4 - - - - - -Finds a #GNode in a tree. - - - - - - the root #GNode of the tree to search - - - - the order in which nodes are visited - %G_IN_ORDER, -%G_PRE_ORDER, %G_POST_ORDER, or %G_LEVEL_ORDER - - - - which types of children are to be searched, one of -%G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES - - - - the data to find - - - - the found #GNode, or %NULL if the data is not found - - - - - -Reload the mime information for the @dir. - - - - - directory path which needs reloading. - - - - - - - - -Inserts @link into @queue at the given position. - -Since: 2.4 - - - - - a #GQueue - - - - the position to insert the link. If this is negative or larger than -the number of elements in @queue, the link is added to the end of -@queue. - - - - the link to add to @queue - - - - - - - - -Looks whether the string @str begins with @prefix. - - - - - - a nul-terminated string. - - - - the nul-terminated prefix to look for. - - - - %TRUE if @str begins with @prefix, %FALSE otherwise. - -Since: 2.2 - - - - - -Adds a new element at the head of the queue. - - - - - a #GQueue. - - - - the data for the new element. - - - - - - - - -Gets the name of the program. This name should &lt;emphasis&gt;not&lt;/emphasis&gt; -be localized, contrast with g_get_application_name(). -(If you are using GDK or GTK+ the program name is set in gdk_init(), -which is called by gtk_init(). The program name is found by taking -the last component of &lt;literal&gt;argv[0]&lt;/literal&gt;.) - - - - - - the name of the program. The returned string belongs -to GLib and must not be modified or freed. - - - - - -Return value: whether @iter is the begin iterator - - - - - a #GSequenceIter - - - - whether @iter is the begin iterator - -Since: 2.14 - - - - - -This signal is emitted when the #GMount have been -unmounted. If the recipient is holding references to the -object they should release them so the object can be -finalized. - - - - - - - - - -Get the user name from the mount operation. - - - - - - a #GMountOperation. - - - - a string containing the user name. - - - - - -Sets the file enumerator as having pending operations. - - - - - a #GFileEnumerator. - - - - a boolean value. - - - - - - - - -Converts errno.h error codes into GIO error codes. - - - - - - Error number as defined in errno.h. - - - - #GIOErrorEnum value for the given errno.h error number. - - - - - -Creates a new string @length bytes long filled with @fill_char. -The returned string should be freed when no longer needed. - - - - - - the length of the new string - - - - the byte to fill the string with - - - - a newly-allocated string filled the @fill_char - - - - - -Creates a filename from a series of elements using the correct -separator for filenames. - -On Unix, this function behaves identically to &lt;literal&gt;g_build_path -(G_DIR_SEPARATOR_S, first_element, ....)&lt;/literal&gt;. - -On Windows, it takes into account that either the backslash -(&lt;literal&gt;\&lt;/literal&gt; or slash (&lt;literal&gt;/&lt;/literal&gt;) can be used -as separator in filenames, but otherwise behaves as on Unix. When -file pathname separators need to be inserted, the one that last -previously occurred in the parameters (reading from left to right) -is used. - -No attempt is made to force the resulting filename to be an absolute -path. If the first element is a relative path, the result will -be a relative path. - - - - - - the first element in the path - - - - remaining elements in path, terminated by %NULL - - - - a newly-allocated string that must be freed with g_free(). - - - - - -Returns: the first #GFlagsValue which is set in @value, or %NULL if - - - - - a #GFlagsClass - - - - the value - - - - the first #GFlagsValue which is set in @value, or %NULL if -none is set - - - - - -Gets the first element in a #GList. - - - - - - a #GList - - - - the first element in the #GList, -or %NULL if the #GList has no elements - - - - - -Get the #GFile container which is being enumerated. - - - - - - a #GFileEnumerator - - - - the #GFile which is being enumerated. - -Since: 2.18. - - - - - -This function should be called by any #GVolumeMonitor -implementation when a new #GMount object is created that is not -associated with a #GVolume object. It must be called just before -emitting the @mount_added signal. - -If the return value is not %NULL, the caller must associate the -returned #GVolume object with the #GMount. This involves returning -it in it's g_mount_get_volume() implementation. The caller must -also listen for the "removed" signal on the returned object -and give up it's reference when handling that signal - -Similary, if implementing g_volume_monitor_adopt_orphan_mount(), -the implementor must take a reference to @mount and return it in -it's g_volume_get_mount() implemented. Also, the implementor must -listen for the "unmounted" signal on @mount and give up it's -reference upon handling that signal. - -There are two main use cases for this function. - -One is when implementing a user space file system driver that reads -blocks of a block device that is already represented by the native -volume monitor (for example a CD Audio file system driver). Such -a driver will generate it's own #GMount object that needs to be -assoicated with the #GVolume object that represents the volume. - -The other is for implementing a #GVolumeMonitor whose sole purpose -is to return #GVolume objects representing entries in the users -"favorite servers" list or similar. - - - - - - a #GMount object to find a parent for - - - - the #GVolume object that is the parent for @mount or %NULL -if no wants to adopt the #GMount. - - - - - -Writes data to a #GIOChannel. - - - - - - a #GIOChannel - - - - the buffer containing the data to write - - - - the number of bytes to write - - - - the number of bytes actually written - - - - %G_IO_ERROR_NONE if the operation was successful. - -Deprecated:2.2: Use g_io_channel_write_chars() instead. - - - - - -This function looks for a key file named @file in the paths -returned from g_get_user_data_dir() and g_get_system_data_dirs(), -loads the file into @key_file and returns the file's full path in -@full_path. If the file could not be loaded then an %error is -set to either a #GFileError or #GKeyFileError. - - - - - - an empty #GKeyFile struct - - - - a relative path to a filename to open and parse - - - - return location for a string containing the full path -of the file, or %NULL - - - - flags from #GKeyFileFlags - - - - return location for a #GError, or %NULL - - - - %TRUE if a key file could be loaded, %FALSE othewise -Since: 2.6 - - - - - -This function adds a message to test reports that -associates a bug URI with a test case. -Bug URIs are constructed from a base URI set with g_test_bug_base() -and @bug_uri_snippet. - -Since: 2.16 - - - - - Bug specific bug tracker URI portion. - - - - - - - - -Creates a hash code for @str; for use with #GHashTable. - - - - - - a string to hash - - - - hash code for @str - - - - - -An implementation of the standard vsprintf() function which supports -positional parameters, as specified in the Single Unix Specification. - - - - - - the buffer to hold the output. - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the list of arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.2 - - - - - -Tries to pop data from the @queue. If no data is available, %NULL is -returned. - - - - - - a #GAsyncQueue. - - - - data from the queue or %NULL, when no data is -available immediately. - - - - - -Sets the contents of a %G_TYPE_PARAM #GValue to @param and takes -over the ownership of the callers reference to @param; the caller -doesn't have to unref it any more. - -Since: 2.4 - - - - - a valid #GValue of type %G_TYPE_PARAM - - - - the #GParamSpec to be set - - - - - - - - -Reads a line from a #GIOChannel, using a #GString as a buffer. - - - - - - a #GIOChannel - - - - a #GString into which the line will be written. -If @buffer already contains data, the old data will -be overwritten. - - - - location to store position of line terminator, or %NULL - - - - a location to store an error of type #GConvertError -or #GIOChannelError - - - - the status of the operation. - - - - - -Does nothing if @err is %NULL; if @err is non-%NULL, then *@err must -be %NULL. A new #GError is created and assigned to *@err. - - - - - a return location for a #GError, or %NULL - - - - error domain - - - - error code - - - - printf()-style format - - - - args for @format - - - - - - - - -Return value: the first link in @queue, or %NULL if @queue is empty - - - - - a #GQueue - - - - the first link in @queue, or %NULL if @queue is empty - -Since: 2.4 - - - - - - - - - - filename of the directory to monitor. - - - - #GFileMonitorFlags. - - - - new #GFileMonitor for the given @dirname. - - - - - -Gets the identifier of the given kind for @drive. - - - - - - a #GDrive - - - - the kind of identifier to return - - - - a newly allocated string containing the -requested identfier, or %NULL if the #GDrive -doesn't have this kind of identifier - - - - - -Inserts a node before @sibling containing @data. - - - - - - a #GSList - - - - node to insert @data before - - - - data to put in the newly-inserted node - - - - the new head of the list. - - - - - -Unmaps the buffer of @file and frees it. - -Since: 2.8 - - - - - a #GMappedFile - - - - - - - - -Cancels a file monitor. - - - - - - a #GFileMonitor. - - - - %TRUE if monitor was cancelled. - - - - - -A mixed enumerated type and flags field. You must specify one type -(string, strdup, boolean, tristate). Additionally, you may -optionally bitwise OR the type with the flag -%G_MARKUP_COLLECT_OPTIONAL. - -It is likely that this enum will be extended in the future to -support other types. - - - - - used to terminate the list of attributes -to collect. - - - - collect the string pointer directly from -the attribute_values[] array. Expects a -parameter of type (const char **). If -%G_MARKUP_COLLECT_OPTIONAL is specified -and the attribute isn't present then the -pointer will be set to %NULL. - - - - as with %G_MARKUP_COLLECT_STRING, but -expects a paramter of type (char **) and -g_strdup()s the returned pointer. The -pointer must be freed with g_free(). - - - - expects a parameter of type (gboolean *) -and parses the attribute value as a -boolean. Sets %FALSE if the attribute -isn't present. Valid boolean values -consist of (case insensitive) "false", -"f", "no", "n", "0" and "true", "t", -"yes", "y", "1". - - - - as with %G_MARKUP_COLLECT_BOOLEAN, but -in the case of a missing attribute a -value is set that compares equal to -neither %FALSE nor %TRUE. -G_MARKUP_COLLECT_OPTIONAL is implied. - - - - can be bitwise ORed with the other -fields. If present, allows the -attribute not to appear. A default -value is set depending on what value -type is used. - - - - - - - - -Gets the mount for the @volume. - - - - - - a #GVolume. - - - - a #GMount or %NULL if @volume isn't mounted. - - - - - -Return value: a newly allocated string or %NULL if the specified - - - - - a #GBookmarkFile - - - - a valid URI or %NULL - - - - return location for a #GError, or %NULL - - - - a newly allocated string or %NULL if the specified -URI cannot be found. - -Since: 2.12 - - - - - -Frees a #GOptionGroup. Note that you must &lt;emphasis&gt;not&lt;/emphasis&gt; -free groups which have been added to a #GOptionContext. - -Since: 2.6 - - - - - a #GOptionGroup - - - - - - - - -Set the contents of a %G_TYPE_PARAM #GValue to @param. - - - - - a valid #GValue of type %G_TYPE_PARAM - - - - the #GParamSpec to be set - - - - - - - - -Stops all currently unused threads. This does not change the -maximal number of unused threads. This function can be used to -regularly stop all unused threads e.g. from g_timeout_add(). - - - - - - - - - -Gets the priority of a source. - - - - - - a #GSource - - - - the priority of the source - - - - - -Creates a new signal. (This is usually done in the class initializer.) - -See g_signal_new() for details on allowed signal names. - - - - - - the name for the signal - - - - the type this signal pertains to. It will also pertain to -types which are derived from this type. - - - - a combination of #GSignalFlags specifying detail of when -the default handler is to be invoked. You should at least specify -%G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST. - - - - The closure to invoke on signal emission; may be %NULL. - - - - the accumulator for this signal; may be %NULL. - - - - user data for the @accumulator. - - - - the function to translate arrays of parameter values to -signal emissions into C language callback invocations. - - - - the type of return value, or #G_TYPE_NONE for a signal -without a return value. - - - - the number of parameter types in @args. - - - - va_list of #GType, one for each parameter. - - - - the signal id - - - - - -Replaces all occurances of the pattern in @regex with the -replacement text. @replacement is replaced literally, to -include backreferences use g_regex_replace(). - -Setting @start_position differs from just passing over a -shortened string and setting #G_REGEX_MATCH_NOTBOL in the -case of a pattern that begins with any kind of lookbehind -assertion, such as "\b". - - - - - - a #GRegex structure - - - - the string to perform matches against - - - - the length of @string, or -1 if @string is nul-terminated - - - - starting index of the string to match - - - - text to replace each match with - - - - options for the match - - - - location to store the error occuring, or %NULL to ignore errors - - - - a newly allocated string containing the replacements - -Since: 2.14 - - - - - -Launches the application. Passes @files to the launched application -as arguments, using the optional @launch_context to get information -about the details of the launcher (like what screen it is on). -On error, @error will be set accordingly. - -To lauch the application without arguments pass a %NULL @files list. - -Note that even if the launch is successful the application launched -can fail to start if it runs into problems during startup. There is -no way to detect this. - -Some URIs can be changed when passed through a GFile (for instance -unsupported uris with strange formats like mailto:), so if you have -a textual uri you want to pass in as argument, consider using -g_app_info_launch_uris() instead. - - - - - - a #GAppInfo. - - - - a #GList of #GFile objects. - - - - a #GAppLaunchContext. - - - - a #GError. - - - - %TRUE on successful launch, %FALSE otherwise. - - - - - -Gets an #GList of all #GParamSpec&lt;!-- --&gt;s owned by @owner_type in -the pool. - - - - - - a #GParamSpecPool - - - - the owner to look for - - - - a #GList of all #GParamSpec&lt;!-- --&gt;s owned by @owner_type -in the pool#GParamSpec&lt;!-- --&gt;s. - - - - - -Removes the key/value pair currently pointed to by the iterator -from its associated #GHashTable, without calling the key and value -destroy functions. Can only be called after -g_hash_table_iter_next() returned %TRUE, and cannot be called more -than once for the same key/value pair. - -Since: 2.16 - - - - - an initialized #GHashTableIter. - - - - - - - - -Returns: the transation of @str to the current locale - - - - - The string to be translated - - - - the transation of @str to the current locale - - - - - -Checks if the file enumerator has pending operations. - - - - - - a #GFileEnumerator. - - - - %TRUE if the @enumerator has pending operations. - - - - - -Constructs a #GFile for a given URI. This operation never -fails, but the returned object might not support any I/O -operation if @uri is malformed or if the uri type is -not supported. - - - - - - a string containing a URI. - - - - a #GFile for the given @uri. - - - - - -Sets the mount operation to use an anonymous user if @anonymous is %TRUE. - - - - - a #GMountOperation. - - - - boolean value. - - - - - - - - -Looks up a #GEnumValue by name. - - - - - - a #GEnumClass - - - - the name to look up - - - - the #GEnumValue with name @name, or %NULL if the -enumeration doesn't have a member with that name - - - - - -Opens a temporary file. See the mkstemp() documentation -on most UNIX-like systems. - -The parameter is a string that should follow the rules for -mkstemp() templates, i.e. contain the string "XXXXXX". -g_mkstemp() is slightly more flexible than mkstemp() -in that the sequence does not have to occur at the very end of the -template. The X string will -be modified to form the name of a file that didn't exist. -The string should be in the GLib file name encoding. Most importantly, -on Windows it should be in UTF-8. - - - - - - template filename - - - - A file handle (as from open()) to the file -opened for reading and writing. The file is opened in binary mode -on platforms where there is a difference. The file handle should be -closed with close(). In case of errors, -1 is returned. - - - - - -Convert a string from UTF-8 to a 32-bit fixed width -representation as UCS-4, assuming valid UTF-8 input. -This function is roughly twice as fast as g_utf8_to_ucs4() -but does no error checking on the input. - - - - - - a UTF-8 encoded string - - - - the maximum length of @str to use. If @len &lt; 0, then -the string is nul-terminated. - - - - location to store the number of characters in the -result, or %NULL. - - - - a pointer to a newly allocated UCS-4 string. -This value must be freed with g_free(). - - - - - -Inserts a new key and value into a #GHashTable similar to -g_hash_table_insert(). The difference is that if the key already exists -in the #GHashTable, it gets replaced by the new key. If you supplied a -@value_destroy_func when creating the #GHashTable, the old value is freed -using that function. If you supplied a @key_destroy_func when creating the -#GHashTable, the old key is freed using that function. - - - - - a #GHashTable. - - - - a key to insert. - - - - the value to associate with the key. - - - - - - - - -Registers an additional interface for a type, whose interface lives -in the given type plugin. If the interface was already registered -for the type in this plugin, nothing will be done. - -As long as any instances of the type exist, the type plugin will -not be unloaded. - - - - - a #GTypeModule - - - - type to which to add the interface. - - - - interface type to add - - - - type information structure - - - - - - - - -Registers @type_name as the name of a new static type derived from -@parent_type. The type system uses the information contained in the -#GTypeInfo structure pointed to by @info to manage the type and its -instances (if not abstract). The value of @flags determines the nature -(e.g. abstract or not) of the type. - - - - - - Type from which this type will be derived. - - - - 0-terminated string used as the name of the new type. - - - - The #GTypeInfo structure for this type. - - - - Bitwise combination of #GTypeFlags values. - - - - The new type identifier. - - - - - -Creates a new #GError; unlike g_error_new(), @message is not -a printf()-style format string. Use this -function if @message contains text you don't have control over, -that could include printf() escape sequences. - - - - - - error domain - - - - error code - - - - error message - - - - a new #GError - - - - - -Return value: The position of @link_, or -1 if the link is - - - - - a #Gqueue - - - - A #GList link - - - - The position of @link_, or -1 if the link is -not part of @queue - -Since: 2.4 - - - - - -Polls @drive to see if media has been inserted or removed. - - - - - - a #GDrive. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Checks if a file is a backup file. - - - - - - a #GFileInfo. - - - - %TRUE if file is a backup file, %FALSE otherwise. - - - - - -Gets a #GList of strings containing the unix mounts. -If @time_read is set, it will be filled with the mount -timestamp, allowing for checking if the mounts have changed -with g_unix_mounts_changed_since(). - - - - - - guint64 to contain a timestamp. - - - - a #GList of the UNIX mounts. - - - - - -Get a reproducible random floating point number, -see g_test_rand_int() for details on test case random numbers. - - - - - - a random number from the seeded random number generator. - -Since: 2.16 - - - - - -Queries the stream information asynchronously. -When the operation is finished @callback will be called. -You can then call g_file_input_stream_query_info_finish() -to get the result of the operation. - -For the synchronous version of this function, -see g_file_input_stream_query_info(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be set - - - - - - a #GFileInputStream. - - - - a file attribute query string. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Adds the options specified in @entries to @group. - -Since: 2.6 - - - - - a #GOptionGroup - - - - a %NULL-terminated array of #GOptionEntry&lt;!-- --&gt;s - - - - - - - - -Converts a string which is in the encoding used by GLib for -filenames into a UTF-8 string. Note that on Windows GLib uses UTF-8 -for filenames; on other platforms, this function indirectly depends on -the &lt;link linkend="setlocale"&gt;current locale&lt;/link&gt;. - - - - - - a string in the encoding for filenames - - - - the length of the string, or -1 if the string is -nul-terminated&lt;footnoteref linkend="nul-unsafe"/&gt;. - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -#G_CONVERT_ERROR_ILLEGAL_SEQUENCE occurs, the value -stored will the byte offset after the last valid -input sequence. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - The converted string, or %NULL on an error. - - - - - -Searches the string @haystack for the last occurrence -of the string @needle. - - - - - - a nul-terminated string. - - - - the nul-terminated string to search for. - - - - a pointer to the found occurrence, or -%NULL if not found. - - - - - -Increments the reference count of @pspec. - - - - - - a valid #GParamSpec - - - - the #GParamSpec that was passed into this function - - - - - -Return a name for the machine. - -The returned name is not necessarily a fully-qualified domain name, -or even present in DNS or some other name service at all. It need -not even be unique on your local network or site, but usually it -is. Callers should not rely on the return value having any specific -properties like uniqueness for security purposes. Even if the name -of the machine is changed while an application is running, the -return value from this function does not change. The returned -string is owned by GLib and should not be modified or freed. If no -name can be determined, a default fixed string "localhost" is -returned. - - - - - - the host name of the machine. - -Since: 2.8 - - - - - -Sets the value of a date from a &lt;type&gt;time_t&lt;/type&gt; value. - -To set the value of a date to the current day, you could write: -|[ -g_date_set_time_t (date, time (NULL)); -]| - -Since: 2.10 - - - - - a #GDate - - - - &lt;type&gt;time_t&lt;/type&gt; value to set - - - - - - - - -Gets the top cancellable from the stack. - - - - - - a #GCancellable from the top of the stack, or %NULL -if the stack is empty. - - - - - -Gets a list of drives connected to the system. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GVolumeMonitor. - - - - a #GList of connected #GDrive&lt;!-- --&gt;s - - - - - -Duplicates the first @n bytes of a string, returning a newly-allocated -buffer @n + 1 bytes long which will always be nul-terminated. -If @str is less than @n bytes long the buffer is padded with nuls. -If @str is %NULL it returns %NULL. -The returned value should be freed when no longer needed. - -&lt;note&gt;&lt;para&gt; -To copy a number of characters from a UTF-8 encoded string, use -g_utf8_strncpy() instead. -&lt;/para&gt;&lt;/note&gt; - - - - - - the string to duplicate - - - - the maximum number of bytes to copy from @str - - - - a newly-allocated buffer containing the first @n bytes -of @str, nul-terminated - - - - - -Gets back user data pointers stored via g_param_spec_set_qdata() -and removes the @data from @pspec without invoking it's destroy() -function (if any was set). Usually, calling this function is only -required to update user data pointers with a destroy notifier. - - - - - - the #GParamSpec to get a stored user data pointer from - - - - a #GQuark, naming the user data pointer - - - - the user data pointer set, or %NULL - - - - - -Internal function for gtester to free test log messages, no ABI guarantees provided. - - - - - - - - - -Return value: a newly allocated string or %NULL if the specified - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError, or %NULL - - - - a newly allocated string or %NULL if the specified -key cannot be found. - -Since: 2.6 - - - - - -Gets the base stream for the filter stream. - - - - - - a #GFilterOutputStream. - - - - a #GOutputStream. - - - - - -Removes an environment variable from the environment. - -Note that on some systems, when variables are overwritten, the memory -used for the previous variables and its value isn't reclaimed. -Furthermore, this function can't be guaranteed to operate in a -threadsafe way. - -Since: 2.4 - - - - - the environment variable to remove, must not contain '='. - - - - - - - - -Using the standard algorithm for regular expression matching only -the longest match in the string is retrieved, it is not possibile -to obtain all the available matches. For instance matching -"&lt;a&gt; &lt;b&gt; &lt;c&gt;" against the pattern "&lt;.*&gt;" -you get "&lt;a&gt; &lt;b&gt; &lt;c&gt;". - -This function uses a different algorithm (called DFA, i.e. deterministic -finite automaton), so it can retrieve all the possible matches, all -starting at the same point in the string. For instance matching -"&lt;a&gt; &lt;b&gt; &lt;c&gt;" against the pattern "&lt;.*&gt;" -you would obtain three matches: "&lt;a&gt; &lt;b&gt; &lt;c&gt;", -"&lt;a&gt; &lt;b&gt;" and "&lt;a&gt;". - -The number of matched strings is retrieved using -g_match_info_get_match_count(). To obtain the matched strings and -their position you can use, respectively, g_match_info_fetch() and -g_match_info_fetch_pos(). Note that the strings are returned in -reverse order of length; that is, the longest matching string is -given first. - -Note that the DFA algorithm is slower than the standard one and it -is not able to capture substrings, so backreferences do not work. - -Setting @start_position differs from just passing over a shortened -string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern -that begins with any kind of lookbehind assertion, such as "\b". - -A #GMatchInfo structure, used to get information on the match, is -stored in @match_info if not %NULL. Note that if @match_info is -not %NULL then it is created even if the function returns %FALSE, -i.e. you must free it regardless if regular expression actually -matched. - - - - - - a #GRegex structure from g_regex_new() - - - - the string to scan for matches - - - - the length of @string, or -1 if @string is nul-terminated - - - - starting index of the string to match - - - - match options - - - - pointer to location where to store the #GMatchInfo, -or %NULL if you do not need it - - - - location to store the error occuring, or %NULL to ignore errors - - - - %TRUE is the string matched, %FALSE otherwise - -Since: 2.14 - - - - - -Gets the real name of the user. This usually comes from the user's entry -in the &lt;filename&gt;passwd&lt;/filename&gt; file. The encoding of the returned -string is system-defined. (On Windows, it is, however, always UTF-8.) -If the real user name cannot be determined, the string "Unknown" is -returned. - - - - - - the user's real name. - - - - - -An implementation of the standard fprintf() function which supports -positional parameters, as specified in the Single Unix Specification. - - - - - - the stream to write to. - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the list of arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.2 - - - - - -Associates a new value with @key under @group_name. -If @key cannot be found then it is created. -If @group_name cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - a string - - - - - - - - -Gets the depth of a #GNode. - -If @node is %NULL the depth is 0. The root node has a depth of 1. -For the children of the root node the depth is 2. And so on. - - - - - - a #GNode - - - - the depth of the #GNode - - - - - -Unsets a mask set by g_file_info_set_attribute_mask(), if one -is set. - - - - - #GFileInfo. - - - - - - - - -Get the contents of a %G_TYPE_LONG #GValue. - - - - - - a valid #GValue of type %G_TYPE_LONG - - - - long integer contents of @value - - - - - -Splices a stream asynchronously. -When the operation is finished @callback will be called. -You can then call g_output_stream_splice_finish() to get the -result of the operation. - -For the synchronous, blocking version of this function, see -g_output_stream_splice(). - - - - - a #GOutputStream. - - - - a #GInputStream. - - - - a set of #GOutputStreamSpliceFlags. - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - - - - - -Inserts @data into @queue using @func to determine the new -position. - -This function requires that the @queue is sorted before pushing on -new elements. - -This function is called while holding the @queue's lock. - -For an example of @func see g_async_queue_sort(). - -Since: 2.10 - - - - - a #GAsyncQueue - - - - the @data to push into the @queue - - - - the #GCompareDataFunc is used to sort @queue. This function -is passed two elements of the @queue. The function should return -0 if they are equal, a negative value if the first element -should be higher in the @queue or a positive value if the first -element should be lower in the @queue than the second element. - - - - user data passed to @func. - - - - - - - - -Get the contents of a %G_TYPE_BOOLEAN #GValue. - - - - - - a valid #GValue of type %G_TYPE_BOOLEAN - - - - boolean contents of @value - - - - - -Frees a #GKeyFile. - -Since: 2.6 - - - - - a #GKeyFile - - - - - - - - -Calls the given function for each node in the #GTree. - -Deprecated:2.2: The order of a balanced tree is somewhat arbitrary. If you -just want to visit all nodes in sorted order, use g_tree_foreach() -instead. If you really need to visit nodes in a different order, consider -using an &lt;link linkend="glib-N-ary-Trees"&gt;N-ary Tree&lt;/link&gt;. - - - - - a #GTree. - - - - the function to call for each node visited. If this -function returns %TRUE, the traversal is stopped. - - - - the order in which nodes are visited, one of %G_IN_ORDER, -%G_PRE_ORDER and %G_POST_ORDER. - - - - user data to pass to the function. - - - - - - - - -Flushed any outstanding buffers in the stream. Will block during -the operation. Closing the stream will implicitly cause a flush. - -This function is optional for inherited classes. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a #GOutputStream. - - - - optional cancellable object - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on error - - - - - -Checks if a file is a symlink. - - - - - - a #GFileInfo. - - - - %TRUE if the given @info is a symlink. - - - - - -Insert a copy of @value as first element of @value_array. - - - - - - #GValueArray to add an element to - - - - #GValue to copy into #GValueArray - - - - the #GValueArray passed in as @value_array - - - - - -Tries to read a single byte from the stream or the buffer. Will block -during this read. - -On success, the byte read from the stream is returned. On end of stream --1 is returned but it's not an exceptional error and @error is not set. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - - - - - - #GBufferedInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore. - - - - the byte read from the @stream, or -1 on end of stream or error. - - - - - -Gets the size of the input buffer. - - - - - - #GBufferedInputStream. - - - - the current buffer size. - - - - - -Determines the preferred character sets used for filenames. -The first character set from the @charsets is the filename encoding, the -subsequent character sets are used when trying to generate a displayable -representation of a filename, see g_filename_display_name(). - -On Unix, the character sets are determined by consulting the -environment variables &lt;envar&gt;G_FILENAME_ENCODING&lt;/envar&gt; and -&lt;envar&gt;G_BROKEN_FILENAMES&lt;/envar&gt;. On Windows, the character set -used in the GLib API is always UTF-8 and said environment variables -have no effect. - -&lt;envar&gt;G_FILENAME_ENCODING&lt;/envar&gt; may be set to a comma-separated list -of character set names. The special token "&commat;locale" is taken to -mean the character set for the &lt;link linkend="setlocale"&gt;current -locale&lt;/link&gt;. If &lt;envar&gt;G_FILENAME_ENCODING&lt;/envar&gt; is not set, but -&lt;envar&gt;G_BROKEN_FILENAMES&lt;/envar&gt; is, the character set of the current -locale is taken as the filename encoding. If neither environment variable -is set, UTF-8 is taken as the filename encoding, but the character -set of the current locale is also put in the list of encodings. - -The returned @charsets belong to GLib and must not be freed. - -Note that on Unix, regardless of the locale character set or -&lt;envar&gt;G_FILENAME_ENCODING&lt;/envar&gt; value, the actual file names present -on a system might be in any random encoding or just gibberish. - - - - - - return location for the %NULL-terminated list of encoding names - - - - %TRUE if the filename encoding is UTF-8. - -Since: 2.6 - - - - - -Return value: the last link in @queue, or %NULL if @queue is empty - - - - - a #GQueue - - - - the last link in @queue, or %NULL if @queue is empty - -Since: 2.4 - - - - - - - - - - a string. - - - - a #GCancellable, or %NULL - - - - a #GMount for given @mount_path or %NULL. - - - - - -Obtains a completion for @initial_text from @completer. - - - - - - the filename completer. - - - - text to be completed. - - - - a completed string, or %NULL if no completion exists. -This string is not owned by GIO, so remember to g_free() it -when finished. - - - - - -Gets back user data pointers stored via g_param_spec_set_qdata(). - - - - - - a valid #GParamSpec - - - - a #GQuark, naming the user data pointer - - - - the user data pointer set, or %NULL - - - - - -Finds an element in a #GList, using a supplied function to -find the desired element. It iterates over the list, calling -the given function which should return 0 when the desired -element is found. The function takes two #gconstpointer arguments, -the #GList element's data as the first argument and the -given user data. - - - - - - a #GList - - - - user data passed to the function - - - - the function to call for each element. -It should return 0 when the desired element is found - - - - the found #GList element, or %NULL if it is not found - - - - - -Gets the default application for launching applications -using this URI scheme. A URI scheme is the initial part -of the URI, up to but not including the ':', e.g. "http", -"ftp" or "sip". - - - - - - a string containing a URI scheme. - - - - #GAppInfo for given @uri_scheme or %NULL on error. - - - - - -Finishes setting an attribute started in g_file_set_attributes_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GFileInfo. - - - - a #GError, or %NULL - - - - %TRUE if the attributes were set correctly, %FALSE otherwise. - - - - - -Get the contents of a %G_TYPE_DOUBLE #GValue. - - - - - - a valid #GValue of type %G_TYPE_DOUBLE - - - - double contents of @value - - - - - -Polls @file for changes. - - - - - - a #GFile. - - - - a new #GFileMonitor for the given #GFile. - - - - - -Registers an invalidation notifier which will be called when the -@closure is invalidated with g_closure_invalidate(). Invalidation -notifiers are invoked before finalization notifiers, in an -unspecified order. - - - - - a #GClosure - - - - data to pass to @notify_func - - - - the callback function to register - - - - - - - - -Return value: the ID (greater than 0) for the source - - - - - a #GSource - - - - the ID (greater than 0) for the source - - - - - -Guesses whether a Unix mount point can be ejected. - - - - - - a #GUnixMountPoint - - - - %TRUE if @mount_point is deemed to be ejectable. - - - - - -Finishes an async enumerate children operation. -See g_file_enumerate_children_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError. - - - - a #GFileEnumerator or %NULL if an error occurred. - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gint arg1, gpointer user_data)&lt;/literal&gt; where the #gint parameter denotes an enumeration type.. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the enumeration parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Loads a bookmark file from memory into an empty #GBookmarkFile -structure. If the object cannot be created then @error is set to a -#GBookmarkFileError. - - - - - - an empty #GBookmarkFile struct - - - - desktop bookmarks loaded in memory - - - - the length of @data in bytes - - - - return location for a #GError, or %NULL - - - - %TRUE if a desktop bookmark could be loaded. - -Since: 2.12 - - - - - -Return value: the value of the environment variable, or %NULL if - - - - - the environment variable to get, in the GLib file name encoding. - - - - the value of the environment variable, or %NULL if -the environment variable is not found. The returned string may be -overwritten by the next call to g_getenv(), g_setenv() or -g_unsetenv(). - - - - - -Creates a hash value for a #GFile. - -This call does no blocking i/o. - - - - - - #gconstpointer to a #GFile. - - - - 0 if @file is not a valid #GFile, otherwise an -integer that can be used as hash value for the #GFile. -This function is intended for easily hashing a #GFile to -add to a #GHashTable or similar data structure. - - - - - -Initializes the inotify backend. This must be called before -any other functions in this module. - - - - - - #TRUE if initialization succeeded, #FALSE otherwise - - - - - -Inserts a #GParamSpec in the pool. - - - - - a #GParamSpecPool. - - - - the #GParamSpec to insert - - - - a #GType identifying the owner of @pspec - - - - - - - - -Registers @type_name as the name of a new static type derived from -@parent_type. The value of @flags determines the nature (e.g. -abstract or not) of the type. It works by filling a #GTypeInfo -struct and calling g_type_register_static(). - -Since: 2.12 - - - - - - Type from which this type will be derived. - - - - 0-terminated string used as the name of the new type. - - - - Size of the class structure (see #GTypeInfo) - - - - Location of the class initialization function (see #GTypeInfo) - - - - Size of the instance structure (see #GTypeInfo) - - - - Location of the instance initialization function (see #GTypeInfo) - - - - Bitwise combination of #GTypeFlags values. - - - - The new type identifier. - - - - - -Sets the rate limit to which the @mount_monitor will report -consecutive change events to the mount and mount point entry files. - -Since: 2.18 - - - - - a #GUnixMountMonitor. - - - - a integer with the limit in milliseconds to -poll for changes. - - - - - - - - -Copies the file @source to the location specified by @destination. -Can not handle recursive copies of directories. - -If the flag #G_FILE_COPY_OVERWRITE is specified an already -existing @destination file is overwritten. - -If the flag #G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks -will be copied as symlinks, otherwise the target of the -@source symlink will be copied. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If @progress_callback is not %NULL, then the operation can be monitored by -setting this to a #GFileProgressCallback function. @progress_callback_data -will be passed to this function. It is guaranteed that this callback will -be called after all data has been transferred with the total number of bytes -copied during the operation. - -If the @source file does not exist then the G_IO_ERROR_NOT_FOUND -error is returned, independent on the status of the @destination. - -If #G_FILE_COPY_OVERWRITE is not specified and the target exists, then the -error G_IO_ERROR_EXISTS is returned. - -If trying to overwrite a file over a directory the G_IO_ERROR_IS_DIRECTORY -error is returned. If trying to overwrite a directory with a directory the -G_IO_ERROR_WOULD_MERGE error is returned. - -If the source is a directory and the target does not exist, or #G_FILE_COPY_OVERWRITE is -specified and the target is a file, then the G_IO_ERROR_WOULD_RECURSE error -is returned. - -If you are interested in copying the #GFile object itself (not the on-disk -file), see g_file_dup(). - - - - - - input #GFile. - - - - destination #GFile - - - - set of #GFileCopyFlags - - - - optional #GCancellable object, %NULL to ignore. - - - - function to callback with progress information - - - - user data to pass to @progress_callback - - - - #GError to set on error, or %NULL - - - - %TRUE on success, %FALSE otherwise. - - - - - -Checks whether a source is allowed to be called recursively. -see g_source_set_can_recurse(). - - - - - - a #GSource - - - - whether recursion is allowed. - - - - - -Calls a function for each element of a #GPtrArray. - -Since: 2.4 - - - - - a #GPtrArray - - - - the function to call for each array element - - - - user data to pass to the function - - - - - - - - -Disconnects a handler from an instance so it will not be called during -any future or currently ongoing emissions of the signal it has been -connected to. The @handler_id becomes invalid and may be reused. - -The @handler_id has to be a valid signal handler id, connected to a -signal of @instance. - - - - - The instance to remove the signal handler from. - - - - Handler id of the handler to be disconnected. - - - - - - - - -Finishes the asynchronous operation started with g_file_enumerator_next_files_async(). - - - - - - a #GFileEnumerator. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GList of #GFileInfo&lt;!----&gt;s. You must free the list with -g_list_free() and unref the infos with g_object_unref when you're -done with them. - - - - - -Unescapes a segment of an escaped string. - -If any of the characters in @illegal_characters or the character zero appears -as an escaped character in @escaped_string then that is an error and %NULL -will be returned. This is useful it you want to avoid for instance having a -slash being expanded in an escaped path element, which might confuse pathname -handling. - - - - - - a string. - - - - a string. - - - - an optional string of illegal characters not to be allowed. - - - - an unescaped version of @escaped_string or %NULL on error. -The returned string should be freed when no longer needed. - -Since: 2.16 - - - - - -Reads an entire file into allocated memory, with good error -checking. - -If the call was successful, it returns %TRUE and sets @contents to the file -contents and @length to the length of the file contents in bytes. The string -stored in @contents will be nul-terminated, so for text files you can pass -%NULL for the @length argument. If the call was not successful, it returns -%FALSE and sets @error. The error domain is #G_FILE_ERROR. Possible error -codes are those in the #GFileError enumeration. In the error case, -@contents is set to %NULL and @length is set to zero. - - - - - - name of a file to read contents from, in the GLib file name encoding - - - - location to store an allocated string - - - - location to store length in bytes of the contents, or %NULL - - - - return location for a #GError, or %NULL - - - - %TRUE on success, %FALSE if an error occurred - - - - - -Advances @iter and retrieves the key and/or value that are now -pointed to as a result of this advancement. If %FALSE is returned, -@key and @value are not set, and the iterator becomes invalid. - - - - - - an initialized #GHashTableIter. - - - - a location to store the key, or %NULL. - - - - a location to store the value, or %NULL. - - - - %FALSE if the end of the #GHashTable has been reached. - -Since: 2.16 - - - - - -Gets the number of elements in a #GList. - -&lt;note&gt;&lt;para&gt; -This function iterates over the whole list to -count its elements. -&lt;/para&gt;&lt;/note&gt; - - - - - - a #GList - - - - the number of elements in the #GList - - - - - -Create a new test case, similar to g_test_create_case(). However -the test is assumed to use no fixture, and test suites are automatically -created on the fly and added to the root fixture, based on the -slash-separated portions of @testpath. - -Since: 2.16 - - - - - Slash-separated test case path name for the test. - - - - The test function to invoke for this test. - - - - - - - - -Removes an element from a #GList, without freeing the element. -The removed element's prev and next links are set to %NULL, so -that it becomes a self-contained list with one element. - - - - - - a #GList - - - - an element in the #GList - - - - the new start of the #GList, without the element - - - - - -Removes a #GParamSpec from the pool. - - - - - a #GParamSpecPool - - - - the #GParamSpec to remove - - - - - - - - -Decrements the reference count of a @pspec. - - - - - a valid #GParamSpec - - - - - - - - -Sets an error within the asynchronous result without a #GError. - - - - - a #GSimpleAsyncResult. - - - - a #GQuark (usually #G_IO_ERROR). - - - - an error code. - - - - a formatted error reporting string. - - - - a list of variables to fill in @format. - - - - - - - - -Reads data from a #GIOChannel. - - - - - - a #GIOChannel - - - - a buffer to read the data into (which should be at least -count bytes long) - - - - the number of bytes to read from the #GIOChannel - - - - returns the number of bytes actually read - - - - %G_IO_ERROR_NONE if the operation was successful. - -Deprecated:2.2: Use g_io_channel_read_chars() instead. - - - - - -Removes all cases of @attribute from @info if it exists. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - - - - - -Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags. - - - - - a valid #GValue whose type is derived from %G_TYPE_FLAGS - - - - flags value to be set - - - - - - - - -Gets the digest as an hexadecimal string. - -Once this function has been called the #GChecksum can no longer be -updated with g_checksum_update(). - - - - - - a #GChecksum - - - - the hexadecimal representation of the checksum. The -returned string is owned by the checksum and should not be modified -or freed. - -Since: 2.16 - - - - - -Creates a new #GChecksum, using the checksum algorithm @checksum_type. -If the @checksum_type is not known, %NULL is returned. -A #GChecksum can be used to compute the checksum, or digest, of an -arbitrary binary blob, using different hashing algorithms. - -A #GChecksum works by feeding a binary blob through g_checksum_update() -until there is data to be checked; the digest can then be extracted -using g_checksum_get_string(), which will return the checksum as a -hexadecimal string; or g_checksum_get_digest(), which will return a -vector of raw bytes. Once either g_checksum_get_string() or -g_checksum_get_digest() have been called on a #GChecksum, the checksum -will be closed and it won't be possible to call g_checksum_update() -on it anymore. - - - - - - the desired type of checksum - - - - the newly created #GChecksum, or %NULL. -Use g_checksum_free() to free the memory allocated by it. - -Since: 2.16 - - - - - -Releases all references to other objects. This can be used to break -reference cycles. - -This functions should only be called from object system implementations. - - - - - a #GObject - - - - - - - - -Gets the value of a string attribute. If the attribute does -not contain a string, %NULL will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - the contents of the @attribute value as a string, or -%NULL otherwise. - - - - - -Determines the numeric value of a character as a hexidecimal -digit. Differs from g_unichar_xdigit_value() because it takes -a char, so there's no worry about sign extension if characters -are signed. - - - - - - an ASCII character. - - - - If @c is a hex digit (according to -g_ascii_isxdigit()), its numeric value. Otherwise, -1. - - - - - -Compares two content types for equality. - - - - - - a content type string. - - - - a content type string. - - - - %TRUE if the two strings are identical or equivalent, -%FALSE otherwise. - - - - - -Sets the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info -to the given size. - - - - - a #GFileInfo. - - - - a #goffset containing the file's size. - - - - - - - - -Reads a string from the data input stream, up to the first -occurrance of any of the stop characters. - - - - - - a given #GDataInputStream. - - - - characters to terminate the read. - - - - a #gsize to get the length of the data read in. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a string with the data that was read before encountering -any of the stop characters. Set @length to a #gsize to get the length -of the string. This function will return %NULL on an error. - - - - - -Returns: a new #GVfs handle. - - - - - a new #GVfs handle. - - - - - - - - - - path name to monitor. - - - - #GFileMonitorFlags. - - - - a new #GFileMonitor for the given @pathname. - - - - - -Pops @cancellable off the cancellable stack (verifying that @cancellable -is on the top of the stack). - - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Return value: The position of the first element in @queue which contains @data, or -1 if no element in @queue contains @data. - - - - - a #GQueue - - - - the data to find. - - - - The position of the first element in @queue which contains @data, or -1 if no element in @queue contains @data. - -Since: 2.4 - - - - - -Releases ownership of a context previously acquired by this thread -with g_main_context_acquire(). If the context was acquired multiple -times, the ownership will be released only when g_main_context_release() -is called as many times as it was acquired. - - - - - a #GMainContext - - - - - - - - -This function is a wrapper of dngettext() which does not translate -the message if the default domain as set with textdomain() has no -translations for the current locale. - -See g_dgettext() for details of how this differs from dngettext() -proper. - - - - - - the translation domain to use, or %NULL to use -the domain set with textdomain() - - - - message to translate - - - - plural form of the message - - - - the quantity for which translation is needed - - - - The translated string - -Since: 2.18 - - - - - -Sorts a #GList using the given comparison function. - - - - - - a #GList - - - - the comparison function used to sort the #GList. -This function is passed the data from 2 elements of the #GList -and should return 0 if they are equal, a negative value if the -first element comes before the second, or a positive value if -the first element comes after the second. - - - - the start of the sorted #GList - - - - - -Lists the file info structure's attributes. - - - - - - a #GFileInfo. - - - - a file attribute key's namespace. - - - - a null-terminated array of strings of all of the -possible attribute types for the given @name_space, or -%NULL on error. - - - - - -Inserts a new element into the list, using the given comparison -function to determine its position. - - - - - - a pointer to a #GList - - - - the data for the new element - - - - the function to compare elements in the list. It should -return a number &gt; 0 if the first parameter comes after the -second parameter in the sort order. - - - - the new start of the #GList - - - - - -Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT -property. #GValue structures for this property can be accessed with -g_value_set_uint() and g_value_get_uint(). - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Sets @mime_type as the MIME type of the bookmark for @uri. - -If a bookmark for @uri cannot be found then it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - a MIME type - - - - - - - - -Scans for a match in string for the pattern in @regex. -The @match_options are combined with the match options specified -when the @regex structure was created, letting you have more -flexibility in reusing #GRegex structures. - -A #GMatchInfo structure, used to get information on the match, -is stored in @match_info if not %NULL. Note that if @match_info -is not %NULL then it is created even if the function returns %FALSE, -i.e. you must free it regardless if regular expression actually matched. - -To retrieve all the non-overlapping matches of the pattern in -string you can use g_match_info_next(). - -|[ -static void -print_uppercase_words (const gchar *string) -{ -/&ast; Print all uppercase-only words. &ast;/ -GRegex *regex; -GMatchInfo *match_info; -&nbsp; -regex = g_regex_new ("[A-Z]+", 0, 0, NULL); -g_regex_match (regex, string, 0, &amp;match_info); -while (g_match_info_matches (match_info)) -{ -gchar *word = g_match_info_fetch (match_info, 0); -g_print ("Found: %s\n", word); -g_free (word); -g_match_info_next (match_info, NULL); -} -g_match_info_free (match_info); -g_regex_unref (regex); -} -]| - - - - - - a #GRegex structure from g_regex_new() - - - - the string to scan for matches - - - - match options - - - - pointer to location where to store the #GMatchInfo, -or %NULL if you do not need it - - - - %TRUE is the string matched, %FALSE otherwise - -Since: 2.14 - - - - - -Removes a comment above @key from @group_name. -If @key is %NULL then @comment will be removed above @group_name. -If both @key and @group_name are %NULL, then @comment will -be removed above the first group in the file. - - - - - - a #GKeyFile - - - - a group name, or %NULL - - - - a key - - - - return location for a #GError - - - - %TRUE if the comment was removed, %FALSE otherwise - -Since: 2.6 - - - - - -Sets the edit name for the current file. -See %G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME. - - - - - a #GFileInfo. - - - - a string containing an edit name. - - - - - - - - -Creates a new file and returns an output stream for writing to it. -The file must not already exist. - -By default files created are generally readable by everyone, -but if you pass #G_FILE_CREATE_PRIVATE in @flags the file -will be made readable only to the current user, to the level that -is supported on the target filesystem. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If a file or directory with this name already exists the G_IO_ERROR_EXISTS -error will be returned. -Some file systems don't allow all file names, and may -return an G_IO_ERROR_INVALID_FILENAME error, and if the name -is to long G_IO_ERROR_FILENAME_TOO_LONG will be returned. -Other errors are possible too, and depend on what kind of -filesystem the file is on. - - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileOutputStream for the newly created file, or -%NULL on error. - - - - - -Tries to read @count bytes from the stream into the buffer. -Will block during this read. - -If @count is zero, returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes read into the buffer is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - -For the asynchronous, non-blocking, version of this function, see -g_buffered_input_stream_fill_async(). - - - - - - #GBufferedInputStream. - - - - the number of bytes that will be read from the stream. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore. - - - - the number of bytes read into @stream's buffer, up to @count, -or -1 on error. - - - - - -This function is a wrapper of dgettext() which does not translate -the message if the default domain as set with textdomain() has no -translations for the current locale. - -The advantage of using this function over dgettext() proper is that -libraries using this function (like GTK+) will not use translations -if the application using the library does not have translations for -the current locale. This results in a consistent English-only -interface instead of one having partial translations. For this -feature to work, the call to textdomain() and setlocale() should -precede any g_dgettext() invocations. For GTK+, it means calling -textdomain() before gtk_init or its variants. - -This function disables translations if and only if upon its first -call all the following conditions hold: -&lt;itemizedlist&gt; -&lt;listitem&gt;@domain is not %NULL&lt;/listitem&gt; -&lt;listitem&gt;textdomain() has been called to set a default text domain&lt;/listitem&gt; -&lt;listitem&gt;there is no translations available for the default text domain -and the current locale&lt;/listitem&gt; -&lt;listitem&gt;current locale is not "C" or any English locales (those -starting with "en_")&lt;/listitem&gt; -&lt;/itemizedlist&gt; - -Note that this behavior may not be desired for example if an application -has its untranslated messages in a language other than English. In those -cases the application should call textdomain() after initializing GTK+. - -Applications should normally not use this function directly, -but use the _() macro for translations. - - - - - - the translation domain to use, or %NULL to use -the domain set with textdomain() - - - - message to translate - - - - The translated string - -Since: 2.18 - - - - - -Determines whether a character is printable and not a space -(returns %FALSE for control characters, format characters, and -spaces). g_unichar_isprint() is similar, but returns %TRUE for -spaces. Given some UTF-8 text, obtain a character value with -g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is printable unless it's a space - - - - - -Unlinks a #GNode from a tree, resulting in two separate trees. - - - - - the #GNode to unlink, which becomes the root of a new tree - - - - - - - - -Determines whether a character is a mark (non-spacing mark, -combining mark, or enclosing mark in Unicode speak). -Given some UTF-8 text, obtain a character value -with g_utf8_get_char(). - -Note: in most cases where isalpha characters are allowed, -ismark characters should be allowed to as they are essential -for writing most European languages as well as many non-Latin -scripts. - - - - - - a Unicode character - - - - %TRUE if @c is a mark character - -Since: 2.14 - - - - - -Gets the last child of a #GNode. - - - - - - a #GNode (must not be %NULL) - - - - the last child of @node, or %NULL if @node has no children - - - - - -Gets the registration informations of @app_name for the bookmark for -@uri. See g_bookmark_file_set_app_info() for more informations about -the returned data. - -The string returned in @app_exec must be freed. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the -event that no application with name @app_name has registered a bookmark -for @uri, %FALSE is returned and error is set to -#G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. In the event that unquoting -the command line fails, an error of the #G_SHELL_ERROR domain is -set and %FALSE is returned. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - an application's name - - - - location for the command line of the application, or %NULL - - - - return location for the registration count, or %NULL - - - - return location for the last registration time, or %NULL - - - - return location for a #GError, or %NULL - - - - %TRUE on success. - -Since: 2.12 - - - - - -Determines whether a character is punctuation or a symbol. -Given some UTF-8 text, obtain a character value with -g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is a punctuation or symbol character - - - - - -Starts a @mount_operation, mounting the volume that contains the file @location. - -When this operation has completed, @callback will be called with -@user_user data, and the operation can be finalized with -g_file_mount_enclosing_volume_finish(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - flags affecting the operation - - - - a #GMountOperation or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Tests if the stream supports the #GSeekableIface. - - - - - - a #GSeekable. - - - - %TRUE if @seekable can be seeked. %FALSE otherwise. - - - - - -An implementation of the standard vprintf() function which supports -positional parameters, as specified in the Single Unix Specification. - - - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the list of arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.2 - - - - - -Checks whether @group appears in the list of groups to which -the bookmark for @uri belongs to. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - the group name to be searched - - - - return location for a #GError, or %NULL - - - - %TRUE if @group was found. - -Since: 2.12 - - - - - -Creates a new file attribute matcher, which matches attributes -against a given string. #GFileAttributeMatcher&lt;!-- --&gt;s are reference -counted structures, and are created with a reference count of 1. If -the number of references falls to 0, the #GFileAttributeMatcher is -automatically destroyed. - -The @attribute string should be formatted with specific keys separated -from namespaces with a double colon. Several "namespace::key" strings may be -concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). -The wildcard "*" may be used to match all keys and namespaces, or -"namespace::*" will match all keys in a given namespace. - -Examples of strings to use: -&lt;table&gt; -&lt;title&gt;File Attribute Matcher strings and results&lt;/title&gt; -&lt;tgroup cols='2' align='left'&gt;&lt;thead&gt; -&lt;row&gt;&lt;entry&gt; Matcher String &lt;/entry&gt;&lt;entry&gt; Matches &lt;/entry&gt;&lt;/row&gt;&lt;/thead&gt; -&lt;tbody&gt; -&lt;row&gt;&lt;entry&gt;"*"&lt;/entry&gt;&lt;entry&gt;matches all attributes.&lt;/entry&gt;&lt;/row&gt; -&lt;row&gt;&lt;entry&gt;"standard::is-hidden"&lt;/entry&gt;&lt;entry&gt;matches only the key is-hidden in the standard namespace.&lt;/entry&gt;&lt;/row&gt; -&lt;row&gt;&lt;entry&gt;"standard::type,unix::*"&lt;/entry&gt;&lt;entry&gt;matches the type key in the standard namespace and -all keys in the unix namespace.&lt;/entry&gt;&lt;/row&gt; -&lt;/tbody&gt;&lt;/tgroup&gt; -&lt;/table&gt; - - - - - - an attribute string to match. - - - - a #GFileAttributeMatcher. - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - a #GValue, which can store the returned string - - - - 3 - - - - a #GValue array holding instance, arg1 and arg2 - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -This is an internal function introduced mainly for C marshallers. - -Deprecated: 2.4: Use g_value_take_param() instead. - - - - - a valid #GValue of type %G_TYPE_PARAM - - - - the #GParamSpec to be set - - - - - - - - -&lt; private &gt; -Unsafe, need lock fen_lock. - - - - - - - - - -Creates a new random number generator initialized with a seed taken -either from &lt;filename&gt;/dev/urandom&lt;/filename&gt; (if existing) or from -the current time (as a fallback). - - - - - - the new #GRand. - - - - - -Calls the given function for key/value pairs in the #GHashTable until -@predicate returns %TRUE. The function is passed the key and value of -each pair, and the given @user_data parameter. The hash table may not -be modified while iterating over it (you can't add/remove items). - -Note, that hash tables are really only optimized for forward lookups, -i.e. g_hash_table_lookup(). -So code that frequently issues g_hash_table_find() or -g_hash_table_foreach() (e.g. in the order of once per every entry in a -hash table) should probably be reworked to use additional or different -data structures for reverse lookups (keep in mind that an O(n) find/foreach -operation issued for all n values in a hash table ends up needing O(n*n) -operations). - - - - - - a #GHashTable. - - - - function to test the key/value pairs for a certain property. - - - - user data to pass to the function. - - - - The value of the first key/value pair is returned, for which -func evaluates to %TRUE. If no pair with the requested property is found, -%NULL is returned. - -Since: 2.4 - - - - - -Creates a new instance of a #GObject subtype and sets its properties. - -Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY) -which are not explicitly specified are set to their default values. - - - - - - the type id of the #GObject subtype to instantiate - - - - the name of the first property - - - - the value of the first property, followed optionally by more -name/value pairs, followed by %NULL - - - - a new instance of @object_type - - - - - -Looks up a #GFlagsValue by name. - - - - - - a #GFlagsClass - - - - the name to look up - - - - the #GFlagsValue with name @name, or %NULL if there is no -flag with that name - - - - - -A variant of g_cclosure_new() which uses @object as @user_data and -calls g_object_watch_closure() on @object and the created -closure. This function is useful when you have a callback closely -associated with a #GObject, and want the callback to no longer run -after the object is is freed. - - - - - - the function to invoke - - - - a #GObject pointer to pass to @callback_func - - - - a new #GCClosure - - - - - -Gets the attribute type for an attribute key. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GFileAttributeType for the given @attribute, or -%G_FILE_ATTRIBUTE_TYPE_INVALID if the key is invalid. - - - - - -Finds the leftmost occurrence of the given Unicode character -in a UTF-8 encoded string, while limiting the search to @len bytes. -If @len is -1, allow unbounded search. - - - - - - a nul-terminated UTF-8 encoded string - - - - the maximum length of @p - - - - a Unicode character - - - - %NULL if the string does not contain the character, -otherwise, a pointer to the start of the leftmost occurrence of -the character in the string. - - - - - -Return value: a %NULL-terminated string array or %NULL if the specified - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for the number of returned strings, or %NULL - - - - return location for a #GError, or %NULL - - - - a %NULL-terminated string array or %NULL if the specified -key cannot be found. The array should be freed with g_strfreev(). - -Since: 2.6 - - - - - -Loads the content of the file into memory, returning the size of -the data. The data is always zero terminated, but this is not -included in the resultant @length. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the @file's contents were successfully loaded. -%FALSE if there were errors.. - - - - - -Retrieves the name of the next entry in the directory. The '.' and -'..' entries are omitted. On Windows, the returned name is in -UTF-8. On Unix, it is in the on-disk encoding. - - - - - - a #GDir* created by g_dir_open() - - - - The entry's name or %NULL if there are no -more entries. The return value is owned by GLib and -must not be modified or freed. - - - - - -Get a copy the contents of a %G_TYPE_STRING #GValue. - - - - - - a valid #GValue of type %G_TYPE_STRING - - - - a newly allocated copy of the string content of @value - - - - - -Parses a command line into an argument vector, in much the same way -the shell would, but without many of the expansions the shell would -perform (variable expansion, globs, operators, filename expansion, -etc. are not supported). The results are defined to be the same as -those you would get from a UNIX98 /bin/sh, as long as the input -contains none of the unsupported shell expansions. If the input -does contain such expansions, they are passed through -literally. Possible errors are those from the #G_SHELL_ERROR -domain. Free the returned vector with g_strfreev(). - - - - - - command line to parse - - - - return location for number of args - - - - return location for array of args - - - - return location for error - - - - %TRUE on success, %FALSE if error set - - - - - -Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. - - - - - a valid #GValue of %G_TYPE_BOXED derived type - - - - boxed value to be set - - - - - - - - -Finds a #GVolume object by it's UUID (see g_volume_get_uuid()) - - - - - - a #GVolumeMonitor. - - - - the UUID to look for - - - - a #GVolume or %NULL if no such volume is available. - - - - - -Same as the standard UNIX routine iconv_close(), but -may be implemented via libiconv on UNIX flavors that lack -a native implementation. Should be called to clean up -the conversion descriptor from g_iconv_open() when -you are done converting things. - -GLib provides g_convert() and g_locale_to_utf8() which are likely -more convenient than the raw iconv wrappers. - - - - - - a conversion descriptor from g_iconv_open() - - - - -1 on error, 0 on success - - - - - -Increases the reference count of the asynchronous @queue by 1. - -@Deprecated: Since 2.8, reference counting is done atomically -so g_async_queue_ref() can be used regardless of the @queue's -lock. - - - - - a #GAsyncQueue. - - - - - - - - -Like g_list_sort(), but the comparison function accepts -a user data argument. - - - - - - a #GList - - - - comparison function - - - - user data to pass to comparison function - - - - the new head of @list - - - - - -Gets a gssize from the asynchronous result. - - - - - - a #GSimpleAsyncResult. - - - - a gssize returned from the asynchronous function. - - - - - -Gets the default #GVfs for the system. - - - - - - a #GVfs. - - - - - -Finishes a mount operation. See g_file_mount_mountable() for details. - -Finish an asynchronous mount operation that was started -with g_file_mount_mountable(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFile or %NULL on error. - - - - - -Finishes poll_for_mediaing a drive. - - - - - - a #GDrive. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE if the drive has been poll_for_mediaed successfully, -%FALSE otherwise. - - - - - -This function outputs @key_file as a string. - -Note that this function never reports an error, -so it is safe to pass %NULL as @error. - - - - - - a #GKeyFile - - - - return location for the length of the -returned string, or %NULL - - - - return location for a #GError, or %NULL - - - - a newly allocated string holding -the contents of the #GKeyFile - -Since: 2.6 - - - - - -Returns: %TRUE if the previous match operation succeeded, - - - - - a #GMatchInfo structure - - - - %TRUE if the previous match operation succeeded, -%FALSE otherwise - -Since: 2.14 - - - - - -Sets the function which is used to translate user-visible -strings, for &lt;option&gt;--help&lt;/option&gt; output. Different -groups can use different #GTranslateFunc&lt;!-- --&gt;s. If @func -is %NULL, strings are not translated. - -If you are using gettext(), you only need to set the translation -domain, see g_option_group_set_translation_domain(). - -Since: 2.6 - - - - - a #GOptionGroup - - - - the #GTranslateFunc, or %NULL - - - - user data to pass to @func, or %NULL - - - - a function which gets called to free @data, or %NULL - - - - - - - - -Frees all resources allocated for @pool. - -If @immediate is %TRUE, no new task is processed for -@pool. Otherwise @pool is not freed before the last task is -processed. Note however, that no thread of this pool is -interrupted, while processing a task. Instead at least all still -running threads can finish their tasks before the @pool is freed. - -If @wait_ is %TRUE, the functions does not return before all tasks -to be processed (dependent on @immediate, whether all or only the -currently running) are ready. Otherwise the function returns immediately. - -After calling this function @pool must not be used anymore. - - - - - a #GThreadPool - - - - should @pool shut down immediately? - - - - should the function wait for all tasks to be finished? - - - - - - - - -Sets the function used to sort the list of tasks. This allows the -tasks to be processed by a priority determined by @func, and not -just in the order in which they were added to the pool. - -Note, if the maximum number of threads is more than 1, the order -that threads are executed can not be guranteed 100%. Threads are -scheduled by the operating system and are executed at random. It -cannot be assumed that threads are executed in the order they are -created. - -Since: 2.10 - - - - - a #GThreadPool - - - - the #GCompareDataFunc used to sort the list of tasks. -This function is passed two tasks. It should return -0 if the order in which they are handled does not matter, -a negative value if the first task should be processed before -the second or a positive value if the second task should be -processed first. - - - - user data passed to @func. - - - - - - - - -Checks if the application accepts files as arguments. - - - - - - a #GAppInfo. - - - - %TRUE if the @appinfo supports files. - - - - - -Inserts a key/value pair into a #GTree. If the given key already exists -in the #GTree its corresponding value is set to the new value. If you -supplied a value_destroy_func when creating the #GTree, the old value is -freed using that function. If you supplied a @key_destroy_func when -creating the #GTree, the passed key is freed using that function. - -The tree is automatically 'balanced' as new key/value pairs are added, -so that the distance from the root to every leaf is as small as possible. - - - - - a #GTree. - - - - the key to insert. - - - - the value corresponding to the key. - - - - - - - - -Releases the queue's lock. - - - - - a #GAsyncQueue. - - - - - - - - -Creates a new random number generator initialized with @seed. - - - - - - a value to initialize the random number generator. - - - - the new #GRand. - - - - - -Converts a string which is in the encoding used for strings by -the C runtime (usually the same as that used by the operating -system) in the &lt;link linkend="setlocale"&gt;current locale&lt;/link&gt; into a -UTF-8 string. - - - - - - a string in the encoding of the current locale. On Windows -this means the system codepage. - - - - the length of the string, or -1 if the string is -nul-terminated&lt;footnoteref linkend="nul-unsafe"/&gt;. - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -#G_CONVERT_ERROR_ILLEGAL_SEQUENCE occurs, the value -stored will the byte offset after the last valid -input sequence. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - The converted string, or %NULL on an error. - - - - - -Inserts @data into @queue using @func to determine the new -position. - -This function requires that the @queue is sorted before pushing on -new elements. - -This function will lock @queue before it sorts the queue and unlock -it when it is finished. - -For an example of @func see g_async_queue_sort(). - -Since: 2.10 - - - - - a #GAsyncQueue - - - - the @data to push into the @queue - - - - the #GCompareDataFunc is used to sort @queue. This function -is passed two elements of the @queue. The function should return -0 if they are equal, a negative value if the first element -should be higher in the @queue or a positive value if the first -element should be lower in the @queue than the second element. - - - - user data passed to @func. - - - - - - - - -Overwrites part of a string, lengthening it if necessary. - - - - - - a #GString - - - - the position at which to start overwriting - - - - the string that will overwrite the @string starting at @pos - - - - @string - -Since: 2.14 - - - - - -Returns: The version information. - - - - - The version information. - -Since: 2.6 - - - - - -Creates a new application launch context. This is not normally used, -instead you instantiate a subclass of this, such as #GdkAppLaunchContext. - - - - - - a #GAppLaunchContext. - - - - - -Sets the operation result within the asynchronous result to a pointer. - - - - - a #GSimpleAsyncResult. - - - - a pointer result from an asynchronous function. - - - - a #GDestroyNotify function. - - - - - - - - -Gets the device path for a unix mount. - - - - - - a #GUnixMount. - - - - a string containing the device path. - - - - - -Converts an escaped ASCII-encoded URI to a local filename in the -encoding used for filenames. - - - - - - a uri describing a filename (escaped, encoded in ASCII). - - - - Location to store hostname for the URI, or %NULL. -If there is no hostname in the URI, %NULL will be -stored in this location. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - a newly-allocated string holding the resulting -filename, or %NULL on an error. - - - - - -Return Value: %TRUE if the @channel is buffered. - - - - - a #GIOChannel - - - - %TRUE if the @channel is buffered. - - - - - -Gets the #GMainContext with which the source is associated. -Calling this function on a destroyed source is an error. - - - - - - a #GSource - - - - the #GMainContext with which the source is associated, -or %NULL if the context has not yet been added -to a source. - - - - - -Converts a character to lower case. - - - - - - a Unicode character. - - - - the result of converting @c to lower case. -If @c is not an upperlower or titlecase character, -or has no lowercase equivalent @c is returned unchanged. - - - - - -Converts from a pointer to position within a string to a integer -character offset. - -Since 2.10, this function allows @pos to be before @str, and returns -a negative offset in this case. - - - - - - a UTF-8 encoded string - - - - a pointer to a position within @str - - - - the resulting character offset - - - - - -Determines the numeric value of a character as a hexidecimal -digit. - - - - - - a Unicode character - - - - If @c is a hex digit (according to -g_unichar_isxdigit()), its numeric value. Otherwise, -1. - - - - - -Gets the URI scheme for a #GFile. -RFC 3986 decodes the scheme as: -&lt;programlisting&gt; -URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] -&lt;/programlisting&gt; -Common schemes include "file", "http", "ftp", etc. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing the URI scheme for the given -#GFile. The returned string should be freed with g_free() -when no longer needed. - - - - - -Gets the requested information about the files in a directory. The result -is a #GFileEnumerator object that will give out #GFileInfo objects for -all the files in the directory. - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "standard::*" means all attributes in the standard -namespace. An example attribute query be "standard::*,owner::user". -The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -If the file is not a directory, the G_FILE_ERROR_NOTDIR error will be returned. -Other errors are possible too. - - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - A #GFileEnumerator if successful, %NULL on error. - - - - - -Executes a child synchronously (waits for the child to exit before returning). -All output from the child is stored in @standard_output and @standard_error, -if those parameters are non-%NULL. Note that you must set the -%G_SPAWN_STDOUT_TO_DEV_NULL and %G_SPAWN_STDERR_TO_DEV_NULL flags when -passing %NULL for @standard_output and @standard_error. -If @exit_status is non-%NULL, the exit status of the child is stored -there as it would be returned by waitpid(); standard UNIX macros such -as WIFEXITED() and WEXITSTATUS() must be used to evaluate the exit status. -Note that this function call waitpid() even if @exit_status is %NULL, and -does not accept the %G_SPAWN_DO_NOT_REAP_CHILD flag. -If an error occurs, no data is returned in @standard_output, -@standard_error, or @exit_status. - -This function calls g_spawn_async_with_pipes() internally; see that -function for full details on the other parameters and details on -how these functions work on Windows. - - - - - - child's current working directory, or %NULL to inherit parent's - - - - child's argument vector - - - - child's environment, or %NULL to inherit parent's - - - - flags from #GSpawnFlags - - - - function to run in the child just before exec() - - - - user data for @child_setup - - - - return location for child output, or %NULL - - - - return location for child error messages, or %NULL - - - - return location for child exit status, as returned by waitpid(), or %NULL - - - - return location for error, or %NULL - - - - %TRUE on success, %FALSE if an error was set. - - - - - -Clears the pending flag on @stream. - - - - - output stream - - - - - - - - -Adds a function to be called after an interface vtable is -initialized for any class (i.e. after the @interface_init member of -#GInterfaceInfo has been called). - -This function is useful when you want to check an invariant that -depends on the interfaces of a class. For instance, the -implementation of #GObject uses this facility to check that an -object implements all of the properties that are defined on its -interfaces. - -Since: 2.4 - - - - - data to pass to @check_func - - - - function to be called after each interface -is initialized. - - - - - - - - -Add a message to the test report. - -Since: 2.16 - - - - - the format string - - - - printf-like arguments to @format - - - - - - - - -Construct an exact copy of a #GValueArray by duplicating all its -contents. - - - - - - #GValueArray to copy - - - - Newly allocated copy of #GValueArray - - - - - -Used from an I/O job to send a callback to be run in the -main loop (main thread), waiting for the result (and thus -blocking the I/O job). - - - - - - a #GIOSchedulerJob - - - - a #GSourceFunc callback that will be called in the main thread - - - - data to pass to @func - - - - a #GDestroyNotify for @user_data, or %NULL - - - - The return value of @func - - - - - -Find the rightmost occurrence of the given Unicode character -in a UTF-8 encoded string, while limiting the search to @len bytes. -If @len is -1, allow unbounded search. - - - - - - a nul-terminated UTF-8 encoded string - - - - the maximum length of @p - - - - a Unicode character - - - - %NULL if the string does not contain the character, -otherwise, a pointer to the start of the rightmost occurrence of the -character in the string. - - - - - -If @err is %NULL, does nothing. If @err is non-%NULL, -calls g_error_free() on *@err and sets *@err to %NULL. - - - - - a #GError return location - - - - - - - - -Return value: the end iterator for @seq - - - - - a #GSequence - - - - the end iterator for @seq - -Since: 2.14 - - - - - -Convert a character to ASCII lower case. - -Unlike the standard C library tolower() function, this only -recognizes standard ASCII letters and ignores the locale, returning -all non-ASCII characters unchanged, even if they are lower case -letters in a particular character set. Also unlike the standard -library function, this takes and returns a char, not an int, so -don't call it on %EOF but no need to worry about casting to #guchar -before passing a possibly non-ASCII character in. - - - - - - any character. - - - - the result of converting @c to lower case. -If @c is not an ASCII upper case letter, -@c is returned unchanged. - - - - - -Creates a #GSimpleAsyncResult. - - - - - - a #GObject the asynchronous function was called with. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - the asynchronous function. - - - - a #GSimpleAsyncResult. - - - - - -Gets the mime-type for the content type. If one is registered - - - - - - a content type string. - - - - the registered mime-type for the given @type, or NULL if unknown. - - - - - -Asynchronously gets the mount for the file. - -For more details, see g_file_find_enclosing_mount() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_find_enclosing_mount_finish() to get the result of the operation. - - - - - a #GFile - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Removes an interface check function added with -g_type_add_interface_check(). - -Since: 2.4 - - - - - callback data passed to g_type_add_interface_check() - - - - callback function passed to g_type_add_interface_check() - - - - - - - - -Translate a Win32 error code (as returned by GetLastError()) into -the corresponding message. The message is either language neutral, -or in the thread's language, or the user's language, the system's -language, or US English (see docs for FormatMessage()). The -returned string is in UTF-8. It should be deallocated with -g_free(). - - - - - - error code. - - - - newly-allocated error message - - - - - -Sort @value_array using @compare_func to compare the elements accoring to -the semantics of #GCompareFunc. - -The current implementation uses Quick-Sort as sorting algorithm. - - - - - - #GValueArray to sort - - - - function to compare elements - - - - the #GValueArray passed in as @value_array - - - - - -A wrapper for the POSIX unlink() function. The unlink() function -deletes a name from the filesystem. If this was the last link to the -file and no processes have it opened, the diskspace occupied by the -file is freed. - -See your C library manual for more details about unlink(). Note -that on Windows, it is in general not possible to delete files that -are open to some process, or mapped into memory. - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - 0 if the name was successfully deleted, -1 if an error -occurred - -Since: 2.6 - - - - - -Increments the reference count for the interface type @g_type, -and returns the default interface vtable for the type. - -If the type is not currently in use, then the default vtable -for the type will be created and initalized by calling -the base interface init and default vtable init functions for -the type (the @&lt;structfield&gt;base_init&lt;/structfield&gt; -and &lt;structfield&gt;class_init&lt;/structfield&gt; members of #GTypeInfo). -Calling g_type_default_interface_ref() is useful when you -want to make sure that signals and properties for an interface -have been installed. - -Since: 2.4 - - - - - - an interface type - - - - the default vtable for the interface; call -g_type_default_interface_unref() when you are done using -the interface. - - - - - -Decreases the reference count of @object. When its reference count -drops to 0, the object is finalized (i.e. its memory is freed). - - - - - a #GObject - - - - - - - - -Creates a new #GMemoryInputStream with data in memory of a given size. - - - - - - input data - - - - length of the data, may be -1 if @data is a nul-terminated string - - - - function that is called to free @data, or %NULL - - - - new #GInputStream read from @data of @len bytes. - - - - - -Sets the contents of a %G_TYPE_OBJECT derived #GValue to @v_object -and takes over the ownership of the callers reference to @v_object; -the caller doesn't have to unref it any more (i.e. the reference -count of the object is not increased). - -If you want the #GValue to hold its own reference to @v_object, use -g_value_set_object() instead. - -Since: 2.4 - - - - - a valid #GValue of %G_TYPE_OBJECT derived type - - - - object value to be set - - - - - - - - -Return value: The main loop recursion level in the current thread - - - - - The main loop recursion level in the current thread - - - - - -Checks if an attribute will be matched by an attribute matcher. If -the matcher was created with the "*" matching string, this function -will always return %TRUE. - - - - - - a #GFileAttributeMatcher. - - - - a file attribute key. - - - - %TRUE if @attribute matches @matcher. %FALSE otherwise. - - - - - -A predefined #GSignalAccumulator for signals that return a -boolean values. The behavior that this accumulator gives is -that a return of %TRUE stops the signal emission: no further -callbacks will be invoked, while a return of %FALSE allows -the emission to coninue. The idea here is that a %TRUE return -indicates that the callback &lt;emphasis&gt;handled&lt;/emphasis&gt; the signal, -and no further handling is needed. - -Since: 2.4 - - - - - - standard #GSignalAccumulator parameter - - - - standard #GSignalAccumulator parameter - - - - standard #GSignalAccumulator parameter - - - - standard #GSignalAccumulator parameter - - - - standard #GSignalAccumulator result - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a signed 32-bit integer - - - - - - - - -Return value: whether @error has @domain and @code - - - - - a #GError - - - - an error domain - - - - an error code - - - - whether @error has @domain and @code - - - - - -Get the contents of a %G_TYPE_PARAM #GValue, increasing its -reference count. - - - - - - a valid #GValue whose type is derived from %G_TYPE_PARAM - - - - #GParamSpec content of @value, should be unreferenced when -no longer needed. - - - - - -Converts a filename into a valid UTF-8 string. The conversion is -not necessarily reversible, so you should keep the original around -and use the return value of this function only for display purposes. -Unlike g_filename_to_utf8(), the result is guaranteed to be non-%NULL -even if the filename actually isn't in the GLib file name encoding. - -If GLib can not make sense of the encoding of @filename, as a last resort it -replaces unknown characters with U+FFFD, the Unicode replacement character. -You can search the result for the UTF-8 encoding of this character (which is -"\357\277\275" in octal notation) to find out if @filename was in an invalid -encoding. - -If you know the whole pathname of the file you should use -g_filename_display_basename(), since that allows location-based -translation of filenames. - - - - - - a pathname hopefully in the GLib file name encoding - - - - a newly allocated string containing -a rendition of the filename in valid UTF-8 - -Since: 2.6 - - - - - -Calls a function for each element of a #GSList. - - - - - a #GSList - - - - the function to call with each element's data - - - - user data to pass to the function - - - - - - - - -Gets the next matched attribute from a #GFileAttributeMatcher. - - - - - - a #GFileAttributeMatcher. - - - - a string containing the next attribute or %NULL if -no more attribute exist. - - - - - -A wrapper for the POSIX lstat() function. The lstat() function is -like stat() except that in the case of symbolic links, it returns -information about the symbolic link itself and not the file that it -refers to. If the system does not support symbolic links g_lstat() -is identical to g_stat(). - -See your C library manual for more details about lstat(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - a pointer to a &lt;structname&gt;stat&lt;/structname&gt; struct, which -will be filled with the file information - - - - 0 if the information was successfully retrieved, -1 if an error -occurred - -Since: 2.6 - - - - - -Releases all resources used by this enumerator, making the -enumerator return %G_IO_ERROR_CLOSED on all calls. - -This will be automatically called when the last reference -is dropped, but you might want to call this function to make -sure resources are released as early as possible. - - - - - - a #GFileEnumerator. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - #TRUE on success or #FALSE on error. - - - - - -Specify the base URI for bug reports. - -The base URI is used to construct bug report messages for -g_test_message() when g_test_bug() is called. -Calling this function outside of a test case sets the -default base URI for all test cases. Calling it from within -a test case changes the base URI for the scope of the test -case only. -Bug URIs are constructed by appending a bug specific URI -portion to @uri_pattern, or by replacing the special string -'%s' within @uri_pattern if that is present. - -Since: 2.16 - - - - - the base pattern for bug URIs - - - - - - - - -Request an asynchronous skip of @count bytes from the stream into the buffer -starting at @buffer. When the operation is finished @callback will be called. -You can then call g_input_stream_skip_finish() to get the result of the -operation. - -During an async request no other sync and async calls are allowed, and will -result in %G_IO_ERROR_PENDING errors. - -A value of @count larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes skipped will be passed to the -callback. It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file, but generally we try to skip -as many bytes as requested. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -Any outstanding i/o request with higher priority (lower numerical value) will -be executed before an outstanding request with lower priority. Default -priority is %G_PRIORITY_DEFAULT. - -The asyncronous methods have a default fallback that uses threads to implement -asynchronicity, so they are optional for inheriting classes. However, if you -override one you must override all. - - - - - A #GInputStream. - - - - the number of bytes that will be skipped from the stream - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Gets any loaded data from the @ostream. - -Note that the returned pointer may become invalid on the next -write or truncate operation on the stream. - - - - - - a #GMemoryOutputStream - - - - pointer to the stream's data - - - - - -An auxiliary function for gettext() support (see Q_()). - - - - - - a string - - - - another string - - - - @msgval, unless @msgval is identical to @msgid and contains -a '|' character, in which case a pointer to the substring of msgid after -the first '|' character is returned. - -Since: 2.4 - - - - - -Emits a "notify" signal for the property @property_name on @object. - - - - - a #GObject - - - - the name of a property installed on the class of @object. - - - - - - - - -Splices an input stream into an output stream. - - - - - - a #GOutputStream. - - - - a #GInputStream. - - - - a set of #GOutputStreamSpliceFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #gssize containing the size of the data spliced. - - - - - -A statically-allocated #GQueue must be initialized with this function -before it can be used. Alternatively you can initialize it with -#G_QUEUE_INIT. It is not necessary to initialize queues created with -g_queue_new(). - -Since: 2.14 - - - - - an uninitialized #GQueue - - - - - - - - -Returns: the expanded string, or %NULL if an error occurred - - - - - a #GMatchInfo or %NULL - - - - the string to expand - - - - location to store the error occuring, or %NULL to ignore errors - - - - the expanded string, or %NULL if an error occurred - -Since: 2.14 - - - - - -Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Gets a #GList of strings containing the unix mount points. -If @time_read is set, it will be filled with the mount timestamp, -allowing for checking if the mounts have changed with -g_unix_mounts_points_changed_since(). - - - - - - guint64 to contain a timestamp. - - - - a #GList of the UNIX mountpoints. - - - - - -Sets the function to use to handle polling of file descriptors. It -will be used instead of the poll() system call -(or GLib's replacement function, which is used where -poll() isn't available). - -This function could possibly be used to integrate the GLib event -loop with an external event loop. - - - - - a #GMainContext - - - - the function to call to poll all file descriptors - - - - - - - - -Will set @cancellable to cancelled, and will emit the CANCELLED -signal. - -This function is thread-safe. In other words, you can safely call it from -another thread than the one running an operation that was passed -the @cancellable. - - - - - a #GCancellable object. - - - - - - - - -Removes the last element of the queue. - - - - - - a #GQueue. - - - - the data of the last element in the queue, or %NULL if the queue -is empty. - - - - - -Constructs a #GFile for a given path. This operation never -fails, but the returned object might not support any I/O -operation if @path is malformed. - - - - - - a string containing a relative or absolute path. - - - - a new #GFile for the given @path. - - - - - -Copies the file attributes from @source to @destination. - -Normally only a subset of the file attributes are copied, -those that are copies in a normal file copy operation -(which for instance does not include e.g. mtime). However -if #G_FILE_COPY_ALL_METADATA is specified in @flags, then -all the metadata that is possible to copy is copied. - - - - - - a #GFile with attributes. - - - - a #GFile to copy attributes to. - - - - a set of #GFileCopyFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if the attributes were copied successfully, %FALSE otherwise. - - - - - -Creates a new #GString, with enough space for @dfl_size -bytes. This is useful if you are going to add a lot of -text to the string and don't want it to be reallocated -too often. - - - - - - the default size of the space allocated to -hold the string - - - - the new #GString - - - - - -Like the standard C strncpy() function, but -copies a given number of characters instead of a given number of -bytes. The @src string must be valid UTF-8 encoded text. -(Use g_utf8_validate() on all text before trying to use UTF-8 -utility functions with it.) - - - - - - buffer to fill with characters from @src - - - - UTF-8 encoded string - - - - character count - - - - @dest - - - - - -Gets the #GAppInfo that correspond to a given content type. - - - - - - the content type to find a #GAppInfo for - - - - if %TRUE, the #GAppInfo is expected to -support URIs - - - - #GAppInfo for given @content_type or %NULL on error. - - - - - -Searches the string @haystack for the first occurrence -of the string @needle, limiting the length of the search -to @haystack_len. - - - - - - a string. - - - - the maximum length of @haystack. - - - - the string to search for. - - - - a pointer to the found occurrence, or -%NULL if not found. - - - - - -Gets the symlink target for a given #GFileInfo. - - - - - - a #GFileInfo. - - - - a string containing the symlink target. - - - - - -Finishes an asynchronous partial load operation that was started -with g_file_load_partial_contents_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the load was successful. If %FALSE and @error is -present, it will be set appropriately. - - - - - -Makes a copy of @error. - - - - - - a #GError - - - - a new #GError - - - - - -Tries to write @count bytes from @buffer into the stream. Will block -during the operation. - -If count is zero returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes written to the stream is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. on a partial i/o error, or if there is not enough -storage in the stream. All writes either block until at least one byte -is written, so zero is never returned (unless @count is zero). - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - - - - - - a #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - optional cancellable object - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes written, or -1 on error - - - - - -Insert a copy of @value as last element of @value_array. - - - - - - #GValueArray to add an element to - - - - #GValue to copy into #GValueArray - - - - the #GValueArray passed in as @value_array - - - - - -Converts all lower case ASCII letters to upper case ASCII letters. - - - - - - a string. - - - - length of @str in bytes, or -1 if @str is nul-terminated. - - - - a newly allocated string, with all the lower case -characters in @str converted to upper case, with -semantics that exactly match g_ascii_toupper(). (Note -that this is unlike the old g_strup(), which modified -the string in place.) - - - - - -Adds a #GSource to a @context so that it will be executed within -that context. - - - - - - a #GSource - - - - a #GMainContext (if %NULL, the default context will be used) - - - - the ID (greater than 0) for the source within the -#GMainContext. - - - - - -Gets the local pathname for #GFile, if one exists. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string containing the #GFile's path, or %NULL if -no such path exists. The returned string should be -freed with g_free() when no longer needed. - - - - - -Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean. - - - - - a valid #GValue of type %G_TYPE_BOOLEAN - - - - boolean value to be set - - - - - - - - -Opens a directory for reading. The names of the files in the -directory can then be retrieved using g_dir_read_name(). - - - - - - the path to the directory you are interested in. On Unix -in the on-disk encoding. On Windows in UTF-8 - - - - Currently must be set to 0. Reserved for future use. - - - - return location for a #GError, or %NULL. -If non-%NULL, an error will be set if and only if -g_dir_open() fails. - - - - a newly allocated #GDir on success, %NULL on failure. -If non-%NULL, you must free the result with g_dir_close() -when you are finished with it. - - - - - -This is an internal function introduced mainly for C marshallers. - -Deprecated: 2.4: Use g_value_take_string() instead. - - - - - a valid #GValue of type %G_TYPE_STRING - - - - duplicated unowned string to be set - - - - - - - - -Gets the edit name for a file. - - - - - - a #GFileInfo. - - - - a string containing the edit name. - - - - - -Creates a new asynchronous queue with the initial reference count of 1. - - - - - - the new #GAsyncQueue. - - - - - -Adds @prerequisite_type to the list of prerequisites of @interface_type. -This means that any type implementing @interface_type must also implement -@prerequisite_type. Prerequisites can be thought of as an alternative to -interface derivation (which GType doesn't support). An interface can have -at most one instantiatable prerequisite type. - - - - - #GType value of an interface type. - - - - #GType value of an interface or instantiatable type. - - - - - - - - -Splits an URI list conforming to the text/uri-list -mime type defined in RFC 2483 into individual URIs, -discarding any comments. The URIs are not validated. - - - - - - an URI list - - - - a newly allocated %NULL-terminated list of -strings holding the individual URIs. The array should -be freed with g_strfreev(). - -Since: 2.6 - - - - - -Finishes an asynchronous stream read operation. - - - - - - a #GInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - number of bytes read in, or -1 on error. - - - - - -Opens a file for reading. The result is a #GFileInputStream that -can be used to read the contents of the file. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -If the file is a directory, the G_IO_ERROR_IS_DIRECTORY error will be returned. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - #GFile to read. - - - - a #GCancellable - - - - a #GError, or %NULL - - - - #GFileInputStream or %NULL on error. - - - - - -Converts an absolute filename to an escaped ASCII-encoded URI, with the path -component following Section 3.3. of RFC 2396. - - - - - - an absolute filename specified in the GLib file name encoding, -which is the on-disk file name bytes on Unix, and UTF-8 on -Windows - - - - A UTF-8 encoded hostname, or %NULL for none. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - a newly-allocated string holding the resulting -URI, or %NULL on an error. - - - - - -Propagates an error from within the simple asynchronous result to -a given destination. - - - - - - a #GSimpleAsyncResult. - - - - a location to propegate the error to. - - - - %TRUE if the error was propegated to @dest. %FALSE otherwise. - - - - - -Escapes a string for use in a URI. - -Normally all characters that are not "unreserved" (i.e. ASCII alphanumerical -characters plus dash, dot, underscore and tilde) are escaped. -But if you specify characters in @reserved_chars_allowed they are not -escaped. This is useful for the "reserved" characters in the URI -specification, since those are allowed unescaped in some portions of -a URI. - - - - - - the unescaped input string. - - - - a string of reserved characters that are -allowed to be used. - - - - %TRUE if the result can include UTF-8 characters. - - - - an escaped version of @unescaped. The returned string should be -freed when no longer needed. - -Since: 2.16 - - - - - -Adds a copy of @string to the #GStringChunk, unless the same -string has already been added to the #GStringChunk with -g_string_chunk_insert_const(). - -This function is useful if you need to copy a large number -of strings but do not want to waste space storing duplicates. -But you must remember that there may be several pointers to -the same string, and so any changes made to the strings -should be done very carefully. - -Note that g_string_chunk_insert_const() will not return a -pointer to a string added with g_string_chunk_insert(), even -if they do match. - - - - - - a #GStringChunk - - - - the string to add - - - - a pointer to the new or existing copy of @string -within the #GStringChunk - - - - - -Puts a string into the output stream. - - - - - - a #GDataOutputStream. - - - - a string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @string was successfully added to the @stream. - - - - - -Report the result of a performance or measurement test. -The test should generally strive to maximize the reported -quantities (larger values are better than smaller ones), -this and @maximized_quantity can determine sorting -order for test result reports. - -Since: 2.16 - - - - - the reported value - - - - the format string of the report message - - - - arguments to pass to the printf() function - - - - - - - - -Computes the canonical decomposition of a Unicode character. - - - - - - a Unicode character. - - - - location to store the length of the return value. - - - - a newly allocated string of Unicode characters. -@result_len is set to the resulting length of the string. - - - - - -Registers an extension point. - - - - - - The name of the extension point - - - - the new #GIOExtensionPoint. This object is owned by GIO -and should not be freed - - - - - -Creates a #GSimpleAsyncResult from an error condition. - - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - a #GError location. - - - - a #GSimpleAsyncResult. - - - - - -Gets the root of a tree. - - - - - - a #GNode - - - - the root of the tree - - - - - -Return value: A random number. - - - - - a #GRand. - - - - A random number. - - - - - -Copies the value of @src_value into @dest_value. - - - - - An initialized #GValue structure. - - - - An initialized #GValue structure of the same type as @src_value. - - - - - - - - -Gets the value of the sort_order attribute from the #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. - - - - - - a #GFileInfo. - - - - a #gint32 containing the value of the "standard::sort_order" attribute. - - - - - -Creates a new themed icon for @iconname. - - - - - - a string containing an icon name. - - - - a new #GThemedIcon. - - - - - -Calls the given function for each of the key/value pairs in the -#GHashTable. The function is passed the key and value of each -pair, and the given @user_data parameter. The hash table may not -be modified while iterating over it (you can't add/remove -items). To remove all items matching a predicate, use -g_hash_table_foreach_remove(). - -See g_hash_table_find() for performance caveats for linear -order searches in contrast to g_hash_table_lookup(). - - - - - a #GHashTable. - - - - the function to call for each key/value pair. - - - - user data to pass to the function. - - - - - - - - -Return value: a newly allocated %NULL-terminated string array - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - a locale - - - - return location for the number of returned strings or %NULL - - - - return location for a #GError or %NULL - - - - a newly allocated %NULL-terminated string array -or %NULL if the key isn't found. The string array should be freed -with g_strfreev(). - -Since: 2.6 - - - - - -Guesses whether a Unix mount can be ejected. - - - - - - a #GUnixMountEntry - - - - %TRUE if @mount_entry is deemed to be ejectable. - - - - - -Gets the position of the element containing -the given data (starting from 0). - - - - - - a #GSList - - - - the data to find - - - - the index of the element containing the data, -or -1 if the data is not found - - - - - -Set the pointer at the specified location to %NULL. - - - - - the memory address of the pointer. - - - - - - - - -Initialize the GLib testing framework, e.g. by seeding the -test random number generator, the name for g_get_prgname() -and parsing test related command line args. -So far, the following arguments are understood: -&lt;variablelist&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;-l&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -list test cases available in a test executable. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;--seed=&lt;replaceable&gt;RANDOMSEED&lt;/replaceable&gt;&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -provide a random seed to reproduce test runs using random numbers. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;--verbose&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt;run tests verbosely.&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;-q&lt;/option&gt;, &lt;option&gt;--quiet&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt;run tests quietly.&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;-p &lt;replaceable&gt;TESTPATH&lt;/replaceable&gt;&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -execute all tests matching &lt;replaceable&gt;TESTPATH&lt;/replaceable&gt;. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;-m {perf|slow|thorough|quick}&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -execute tests according to these test modes: -&lt;variablelist&gt; -&lt;varlistentry&gt; -&lt;term&gt;perf&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -performance tests, may take long and report results. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;slow, thorough&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -slow and thorough tests, may take quite long and -maximize coverage. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;quick&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -quick tests, should run really quickly and give good coverage. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;/variablelist&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;--debug-log&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt;debug test logging output.&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;-k&lt;/option&gt;, &lt;option&gt;--keep-going&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt;gtester-specific argument.&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;--GTestLogFD &lt;replaceable&gt;N&lt;/replaceable&gt;&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt;gtester-specific argument.&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;&lt;option&gt;--GTestSkipCount &lt;replaceable&gt;N&lt;/replaceable&gt;&lt;/option&gt;&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt;gtester-specific argument.&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;/variablelist&gt; - -Since: 2.16 - - - - - Address of the @argc parameter of the main() function. -Changed if any arguments were handled. - - - - Address of the @argv parameter of main(). -Any parameters understood by g_test_init() stripped before return. - - - - Reserved for future extension. Currently, you must pass %NULL. - - - - - - - - -Creates a new #GMemoryOutputStream. - -If @data is non-%NULL, the stream will use that for its internal storage. -If @realloc_fn is non-%NULL, it will be used for resizing the internal -storage when necessary. To construct a fixed-size output stream, -pass %NULL as @realloc_fn. -|[ -/&ast; a stream that can grow &ast;/ -stream = g_memory_output_stream_new (NULL, 0, realloc, free); - -/&ast; a fixed-size stream &ast;/ -data = malloc (200); -stream2 = g_memory_output_stream_new (data, 200, NULL, free); -]| - - - - - - pointer to a chunk of memory to use, or %NULL - - - - the size of @data - - - - a function with realloc() semantics to be called when -@data needs to be grown, or %NULL - - - - a function to be called on @data when the stream is finalized, -or %NULL - - - - A newly created #GMemoryOutputStream object. - - - - - -Associates a string value for @key and @locale under @group_name. -If the translation for @key cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - a locale - - - - a string - - - - - - - - - - - - - - - - - -Frees a #GBookmarkFile. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - - - - - -Scans for a match in string for the pattern in @regex. -The @match_options are combined with the match options specified -when the @regex structure was created, letting you have more -flexibility in reusing #GRegex structures. - -Setting @start_position differs from just passing over a shortened -string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern -that begins with any kind of lookbehind assertion, such as "\b". - -A #GMatchInfo structure, used to get information on the match, is -stored in @match_info if not %NULL. Note that if @match_info is -not %NULL then it is created even if the function returns %FALSE, -i.e. you must free it regardless if regular expression actually -matched. - -@string is not copied and is used in #GMatchInfo internally. If -you use any #GMatchInfo method (except g_match_info_free()) after -freeing or modifying @string then the behaviour is undefined. - -To retrieve all the non-overlapping matches of the pattern in -string you can use g_match_info_next(). - -|[ -static void -print_uppercase_words (const gchar *string) -{ -/&ast; Print all uppercase-only words. &ast;/ -GRegex *regex; -GMatchInfo *match_info; -GError *error = NULL; -&nbsp; -regex = g_regex_new ("[A-Z]+", 0, 0, NULL); -g_regex_match_full (regex, string, -1, 0, 0, &amp;match_info, &amp;error); -while (g_match_info_matches (match_info)) -{ -gchar *word = g_match_info_fetch (match_info, 0); -g_print ("Found: %s\n", word); -g_free (word); -g_match_info_next (match_info, &amp;error); -} -g_match_info_free (match_info); -g_regex_unref (regex); -if (error != NULL) -{ -g_printerr ("Error while matching: %s\n", error-&gt;message); -g_error_free (error); -} -} -]| - - - - - - a #GRegex structure from g_regex_new() - - - - the string to scan for matches - - - - the length of @string, or -1 if @string is nul-terminated - - - - starting index of the string to match - - - - match options - - - - pointer to location where to store the #GMatchInfo, -or %NULL if you do not need it - - - - location to store the error occuring, or %NULL to ignore errors - - - - %TRUE is the string matched, %FALSE otherwise - -Since: 2.14 - - - - - -Associates a list of string values for @key under @group_name. -If @key cannot be found then it is created. -If @group_name cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an array of locale string values - - - - number of locale string values in @list - - - - - - - - -Creates a new property of type #GParamSpecOverride. This is used -to direct operations to another paramspec, and will not be directly -useful unless you are implementing a new base type similar to GObject. - -Since: 2.4 - - - - - - the name of the property. - - - - The property that is being overridden - - - - the newly created #GParamSpec - - - - - -Sets the size of the internal buffer to @size. - - - - - a #GBufferedOutputStream. - - - - a #gsize. - - - - - - - - -Starts an asynchronous replacement of @file with the given -@contents of @length bytes. @etag will replace the document's -current entity tag. - -When this operation has completed, @callback will be called with -@user_user data, and the operation can be finalized with -g_file_replace_contents_finish(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If @make_backup is %TRUE, this function will attempt to -make a backup of @file. - - - - - input #GFile. - - - - string of contents to replace the file with. - - - - the length of @contents in bytes. - - - - a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for the @file. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Decrements the reference count of a closure after it was previously -incremented by the same caller. If no other callers are using the -closure, then the closure will be destroyed and freed. - - - - - #GClosure to decrement the reference count on - - - - - - - - -Emits a signal. - -Note that g_signal_emitv() doesn't change @return_value if no handlers are -connected, in contrast to g_signal_emit() and g_signal_emit_valist(). - - - - - argument list for the signal emission. The first -element in the array is a #GValue for the instance the signal is -being emitted on. The rest are any arguments to be passed to the -signal. - - - - the signal id - - - - the detail - - - - Location to store the return value of the signal emission. - - - - - - - - -Gets the value of a #GObject attribute. If the attribute does -not contain a #GObject, %NULL will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GObject associated with the given @attribute, or -%NULL otherwise. - - - - - -Provide a copy of a boxed structure @src_boxed which is of type @boxed_type. - - - - - - The type of @src_boxed. - - - - The boxed structure to be copied. - - - - The newly created copy of the boxed structure. - - - - - -Behaves exactly like g_build_filename(), but takes the path elements -as a string array, instead of varargs. This function is mainly -meant for language bindings. - - - - - - %NULL-terminated array of strings containing the path elements. - - - - a newly-allocated string that must be freed with g_free(). - -Since: 2.8 - - - - - -Finishes an asynchronous file replace operation started with -g_file_replace_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFileOutputStream, or %NULL on error. - - - - - -Removes the node link_ from the list and frees it. -Compare this to g_slist_remove_link() which removes the node -without freeing it. - - - - - - a #GSList - - - - node to delete - - - - the new head of @list - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #GParamSpec* parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Creates a new #GSimpleAsyncResult with a set error. - - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - a #GQuark. - - - - an error code. - - - - a string with format characters. - - - - a list of values to insert into @format. - - - - a #GSimpleAsyncResult. - - - - - -Gets a list of all #GAppInfo s for a given content type. - - - - - - the content type to find a #GAppInfo for - - - - #GList of #GAppInfo s for given @content_type -or %NULL on error. - - - - - -Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - a #GType derived from %G_TYPE_PARAM - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Finishes an unmount operation, see g_file_unmount_mountable() for details. - -Finish an asynchronous unmount operation that was started -with g_file_unmount_mountable(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - %TRUE if the operation finished successfully. %FALSE -otherwise. - - - - - -Frees one #GList element. -It is usually used after g_list_remove_link(). - - - - - a #GList element - - - - - - - - -Return value: the length of the @queue. - - - - - a #GAsyncQueue. - - - - the length of the @queue. - - - - - -Converts a string to a #gint64 value. -This function behaves like the standard strtoll() function -does in the C locale. It does this without actually -changing the current locale, since that would not be -thread-safe. - -This function is typically used when reading configuration -files or other non-user input that should be locale independent. -To handle input from the user you should normally use the -locale-sensitive system strtoll() function. - -If the correct value would cause overflow, %G_MAXINT64 or %G_MININT64 -is returned, and %ERANGE is stored in %errno. If the base is -outside the valid range, zero is returned, and %EINVAL is stored -in %errno. If the string conversion fails, zero is returned, and -@endptr returns @nptr (if @endptr is non-%NULL). - - - - - - the string to convert to a numeric value. - - - - if non-%NULL, it returns the character after -the last character used in the conversion. - - - - to be used for the conversion, 2..36 or 0 - - - - the #gint64 value or zero on error. - -Since: 2.12 - - - - - -Checks if a supported content type can be removed from an application. - - - - - - a #GAppInfo. - - - - %TRUE if it is possible to remove supported -content types from a given @appinfo, %FALSE if not. - - - - - -A wrapper for the POSIX mkdir() function. The mkdir() function -attempts to create a directory with the given name and permissions. -The mode argument is ignored on Windows. - -See your C library manual for more details about mkdir(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - permissions to use for the newly created directory - - - - 0 if the directory was successfully created, -1 if an error -occurred - -Since: 2.6 - - - - - -Returns: the summary - - - - - a #GOptionContext - - - - the summary - -Since: 2.12 - - - - - -Registers @property_id as referring to a property with the -name @name in a parent class or in an interface implemented -by @oclass. This allows this class to &lt;firstterm&gt;override&lt;/firstterm&gt; -a property implementation in a parent class or to provide -the implementation of a property from an interface. - -&lt;note&gt; -Internally, overriding is implemented by creating a property of type -#GParamSpecOverride; generally operations that query the properties of -the object class, such as g_object_class_find_property() or -g_object_class_list_properties() will return the overridden -property. However, in one case, the @construct_properties argument of -the @constructor virtual function, the #GParamSpecOverride is passed -instead, so that the @param_id field of the #GParamSpec will be -correct. For virtually all uses, this makes no difference. If you -need to get the overridden property, you can call -g_param_spec_get_redirect_target(). -&lt;/note&gt; - -Since: 2.4 - - - - - a #GObjectClass - - - - the new property ID - - - - the name of a property registered in a parent class or -in an interface of this class. - - - - - - - - -Determines whether a character is alphabetic (i.e. a letter). -Given some UTF-8 text, obtain a character value with -g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is an alphabetic character - - - - - -Unlinks @link_ so that it will no longer be part of @queue. The link is -not freed. - -@link_ must be part of @queue, - -Since: 2.4 - - - - - a #GQueue - - - - a #GList link that &lt;emphasis&gt;must&lt;/emphasis&gt; be part of @queue - - - - - - - - -Removes a source from its #GMainContext, if any, and mark it as -destroyed. The source cannot be subsequently added to another -context. - - - - - a #GSource - - - - - - - - -Loads a loadable icon. For the asynchronous version of this function, -see g_loadable_icon_load_async(). - - - - - - a #GLoadableIcon. - - - - an integer. - - - - a location to store the type of the loaded icon, %NULL to ignore. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GInputStream to read the icon from. - - - - - -Gets whether the private flag of the bookmark for @uri is set. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the -event that the private flag cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_INVALID_VALUE. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - %TRUE if the private flag is set, %FALSE otherwise. - -Since: 2.12 - - - - - -Set the callback for a source as a #GClosure. - -If the source is not one of the standard GLib types, the @closure_callback -and @closure_marshal fields of the #GSourceFuncs structure must have been -filled in with pointers to appropriate functions. - - - - - the source - - - - a #GClosure - - - - - - - - -Returns: The corresponding #GTypeInterface structure of the parent - - - - - A #GTypeInterface structure. - - - - The corresponding #GTypeInterface structure of the parent -type of the instance type to which @g_iface belongs, or -%NULL if the parent type doesn't conform to the interface. - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gchar arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gchar parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Sets the encoding for the input/output of the channel. -The internal encoding is always UTF-8. The default encoding -for the external file is UTF-8. - -The encoding %NULL is safe to use with binary data. - -The encoding can only be set if one of the following conditions -is true: -&lt;itemizedlist&gt; -&lt;listitem&gt;&lt;para&gt; -The channel was just created, and has not been written to or read -from yet. -&lt;/para&gt;&lt;/listitem&gt; -&lt;listitem&gt;&lt;para&gt; -The channel is write-only. -&lt;/para&gt;&lt;/listitem&gt; -&lt;listitem&gt;&lt;para&gt; -The channel is a file, and the file pointer was just -repositioned by a call to g_io_channel_seek_position(). -(This flushes all the internal buffers.) -&lt;/para&gt;&lt;/listitem&gt; -&lt;listitem&gt;&lt;para&gt; -The current encoding is %NULL or UTF-8. -&lt;/para&gt;&lt;/listitem&gt; -&lt;listitem&gt;&lt;para&gt; -One of the (new API) read functions has just returned %G_IO_STATUS_EOF -(or, in the case of g_io_channel_read_to_end(), %G_IO_STATUS_NORMAL). -&lt;/para&gt;&lt;/listitem&gt; -&lt;listitem&gt;&lt;para&gt; -One of the functions g_io_channel_read_chars() or -g_io_channel_read_unichar() has returned %G_IO_STATUS_AGAIN or -%G_IO_STATUS_ERROR. This may be useful in the case of -%G_CONVERT_ERROR_ILLEGAL_SEQUENCE. -Returning one of these statuses from g_io_channel_read_line(), -g_io_channel_read_line_string(), or g_io_channel_read_to_end() -does &lt;emphasis&gt;not&lt;/emphasis&gt; guarantee that the encoding can -be changed. -&lt;/para&gt;&lt;/listitem&gt; -&lt;/itemizedlist&gt; -Channels which do not meet one of the above conditions cannot call -g_io_channel_seek_position() with an offset of %G_SEEK_CUR, and, if -they are "seekable", cannot call g_io_channel_write_chars() after -calling one of the API "read" functions. - - - - - - a #GIOChannel - - - - the encoding type - - - - location to store an error of type #GConvertError - - - - %G_IO_STATUS_NORMAL if the encoding was successfully set. - - - - - -Frees a #GMarkupParseContext. Can't be called from inside -one of the #GMarkupParser functions. - - - - - - a #GMarkupParseContext - - - - - - - - -Creates and initializes an instance of @type if @type is valid and -can be instantiated. The type system only performs basic allocation -and structure setups for instances: actual instance creation should -happen through functions supplied by the type's fundamental type -implementation. So use of g_type_create_instance() is reserved for -implementators of fundamental types only. E.g. instances of the -#GObject hierarchy should be created via g_object_new() and -&lt;emphasis&gt;never&lt;/emphasis&gt; directly through -g_type_create_instance() which doesn't handle things like singleton -objects or object construction. Note: Do &lt;emphasis&gt;not&lt;/emphasis&gt; -use this function, unless you're implementing a fundamental -type. Also language bindings should &lt;emphasis&gt;not&lt;/emphasis&gt; use -this function but g_object_new() instead. - - - - - - An instantiatable type to create an instance for. - - - - An allocated and initialized instance, subject to further -treatment by the fundamental type implementation. - - - - - -This is just like the standard C qsort() function, but -the comparison routine accepts a user data argument. - - - - - - start of array to sort - - - - elements in the array - - - - size of each element - - - - function to compare elements - - - - data to pass to @compare_func - - - - - - - - -Gets the value of a boolean attribute. If the attribute does not -contain a boolean value, %FALSE will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - the boolean value contained within the attribute. - - - - - -Sets the mount operation's domain. - - - - - a #GMountOperation. - - - - the domain to set. - - - - - - - - -Check whether g_value_transform() is able to transform values -of type @src_type into values of type @dest_type. - - - - - - Source type. - - - - Target type. - - - - %TRUE if the transformation is possible, %FALSE otherwise. - - - - - -Increases the reference count on a #GMainContext object by one. - - - - - - a #GMainContext - - - - the @context that was passed in (since 2.6) - - - - - -Sets a human-readable name for the application. This name should be -localized if possible, and is intended for display to the user. -Contrast with g_set_prgname(), which sets a non-localized name. -g_set_prgname() will be called automatically by gtk_init(), -but g_set_application_name() will not. - -Note that for thread safety reasons, this function can only -be called once. - -The application name will be used in contexts such as error messages, -or when displaying an application's name in the task list. - -Since: 2.2 - - - - - localized name of the application - - - - - - - - -Start a timing test. Call g_test_timer_elapsed() when the task is supposed -to be done. Call this function again to restart the timer. - -Since: 2.16 - - - - - - - - - -Checks if a unix mount point is a loopback device. - - - - - - a #GUnixMountPoint. - - - - %TRUE if the mount point is a loopback. %FALSE otherwise. - - - - - -Takes over the initial ownership of a closure. Each closure is -initially created in a &lt;firstterm&gt;floating&lt;/firstterm&gt; state, which -means that the initial reference count is not owned by any caller. -g_closure_sink() checks to see if the object is still floating, and -if so, unsets the floating state and decreases the reference -count. If the closure is not floating, g_closure_sink() does -nothing. The reason for the existance of the floating state is to -prevent cumbersome code sequences like: -|[ -closure = g_cclosure_new (cb_func, cb_data); -g_source_set_closure (source, closure); -g_closure_unref (closure); // XXX GObject doesn't really need this -]| -Because g_source_set_closure() (and similar functions) take ownership of the -initial reference count, if it is unowned, we instead can write: -|[ -g_source_set_closure (source, g_cclosure_new (cb_func, cb_data)); -]| - -Generally, this function is used together with g_closure_ref(). Ane example -of storing a closure for later notification looks like: -|[ -static GClosure *notify_closure = NULL; -void -foo_notify_set_closure (GClosure *closure) -{ -if (notify_closure) -g_closure_unref (notify_closure); -notify_closure = closure; -if (notify_closure) -{ -g_closure_ref (notify_closure); -g_closure_sink (notify_closure); -} -} -]| - -Because g_closure_sink() may decrement the reference count of a closure -(if it hasn't been called on @closure yet) just like g_closure_unref(), -g_closure_ref() should be called prior to this function. - - - - - #GClosure to decrement the initial reference count on, if it's -still being held - - - - - - - - -Gets a password from the mount operation. - - - - - - a #GMountOperation. - - - - a string containing the password within @op. - - - - - -Resets the given directory. The next call to g_dir_read_name() -will return the first entry again. - - - - - a #GDir* created by g_dir_open() - - - - - - - - -Looks whether the key file has the key @key in the group -@group_name. - - - - - - a #GKeyFile - - - - a group name - - - - a key name - - - - return location for a #GError - - - - %TRUE if @key is a part of @group_name, %FALSE -otherwise. - -Since: 2.6 - - - - - -Seeks in the stream by the given @offset, modified by @type. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a #GSeekable. - - - - a #goffset. - - - - a #GSeekType. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Gets a list of strings containing all the registered content types -known to the system. The list and its data should be freed using -@g_list_foreach(list, g_free, NULL) and @g_list_free(list) - - - - - #GList of the registered content types. - - - - - -Feed some data to the #GMarkupParseContext. The data need not -be valid UTF-8; an error will be signaled if it's invalid. -The data need not be an entire document; you can feed a document -into the parser incrementally, via multiple calls to this function. -Typically, as you receive data from a network connection or file, -you feed each received chunk of data into this function, aborting -the process if an error occurs. Once an error is reported, no further -data may be fed to the #GMarkupParseContext; all errors are fatal. - - - - - - a #GMarkupParseContext - - - - chunk of text to parse - - - - length of @text in bytes - - - - return location for a #GError - - - - %FALSE if an error occurred, %TRUE on success - - - - - -Recursively copies a #GNode and its data. - - - - - - a #GNode - - - - the function which is called to copy the data inside each node, -or %NULL to use the original data. - - - - data to pass to @copy_func - - - - a new #GNode containing copies of the data in @node. - -Since: 2.4 - - - - - -Reads the contents of the symbolic link @filename like the POSIX -readlink() function. The returned string is in the encoding used -for filenames. Use g_filename_to_utf8() to convert it to UTF-8. - - - - - - the symbolic link - - - - return location for a #GError - - - - A newly allocated string with the contents of the symbolic link, -or %NULL if an error occurred. - -Since: 2.4 - - - - - -Given the name of the signal and the type of object it connects to, gets -the signal's identifying integer. Emitting the signal by number is -somewhat faster than using the name each time. - -Also tries the ancestors of the given type. - -See g_signal_new() for details on allowed signal names. - - - - - - the signal's name. - - - - the type that the signal operates on. - - - - the signal's identifying number, or 0 if no signal was found. - - - - - -Decreases the reference count of the asynchronous @queue by 1 and -releases the lock. This function must be called while holding the -@queue's lock. If the reference count went to 0, the @queue will be -destroyed and the memory allocated will be freed. - -@Deprecated: Since 2.8, reference counting is done atomically -so g_async_queue_unref() can be used regardless of the @queue's -lock. - - - - - a #GAsyncQueue. - - - - - - - - -Copies a #GList. - -&lt;note&gt;&lt;para&gt; -Note that this is a "shallow" copy. If the list elements -consist of pointers to data, the pointers are copied but -the actual data is not. -&lt;/para&gt;&lt;/note&gt; - - - - - - a #GList - - - - a copy of @list - - - - - -Starts an asynchronous eject on a mountable. -When this operation has completed, @callback will be called with -@user_user data, and the operation can be finalized with -g_file_eject_mountable_finish(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - flags affecting the operation - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Get the contents of a %G_TYPE_CHAR #GValue. - - - - - - a valid #GValue of type %G_TYPE_CHAR - - - - character contents of @value - - - - - -Incrementally decode a sequence of binary data from its Base-64 stringified -representation. By calling this function multiple times you can convert -data in chunks to avoid having to have the full encoded data in memory. - -The output buffer must be large enough to fit all the data that will -be written to it. Since base64 encodes 3 bytes in 4 chars you need -at least: @len * 3 / 4 bytes. - - - - - - binary input data - - - - max length of @in data to decode - - - - output buffer - - - - Saved state between steps, initialize to 0 - - - - Saved state between steps, initialize to 0 - - - - The number of bytes of output that was written - -Since: 2.12 - - - - - -Converts a string from one character set to another. - -Note that you should use g_iconv() for streaming -conversions&lt;footnoteref linkend="streaming-state"/&gt;. - - - - - - the string to convert - - - - the length of the string, or -1 if the string is -nul-terminated&lt;footnote id="nul-unsafe"&gt; - &lt;para&gt; - Note that some encodings may allow nul bytes to - occur inside strings. In that case, using -1 for - the @len parameter is unsafe. - &lt;/para&gt; - &lt;/footnote&gt;. - - - - name of character set into which to convert @str - - - - character set of @str. - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -#G_CONVERT_ERROR_ILLEGAL_SEQUENCE occurs, the value -stored will the byte offset after the last valid -input sequence. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - If the conversion was successful, a newly allocated -nul-terminated string, which must be freed with -g_free(). Otherwise %NULL and @error will be set. - - - - - -Finds a #GIOExtension for an extension point by name. - - - - - - a #GIOExtensionPoint - - - - the name of the extension to get - - - - the #GIOExtension for @extension_point that has the -given name, or %NULL if there is no extension with that name - - - - - -Adds a file descriptor to the set of file descriptors polled for -this context. This will very seldomly be used directly. Instead -a typical event source will use g_source_add_poll() instead. - - - - - a #GMainContext (or %NULL for the default context) - - - - a #GPollFD structure holding information about a file -descriptor to watch. - - - - the priority for this file descriptor which should be -the same as the priority used for g_source_attach() to ensure that the -file descriptor is polled whenever the results may be needed. - - - - - - - - -Execute the tests within @suite and all nested #GTestSuites. -The test suites to be executed are filtered according to -test path arguments (-p &lt;replaceable&gt;testpath&lt;/replaceable&gt;) -as parsed by g_test_init(). -g_test_run_suite() or g_test_run() may only be called once -in a program. - - - - - - a #GTestSuite - - - - 0 on success - -Since: 2.16 - - - - - -Emitted when a file has been changed. - - - - - a #GFileMonitor. - - - - a #GFile. - - - - a #GFile. - - - - a #GFileMonitorEvent. - - - - - - - - -Checks wether @object has a &lt;link linkend="floating-ref"&gt;floating&lt;/link&gt; -reference. - -Since: 2.10 - - - - - - a #GObject - - - - %TRUE if @object has a floating reference - - - - - -Finishes an asynchronous filesystem info query. See -g_file_query_filesystem_info_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError. - - - - #GFileInfo for given @file or %NULL on error. - - - - - -Compares two strings for byte-by-byte equality and returns %TRUE -if they are equal. It can be passed to g_hash_table_new() as the -@key_equal_func parameter, when using strings as keys in a #GHashTable. - - - - - - a key - - - - a key to compare with @v1 - - - - %TRUE if the two keys match - - - - - -Increments the reference count of the class structure belonging to -@type. This function will demand-create the class if it doesn't -exist already. - - - - - - Type ID of a classed type. - - - - The #GTypeClass structure for the given type ID. - - - - - -Gets the identifier of the given kind for @volume. -See the &lt;link linkend="volume-identifier"&gt;introduction&lt;/link&gt; -for more information about volume identifiers. - - - - - - a #GVolume - - - - the kind of identifier to return - - - - a newly allocated string containing the -requested identfier, or %NULL if the #GVolume -doesn't have this kind of identifier - - - - - -Removes all the elements in @queue. If queue elements contain -dynamically-allocated memory, they should be freed first. - -Since: 2.14 - - - - - a #GQueue - - - - - - - - -Finishes setting a display name started with -g_file_set_display_name_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFile or %NULL on error. - - - - - -Decreases the reference count of a source by one. If the -resulting reference count is zero the source and associated -memory will be destroyed. - - - - - a #GSource - - - - - - - - -Finishes an asynchronous find mount request. -See g_file_find_enclosing_mount_async(). - - - - - - a #GFile - - - - a #GAsyncResult - - - - a #GError - - - - #GMount for given @file or %NULL on error. - - - - - -Emitted when the operation has been cancelled from another thread. - -Can be used by implementations of cancellable operations. This will -be emitted in the thread that tried to cancel the operation, not the -thread the is running the operation. - - - - - a #GCancellable. - - - - - - - - -Copies the file @source to the location specified by @destination -asynchronously. For details of the behaviour, see g_file_copy(). - -If @progress_callback is not %NULL, then that function that will be called -just like in g_file_copy(), however the callback will run in the main loop, -not in the thread that is doing the I/O operation. - -When the operation is finished, @callback will be called. You can then call -g_file_copy_finish() to get the result of the operation. - - - - - input #GFile. - - - - destination #GFile - - - - set of #GFileCopyFlags - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - function to callback with progress information - - - - user data to pass to @progress_callback - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Finds the previous UTF-8 character in the string before @p. - -@p does not have to be at the beginning of a UTF-8 character. No check -is made to see if the character found is actually valid other than -it starts with an appropriate byte. If @p might be the first -character of the string, you must use g_utf8_find_prev_char() instead. - - - - - - a pointer to a position within a UTF-8 encoded string - - - - a pointer to the found character. - - - - - -An implementation of the standard fprintf() function which supports -positional parameters, as specified in the Single Unix Specification. - - - - - - the stream to write to. - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.2 - - - - - -Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double. - - - - - a valid #GValue of type %G_TYPE_DOUBLE - - - - double value to be set - - - - - - - - -Find the next conversion in a printf-style format string. -Partially based on code from printf-parser.c, -Copyright (C) 1999-2000, 2002-2003 Free Software Foundation, Inc. - - - - - - a printf-style format string - - - - location to store a pointer to the character after -the returned conversion. On a %NULL return, returns the -pointer to the trailing NUL in the string - - - - pointer to the next conversion in @format, -or %NULL, if none. - - - - - -Converts a string from UTF-8 to the encoding GLib uses for -filenames. Note that on Windows GLib uses UTF-8 for filenames; -on other platforms, this function indirectly depends on the -&lt;link linkend="setlocale"&gt;current locale&lt;/link&gt;. - - - - - - a UTF-8 encoded string. - - - - the length of the string, or -1 if the string is -nul-terminated. - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -#G_CONVERT_ERROR_ILLEGAL_SEQUENCE occurs, the value -stored will the byte offset after the last valid -input sequence. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - The converted string, or %NULL on an error. - - - - - -Gets the element at the given position in a #GList. - - - - - - a #GList - - - - the position of the element, counting from 0 - - - - the element, or %NULL if the position is off -the end of the #GList - - - - - -Gets an unsigned 32-bit integer contained within the attribute. If the -attribute does not contain an unsigned 32-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - an unsigned 32-bit integer from the attribute. - - - - - -Gets the names of icons from within @icon. - - - - - - a #GThemedIcon. - - - - a list of icon names. - - - - - -Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype. - -Since: 2.12 - - - - - a valid #GValue of type %G_TYPE_GTYPE - - - - #GType to be set - - - - - - - - -Determines if @value will fit inside the size of a pointer value. -This is an internal function introduced mainly for C marshallers. - - - - - - An initialized #GValue structure. - - - - %TRUE if @value will fit inside a pointer value. - - - - - -Check if @drive has any mountable volumes. - - - - - - a #GDrive. - - - - %TRUE if the @drive contains volumes, %FALSE otherwise. - - - - - -Gets a human-readable description of an installed application. - - - - - - a #GAppInfo. - - - - a string containing a description of the -application @appinfo, or %NULL if none. - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, guint arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #guint parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Requests an asynchronous closes of the stream, releasing resources related to it. -When the operation is finished @callback will be called. -You can then call g_input_stream_close_finish() to get the result of the -operation. - -For behaviour details see g_input_stream_close(). - -The asyncronous methods have a default fallback that uses threads to implement -asynchronicity, so they are optional for inheriting classes. However, if you -override one you must override all. - - - - - A #GInputStream. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional cancellable object - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Frees all of the memory used by a #GList. -The freed elements are returned to the slice allocator. - -&lt;note&gt;&lt;para&gt; -If list elements contain dynamically-allocated memory, -they should be freed first. -&lt;/para&gt;&lt;/note&gt; - - - - - a #GList - - - - - - - - -Converts a #gdouble to a string, using the '.' as -decimal point. To format the number you pass in -a printf()-style format string. Allowed conversion -specifiers are 'e', 'E', 'f', 'F', 'g' and 'G'. - -If you just want to want to serialize the value into a -string, use g_ascii_dtostr(). - - - - - - A buffer to place the resulting string in - - - - The length of the buffer. - - - - The printf()-style format to use for the -code to use for converting. - - - - The #gdouble to convert - - - - The pointer to the buffer with the converted string. - - - - - -Emitted when the physical eject button (if any) of a drive have been pressed. - - - - - - a #GDrive. - - - - - - - - -Sets @stream to have actions pending. If the pending flag is -already set or @stream is closed, it will return %FALSE and set -@error. - - - - - - input stream - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if pending was previously unset and is now set. - - - - - -Sets @title as the title of the bookmark for @uri inside the -bookmark file @bookmark. - -If @uri is %NULL, the title of @bookmark is set. - -If a bookmark for @uri cannot be found then it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI or %NULL - - - - a UTF-8 encoded string - - - - - - - - -Creates a new #GHashTable like g_hash_table_new() with a reference count -of 1 and allows to specify functions to free the memory allocated for the -key and value that get called when removing the entry from the #GHashTable. - - - - - - a function to create a hash value from a key. - - - - a function to check two keys for equality. - - - - a function to free the memory allocated for the key -used when removing the entry from the #GHashTable or %NULL if you -don't want to supply such a function. - - - - a function to free the memory allocated for the -value used when removing the entry from the #GHashTable or %NULL if -you don't want to supply such a function. - - - - a new #GHashTable. - - - - - -The buffering state can only be set if the channel's encoding -is %NULL. For any other encoding, the channel must be buffered. - -A buffered channel can only be set unbuffered if the channel's -internal buffers have been flushed. Newly created channels or -channels which have returned %G_IO_STATUS_EOF -not require such a flush. For write-only channels, a call to -g_io_channel_flush () is sufficient. For all other channels, -the buffers may be flushed by a call to g_io_channel_seek_position (). -This includes the possibility of seeking with seek type %G_SEEK_CUR -and an offset of zero. Note that this means that socket-based -channels cannot be set unbuffered once they have had data -read from them. - -On unbuffered channels, it is safe to mix read and write -calls from the new and old APIs, if this is necessary for -maintaining old code. - -The default state of the channel is buffered. - - - - - a #GIOChannel - - - - whether to set the channel buffered or unbuffered - - - - - - - - -Given a position @p with a UTF-8 encoded string @str, find the start -of the previous UTF-8 character starting before @p. Returns %NULL if no -UTF-8 characters are present in @str before @p. - -@p does not have to be at the beginning of a UTF-8 character. No check -is made to see if the character found is actually valid other than -it starts with an appropriate byte. - - - - - - pointer to the beginning of a UTF-8 encoded string - - - - pointer to some position within @str - - - - a pointer to the found character or %NULL. - - - - - -Moves the item pointed to by @src to the position indicated by @dest. -After calling this function @dest will point to the position immediately -after @src. It is allowed for @src and @dest to point into different -sequences. - -Since: 2.14 - - - - - a #GSequenceIter pointing to the item to move - - - - a #GSequenceIter pointing to the position to which -the item is moved. - - - - - - - - -Deletes a file. If the @file is a directory, it will only be deleted if it -is empty. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the file was deleted. %FALSE otherwise. - - - - - -This function is a variant of g_dgettext() which supports -a disambiguating message context. GNU gettext uses the -'\004' character to separate the message context and -message id in @msgctxtid. -If 0 is passed as @msgidoffset, this function will fall back to -trying to use the deprecated convention of using "|" as a separation -character. - -This uses g_dgettext() internally. See that functions for differences -with dgettext() proper. - -Applications should normally not use this function directly, -but use the C_() macro for translations with context. - - - - - - the translation domain to use, or %NULL to use -the domain set with textdomain() - - - - a combined message context and message id, separated -by a \004 character - - - - the offset of the message id in @msgctxid - - - - The translated string - -Since: 2.16 - - - - - -Sets the time the bookmark for @uri was added into @bookmark. - -If no bookmark for @uri is found then it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - a timestamp or -1 to use the current time - - - - - - - - -Determines whether this thread holds the (recursive) -ownership of this #GMaincontext. This is useful to -know before waiting on another thread that may be -blocking to get ownership of @context. - - - - - - a #GMainContext - - - - %TRUE if current thread is owner of @context. - -Since: 2.10 - - - - - -Finishes a stream write operation. - - - - - - a #GOutputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #gssize containing the number of bytes written to the stream. - - - - - -Creates a new empty #GMemoryInputStream. - - - - - - a new #GInputStream - - - - - -Sets the callback function storing the data as a refcounted callback -"object". This is used internally. Note that calling -g_source_set_callback_indirect() assumes -an initial reference count on @callback_data, and thus -@callback_funcs-&gt;unref will eventually be called once more -than @callback_funcs-&gt;ref. - - - - - the source - - - - pointer to callback data "object" - - - - functions for reference counting @callback_data -and getting the callback and data - - - - - - - - -Creates a new option context. - -The @parameter_string can serve multiple purposes. It can be used -to add descriptions for "rest" arguments, which are not parsed by -the #GOptionContext, typically something like "FILES" or -"FILE1 FILE2...". If you are using #G_OPTION_REMAINING for -collecting "rest" arguments, GLib handles this automatically by -using the @arg_description of the corresponding #GOptionEntry in -the usage summary. - -Another usage is to give a short summary of the program -functionality, like " - frob the strings", which will be displayed -in the same line as the usage. For a longer description of the -program functionality that should be displayed as a paragraph -below the usage line, use g_option_context_set_summary(). - -Note that the @parameter_string is translated using the -function set with g_option_context_set_translate_func(), so -it should normally be passed untranslated. - - - - - - a string which is displayed in -the first line of &lt;option&gt;--help&lt;/option&gt; output, after the -usage summary -&lt;literal&gt;&lt;replaceable&gt;programname&lt;/replaceable&gt; [OPTION...]&lt;/literal&gt; - - - - a newly created #GOptionContext, which must be -freed with g_option_context_free() after use. - -Since: 2.6 - - - - - -Reads an unsigned 8-bit/1-byte value from @stream. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 8-bit/1-byte value read from the @stream or %0 -if an error occurred. - - - - - -Request information for a number of files from the enumerator asynchronously. -When all i/o for the operation is finished the @callback will be called with -the requested information. - -The callback can be called with less than @num_files files in case of error -or at the end of the enumerator. In case of a partial error the callback will -be called with any succeeding items and no error, and on the next request the -error will be reported. If a request is cancelled the callback will be called -with %G_IO_ERROR_CANCELLED. - -During an async request no other sync and async calls are allowed, and will -result in %G_IO_ERROR_PENDING errors. - -Any outstanding i/o request with higher priority (lower numerical value) will -be executed before an outstanding request with lower priority. Default -priority is %G_PRIORITY_DEFAULT. - - - - - a #GFileEnumerator. - - - - the number of file info objects to request - - - - the &lt;link linkend="gioscheduler"&gt;io priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Looks whether the key file has the group @group_name. - - - - - - a #GKeyFile - - - - a group name - - - - %TRUE if @group_name is a part of @key_file, %FALSE -otherwise. -Since: 2.6 - - - - - -Ensures that the contents of @value comply with the specifications -set out by @pspec. For example, a #GParamSpecInt might require -that integers stored in @value may not be smaller than -42 and not be -greater than +42. If @value contains an integer outside of this range, -it is modified accordingly, so the resulting value will fit into the -range -42 .. +42. - - - - - - a valid #GParamSpec - - - - a #GValue of correct type for @pspec - - - - whether modifying @value was necessary to ensure validity - - - - - -Finds the first signal handler that matches certain selection criteria. -The criteria mask is passed as an OR-ed combination of #GSignalMatchType -flags, and the criteria values are passed as arguments. -The match @mask has to be non-0 for successful matches. -If no handler was found, 0 is returned. - - - - - - The instance owning the signal handler to be found. - - - - Mask indicating which of @signal_id, @detail, @closure, @func -and/or @data the handler has to match. - - - - Signal the handler has to be connected to. - - - - Signal detail the handler has to be connected to. - - - - The closure the handler will invoke. - - - - The C closure callback of the handler (useless for non-C closures). - - - - The closure data of the handler's closure. - - - - A valid non-0 signal handler id for a successful match. - - - - - -Determines whether a character is alphanumeric. -Given some UTF-8 text, obtain a character value -with g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is an alphanumeric character - - - - - -A wrapper for the POSIX utime() function. The utime() function -sets the access and modification timestamps of a file. - -See your C library manual for more details about how utime() works -on your system. - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - a pointer to a struct utimbuf. - - - - 0 if the operation was successful, -1 if an error -occurred - -Since: 2.18 - - - - - -Finishes remounting a mount. If any errors occurred during the operation, -@error will be set to contain the errors and %FALSE will be returned. - - - - - - a #GMount. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the mount was successfully remounted. %FALSE otherwise. - - - - - -Private helper function to aid implementation of the G_TYPE_CHECK_INSTANCE() -macro. - -@Returns: #TRUE if @instance is valid, #FALSE otherwise. - - - - - A valid #GTypeInstance structure. - - - - - - - - -Appends @len bytes of @val to @string. Because @len is -provided, @val may contain embedded nuls and need not -be nul-terminated. - -Since this function does not stop at nul bytes, it is -the caller's responsibility to ensure that @val has at -least @len addressable bytes. - - - - - - a #GString - - - - bytes to append - - - - number of bytes of @val to use - - - - @string - - - - - -Returns: %TRUE if a handler is connected to the signal, %FALSE - - - - - the object whose signal handlers are sought. - - - - the signal id. - - - - the detail. - - - - whether blocked handlers should count as match. - - - - %TRUE if a handler is connected to the signal, %FALSE -otherwise. - - - - - -Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - a #GType derived from %G_TYPE_ENUM - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Determines the byte ordering that is used when writing -multi-byte entities (such as integers) to the stream. - - - - - - - - - -Set the contents of a %G_TYPE_LONG #GValue to @v_long. - - - - - a valid #GValue of type %G_TYPE_LONG - - - - long integer value to be set - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gdouble parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Converts a string containing an ISO 8601 encoded date and time -to a #GTimeVal and puts it into @time_. - - - - - - an ISO 8601 encoded date string - - - - a #GTimeVal - - - - %TRUE if the conversion was successful. - -Since: 2.12 - - - - - -Pushes the @data into the @queue. @data must not be %NULL. - - - - - a #GAsyncQueue. - - - - @data to push into the @queue. - - - - - - - - -Sets an opaque, named pointer on a #GParamSpec. The name is -specified through a #GQuark (retrieved e.g. via -g_quark_from_static_string()), and the pointer can be gotten back -from the @pspec with g_param_spec_get_qdata(). Setting a -previously set user data pointer, overrides (frees) the old pointer -set, using %NULL as pointer essentially removes the data stored. - - - - - the #GParamSpec to set store a user data pointer - - - - a #GQuark, naming the user data pointer - - - - an opaque user data pointer - - - - - - - - -Formats a string according to @format and -prefix it to an existing error message. If -@err is %NULL (ie: no error variable) then do -nothing. - -If *@err is %NULL (ie: an error variable is -present but there is no error condition) then -also do nothing. Whether or not it makes -sense to take advantage of this feature is up -to you. - -Since: 2.16 - - - - - a return location for a #GError, or %NULL - - - - printf()-style format string - - - - arguments to @format - - - - - - - - -Sets the operation result to a boolean within the asynchronous result. - - - - - a #GSimpleAsyncResult. - - - - a #gboolean. - - - - - - - - -Get the contents of a %G_TYPE_ENUM #GValue. - - - - - - a valid #GValue whose type is derived from %G_TYPE_ENUM - - - - enum contents of @value - - - - - -Determines if a character is a hexidecimal digit. - - - - - - a Unicode character. - - - - %TRUE if the character is a hexadecimal digit - - - - - -Frees all strings contained within the #GStringChunk. -After calling g_string_chunk_clear() it is not safe to -access any of the strings which were contained within it. - -Since: 2.14 - - - - - a #GStringChunk - - - - - - - - -Checks if the @drive has media. Note that the OS may not be polling -the drive for media changes; see g_drive_is_media_check_automatic() -for more details. - - - - - - a #GDrive. - - - - %TRUE if @drive has media, %FALSE otherwise. - - - - - -Adds the second #GList onto the end of the first #GList. -Note that the elements of the second #GList are not copied. -They are used directly. - - - - - - a #GList - - - - the #GList to add to the end of the first #GList - - - - the start of the new #GList - - - - - -Sets the operation result within the asynchronous result to -the given @op_res. - - - - - a #GSimpleAsyncResult. - - - - a #gssize. - - - - - - - - -Finishes an asynchronous icon load started in g_loadable_icon_load_async(). - - - - - - a #GLoadableIcon. - - - - a #GAsyncResult. - - - - a location to store the type of the loaded icon, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #GInputStream to read the icon from. - - - - - -Checks if a file info structure has an attribute named @attribute. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - %TRUE if @Ginfo has an attribute named @attribute, -%FALSE otherwise. - - - - - -Get a list of mountable volumes for @drive. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GDrive. - - - - #GList containing any #GVolume&lt;!----&gt;s on the given @drive. - - - - - -Decreases the reference count of the asynchronous @queue by 1. If -the reference count went to 0, the @queue will be destroyed and the -memory allocated will be freed. So you are not allowed to use the -@queue afterwards, as it might have disappeared. You do not need to -hold the lock to call this function. - - - - - a #GAsyncQueue. - - - - - - - - -Sets the name of the desktop that the application is running in. -This is used by g_app_info_should_show() to evaluate the -&lt;literal&gt;OnlyShowIn&lt;/literal&gt; and &lt;literal&gt;NotShowIn&lt;/literal&gt; -desktop entry fields. - -The &lt;ulink url="http://standards.freedesktop.org/menu-spec/latest/"&gt;Desktop -Menu specification&lt;/ulink&gt; recognizes the following: -&lt;simplelist&gt; -&lt;member&gt;GNOME&lt;/member&gt; -&lt;member&gt;KDE&lt;/member&gt; -&lt;member&gt;ROX&lt;/member&gt; -&lt;member&gt;XFCE&lt;/member&gt; -&lt;member&gt;Old&lt;/member&gt; -&lt;/simplelist&gt; - -Should be called only once; subsequent calls are ignored. - - - - - a string specifying what desktop this is - - - - - - - - -A wrapper for the POSIX stat() function. The stat() function -Returns: 0 if the information was successfully retrieved, -1 if an error - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - a pointer to a &lt;structname&gt;stat&lt;/structname&gt; struct, which -will be filled with the file information - - - - 0 if the information was successfully retrieved, -1 if an error -occurred - -Since: 2.6 - - - - - -Creates a new #GCancellable object. - -Applications that want to start one or more operations -that should be cancellable should create a #GCancellable -and pass it to the operations. - -One #GCancellable can be used in multiple consecutive -operations, but not in multiple concurrent operations. - - - - - - a #GCancellable. - - - - - -Makes a duplicate of a file attribute info list. - - - - - - a #GFileAttributeInfoList to duplicate. - - - - a copy of the given @list. - - - - - -Creates a new timeout source. - -The source will not initially be associated with any #GMainContext -and must be added to one with g_source_attach() before it will be -executed. - -The scheduling granularity/accuracy of this timeout source will be -in seconds. - - - - - - the timeout interval in seconds - - - - the newly-created timeout source - -Since: 2.14 - - - - - -Gets the icon for @mount. - - - - - - a #GMount. - - - - a #GIcon. - - - - - -Emits the #GMountOperation::reply signal. - - - - - a #GMountOperation - - - - a #GMountOperationResult - - - - - - - - -Creates a new themed icon for @iconname, and all the names -that can be created by shortening @iconname at '-' characters. - -In the following example, @icon1 and @icon2 are equivalent: -|[ -const char *names[] = { -"gnome-dev-cdrom-audio", -"gnome-dev-cdrom", -"gnome-dev", -"gnome" -}; - -icon1 = g_themed_icon_new_from_names (names, 4); -icon2 = g_themed_icon_new_with_default_fallbacks ("gnome-dev-cdrom-audio"); -]| - - - - - - a string containing an icon name - - - - a new #GThemedIcon. - - - - - -Creates a directory. Note that this will only create a child directory of -the immediate parent directory of the path or URI given by the #GFile. To -recursively create directories, see g_file_make_directory_with_parents(). -This function will fail if the parent directory does not exist, setting -@error to %G_IO_ERROR_NOT_FOUND. If the file system doesn't support creating -directories, this function will fail, setting @error to -%G_IO_ERROR_NOT_SUPPORTED. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE on successful creation, %FALSE otherwise. - - - - - -Specifies a function to be called at normal program termination. - -Since GLib 2.8.2, on Windows g_atexit() actually is a preprocessor -macro that maps to a call to the atexit() function in the C -library. This means that in case the code that calls g_atexit(), -i.e. atexit(), is in a DLL, the function will be called when the -DLL is detached from the program. This typically makes more sense -than that the function is called when the GLib DLL is detached, -which happened earlier when g_atexit() was a function in the GLib -DLL. - -The behaviour of atexit() in the context of dynamically loaded -modules is not formally specified and varies wildly. - -On POSIX systems, calling g_atexit() (or atexit()) in a dynamically -loaded module which is unloaded before the program terminates might -well cause a crash at program exit. - -Some POSIX systems implement atexit() like Windows, and have each -dynamically loaded module maintain an own atexit chain that is -called when the module is unloaded. - -On other POSIX systems, before a dynamically loaded module is -unloaded, the registered atexit functions (if any) residing in that -module are called, regardless where the code that registered them -resided. This is presumably the most robust approach. - -As can be seen from the above, for portability it's best to avoid -calling g_atexit() (or atexit()) except in the main executable of a -program. - - - - - the function to call on normal program termination. - - - - - - - - -Converts a #gdouble to a string, using the '.' as -decimal point. - -This functions generates enough precision that converting -the string back using g_ascii_strtod() gives the same machine-number -(on machines with IEEE compatible 64bit doubles). It is -guaranteed that the size of the resulting string will never -be larger than @G_ASCII_DTOSTR_BUF_SIZE bytes. - - - - - - A buffer to place the resulting string in - - - - The length of the buffer. - - - - The #gdouble to convert - - - - The pointer to the buffer with the converted string. - - - - - -Reads data into @stream's buffer asynchronously, up to @count size. -@io_priority can be used to prioritize reads. For the synchronous -version of this function, see g_buffered_input_stream_fill(). - - - - - #GBufferedInputStream. - - - - a #gssize. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object - - - - a #GAsyncReadyCallback. - - - - a #gpointer. - - - - - - - - -Hook up a new test case at @testpath, similar to g_test_add_func(). -A fixture data structure with setup and teardown function may be provided -though, similar to g_test_create_case(). -g_test_add() is implemented as a macro, so that the fsetup(), ftest() and -fteardown() callbacks can expect a @Fixture pointer as first argument in -a type safe manner. - -Since: 2.16 - - - - - The test path for a new test case. - - - - The type of a fixture data structure. - - - - Data argument for the test functions. - - - - The function to set up the fixture data. - - - - The actual test function. - - - - The function to tear down the fixture data. - - - - - - - - -Disconnects all handlers on an instance that match a certain -selection criteria. The criteria mask is passed as an OR-ed -combination of #GSignalMatchType flags, and the criteria values are -passed as arguments. Passing at least one of the -%G_SIGNAL_MATCH_CLOSURE, %G_SIGNAL_MATCH_FUNC or -%G_SIGNAL_MATCH_DATA match flags is required for successful -matches. If no handlers were found, 0 is returned, the number of -disconnected handlers otherwise. - - - - - - The instance to remove handlers from. - - - - Mask indicating which of @signal_id, @detail, @closure, @func -and/or @data the handlers have to match. - - - - Signal the handlers have to be connected to. - - - - Signal detail the handlers have to be connected to. - - - - The closure the handlers will invoke. - - - - The C closure callback of the handlers (useless for non-C closures). - - - - The closure data of the handlers' closures. - - - - The number of handlers that matched. - - - - - -Fork the current test program to execute a test case that might -not return or that might abort. The forked test case is aborted -and considered failing if its run time exceeds @usec_timeout. - -The forking behavior can be configured with the #GTestTrapFlags flags. - -In the following example, the test code forks, the forked child -process produces some sample output and exits successfully. -The forking parent process then asserts successful child program -termination and validates child program outputs. - -|[ -static void -test_fork_patterns (void) -{ -if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDOUT | G_TEST_TRAP_SILENCE_STDERR)) -{ -g_print ("some stdout text: somagic17\n"); -g_printerr ("some stderr text: semagic43\n"); -exit (0); /&ast; successful test run &ast;/ -} -g_test_trap_assert_passed(); -g_test_trap_assert_stdout ("*somagic17*"); -g_test_trap_assert_stderr ("*semagic43*"); -} -]| - -This function is implemented only on Unix platforms. - - - - - - Timeout for the forked test in micro seconds. - - - - Flags to modify forking behaviour. - - - - %TRUE for the forked child and %FALSE for the executing parent process. - -Since: 2.16 - - - - - -Request an asynchronous write of @count bytes from @buffer into -the stream. When the operation is finished @callback will be called. -You can then call g_output_stream_write_finish() to get the result of the -operation. - -During an async request no other sync and async calls are allowed, -and will result in %G_IO_ERROR_PENDING errors. - -A value of @count larger than %G_MAXSSIZE will cause a -%G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes written will be passed to the -@callback. It is not an error if this is not the same as the -requested size, as it can happen e.g. on a partial I/O error, -but generally we try to write as many bytes as requested. - -Any outstanding I/O request with higher priority (lower numerical -value) will be executed before an outstanding request with lower -priority. Default priority is %G_PRIORITY_DEFAULT. - -The asyncronous methods have a default fallback that uses threads -to implement asynchronicity, so they are optional for inheriting -classes. However, if you override one you must override all. - -For the synchronous, blocking version of this function, see -g_output_stream_write(). - - - - - A #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Finds a source with the given user data for the callback. If -multiple sources exist with the same user data, the first -one found will be returned. - - - - - - a #GMainContext - - - - the user_data for the callback. - - - - the source, if one was found, otherwise %NULL - - - - - -See g_spawn_async_with_pipes() for a full description; this function -simply calls the g_spawn_async_with_pipes() without any pipes. - -You should call g_spawn_close_pid() on the returned child process -reference when you don't need it any more. - -&lt;note&gt;&lt;para&gt; -If you are writing a GTK+ application, and the program you -are spawning is a graphical application, too, then you may -want to use gdk_spawn_on_screen() instead to ensure that -the spawned program opens its windows on the right screen. -&lt;/para&gt;&lt;/note&gt; - -&lt;note&gt;&lt;para&gt; Note that the returned @child_pid on Windows is a -handle to the child process and not its identifier. Process handles -and process identifiers are different concepts on Windows. -&lt;/para&gt;&lt;/note&gt; - - - - - - child's current working directory, or %NULL to inherit parent's - - - - child's argument vector - - - - child's environment, or %NULL to inherit parent's - - - - flags from #GSpawnFlags - - - - function to run in the child just before exec() - - - - user data for @child_setup - - - - return location for child process reference, or %NULL - - - - return location for error - - - - %TRUE on success, %FALSE if error is set - - - - - -Looks up the #GParamSpec for a property of a class. - - - - - - a #GObjectClass - - - - the name of the property to look up - - - - the #GParamSpec for the property, or %NULL if the class -doesn't have a property of that name - - - - - -Appends a formatted string onto the end of a #GString. -This function is similar to g_string_sprintf() except that -the text is appended to the #GString. - -Deprecated: This function has been renamed to g_string_append_printf() - - - - - a #GString - - - - the string format. See the sprintf() documentation - - - - the parameters to insert into the format string - - - - - - - - -Increments the reference count on a closure to force it staying -alive while the caller holds a pointer to it. - - - - - - #GClosure to increment the reference count on - - - - The @closure passed in, for convenience - - - - - -Sets the seed for the global random number generator, which is used -by the &lt;function&gt;g_random_*&lt;/function&gt; functions, to @seed. - - - - - a value to reinitialize the global random number generator. - - - - - - - - -Creates a new #GOptionGroup. - - - - - - the name for the option group, this is used to provide -help for the options in this group with &lt;option&gt;--help-&lt;/option&gt;@name - - - - a description for this group to be shown in -&lt;option&gt;--help&lt;/option&gt;. This string is translated using the translation -domain or translation function of the group - - - - a description for the &lt;option&gt;--help-&lt;/option&gt;@name option. -This string is translated using the translation domain or translation function -of the group - - - - user data that will be passed to the pre- and post-parse hooks, -the error hook and to callbacks of %G_OPTION_ARG_CALLBACK options, or %NULL - - - - a function that will be called to free @user_data, or %NULL - - - - a newly created option group. It should be added -to a #GOptionContext or freed with g_option_group_free(). - -Since: 2.6 - - - - - -Gets the domain of the mount operation. - - - - - - a #GMountOperation. - - - - a string set to the domain. - - - - - -Gets a display name for a file. - - - - - - a #GFileInfo. - - - - a string containing the display name. - - - - - -Return value: the maximal number of unused threads - - - - - the maximal number of unused threads - - - - - -Compares the two #gint values being pointed to and returns -%TRUE if they are equal. -It can be passed to g_hash_table_new() as the @key_equal_func -parameter, when using pointers to integers as keys in a #GHashTable. - - - - - - a pointer to a #gint key. - - - - a pointer to a #gint key to compare with @v1. - - - - %TRUE if the two keys match. - - - - - - - - - - a new #GVolumeMonitor. - - - - - -Emits a signal. - -Note that g_signal_emit() resets the return value to the default -if no handlers are connected, in contrast to g_signal_emitv(). - - - - - the instance the signal is being emitted on. - - - - the signal id - - - - the detail - - - - parameters to be passed to the signal, followed by a -location for the return value. If the return type of the signal -is #G_TYPE_NONE, the return value location can be omitted. - - - - - - - - -Gets the drive for the @mount. - -This is a convenience method for getting the #GVolume and then -using that object to get the #GDrive. - - - - - - a #GMount. - - - - a #GDrive or %NULL if @mount is not associated with a volume or a drive. - - - - - -Sorts @queue using @func. - -This function will lock @queue before it sorts the queue and unlock -it when it is finished. - -If you were sorting a list of priority numbers to make sure the -lowest priority would be at the top of the queue, you could use: -|[ -gint32 id1; -gint32 id2; - -id1 = GPOINTER_TO_INT (element1); -id2 = GPOINTER_TO_INT (element2); - -return (id1 &gt; id2 ? +1 : id1 == id2 ? 0 : -1); -]| - -Since: 2.10 - - - - - a #GAsyncQueue - - - - the #GCompareDataFunc is used to sort @queue. This -function is passed two elements of the @queue. The function -should return 0 if they are equal, a negative value if the -first element should be higher in the @queue or a positive -value if the first element should be lower in the @queue than -the second element. - - - - user data passed to @func - - - - - - - - -Returns: %TRUE if @file_name is an absolute path. - - - - - a file name. - - - - %TRUE if @file_name is an absolute path. - - - - - -Prepends @len bytes of @val to @string. -Because @len is provided, @val may contain -embedded nuls and need not be nul-terminated. - -Since this function does not stop at nul bytes, -it is the caller's responsibility to ensure that -@val has at least @len addressable bytes. - - - - - - a #GString - - - - bytes to prepend - - - - number of bytes in @val to prepend - - - - @string - - - - - -Overwrites part of a string, lengthening it if necessary. -This function will work with embedded nuls. - - - - - - a #GString - - - - the position at which to start overwriting - - - - the string that will overwrite the @string starting at @pos - - - - the number of bytes to write from @val - - - - @string - -Since: 2.14 - - - - - - - - - - File Descriptor. - - - - #GFileInputStream for the given file descriptor. - - - - - -Checks to see if the main loop is currently being run via g_main_loop_run(). - - - - - - a #GMainLoop. - - - - %TRUE if the mainloop is currently being run. - - - - - -Creates a new #GString, initialized with the given string. - - - - - - the initial text to copy into the string - - - - the new #GString - - - - - -Removes a source from the default main loop context given the user -data for the callback. If multiple sources exist with the same user -data, only one will be destroyed. - - - - - - the user_data for the callback. - - - - %TRUE if a source was found and removed. - - - - - -Checks equality of two given #GFile&lt;!-- --&gt;s. Note that two -#GFile&lt;!-- --&gt;s that differ can still refer to the same -file on the filesystem due to various forms of filename -aliasing. - -This call does no blocking i/o. - - - - - - the first #GFile. - - - - the second #GFile. - - - - %TRUE if @file1 and @file2 are equal. -%FALSE if either is not a #GFile. - - - - - -Asynchronously sets the attributes of @file with @info. - -For more details, see g_file_set_attributes_from_info() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_set_attributes_finish() to get the result of the operation. - - - - - input #GFile. - - - - a #GFileInfo. - - - - a #GFileQueryInfoFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback. - - - - a #gpointer. - - - - - - - - -Returns: %TRUE if automatic help generation is turned on. - - - - - a #GOptionContext - - - - %TRUE if automatic help generation is turned on. - -Since: 2.6 - - - - - - - - - - a #GVolumeMonitor. - - - - a #GUnixMountPoint. - - - - a #GUnixVolume for the given #GUnixMountPoint. - - - - - -Removes @key in @group_name from the key file. - - - - - - a #GKeyFile - - - - a group name - - - - a key name to remove - - - - return location for a #GError or %NULL - - - - %TRUE if the key was removed, %FALSE otherwise - -Since: 2.6 - - - - - -Gets a child of @file with basename equal to @name. - -Note that the file with that specific name might not exist, but -you can still have a #GFile that points to it. You can use this -for instance to create that file. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string containing the child's basename. - - - - a #GFile to a child specified by @name. - - - - - -Requests an asynchronous close of the stream, releasing resources -related to it. When the operation is finished @callback will be -called. You can then call g_output_stream_close_finish() to get -the result of the operation. - -For behaviour details see g_output_stream_close(). - -The asyncronous methods have a default fallback that uses threads -to implement asynchronicity, so they are optional for inheriting -classes. However, if you override one you must override all. - - - - - A #GOutputStream. - - - - the io priority of the request. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - optional cancellable object - - - - - - - - -Creates a new empty #GBookmarkFile object. - -Use g_bookmark_file_load_from_file(), g_bookmark_file_load_from_data() -or g_bookmark_file_load_from_data_dirs() to read an existing bookmark -file. - - - - - - an empty #GBookmarkFile - -Since: 2.12 - - - - - -Reads an unsigned 64-bit/8-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 64-bit/8-byte read from @stream or %0 if -an error occurred. - - - - - -Removes and returns the link at the given position. - - - - - - a #GQueue - - - - the link's position - - - - The @n'th link, or %NULL if @n is off the end of @queue. - -Since: 2.4 - - - - - -Guesses the content type based on example data. If the function is -uncertain, @result_uncertain will be set to %TRUE. - - - - - - a string. - - - - a stream of data. - - - - the size of @data. - - - - a flag indicating the certainty of the -result. - - - - a string indicating a guessed content type for the -given data. - - - - - -Pops data from the @queue. This function blocks until data become -available. - - - - - - a #GAsyncQueue. - - - - data from the queue. - - - - - -Copies a nul-terminated string into the dest buffer, include the -trailing nul, and return a pointer to the trailing nul byte. -This is useful for concatenating multiple strings together -without having to repeatedly scan for the end. - - - - - - destination buffer. - - - - source string. - - - - a pointer to trailing nul byte. - - - - - -Inserts a byte into a #GString, expanding it if necessary. - - - - - - a #GString - - - - the position to insert the byte - - - - the byte to insert - - - - @string - - - - - -Obtain the list of attribute namespaces where new attributes -can be created by a user. An example of this is extended -attributes (in the "xattr" namespace). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileAttributeInfoList describing the writable namespaces. -When you are done with it, release it with g_file_attribute_info_list_unref() - - - - - -Return value: the number of unprocessed tasks - - - - - a #GThreadPool - - - - the number of unprocessed tasks - - - - - -Sets @description as the description of the bookmark for @uri. - -If @uri is %NULL, the description of @bookmark is set. - -If a bookmark for @uri cannot be found then it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI or %NULL - - - - a string - - - - - - - - -Connects a closure to a signal for a particular object. - - - - - - the instance to connect to. - - - - a string of the form "signal-name::detail". - - - - the closure to connect. - - - - whether the handler should be called before or after the -default handler of the signal. - - - - the handler id - - - - - -Sets a function to be called at regular intervals, with @priority. -The function is called repeatedly until it returns %FALSE, at which -point the timeout is automatically destroyed and the function will -not be called again. - -Unlike g_timeout_add(), this function operates at whole second granularity. -The initial starting point of the timer is determined by the implementation -and the implementation is expected to group multiple timers together so that -they fire all at the same time. -To allow this grouping, the @interval to the first timer is rounded -and can deviate up to one second from the specified interval. -Subsequent timer iterations will generally run at the specified interval. - -Note that timeout functions may be delayed, due to the processing of other -event sources. Thus they should not be relied on for precise timing. -After each call to the timeout function, the time of the next -timeout is recalculated based on the current time and the given @interval - -If you want timing more precise than whole seconds, use g_timeout_add() -instead. - -The grouping of timers to fire at the same time results in a more power -and CPU efficient behavior so if your timer is in multiples of seconds -and you don't require the first timer exactly one second from now, the -use of g_timeout_add_seconds() is preferred over g_timeout_add(). - - - - - - the priority of the timeout source. Typically this will be in -the range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH. - - - - the time between calls to the function, in seconds - - - - function to call - - - - data to pass to @function - - - - function to call when the timeout is removed, or %NULL - - - - the ID (greater than 0) of the event source. - -Since: 2.14 - - - - - -Inserts a copy of a string into a #GString, -expanding it if necessary. - - - - - - a #GString - - - - the position to insert the copy of the string - - - - the string to insert - - - - @string - - - - - -Pops data from the @queue. This function blocks until data become -available. This function must be called while holding the @queue's -lock. - - - - - - a #GAsyncQueue. - - - - data from the queue. - - - - - -Remove the value at position @index_ from @value_array. - - - - - - #GValueArray to remove an element from - - - - position of value to remove, must be &lt; value_array-&gt;n_values - - - - the #GValueArray passed in as @value_array - - - - - -This function essentially limits the life time of the @closure to -the life time of the object. That is, when the object is finalized, -the @closure is invalidated by calling g_closure_invalidate() on -it, in order to prevent invocations of the closure with a finalized -(nonexisting) object. Also, g_object_ref() and g_object_unref() are -added as marshal guards to the @closure, to ensure that an extra -reference count is held on @object during invocation of the -@closure. Usually, this function will be called on closures that -use this @object as closure data. - - - - - GObject restricting lifetime of @closure - - - - GClosure to watch - - - - - - - - -Return value: Whether the channel will be closed on the final unref of - - - - - a #GIOChannel. - - - - Whether the channel will be closed on the final unref of -the GIOChannel data structure. - - - - - -Returns: %TRUE if monitor is canceled. %FALSE otherwise. - - - - - a #GFileMonitor - - - - %TRUE if monitor is canceled. %FALSE otherwise. - - - - - -Get the contents of a %G_TYPE_GTYPE #GValue. - -Since: 2.12 - - - - - - a valid #GValue of type %G_TYPE_GTYPE - - - - the #GType stored in @value - - - - - -Gets the scheme portion of a URI string. RFC 3986 decodes the scheme as: -&lt;programlisting&gt; -URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] -&lt;/programlisting&gt; -Common schemes include "file", "http", "svn+ssh", etc. - - - - - - a valid URI. - - - - The "Scheme" component of the URI, or %NULL on error. -The returned string should be freed when no longer needed. - -Since: 2.16 - - - - - -Classifies a Unicode character by type. - - - - - - a Unicode character - - - - the type of the character. - - - - - -Tries to set all attributes in the #GFileInfo on the target values, -not stopping on the first error. - -If there is any error during this operation then @error will be set to -the first error. Error on particular fields are flagged by setting -the "status" field in the attribute value to -%G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can also detect -further errors. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a #GFileInfo. - - - - #GFileQueryInfoFlags - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if there was any error, %FALSE otherwise. - - - - - -Returns: #GRegex object used in @match_info - - - - - a #GMatchInfo - - - - #GRegex object used in @match_info - -Since: 2.14 - - - - - -Get the contents of a %G_TYPE_BOXED derived #GValue. - - - - - - a valid #GValue of %G_TYPE_BOXED derived type - - - - boxed contents of @value - - - - - -Asynchronously creates a new file and returns an output stream for writing to it. -The file must not already exist. - -For more details, see g_file_create() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_create_finish() to get the result of the operation. - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Finishes an asynchronous stream splice operation. - - - - - - a #GOutputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - a #gssize of the number of bytes spliced. - - - - - -Gets the path for @descendant relative to @parent. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - input #GFile. - - - - string with the relative path from @descendant -to @parent, or %NULL if @descendant doesn't have @parent as prefix. The returned string should be freed with -g_free() when no longer needed. - - - - - -Determines if @mount_path is considered an implementation of the -OS. This is primarily used for hiding mountable and mounted volumes -that only are used in the OS and has little to no relevance to the -casual user. - - - - - - a mount path, e.g. &lt;filename&gt;/media/disk&lt;/filename&gt; -or &lt;filename&gt;/usr&lt;/filename&gt; - - - - %TRUE if @mount_path is considered an implementation detail -of the OS. - - - - - -Calls the given function for each key/value pair in the #GHashTable. -If the function returns %TRUE, then the key/value pair is removed from the -#GHashTable. If you supplied key or value destroy functions when creating -the #GHashTable, they are used to free the memory allocated for the removed -keys and values. - -See #GHashTableIterator for an alternative way to loop over the -key/value pairs in the hash table. - - - - - - a #GHashTable. - - - - the function to call for each key/value pair. - - - - user data to pass to the function. - - - - the number of key/value pairs removed. - - - - - -Finishes an asynchronous eject operation started by -g_file_eject_mountable(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - %TRUE if the @file was ejected successfully. %FALSE -otherwise. - - - - - -Get the toplevel test suite for the test path API. - - - - - - the toplevel #GTestSuite - -Since: 2.16 - - - - - -Checks if an ouput stream has pending actions. - - - - - - a #GOutputStream. - - - - %TRUE if @stream has pending actions. - - - - - -Finishes mounting a volume. - - - - - - pointer to a #GVolume. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE, %FALSE if operation failed. - - - - - -Adds a byte onto the end of a #GString, expanding -it if necessary. - - - - - - a #GString - - - - the byte to append onto the end of @string - - - - @string - - - - - -Associates a list of integer values with @key under @group_name. -If @key cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an array of integer values - - - - number of integer values in @list - - - - - - - - -Checks to see if a file is native to the platform. - -A native file s one expressed in the platform-native filename format, -e.g. "C:\Windows" or "/usr/bin/". This does not mean the file is local, -as it might be on a locally mounted remote filesystem. - -On some systems non-native files may be available using -the native filesystem via a userspace filesystem (FUSE), in -these cases this call will return %FALSE, but g_file_get_path() -will still return a native path. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - %TRUE if file is native. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint64 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Finishes flushing an output stream. - - - - - - a #GOutputStream. - - - - a GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if flush operation suceeded, %FALSE otherwise. - - - - - -Gets the icon for @volume. - - - - - - a #GVolume. - - - - a #GIcon. - - - - - -Checks if the unix mounts have changed since a given unix time. - - - - - - guint64 to contain a timestamp. - - - - %TRUE if the mounts have changed since @time. - - - - - -Gets a signed 64-bit integer contained within the attribute. If the -attribute does not contain an signed 64-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a signed 64-bit integer from the attribute. - - - - - -Gets the name under which @extension was registered. - -Note that the same type may be registered as extension -for multiple extension points, under different names. - - - - - - a #GIOExtension - - - - the name of @extension. - - - - - -Return value: A random number. - - - - - a #GRand. - - - - lower closed bound of the interval. - - - - upper open bound of the interval. - - - - A random number. - - - - - -Insert a copy of @value at specified position into @value_array. - - - - - - #GValueArray to add an element to - - - - insertion position, must be &lt;= value_array-&gt;n_values - - - - #GValue to copy into #GValueArray - - - - the #GValueArray passed in as @value_array - - - - - -Gets the "current time" to be used when checking -this source. The advantage of calling this function over -calling g_get_current_time() directly is that when -checking multiple sources, GLib can cache a single value -instead of having to repeatedly get the system time. - - - - - a #GSource - - - - #GTimeVal structure in which to store current time. - - - - - - - - -Pushes the @data into the @queue. @data must not be %NULL. This -function must be called while holding the @queue's lock. - - - - - a #GAsyncQueue. - - - - @data to push into the @queue. - - - - - - - - -Prior to any use of the type system, g_type_init() has to be called -to initialize the type system and assorted other code portions -(such as the various fundamental type implementations or the signal -system). - - - - - - - - - -Finds the element in a #GSList which -contains the given data. - - - - - - a #GSList - - - - the element data to find - - - - the found #GSList element, -or %NULL if it is not found - - - - - -Creates a path from a series of elements using @separator as the -separator between elements. At the boundary between two elements, -any trailing occurrences of separator in the first element, or -leading occurrences of separator in the second element are removed -and exactly one copy of the separator is inserted. - -Empty elements are ignored. - -The number of leading copies of the separator on the result is -the same as the number of leading copies of the separator on -the first non-empty element. - -The number of trailing copies of the separator on the result is -the same as the number of trailing copies of the separator on -the last non-empty element. (Determination of the number of -trailing copies is done without stripping leading copies, so -if the separator is &lt;literal&gt;ABA&lt;/literal&gt;, &lt;literal&gt;ABABA&lt;/literal&gt; -has 1 trailing copy.) - -However, if there is only a single non-empty element, and there -are no characters in that element not part of the leading or -trailing separators, then the result is exactly the original value -of that element. - -Other than for determination of the number of leading and trailing -copies of the separator, elements consisting only of copies -of the separator are ignored. - - - - - - a string used to separator the elements of the path. - - - - the first element in the path - - - - remaining elements in path, terminated by %NULL - - - - a newly-allocated string that must be freed with g_free(). - - - - - -Reports an error in an asynchronous function in an idle function by -directly setting the contents of the #GAsyncResult with the given error -information. - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - a #GQuark containing the error domain (usually #G_IO_ERROR). - - - - a specific error code. - - - - a formatted error reporting string. - - - - a list of variables to fill in @format. - - - - - - - - -Registers @name as the name of a new static type derived from -#G_TYPE_PARAM. The type system uses the information contained in -the #GParamSpecTypeInfo structure pointed to by @info to manage the -#GParamSpec type and its instances. - - - - - - 0-terminated string used as the name of the new #GParamSpec type. - - - - The #GParamSpecTypeInfo for this #GParamSpec type. - - - - The new type identifier. - - - - - -Retrieves the MIME type of the resource pointed by @uri. - -In the event the URI cannot be found, %NULL is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the -event that the MIME type cannot be found, %NULL is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_INVALID_VALUE. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - a newly allocated string or %NULL if the specified -URI cannot be found. - -Since: 2.12 - - - - - -Gets a #GFile for @uri. - -This operation never fails, but the returned object -might not support any I/O operation if the uri -is malformed or if the uri type is not supported. - - - - - - a#GVfs. - - - - a string containing a URI path. - - - - a #GFile. - - - - - - -Sets the priority of a source. While the main loop is being -run, a source will be dispatched if it is ready to be dispatched and no sources -at a higher (numerically smaller) priority are ready to be dispatched. - - - - - a #GSource - - - - the new priority. - - - - - - - - -Gets the digest from @checksum as a raw binary vector and places it -into @buffer. The size of the digest depends on the type of checksum. - -Once this function has been called, the #GChecksum is closed and can -no longer be updated with g_checksum_update(). - -Since: 2.16 - - - - - a #GChecksum - - - - output buffer - - - - an inout parameter. The caller initializes it to the size of @buffer. -After the call it contains the length of the digest. - - - - - - - - -Unmounts a file of type G_FILE_TYPE_MOUNTABLE. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -When the operation is finished, @callback will be called. You can then call -g_file_unmount_mountable_finish() to get the result of the operation. - - - - - input #GFile. - - - - flags affecting the operation - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Calls @func for each item in the sequence passing @user_data -to the function. - -Since: 2.14 - - - - - a #GSequence - - - - the function to call for each item in @seq - - - - user data passed to @func - - - - - - - - -Removes all keys and their associated values from a #GHashTable -without calling the key and value destroy functions. - -Since: 2.12 - - - - - a #GHashTable. - - - - - - - - -Creates a new #GHashTable with a reference count of 1. - - - - - - a function to create a hash value from a key. -Hash values are used to determine where keys are stored within the -#GHashTable data structure. The g_direct_hash(), g_int_hash() and -g_str_hash() functions are provided for some common types of keys. -If hash_func is %NULL, g_direct_hash() is used. - - - - a function to check two keys for equality. This is -used when looking up keys in the #GHashTable. The g_direct_equal(), -g_int_equal() and g_str_equal() functions are provided for the most -common types of keys. If @key_equal_func is %NULL, keys are compared -directly in a similar fashion to g_direct_equal(), but without the -overhead of a function call. - - - - a new #GHashTable. - - - - - -Gets the number of nodes in a #GTree. - - - - - - a #GTree. - - - - the number of nodes in the #GTree. - - - - - -Checks if an input stream has pending actions. - - - - - - input stream. - - - - %TRUE if @stream has pending actions. - - - - - -A convenience function to use gettext() for translating -user-visible strings. - -Since: 2.12 - - - - - a #GOptionContext - - - - the domain to use - - - - - - - - -Gets the value of a byte string attribute. If the attribute does -not contain a byte string, %NULL will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - the contents of the @attribute value as a byte string, or -%NULL otherwise. - - - - - - - - - - - - - - - - - - - - - - -Increases the reference count of the object by one and sets a -callback to be called when all other references to the object are -dropped, or when this is already the last reference to the object -and another reference is established. - -This functionality is intended for binding @object to a proxy -object managed by another memory manager. This is done with two -paired references: the strong reference added by -g_object_add_toggle_ref() and a reverse reference to the proxy -object which is either a strong reference or weak reference. - -The setup is that when there are no other references to @object, -only a weak reference is held in the reverse direction from @object -to the proxy object, but when there are other references held to -@object, a strong reference is held. The @notify callback is called -when the reference from @object to the proxy object should be -&lt;firstterm&gt;toggled&lt;/firstterm&gt; from strong to weak (@is_last_ref -true) or weak to strong (@is_last_ref false). - -Since a (normal) reference must be held to the object before -calling g_object_toggle_ref(), the initial state of the reverse -link is always strong. - -Multiple toggle references may be added to the same gobject, -however if there are multiple toggle references to an object, none -of them will ever be notified until all but one are removed. For -this reason, you should only ever use a toggle reference if there -is important state in the proxy object. - -Since: 2.8 - - - - - a #GObject - - - - a function to call when this reference is the -last reference to the object, or is no longer -the last reference. - - - - data to pass to @notify - - - - - - - - -Undoes the effect of a previous g_signal_handler_block() call. A -blocked handler is skipped during signal emissions and will not be -invoked, unblocking it (for exactly the amount of times it has been -blocked before) reverts its "blocked" state, so the handler will be -recognized by the signal system and is called upon future or -currently ongoing signal emissions (since the order in which -handlers are called during signal emissions is deterministic, -whether the unblocked handler in question is called as part of a -currently ongoing emission depends on how far that emission has -proceeded yet). - -The @handler_id has to be a valid id of a signal handler that is -connected to a signal of @instance and is currently blocked. - - - - - The instance to unblock the signal handler of. - - - - Handler id of the handler to be unblocked. - - - - - - - - -A wrapper for the POSIX rename() function. The rename() function -renames a file, moving it between directories if required. - -See your C library manual for more details about how rename() works -on your system. It is not possible in general on Windows to rename -a file that is open to some process. - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - a pathname in the GLib file name encoding - - - - 0 if the renaming succeeded, -1 if an error occurred - -Since: 2.6 - - - - - -Gets the buffer size. - - - - - - a #GIOChannel - - - - the size of the buffer. - - - - - -Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Determines the numeric value of a character as a decimal -digit. - - - - - - a Unicode character - - - - If @c is a decimal digit (according to -g_unichar_isdigit()), its numeric value. Otherwise, -1. - - - - - -Removes application registered with @name from the list of applications -that have registered a bookmark for @uri inside @bookmark. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. -In the event that no application with name @app_name has registered -a bookmark for @uri, %FALSE is returned and error is set to -#G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - the name of the application - - - - return location for a #GError or %NULL - - - - %TRUE if the application was successfully removed. - -Since: 2.12 - - - - - -Get the contents of a %G_TYPE_INT64 #GValue. - - - - - - a valid #GValue of type %G_TYPE_INT64 - - - - 64bit integer contents of @value - - - - - -Sets a #GOptionGroup as main group of the @context. -This has the same effect as calling g_option_context_add_group(), -the only difference is that the options in the main group are -treated differently when generating &lt;option&gt;--help&lt;/option&gt; output. - -Since: 2.6 - - - - - a #GOptionContext - - - - the group to set as main group - - - - - - - - -Return value: the number of currently unused threads - - - - - the number of currently unused threads - - - - - -Cuts off the end of the GString, leaving the first @len bytes. - - - - - - a #GString - - - - the new size of @string - - - - @string - - - - - -Sets whether or not the @stream's buffer should automatically grow. -If @auto_grow is true, then each write will just make the buffer -larger, and you must manually flush the buffer to actually write out -the data to the underlying stream. - - - - - a #GBufferedOutputStream. - - - - a #gboolean. - - - - - - - - -Gets the size of the currently allocated data area (availible from -g_memory_output_stream_get_data()). If the stream isn't -growable (no realloc was passed to g_memory_output_stream_new()) then -this is the max size of the stream and further writes -will return G_IO_ERROR_NO_SPACE. - -Note that for growable streams the returned size may become invalid on -the next write or truncate operation on the stream. - -If you want the number of bytes currently written to the stream, use -g_memory_output_stream_get_data_size(). - - - - - - a #GMemoryOutputStream - - - - the number of bytes allocated for the data buffer - - - - - -Internal function for gtester to decode test log messages, no ABI guarantees provided. - - - - - - - - - -Internal function for gtester to decode test log messages, no ABI guarantees provided. - - - - - - - - - -Determines whether a character is a control character. -Given some UTF-8 text, obtain a character value with -g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is a control character - - - - - -Maps a file into memory. On UNIX, this is using the mmap() function. - -If @writable is %TRUE, the mapped buffer may be modified, otherwise -it is an error to modify the mapped buffer. Modifications to the buffer -are not visible to other processes mapping the same file, and are not -written back to the file. - -Note that modifications of the underlying file might affect the contents -of the #GMappedFile. Therefore, mapping should only be used if the file -will not be modified, or if all modifications of the file are done -atomically (e.g. using g_file_set_contents()). - - - - - - The path of the file to load, in the GLib filename encoding - - - - whether the mapping should be writable - - - - return location for a #GError, or %NULL - - - - a newly allocated #GMappedFile which must be freed -with g_mapped_file_free(), or %NULL if the mapping failed. - -Since: 2.8 - - - - - -Gets the device path for a unix mount point. - - - - - - a #GUnixMountPoint. - - - - a string containing the device path. - - - - - -Sets the callback function for a source. The callback for a source is -called from the source's dispatch function. - -The exact type of @func depends on the type of source; ie. you -should not count on @func being called with @data as its first -parameter. - -Typically, you won't use this function. Instead use functions specific -to the type of source you are using. - - - - - the source - - - - a callback function - - - - the data to pass to callback function - - - - a function to call when @data is no longer in use, or %NULL. - - - - - - - - -Like g_sequence_sort(), but uses a #GSequenceIterCompareFunc instead -of a GCompareDataFunc as the compare function - -Since: 2.14 - - - - - a #GSequence - - - - the #GSequenceItercompare used to compare iterators in the -sequence. It is called with two iterators pointing into @seq. It should -return 0 if the iterators are equal, a negative value if the first -iterator comes before the second, and a positive value if the second -iterator comes before the first. - - - - user data passed to @cmp_func - - - - - - - - -Gets the executable's name for the installed application. - - - - - - a #GAppInfo. - - - - a string containing the @appinfo's application -binary's name. - - - - - -Return value: a string owned by GLib that must not be modified - - - - - a string owned by GLib that must not be modified -or freed. -Since: 2.6 - - - - - -Acquires the @queue's lock. After that you can only call the -&lt;function&gt;g_async_queue_*_unlocked()&lt;/function&gt; function variants on that -@queue. Otherwise it will deadlock. - - - - - a #GAsyncQueue. - - - - - - - - -Converts all Unicode characters in the string that have a case -to uppercase. The exact manner that this is done depends -on the current locale, and may result in the number of -characters in the string increasing. (For instance, the -German ess-zet will be changed to SS.) - - - - - - a UTF-8 encoded string - - - - length of @str, in bytes, or -1 if @str is nul-terminated. - - - - a newly allocated string, with all characters -converted to uppercase. - - - - - -Sets whether a source can be called recursively. If @can_recurse is -%TRUE, then while the source is being dispatched then this source -will be processed normally. Otherwise, all processing of this -source is blocked until the dispatch function returns. - - - - - a #GSource - - - - whether recursion is allowed for this source - - - - - - - - -Finishes an asynchronous load of the @file's contents. -The contents are placed in @contents, and @length is set to the -size of the @contents string. If @etag_out is present, it will be -set to the new entity tag for the @file. - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a location to place the contents of the file. - - - - a location to place the length of the contents of the file. - - - - a location to place the current entity tag for the file. - - - - a #GError, or %NULL - - - - %TRUE if the load was successful. If %FALSE and @error is -present, it will be set appropriately. - - - - - -Return the direct parent type of the passed in type. If the passed -in type has no parent, i.e. is a fundamental type, 0 is returned. - - - - - - The derived type. - - - - The parent type. - - - - - -Open a file @filename as a #GIOChannel using mode @mode. This -channel will be closed when the last reference to it is dropped, -so there is no need to call g_io_channel_close() (though doing -so will not cause problems, as long as no attempt is made to -access the channel after it is closed). - - - - - - A string containing the name of a file - - - - One of "r", "w", "a", "r+", "w+", "a+". These have -the same meaning as in fopen() - - - - A location to return an error of type %G_FILE_ERROR - - - - A #GIOChannel on success, %NULL on failure. - - - - - -Inserts @data into @queue before @sibling. - -@sibling must be part of @queue. - -Since: 2.4 - - - - - a #GQueue - - - - a #GList link that &lt;emphasis&gt;must&lt;/emphasis&gt; be part of @queue - - - - the data to insert - - - - - - - - -Frees the memory allocated for @seq. If @seq has a data destroy -function associated with it, that function is called on all items in -@seq. - -Since: 2.14 - - - - - a #GSequence - - - - - - - - -Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - a #GType derived from %G_TYPE_FLAGS - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Finishes closing a stream asynchronously, started from g_input_stream_close_async(). - - - - - - a #GInputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the stream was closed successfully. - - - - - -Turns off flag values for a data list. See g_datalist_unset_flags() - -Since: 2.8 - - - - - pointer to the location that holds a list - - - - the flags to turn off. The values of the flags are -restricted by %G_DATALIST_FLAGS_MASK (currently -3: giving two possible boolean flags). -A value for @flags that doesn't fit within the mask is -an error. - - - - - - - - -Converts a string into a collation key that can be compared -with other collation keys produced by the same function using strcmp(). - -In order to sort filenames correctly, this function treats the dot '.' -as a special case. Most dictionary orderings seem to consider it -insignificant, thus producing the ordering "event.c" "eventgenerator.c" -"event.h" instead of "event.c" "event.h" "eventgenerator.c". Also, we -would like to treat numbers intelligently so that "file1" "file10" "file5" -is sorted as "file1" "file5" "file10". - -Note that this function depends on the -&lt;link linkend="setlocale"&gt;current locale&lt;/link&gt;. - - - - - - a UTF-8 encoded string. - - - - length of @str, in bytes, or -1 if @str is nul-terminated. - - - - a newly allocated string. This string should -be freed with g_free() when you are done with it. - -Since: 2.8 - - - - - -Feeds @data into an existing #GChecksum. The checksum must still be -open, that is g_checksum_get_string() or g_checksum_get_digest() must -not have been called on @checksum. - -Since: 2.16 - - - - - a #GChecksum - - - - buffer used to compute the checksum - - - - size of the buffer, or -1 if it is a null-terminated string. - - - - - - - - -Get the short description of a #GParamSpec. - - - - - - a valid #GParamSpec - - - - the short description of @pspec. - - - - - -Removes all list nodes with data equal to @data. -Returns: new head of @list - - - - - a #GSList - - - - data to remove - - - - new head of @list - - - - - -Removes @link_ from @queue and frees it. - -@link_ must be part of @queue. - -Since: 2.4 - - - - - a #GQueue - - - - a #GList link that &lt;emphasis&gt;must&lt;/emphasis&gt; be part of @queue - - - - - - - - -Calls a function for each element of a #GList. - - - - - a #GList - - - - the function to call with each element's data - - - - user data to pass to the function - - - - - - - - -Gets the position of the first child of a #GNode -which contains the given data. - - - - - - a #GNode - - - - the data to find - - - - the index of the child of @node which contains -@data, or -1 if the data is not found - - - - - -Finishes an asynchronous file append operation started with -g_file_append_to_async(). - - - - - - input #GFile. - - - - #GAsyncResult - - - - a #GError, or %NULL - - - - a valid #GFileOutputStream or %NULL on error. - - - - - -Looks whether the string @str ends with @suffix. - - - - - - a nul-terminated string. - - - - the nul-terminated suffix to look for. - - - - %TRUE if @str end with @suffix, %FALSE otherwise. - -Since: 2.2 - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GObject. - - - - - - - - -Determines whether a character is a lowercase letter. -Given some UTF-8 text, obtain a character value with -g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is a lowercase letter - - - - - -Creates a new mount operation. - - - - - - a #GMountOperation. - - - - - -Loads all the modules in the specified directory. - - - - - - pathname for a directory containing modules to load. - - - - a list of #GIOModules loaded from the directory, -All the modules are loaded into memory, if you want to -unload them (enabling on-demand loading) you must call -g_type_module_unuse() on all the modules. Free the list -with g_list_free(). - - - - - -Creates a new #GParamSpecPool. - -If @type_prefixing is %TRUE, lookups in the newly created pool will -allow to specify the owner as a colon-separated prefix of the -property name, like "GtkContainer:border-width". This feature is -deprecated, so you should always set @type_prefixing to %FALSE. - - - - - - Whether the pool will support type-prefixed property names. - - - - a newly allocated #GParamSpecPool. - - - - - -Inserts @data into @sequence using @func to determine the new position. -The sequence must already be sorted according to @cmp_func; otherwise the -new position of @data is undefined. - - - - - - a #GSequence - - - - the data to insert - - - - the #GCompareDataFunc used to compare items in the sequence. It -is called with two items of the @seq and @user_data. It should -return 0 if the items are equal, a negative value if the first -item comes before the second, and a positive value if the second -item comes before the first. - - - - user data passed to @cmp_func. - - - - a #GSequenceIter pointing to the new item. - -Since: 2.14 - - - - - -This is an internal function introduced mainly for C marshallers. - -Deprecated: 2.4: Use g_value_take_boxed() instead. - - - - - a valid #GValue of %G_TYPE_BOXED derived type - - - - duplicated unowned boxed value to be set - - - - - - - - -Return value: a #GSequenceIter pointing to the next position after @iter. - - - - - a #GSequenceIter - - - - a #GSequenceIter pointing to the next position after @iter. - -Since: 2.14 - - - - - -Returns: Location of the #GTypeValueTable associated with @type or - - - - - A #GType value. - - - - Location of the #GTypeValueTable associated with @type or -%NULL if there is no #GTypeValueTable associated with @type. - - - - - -Removes a reference added with g_object_add_toggle_ref(). The -reference count of the object is decreased by one. - -Since: 2.8 - - - - - a #GObject - - - - a function to call when this reference is the -last reference to the object, or is no longer -the last reference. - - - - data to pass to @notify - - - - - - - - -Return a newly allocated string, which describes the contents of a -#GValue. The main purpose of this function is to describe #GValue -contents for debugging output, the way in which the contents are -described may change between different GLib versions. - - - - - - #GValue which contents are to be described. - - - - Newly allocated string. - - - - - -Parses the command line arguments, recognizing options -which have been added to @context. A side-effect of -calling this function is that g_set_prgname() will be -called. - -If the parsing is successful, any parsed arguments are -removed from the array and @argc and @argv are updated -accordingly. A '--' option is stripped from @argv -unless there are unparsed options before and after it, -or some of the options after it start with '-'. In case -of an error, @argc and @argv are left unmodified. - -If automatic &lt;option&gt;--help&lt;/option&gt; support is enabled -(see g_option_context_set_help_enabled()), and the -@argv array contains one of the recognized help options, -this function will produce help output to stdout and -call &lt;literal&gt;exit (0)&lt;/literal&gt;. - -Note that function depends on the -&lt;link linkend="setlocale"&gt;current locale&lt;/link&gt; for -automatic character set conversion of string and filename -arguments. - - - - - - a #GOptionContext - - - - a pointer to the number of command line arguments - - - - a pointer to the array of command line arguments - - - - a return location for errors - - - - %TRUE if the parsing was successful, -%FALSE if an error occurred - -Since: 2.6 - - - - - -Gets the ID of an application. An id is a string that -identifies the application. The exact format of the id is -platform dependent. For instance, on Unix this is the -desktop file id from the xdg menu specification. - -Note that the returned ID may be %NULL, depending on how -the @appinfo has been constructed. - - - - - - a #GAppInfo. - - - - a string containing the application's ID. - - - - - -The index of the user's choice when a question is asked during the -mount operation. See the #GMountOperation::ask-question signal. - - - - - - - - - -Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64. - - - - - a valid #GValue of type %G_TYPE_UINT64 - - - - unsigned 64bit integer value to be set - - - - - - - - -Return value: an #GSequenceIter pointing to the position where @data - - - - - a #GSequence - - - - data for the new item - - - - the #GCompareDataFunc used to compare items in the sequence. It -is called with two items of the @seq and @user_data. It should -return 0 if the items are equal, a negative value if the first -item comes before the second, and a positive value if the second -item comes before the first. - - - - user data passed to @cmp_func. - - - - an #GSequenceIter pointing to the position where @data -would have been inserted according to @cmp_func and @cmp_data. - -Since: 2.14 - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 3 - - - - a #GValue array holding instance, arg1 and arg2 - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Decrements the reference count of the class structure being passed in. -Once the last reference count of a class has been released, classes -may be finalized by the type system, so further dereferencing of a -class pointer after g_type_class_unref() are invalid. - - - - - The #GTypeClass structure to unreference. - - - - - - - - -Set the contents of a %G_TYPE_INT #GValue to @v_int. - - - - - a valid #GValue of type %G_TYPE_INT - - - - integer value to be set - - - - - - - - -Puts a signed 64-bit integer into the stream. - - - - - - a #GDataOutputStream. - - - - a #gint64. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Retrieves the number of matched substrings (including substring 0, -that is the whole matched text), so 1 is returned if the pattern -has no substrings in it and 0 is returned if the match failed. - -If the last match was obtained using the DFA algorithm, that is -using g_regex_match_all() or g_regex_match_all_full(), the retrieved -count is not that of the number of capturing parentheses but that of -the number of matched substrings. - - - - - - a #GMatchInfo structure - - - - Number of matched substrings, or -1 if an error occurred - -Since: 2.14 - - - - - -Closes the stream, releasing resources related to it. - -Once the stream is closed, all other operations will return %G_IO_ERROR_CLOSED. -Closing a stream multiple times will not return an error. - -Closing a stream will automatically flush any outstanding buffers in the -stream. - -Streams will be automatically closed when the last reference -is dropped, but you might want to call this function to make sure -resources are released as early as possible. - -Some streams might keep the backing store of the stream (e.g. a file descriptor) -open after the stream is closed. See the documentation for the individual -stream for details. - -On failure the first error that happened will be reported, but the close -operation will finish as much as possible. A stream that failed to -close will still return %G_IO_ERROR_CLOSED for all operations. Still, it -is important to check and report the error to the user, otherwise -there might be a loss of data as all data might not be written. - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. -Cancelling a close will still leave the stream closed, but there some streams -can use a faster close that doesn't block to e.g. check errors. On -cancellation (as with any error) there is no guarantee that all written -data will reach the target. - - - - - - A #GOutputStream. - - - - optional cancellable object - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on failure - - - - - -Usually if the string passed to g_regex_match*() matches as far as -it goes, but is too short to match the entire pattern, %FALSE is -returned. There are circumstances where it might be helpful to -distinguish this case from other cases in which there is no match. - -Consider, for example, an application where a human is required to -type in data for a field with specific formatting requirements. An -example might be a date in the form ddmmmyy, defined by the pattern -"^\d?\d(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\d\d$". -If the application sees the user’s keystrokes one by one, and can -check that what has been typed so far is potentially valid, it is -able to raise an error as soon as a mistake is made. - -GRegex supports the concept of partial matching by means of the -#G_REGEX_MATCH_PARTIAL flag. When this is set the return code for -g_regex_match() or g_regex_match_full() is, as usual, %TRUE -for a complete match, %FALSE otherwise. But, when these functions -return %FALSE, you can check if the match was partial calling -g_match_info_is_partial_match(). - -When using partial matching you cannot use g_match_info_fetch*(). - -Because of the way certain internal optimizations are implemented -the partial matching algorithm cannot be used with all patterns. -So repeated single characters such as "a{2,4}" and repeated single -meta-sequences such as "\d+" are not permitted if the maximum number -of occurrences is greater than one. Optional items such as "\d?" -(where the maximum is one) are permitted. Quantifiers with any values -are permitted after parentheses, so the invalid examples above can be -coded thus "(a){2,4}" and "(\d)+". If #G_REGEX_MATCH_PARTIAL is set -for a pattern that does not conform to the restrictions, matching -functions return an error. - - - - - - a #GMatchInfo structure - - - - %TRUE if the match was partial, %FALSE otherwise - -Since: 2.14 - - - - - -Internal function for gtester to free test log messages, no ABI guarantees provided. - - - - - - - - - -Returns: the invocation hint of the innermost signal emission. - - - - - the instance to query - - - - the invocation hint of the innermost signal emission. - - - - - -Returns: The corresponding plugin if @type is a dynamic type, - - - - - The #GType to retrieve the plugin for. - - - - The corresponding plugin if @type is a dynamic type, -%NULL otherwise. - - - - - -Return value: a newly allocated string containing - - - - - an absolute pathname in the GLib file name encoding - - - - a newly allocated string containing -a rendition of the basename of the filename in valid UTF-8 - -Since: 2.6 - - - - - -Converts a sequence of bytes encoded as UTF-8 to a Unicode character. -If @p does not point to a valid UTF-8 encoded character, results are -undefined. If you are not sure that the bytes are complete -valid Unicode characters, you should use g_utf8_get_char_validated() -instead. - - - - - - a pointer to Unicode character encoded as UTF-8 - - - - the resulting character - - - - - -Convert a character to ASCII upper case. - -Unlike the standard C library toupper() function, this only -recognizes standard ASCII letters and ignores the locale, returning -all non-ASCII characters unchanged, even if they are upper case -letters in a particular character set. Also unlike the standard -library function, this takes and returns a char, not an int, so -don't call it on %EOF but no need to worry about casting to #guchar -before passing a possibly non-ASCII character in. - - - - - - any character. - - - - the result of converting @c to upper case. -If @c is not an ASCII lower case letter, -@c is returned unchanged. - - - - - -Registers a new static flags type with the name @name. - -It is normally more convenient to let &lt;link -linkend="glib-mkenums"&gt;glib-mkenums&lt;/link&gt; generate a -my_flags_get_type() function from a usual C enumeration definition -than to write one yourself using g_flags_register_static(). - - - - - - A nul-terminated string used as the name of the new type. - - - - An array of #GFlagsValue structs for the possible -flags values. The array is terminated by a struct with all members being 0. -GObject keeps a reference to the data, so it cannot be stack-allocated. - - - - The new type identifier. - - - - - -Asynchronously opens @file for appending. - -For more details, see g_file_append_to() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_append_to_finish() to get the result of the operation. - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gint arg1, gpointer user_data)&lt;/literal&gt; where the #gint parameter denotes a flags type. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the flags parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Adds a #GTypeClassCacheFunc to be called before the reference count of a -class goes from one to zero. This can be used to prevent premature class -destruction. All installed #GTypeClassCacheFunc functions will be chained -until one of them returns %TRUE. The functions have to check the class id -passed in to figure whether they actually want to cache the class of this -type, since all classes are routed through the same #GTypeClassCacheFunc -chain. - - - - - data to be passed to @cache_func - - - - a #GTypeClassCacheFunc - - - - - - - - -Sets the "is_symlink" attribute in a #GFileInfo according to @is_symlink. -See %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK. - - - - - a #GFileInfo. - - - - a #gboolean. - - - - - - - - -Retrieves every value inside @hash_table. The returned data is -valid until @hash_table is modified. - - - - - - a #GHashTable - - - - a #GList containing all the values inside the hash -table. The content of the list is owned by the hash table and -should not be modified or freed. Use g_list_free() when done -using the list. - -Since: 2.14 - - - - - -Find the #GParamSpec with the given name for an -interface. Generally, the interface vtable passed in as @g_iface -will be the default vtable from g_type_default_interface_ref(), or, -if you know the interface has already been loaded, -g_type_default_interface_peek(). - -Since: 2.4 - - - - - - any interface vtable for the interface, or the default -vtable for the interface - - - - name of a property to lookup. - - - - the #GParamSpec for the property of the interface with the -name @property_name, or %NULL if no such property exists. - - - - - -Inserts a new element into the list, using the given -comparison function to determine its position. - - - - - - a #GSList - - - - the data for the new element - - - - the function to compare elements in the list. -It should return a number &gt; 0 if the first parameter -comes after the second parameter in the sort order. - - - - the new start of the #GSList - - - - - -Calls the given function for each key/value pair in the #GHashTable. -If the function returns %TRUE, then the key/value pair is removed from the -#GHashTable, but no key or value destroy functions are called. - -See #GHashTableIterator for an alternative way to loop over the -key/value pairs in the hash table. - - - - - - a #GHashTable. - - - - the function to call for each key/value pair. - - - - user data to pass to the function. - - - - the number of key/value pairs removed. - - - - - -Return value: bitmask with same meaning as returned by GetLogicalDrives() - - - - - bitmask with same meaning as returned by GetLogicalDrives() - - - - - -Sets @mask on @info to match specific attribute types. - - - - - a #GFileInfo. - - - - a #GFileAttributeMatcher. - - - - - - - - -Returns: a #GAppInfo if the handle was found, %NULL if there were errors. - - - - - a #GFile to open. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GAppInfo if the handle was found, %NULL if there were errors. -When you are done with it, release it with g_object_unref() - - - - - -Sets the icon for a given #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_ICON. - - - - - a #GFileInfo. - - - - a #GIcon. - - - - - - - - -Flush the status from a sequence of calls to g_base64_encode_step(). - - - - - - whether to break long lines - - - - pointer to destination buffer - - - - Saved state from g_base64_encode_step() - - - - Saved state from g_base64_encode_step() - - - - The number of bytes of output that was written - -Since: 2.12 - - - - - -Called when an application has failed to launch, so that it can cancel -the application startup notification started in g_app_launch_context_get_startup_notify_id(). - - - - - - a #GAppLaunchContext. - - - - the startup notification id that was returned by g_app_launch_context_get_startup_notify_id(). - - - - - - - - -Sets the size of the internal buffer of @stream to @size, or to the -size of the contents of the buffer. The buffer can never be resized -smaller than its current contents. - - - - - #GBufferedInputStream. - - - - a #gsize. - - - - - - - - -Gets the directory components of a file name. If the file name has no -directory components "." is returned. The returned string should be -freed when no longer needed. - - - - - - the name of the file. - - - - the directory components of the file. - - - - - -Unsafe, need lock. - - - - - - - - - -Adds a string to be displayed in &lt;option&gt;--help&lt;/option&gt; output -after the list of options. This text often includes a bug reporting -address. - -Note that the summary is translated (see -g_option_context_set_translate_func()). - -Since: 2.12 - - - - - a #GOptionContext - - - - a string to be shown in &lt;option&gt;--help&lt;/option&gt; output -after the list of options, or %NULL - - - - - - - - -Tries to read @count bytes from the stream into the buffer starting at -@buffer. Will block during this read. - -If count is zero returns zero and does nothing. A value of @count -larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes read into the buffer is returned. -It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - -On error -1 is returned and @error is set accordingly. - - - - - - a #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes read, or -1 on error - - - - - -Prepend a name to the list of icons from within @icon. - -&lt;note&gt;&lt;para&gt; -Note that doing so invalidates the hash computed by prior calls -to g_icon_hash(). -&lt;/para&gt;&lt;/note&gt; - -Since: 2.18 - - - - - a #GThemedIcon - - - - name of icon to prepend to list of icons from within @icon. - - - - - - - - -Creates a new #GBufferedInputStream from the given @base_stream, -with a buffer set to @size. - - - - - - a #GInputStream. - - - - a #gsize. - - - - a #GInputStream. - - - - - -Sets the time the bookmark for @uri was last visited. - -If no bookmark for @uri is found then it is created. - -The "visited" time should only be set if the bookmark was launched, -either using the command line retrieved by g_bookmark_file_get_app_info() -or by the default application for the bookmark's MIME type, retrieved -using g_bookmark_file_get_mime_type(). Changing the "visited" time -does not affect the "modified" time. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - a timestamp or -1 to use the current time - - - - - - - - -Inserts a new element into the list at the given position. - - - - - - a pointer to a #GList - - - - the data for the new element - - - - the position to insert the element. If this is -negative, or is larger than the number of elements in the -list, the new element is added on to the end of the list. - - - - the new start of the #GList - - - - - -Gets the name for a file. - - - - - - a #GFileInfo. - - - - a string containing the file name. - - - - - -Check to see whether the mount operation is being used -for an anonymous user. - - - - - - a #GMountOperation. - - - - %TRUE if mount operation is anonymous. - - - - - -Appends @unescaped to @string, escaped any characters that -are reserved in URIs using URI-style escape sequences. - - - - - - a #GString - - - - a string - - - - a string of reserved characters allowed to be used - - - - set %TRUE if the escaped string may include UTF8 characters - - - - @string - -Since: 2.16 - - - - - -Return value: The number of items in @queue. - - - - - a #GQueue - - - - The number of items in @queue. - -Since: 2.4 - - - - - -Reverses a UTF-8 string. @str must be valid UTF-8 encoded text. -(Use g_utf8_validate() on all text before trying to use UTF-8 -utility functions with it.) - -This function is intended for programmatic uses of reversed strings. -It pays no attention to decomposed characters, combining marks, byte -order marks, directional indicators (LRM, LRO, etc) and similar -characters which might need special handling when reversing a string -for display purposes. - -Note that unlike g_strreverse(), this function returns -newly-allocated memory, which should be freed with g_free() when -no longer needed. - - - - - - a UTF-8 encoded string - - - - the maximum length of @str to use. If @len &lt; 0, then -the string is nul-terminated. - - - - a newly-allocated string which is the reverse of @str. - -Since: 2.2 - - - - - -Removes the idle function with the given data. - - - - - - the data for the idle source's callback. - - - - %TRUE if an idle source was found and removed. - - - - - -Creates a new #GQueue. - - - - - - a new #GQueue. - - - - - -Checks if the application info should be shown in menus that -list available applications. - - - - - - a #GAppInfo. - - - - %TRUE if the @appinfo should be shown, %FALSE otherwise. - - - - - -Gets the base name (the last component of the path) for a given #GFile. - -If called for the top level of a system (such as the filesystem root -or a uri like sftp://host/) it will return a single directory separator -(and on Windows, possibly a drive letter). - -The base name is a byte string (*not* UTF-8). It has no defined encoding -or rules other than it may not contain zero bytes. If you want to use -filenames in a user interface you should use the display name that you -can get by requesting the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME -attribute with g_file_query_info(). - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string containing the #GFile's base name, or %NULL -if given #GFile is invalid. The returned string should be -freed with g_free() when no longer needed. - - - - - -Gets the drive for the @volume. - - - - - - a #GVolume. - - - - a #GDrive or %NULL if @volume is not associated with a drive. - - - - - -Sets the character which is used to separate -values in lists. Typically ';' or ',' are used -as separators. The default list separator is ';'. - -Since: 2.6 - - - - - a #GKeyFile - - - - the separator - - - - - - - - -Return value: A random number. - - - - - a #GRand. - - - - lower closed bound of the interval. - - - - upper open bound of the interval. - - - - A random number. - - - - - -A convenience function which creates a main group if it doesn't -exist, adds the @entries to it and sets the translation domain. - -Since: 2.6 - - - - - a #GOptionContext - - - - a %NULL-terminated array of #GOptionEntry&lt;!-- --&gt;s - - - - a translation domain to use for translating -the &lt;option&gt;--help&lt;/option&gt; output for the options in @entries -with gettext(), or %NULL - - - - - - - - -This function is meant to be called from the complete_type_info() -function of a #GTypePlugin implementation, see the example for -g_enum_complete_type_info() above. - - - - - the type identifier of the type being completed - - - - the #GTypeInfo struct to be filled in - - - - An array of #GFlagsValue structs for the possible -enumeration values. The array is terminated by a struct with all -members being 0. - - - - - - - - -A #GParamSpecPool maintains a collection of #GParamSpec&lt;!-- --&gt;s which can be -quickly accessed by owner and name. The implementation of the #GObject property -system uses such a pool to store the #GParamSpecs of the properties all object -types. - - - - - - - - - -Inserts @data into the list of tasks to be executed by @pool. When -the number of currently running threads is lower than the maximal -allowed number of threads, a new thread is started (or reused) with -the properties given to g_thread_pool_new (). Otherwise @data stays -in the queue until a thread in this pool finishes its previous task -and processes @data. - -@error can be %NULL to ignore errors, or non-%NULL to report -errors. An error can only occur when a new thread couldn't be -created. In that case @data is simply appended to the queue of work -to do. - - - - - a #GThreadPool - - - - a new task for @pool - - - - return location for error - - - - - - - - -Adds a byte onto the start of a #GString, -expanding it if necessary. - - - - - - a #GString - - - - the byte to prepend on the start of the #GString - - - - @string - - - - - -Gets the current user's home directory as defined in the -password database. - -Note that in contrast to traditional UNIX tools, this function -prefers &lt;filename&gt;passwd&lt;/filename&gt; entries over the &lt;envar&gt;HOME&lt;/envar&gt; -environment variable. - -One of the reasons for this decision is that applications in many -cases need special handling to deal with the case where -&lt;envar&gt;HOME&lt;/envar&gt; is -&lt;simplelist&gt; -&lt;member&gt;Not owned by the user&lt;/member&gt; -&lt;member&gt;Not writeable&lt;/member&gt; -&lt;member&gt;Not even readable&lt;/member&gt; -&lt;/simplelist&gt; -Since applications are in general &lt;emphasis&gt;not&lt;/emphasis&gt; written -to deal with these situations it was considered better to make -g_get_homedir() not pay attention to &lt;envar&gt;HOME&lt;/envar&gt; and to -return the real home directory for the user. If applications -want to pay attention to &lt;envar&gt;HOME&lt;/envar&gt;, they can do: -|[ -const char *homedir = g_getenv ("HOME"); -if (!homedir) -homedir = g_get_homedir (&lt;!-- --&gt;); -]| - - - - - - the current user's home directory - - - - - -Inserts the (@begin, @end) range at the destination pointed to by ptr. -The @begin and @end iters must point into the same sequence. It is -allowed for @dest to point to a different sequence than the one pointed -into by @begin and @end. - -If @dest is NULL, the range indicated by @begin and @end is -removed from the sequence. If @dest iter points to a place within -the (@begin, @end) range, the range does not move. - -Since: 2.14 - - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - - - - - -Loads a key file from memory into an empty #GKeyFile structure. -If the object cannot be created then %error is set to a #GKeyFileError. - - - - - - an empty #GKeyFile struct - - - - key file loaded in memory - - - - the length of @data in bytes - - - - flags from #GKeyFileFlags - - - - return location for a #GError, or %NULL - - - - %TRUE if a key file could be loaded, %FALSE otherwise - -Since: 2.6 - - - - - -Splits a string into a maximum of @max_tokens pieces, using the given -@delimiter. If @max_tokens is reached, the remainder of @string is appended -to the last token. - -As a special case, the result of splitting the empty string "" is an empty -vector, not a vector containing a single string. The reason for this -special case is that being able to represent a empty vector is typically -more useful than consistent handling of empty elements. If you do need -to represent empty elements, you'll need to check for the empty string -before calling g_strsplit(). - - - - - - a string to split. - - - - a string which specifies the places at which to split the string. -The delimiter is not included in any of the resulting strings, unless -@max_tokens is reached. - - - - the maximum number of pieces to split @string into. If this is -less than 1, the string is split completely. - - - - a newly-allocated %NULL-terminated array of strings. Use -g_strfreev() to free it. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - an unsigned 64-bit integer. - - - - - - - - -Creates a new asynchronous queue with an initial reference count of 1 and -sets up a destroy notify function that is used to free any remaining -queue items when the queue is destroyed after the final unref. - - - - - - function to free queue elements - - - - the new #GAsyncQueue. - -Since: 2.16 - - - - - -Clears the current value in @value and resets it to the default value -(as if the value had just been initialized). - - - - - - An initialized #GValue structure. - - - - the #GValue structure that has been passed in - - - - - -Looks up or registers an enumeration that is implemented with a particular -type plugin. If a type with name @type_name was previously registered, -the #GType identifier for the type is returned, otherwise the type -is newly registered, and the resulting #GType identifier returned. - -As long as any instances of the type exist, the type plugin will -not be unloaded. - -Since: 2.6 - - - - - - a #GTypeModule - - - - name for the type - - - - an array of #GEnumValue structs for the -possible enumeration values. The array is -terminated by a struct with all members being -0. - - - - the new or existing type ID - - - - - -Stops a signal's current emission. - -This is just like g_signal_stop_emission() except it will look up the -signal id for you. - - - - - the object whose signal handlers you wish to stop. - - - - a string of the form "signal-name::detail". - - - - - - - - -Pushes @cancellable onto the cancellable stack. The current -cancllable can then be recieved using g_cancellable_get_current(). - -This is useful when implementing cancellable operations in -code that does not allow you to pass down the cancellable object. - -This is typically called automatically by e.g. #GFile operations, -so you rarely have to call this yourself. - - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -Sets the value of a date from a #GTimeVal value. Note that the -@tv_usec member is ignored, because #GDate can't make use of the -additional precision. - -Since: 2.10 - - - - - a #GDate - - - - #GTimeVal value to set - - - - - - - - -Utility function to check if a particular file exists. This is -implemented using g_file_query_info() and as such does blocking I/O. - -Note that in many cases it is racy to first check for file existence -and then execute something based on the outcome of that, because the -file might have been created or removed in between the operations. The -general approach to handling that is to not check, but just do the -operation and handle the errors as they come. - -As an example of race-free checking, take the case of reading a file, and -if it doesn't exist, creating it. There are two racy versions: read it, and -on error create it; and: check if it exists, if not create it. These -can both result in two processes creating the file (with perhaps a partially -written file as the result). The correct approach is to always try to create -the file with g_file_create() which will either atomically create the file -or fail with a G_IO_ERROR_EXISTS error. - -However, in many cases an existence check is useful in a user -interface, for instance to make a menu item sensitive/insensitive, so that -you don't have to fool users that something is possible and then just show -and error dialog. If you do this, you should make sure to also handle the -errors that can happen due to races when you execute the operation. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - %TRUE if the file exists (and can be detected without error), %FALSE otherwise (or if cancelled). - - - - - -Checks whether @replacement is a valid replacement string -(see g_regex_replace()), i.e. that all escape sequences in -it are valid. - -If @has_references is not %NULL then @replacement is checked -for pattern references. For instance, replacement text 'foo\n' -does not contain references and may be evaluated without information -about actual match, but '\0\1' (whole match followed by first -subpattern) requires valid #GMatchInfo object. - - - - - - the replacement string - - - - location to store information about -references in @replacement or %NULL - - - - location to store error - - - - whether @replacement is a valid replacement string - -Since: 2.14 - - - - - -Decode a sequence of Base-64 encoded text into binary data - - - - - - zero-terminated string with base64 text to decode - - - - The length of the decoded data is written here - - - - a newly allocated buffer containing the binary data -that @text represents. The returned buffer must -be freed with g_free(). - -Since: 2.12 - - - - - -Return value: whether a test was %TRUE - - - - - a filename to test in the GLib file name encoding - - - - bitfield of #GFileTest flags - - - - whether a test was %TRUE - - - - - -Sets the maximal allowed number of threads for @pool. A value of -1 -means, that the maximal number of threads is unlimited. - -Setting @max_threads to 0 means stopping all work for @pool. It is -effectively frozen until @max_threads is set to a non-zero value -again. - -A thread is never terminated while calling @func, as supplied by -g_thread_pool_new (). Instead the maximal number of threads only -has effect for the allocation of new threads in g_thread_pool_push(). -A new thread is allocated, whenever the number of currently -running threads in @pool is smaller than the maximal number. - -@error can be %NULL to ignore errors, or non-%NULL to report -errors. An error can only occur when a new thread couldn't be -created. - - - - - a #GThreadPool - - - - a new maximal number of threads for @pool - - - - return location for error - - - - - - - - -Finds the start of the next UTF-8 character in the string after @p. - -@p does not have to be at the beginning of a UTF-8 character. No check -is made to see if the character found is actually valid other than -it starts with an appropriate byte. - - - - - - a pointer to a position within a UTF-8 encoded string - - - - a pointer to the end of the string, or %NULL to indicate -that the string is nul-terminated, in which case -the returned value will be - - - - a pointer to the found character or %NULL - - - - - -Determines whether a character is a space, tab, or line separator -(newline, carriage return, etc.). Given some UTF-8 text, obtain a -character value with g_utf8_get_char(). - -(Note: don't use this to do word breaking; you have to use -Pango or equivalent to get word breaking right, the algorithm -is fairly complex.) - - - - - - a Unicode character - - - - %TRUE if @c is a space character - - - - - -Convert a string from UTF-8 to a 32-bit fixed width -representation as UCS-4. A trailing 0 will be added to the -string after the converted text. - - - - - - a UTF-8 encoded string - - - - the maximum length of @str to use. If @len &lt; 0, then -the string is nul-terminated. - - - - location to store number of bytes read, or %NULL. -If %NULL, then %G_CONVERT_ERROR_PARTIAL_INPUT will be -returned in case @str contains a trailing partial -character. If an error occurs then the index of the -invalid input is stored here. - - - - location to store number of characters written or %NULL. -The value here stored does not include the trailing 0 -character. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError other than -%G_CONVERT_ERROR_NO_CONVERSION may occur. - - - - a pointer to a newly allocated UCS-4 string. -This value must be freed with g_free(). If an -error occurs, %NULL will be returned and -@error set. - - - - - -Gets the first sibling of a #GNode. -This could possibly be the node itself. - - - - - - a #GNode - - - - the first sibling of @node - - - - - -Searches a #GTree using @search_func. - -The @search_func is called with a pointer to the key of a key/value pair in -the tree, and the passed in @user_data. If @search_func returns 0 for a -key/value pair, then g_tree_search_func() will return the value of that -pair. If @search_func returns -1, searching will proceed among the -key/value pairs that have a smaller key; if @search_func returns 1, -searching will proceed among the key/value pairs that have a larger key. - - - - - - a #GTree. - - - - a function used to search the #GTree. - - - - the data passed as the second argument to the @search_func -function. - - - - the value corresponding to the found key, or %NULL if the key -was not found. - - - - - -Inserts @len bytes of @val into @string at @pos. -Because @len is provided, @val may contain embedded -nuls and need not be nul-terminated. If @pos is -1, -bytes are inserted at the end of the string. - -Since this function does not stop at nul bytes, it is -the caller's responsibility to ensure that @val has at -least @len addressable bytes. - - - - - - a #GString - - - - position in @string where insertion should -happen, or -1 for at the end - - - - bytes to insert - - - - number of bytes of @val to insert - - - - @string - - - - - -Get the contents of a %G_TYPE_STRING #GValue. - - - - - - a valid #GValue of type %G_TYPE_STRING - - - - string content of @value - - - - - -Associates a list of string values for @key and @locale under -@group_name. If the translation for @key cannot be found then -it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - a locale - - - - a %NULL-terminated array of locale string values - - - - the length of @list - - - - - - - - -A wrapper for the POSIX rmdir() function. The rmdir() function -deletes a directory from the filesystem. - -See your C library manual for more details about how rmdir() works -on your system. - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - 0 if the directory was successfully removed, -1 if an error -occurred - -Since: 2.6 - - - - - -Compares two strings for ordering using the linguistically -correct rules for the &lt;link linkend="setlocale"&gt;current locale&lt;/link&gt;. -When sorting a large number of strings, it will be significantly -faster to obtain collation keys with g_utf8_collate_key() and -compare the keys with strcmp() when sorting instead of sorting -the original strings. - - - - - - a UTF-8 encoded string - - - - a UTF-8 encoded string - - - - &lt; 0 if @str1 compares before @str2, -0 if they compare equal, &gt; 0 if @str1 compares after @str2. - - - - - -Asynchronously closes the file enumerator. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned in -g_file_enumerator_close_finish(). - - - - - a #GFileEnumerator. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Creates a duplicate of a #GAppInfo. - - - - - - a #GAppInfo. - - - - a duplicate of @appinfo. - - - - - -Returns: ISO 8601 week number of the year. - - - - - a valid #GDate - - - - ISO 8601 week number of the year. - -Since: 2.6 - - - - - -Checks if any sources have pending events for the given context. - - - - - - a #GMainContext (if %NULL, the default context will be used) - - - - %TRUE if events are pending. - - - - - -On some platforms, notably Windows, the #GPid type represents a resource -which must be closed to prevent resource leaking. g_spawn_close_pid() -is provided for this purpose. It should be used on all platforms, even -though it doesn't do anything under UNIX. - - - - - The process reference to close - - - - - - - - -Gets the display string for the display. This is used to ensure new -applications are started on the same display as the launching -application. - - - - - - a #GAppLaunchContext. - - - - a #GAppInfo. - - - - a #GList of files. - - - - a display string for the display. - - - - - -A desktop file is hidden if the Hidden key in it is -set to True. - - - - - - a #GDesktopAppInfo. - - - - %TRUE if hidden, %FALSE otherwise. - - - - - -Frees the memory allocated for the #GString. -If @free_segment is %TRUE it also frees the character data. - - - - - - a #GString - - - - if %TRUE the actual character data is freed as well - - - - the character data of @string -(i.e. %NULL if @free_segment is %TRUE) - - - - - -Gets the current flags for a #GIOChannel, including read-only -flags such as %G_IO_FLAG_IS_READABLE. - -The values of the flags %G_IO_FLAG_IS_READABLE and %G_IO_FLAG_IS_WRITEABLE -are cached for internal use by the channel when it is created. -If they should change at some later point (e.g. partial shutdown -of a socket with the UNIX shutdown() function), the user -should immediately call g_io_channel_get_flags() to update -the internal values of these flags. - - - - - - a #GIOChannel - - - - the flags which are set on the channel - - - - - -Removes all items in the (@begin, @end) range. - -If the sequence has a data destroy function associated with it, this -function is called on the data for the removed items. - -Since: 2.14 - - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - - - - - -Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong. - - - - - a valid #GValue of type %G_TYPE_ULONG - - - - unsigned long integer value to be set - - - - - - - - -Creates a new #GTree with a comparison function that accepts user data. -See g_tree_new() for more details. - - - - - - qsort()-style comparison function. - - - - data to pass to comparison function. - - - - a new #GTree. - - - - - -Determines if a character is typically rendered in a double-width -cell under legacy East Asian locales. If a character is wide according to -g_unichar_iswide(), then it is also reported wide with this function, but -the converse is not necessarily true. See the -&lt;ulink url="http://www.unicode.org/reports/tr11/"&gt;Unicode Standard -Annex #11&lt;/ulink&gt; for details. - - - - - - a Unicode character - - - - %TRUE if the character is wide in legacy East Asian locales - -Since: 2.12 - - - - - -Request an asynchronous read of @count bytes from the stream into the buffer -starting at @buffer. When the operation is finished @callback will be called. -You can then call g_input_stream_read_finish() to get the result of the -operation. - -During an async request no other sync and async calls are allowed, and will -result in %G_IO_ERROR_PENDING errors. - -A value of @count larger than %G_MAXSSIZE will cause a %G_IO_ERROR_INVALID_ARGUMENT error. - -On success, the number of bytes read into the buffer will be passed to the -callback. It is not an error if this is not the same as the requested size, as it -can happen e.g. near the end of a file, but generally we try to read -as many bytes as requested. Zero is returned on end of file -(or if @count is zero), but never otherwise. - -Any outstanding i/o request with higher priority (lower numerical value) will -be executed before an outstanding request with lower priority. Default -priority is %G_PRIORITY_DEFAULT. - -The asyncronous methods have a default fallback that uses threads to implement -asynchronicity, so they are optional for inheriting classes. However, if you -override one you must override all. - - - - - A #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Creates a new data input stream for the @base_stream. - - - - - - a #GInputStream. - - - - a new #GDataInputStream. - - - - - -Gets the URI for the @file. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing the #GFile's URI. -The returned string should be freed with g_free() when no longer needed. - - - - - -Create a new test suite with the name @suite_name. - - - - - - a name for the suite - - - - A newly allocated #GTestSuite instance. - -Since: 2.16 - - - - - -Decreases the use count of a #GTypeModule by one. If the -result is zero, the module will be unloaded. (However, the -#GTypeModule will not be freed, and types associated with the -#GTypeModule are not unregistered. Once a #GTypeModule is -initialized, it must exist forever.) - - - - - a #GTypeModule - - - - - - - - -Sorts @queue using @func. - -This function is called while holding the @queue's lock. - -Since: 2.10 - - - - - a #GAsyncQueue - - - - the #GCompareDataFunc is used to sort @queue. This -function is passed two elements of the @queue. The function -should return 0 if they are equal, a negative value if the -first element should be higher in the @queue or a positive -value if the first element should be lower in the @queue than -the second element. - - - - user data passed to @func - - - - - - - - -Unsafe, need lock fen_lock. - - - - - - - - - -Set the contents of a %G_TYPE_STRING #GValue to @v_string. -The string is assumed to be static, and is thus not duplicated -when setting the #GValue. - - - - - a valid #GValue of type %G_TYPE_STRING - - - - static string to be set - - - - - - - - - - - - - - - - - - - - - #GUnixVolume for the given @mount_path. - - - - - -Finishes ejecting a volume. - - - - - - pointer to a #GVolume. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE, %FALSE if operation failed. - - - - - -Mounts a volume. - - - - - a #GVolume. - - - - flags affecting the operation - - - - a #GMountOperation or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Checks if the unix mount points have changed since a given unix time. - - - - - - guint64 to contain a timestamp. - - - - %TRUE if the mount points have changed since @time. - - - - - -Finishes unmounting a mount. If any errors occurred during the operation, -@error will be set to contain the errors and %FALSE will be returned. - - - - - - a #GMount. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the mount was successfully unmounted. %FALSE otherwise. - - - - - -Gets the size of the buffer in the @stream. - - - - - - a #GBufferedOutputStream. - - - - the current size of the buffer. - - - - - -Quotes a string so that the shell (/bin/sh) will interpret the -quoted string to mean @unquoted_string. If you pass a filename to -the shell, for example, you should first quote it with this -function. The return value must be freed with g_free(). The -quoting style used is undefined (single or double quotes may be -used). - - - - - - a literal string - - - - quoted string - - - - - -Creates a new signal. (This is usually done in the class initializer.) - -A signal name consists of segments consisting of ASCII letters and -digits, separated by either the '-' or '_' character. The first -character of a signal name must be a letter. Names which violate these -rules lead to undefined behaviour of the GSignal system. - -When registering a signal and looking up a signal, either separator can -be used, but they cannot be mixed. - - - - - - the name for the signal - - - - the type this signal pertains to. It will also pertain to -types which are derived from this type. - - - - a combination of #GSignalFlags specifying detail of when -the default handler is to be invoked. You should at least specify -%G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST. - - - - The offset of the function pointer in the class structure -for this type. Used to invoke a class method generically. Pass 0 to -not associate a class method with this signal. - - - - the accumulator for this signal; may be %NULL. - - - - user data for the @accumulator. - - - - the function to translate arrays of parameter values to -signal emissions into C language callback invocations. - - - - the type of return value, or #G_TYPE_NONE for a signal -without a return value. - - - - the number of parameter types to follow. - - - - a list of types, one for each parameter. - - - - the signal id - - - - - -Compares @str1 and @str2 like strcmp(). Handles %NULL strings gracefully. - - - - - - a C string or %NULL - - - - another C string or %NULL - - - - -1, 0 or 1, if @str1 is &lt;, == or &gt; than @str2. - -Since: 2.16 - - - - - -References a file attribute matcher. - - - - - - a #GFileAttributeMatcher. - - - - a #GFileAttributeMatcher. - - - - - -Emitted when the file name completion information comes available. - - - - - - - - - -Set the contents of a %G_TYPE_STRING #GValue to @v_string. - - - - - a valid #GValue of type %G_TYPE_STRING - - - - string to be set - - - - - - - - -Creates a new file info structure. - - - - - - a #GFileInfo. - - - - - -Creates a new unix output stream for @fd. If @close_fd_at_close -is %TRUE, the fd will be closed when the output stream is destroyed. - - - - - - unix's file descriptor. - - - - a #gboolean. - - - - #GOutputStream. If @close_fd_at_close is %TRUE, then -@fd will be closed when the #GOutputStream is closed. - - - - - -Converts a string from UTF-8 to the encoding used for strings by -the C runtime (usually the same as that used by the operating -system) in the &lt;link linkend="setlocale"&gt;current locale&lt;/link&gt;. On -Windows this means the system codepage. - - - - - - a UTF-8 encoded string - - - - the length of the string, or -1 if the string is -nul-terminated&lt;footnoteref linkend="nul-unsafe"/&gt;. - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -#G_CONVERT_ERROR_ILLEGAL_SEQUENCE occurs, the value -stored will the byte offset after the last valid -input sequence. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - The converted string, or %NULL on an error. - - - - - -Puts an unsigned 16-bit integer into the output stream. - - - - - - a #GDataOutputStream. - - - - a #guint16. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Return value: a newly allocated string or %NULL if the specified - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError, or %NULL - - - - a newly allocated string or %NULL if the specified -key cannot be found. - -Since: 2.6 - - - - - -Removes a finalization notifier. - -Notice that notifiers are automatically removed after they are run. - - - - - a #GClosure - - - - data which was passed to g_closure_add_finalize_notifier() -when registering @notify_func - - - - the callback function to remove - - - - - - - - -Gets a unsigned 64-bit integer contained within the attribute. If the -attribute does not contain an unsigned 64-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a unsigned 64-bit integer from the attribute. - - - - - -Reverses the order of the items in @queue. - -Since: 2.4 - - - - - a #GQueue - - - - - - - - -Gets the last element in a #GList. - - - - - - a #GList - - - - the last element in the #GList, -or %NULL if the #GList has no elements - - - - - -Escapes the special characters used for regular expressions -in @string, for instance "a.b*c" becomes "a\.b\*c". This -function is useful to dynamically generate regular expressions. - -@string can contain nul characters that are replaced with "\0", -in this case remember to specify the correct length of @string -in @length. - - - - - - the string to escape - - - - the length of @string, or -1 if @string is nul-terminated - - - - a newly-allocated escaped string - -Since: 2.14 - - - - - -Get the contents of a %G_TYPE_FLAGS #GValue. - - - - - - a valid #GValue whose type is derived from %G_TYPE_FLAGS - - - - flags contents of @value - - - - - -Sets the user name within @op to @username. - - - - - - a #GMountOperation. - - - - input username. - - - - - - - - - - - - - a #GVolumeMonitor. - - - - a win32 path. - - - - ususally NULL - - - - a #GWin32Mount for the given win32 path. - - - - - -Determines if a character is titlecase. Some characters in -Unicode which are composites, such as the DZ digraph -have three case variants instead of just two. The titlecase -form is used at the beginning of a word where only the -first letter is capitalized. The titlecase form of the DZ -digraph is U+01F2 LATIN CAPITAL LETTTER D WITH SMALL LETTER Z. - - - - - - a Unicode character - - - - %TRUE if the character is titlecase - - - - - -Converts a gpointer to a hash value. -It can be passed to g_hash_table_new() as the @hash_func parameter, -when using pointers as keys in a #GHashTable. - - - - - - a #gpointer key - - - - a hash value corresponding to the key. - - - - - -Gets the time the bookmark for @uri was last visited. - -In the event the URI cannot be found, -1 is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - a timestamp. - -Since: 2.12 - - - - - -Enqueue a pointer to be released with g_free() during the next -teardown phase. This is equivalent to calling g_test_queue_destroy() -with a destroy callback of g_free(). - -Since: 2.16 - - - - - the pointer to be stored. - - - - - - - - -Asynchronously gets the requested information about the filesystem -that the specified @file is on. The result is a #GFileInfo object -that contains key-value attributes (such as type or size for the -file). - -For more details, see g_file_query_filesystem_info() which is the -synchronous version of this call. - -When the operation is finished, @callback will be called. You can -then call g_file_query_info_finish() to get the result of the -operation. - - - - - input #GFile. - - - - an attribute query string. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Adds a new attribute with @name to the @list, setting -its @type and @flags. - - - - - a #GFileAttributeInfoList. - - - - the name of the attribute to add. - - - - the #GFileAttributeType for the attribute. - - - - #GFileAttributeInfoFlags for the attribute. - - - - - - - - -Determines whether a character is numeric (i.e. a digit). This -covers ASCII 0-9 and also digits in other languages/scripts. Given -some UTF-8 text, obtain a character value with g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is a digit - - - - - -Get the contents of a %G_TYPE_ULONG #GValue. - - - - - - a valid #GValue of type %G_TYPE_ULONG - - - - unsigned long integer contents of @value - - - - - -Sort @value_array using @compare_func to compare the elements accoring -to the semantics of #GCompareDataFunc. - -The current implementation uses Quick-Sort as sorting algorithm. - - - - - - #GValueArray to sort - - - - function to compare elements - - - - extra data argument provided for @compare_func - - - - the #GValueArray passed in as @value_array - - - - - -Checks if the file enumerator has been closed. - - - - - - a #GFileEnumerator. - - - - %TRUE if the @enumerator is closed. - - - - - -Ejects a mount. This is an asynchronous operation, and is -finished by calling g_mount_eject_finish() with the @mount -and #GAsyncResults data returned in the @callback. - - - - - a #GMount. - - - - flags affecting the unmount if required for eject - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - user data passed to @callback. - - - - - - - - -Creates a new GSequence. The @data_destroy function, if non-%NULL will -be called on all items when the sequence is destroyed and on items that -are removed from the sequence. - - - - - - a #GDestroyNotify function, or %NULL - - - - a new #GSequence - -Since: 2.14 - - - - - -Close an IO channel. Any pending data to be written will be -flushed, ignoring errors. The channel will not be freed until the -last reference is dropped using g_io_channel_unref(). - -Deprecated:2.2: Use g_io_channel_shutdown() instead. - - - - - A #GIOChannel - - - - - - - - -Associates a new double value with @key under @group_name. -If @key cannot be found then it is created. - -Since: 2.12 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an double value - - - - - - - - -Compares @value1 with @value2 according to @pspec, and return -1, 0 or +1, -if @value1 is found to be less than, equal to or greater than @value2, -respectively. - - - - - - a valid #GParamSpec - - - - a #GValue of correct type for @pspec - - - - a #GValue of correct type for @pspec - - - - -1, 0 or +1, for a less than, equal to or greater than result - - - - - -Checks whether @file has the prefix specified by @prefix. In other word, if the -names of inital elements of @file&lt;!-- --&gt;s pathname match @prefix. - -This call does no i/o, as it works purely on names. As such it can sometimes -return %FALSE even if @file is inside a @prefix (from a filesystem point of view), -because the prefix of @file is an alias of @prefix. - - - - - - input #GFile. - - - - input #GFile. - - - - %TRUE if the @files's parent, grandparent, etc is @prefix. %FALSE otherwise. - - - - - -Returns: a newly-allocated zero-terminated array of #GType containing - - - - - an interface type - - - - location to return the number of prerequisites, or %NULL - - - - a newly-allocated zero-terminated array of #GType containing -the prerequisites of @interface_type - - - - - -Connects a closure to a signal for a particular object. - - - - - - the instance to connect to. - - - - the id of the signal. - - - - the detail. - - - - the closure to connect. - - - - whether the handler should be called before or after the -default handler of the signal. - - - - the handler id - - - - - -Gets a human-readable name for the application, as set by -g_set_application_name(). This name should be localized if -possible, and is intended for display to the user. Contrast with -g_get_prgname(), which gets a non-localized name. If -g_set_application_name() has not been called, returns the result of -g_get_prgname() (which may be %NULL if g_set_prgname() has also not -been called). - - - - - - human-readable application name. may return %NULL - -Since: 2.2 - - - - - -A safer form of the standard sprintf() function. The output is guaranteed -to not exceed @n characters (including the terminating nul character), so -it is easy to ensure that a buffer overflow cannot occur. - -See also g_strdup_printf(). - -In versions of GLib prior to 1.2.3, this function may return -1 if the -output was truncated, and the truncated string may not be nul-terminated. -In versions prior to 1.3.12, this function returns the length of the output -string. - -The return value of g_snprintf() conforms to the snprintf() -function as standardized in ISO C99. Note that this is different from -traditional snprintf(), which returns the length of the output string. - -The format string may contain positional parameters, as specified in -the Single Unix Specification. - - - - - - the buffer to hold the output. - - - - the maximum number of bytes to produce (including the -terminating nul character). - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the arguments to insert in the output. - - - - the number of bytes which would be produced if the buffer -was large enough. - - - - - -Sets the private flag of the bookmark for @uri. - -If a bookmark for @uri cannot be found then it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - %TRUE if the bookmark should be marked as private - - - - - - - - -Sets the sort order attribute in the file info structure. See -%G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER. - - - - - a #GFileInfo. - - - - a sort order integer. - - - - - - - - -Set the contents of a pointer #GValue to @v_pointer. - - - - - a valid #GValue of %G_TYPE_POINTER - - - - pointer value to be set - - - - - - - - -Set the contents of a %G_TYPE_CHAR #GValue to @v_char. - - - - - a valid #GValue of type %G_TYPE_CHAR - - - - character value to be set - - - - - - - - -Return value: the value associated with the key as a boolean, - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError - - - - the value associated with the key as a boolean, -or %FALSE if the key was not found or could not be parsed. - -Since: 2.6 - - - - - -Increases the reference count of the asynchronous @queue by 1. You -do not need to hold the lock to call this function. - - - - - - a #GAsyncQueue. - - - - the @queue that was passed in (since 2.6) - - - - - -Asynchronously queries the @stream for a #GFileInfo. When completed, -@callback will be called with a #GAsyncResult which can be used to -finish the operation with g_file_output_stream_query_info_finish(). - -For the synchronous version of this function, see -g_file_output_stream_query_info(). - - - - - - a #GFileOutputStream. - - - - a file attribute query string. - - - - the &lt;link linkend="gio-GIOScheduler"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - callback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Replacement for g_io_channel_read() with the new API. - - - - - - a #GIOChannel - - - - a buffer to read data into - - - - the size of the buffer. Note that the buffer may -not be complelely filled even if there is data -in the buffer if the remaining data is not a -complete character. - - - - The number of bytes read. This may be zero even on -success if count &lt; 6 and the channel's encoding is non-%NULL. -This indicates that the next UTF-8 character is too wide for -the buffer. - - - - a location to return an error of type #GConvertError -or #GIOChannelError. - - - - the status of the operation. - - - - - -Runs a single iteration for the given main loop. This involves -checking to see if any event sources are ready to be processed, -then if no events sources are ready and @may_block is %TRUE, waiting -for a source to become ready, then dispatching the highest priority -events sources that are ready. Otherwise, if @may_block is %FALSE -sources are not waited to become ready, only those highest priority -events sources will be dispatched (if any), that are ready at this -given moment without further waiting. - -Note that even when @may_block is %TRUE, it is still possible for -g_main_context_iteration() to return %FALSE, since the the wait may -be interrupted for other reasons than an event source becoming ready. - - - - - - a #GMainContext (if %NULL, the default context will be used) - - - - whether the call may block. - - - - %TRUE if events were dispatched. - - - - - -Gets an array of all #GParamSpec&lt;!-- --&gt;s owned by @owner_type in -the pool. - - - - - - a #GParamSpecPool - - - - the owner to look for - - - - return location for the length of the returned array - - - - a newly allocated array containing pointers to all -#GParamSpec&lt;!-- --&gt;s owned by @owner_type in the pool - - - - - -Return value: the values associated with the key as a list of - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - the number of integers returned - - - - return location for a #GError - - - - the values associated with the key as a list of -integers, or %NULL if the key was not found or could not be parsed. - -Since: 2.6 - - - - - -Gets a #GFileError constant based on the passed-in @errno. -For example, if you pass in %EEXIST this function returns -#G_FILE_ERROR_EXIST. Unlike @errno values, you can portably -assume that all #GFileError values will exist. - -Normally a #GFileError value goes into a #GError returned -from a function that manipulates files. So you would use -g_file_error_from_errno() when constructing a #GError. - - - - - - an "errno" value - - - - #GFileError corresponding to the given @errno - - - - - -Finds a source with the given source functions and user data. If -multiple sources exist with the same source function and user data, -the first one found will be returned. - - - - - - a #GMainContext (if %NULL, the default context will be used). - - - - the @source_funcs passed to g_source_new(). - - - - the user data from the callback. - - - - the source, if one was found, otherwise %NULL - - - - - -Gets properties of an object. - -In general, a copy is made of the property contents and the caller -is responsible for freeing the memory in the appropriate manner for -the type, for instance by calling g_free() or g_object_unref(). - -See g_object_get(). - - - - - a #GObject - - - - name of the first property to get - - - - return location for the first property, followed optionally by more -name/return location pairs, followed by %NULL - - - - - - - - -Get the contents of a %G_TYPE_UINT64 #GValue. - - - - - - a valid #GValue of type %G_TYPE_UINT64 - - - - unsigned 64bit integer contents of @value - - - - - - - - - - - - - - - - - - - - - - -Gets the byte order for the data input stream. - - - - - - a given #GDataInputStream. - - - - the @stream's current #GDataStreamByteOrder. - - - - - -Gets the element at the given position in a #GSList. - - - - - - a #GSList - - - - the position of the element, counting from 0 - - - - the element, or %NULL if the position is off -the end of the #GSList - - - - - -Computes the canonical ordering of a string in-place. -This rearranges decomposed characters in the string -according to their combining classes. See the Unicode -manual for more information. - - - - - a UCS-4 encoded string. - - - - the maximum length of @string to use. - - - - - - - - -Gets the position of the given element -in the #GSList (starting from 0). - - - - - - a #GSList - - - - an element in the #GSList - - - - the position of the element in the #GSList, -or -1 if the element is not found - - - - - -Truncates a stream with a given #offset. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - a #GSeekable. - - - - a #goffset. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if successful. If an error -has occurred, this function will return %FALSE and set @error -appropriately if present. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT32 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint32 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Calls @func for each element in the queue passing @user_data to the -function. - -Since: 2.4 - - - - - a #GQueue - - - - the function to call for each element's data - - - - user data to pass to @func - - - - - - - - -Removes the first element in @queue that contains @data. - -Since: 2.4 - - - - - a #GQueue - - - - data to remove. - - - - - - - - -Return value: the #GSequence that @iter points into. - - - - - a #GSequenceIter - - - - the #GSequence that @iter points into. - -Since: 2.14 - - - - - -Sets the content type attribute for a given #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE. - - - - - a #GFileInfo. - - - - a content type. See #GContentType. - - - - - - - - -Return value: the #GHashTable associated with @iter. - - - - - an initialized #GHashTableIter. - - - - the #GHashTable associated with @iter. - -Since: 2.16 - - - - - -Return value: the value associated with the key as a double, or - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError - - - - the value associated with the key as a double, or -0.0 if the key was not found or could not be parsed. - -Since: 2.12 - - - - - -Loads an icon asynchronously. To finish this function, see -g_loadable_icon_load_finish(). For the synchronous, blocking -version of this function, see g_loadable_icon_load(). - - - - - a #GLoadableIcon. - - - - an integer. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Bundles up pointers to each of the matching substrings from a match -and stores them in an array of gchar pointers. The first element in -the returned array is the match number 0, i.e. the entire matched -text. - -If a sub pattern didn't match anything (e.g. sub pattern 1, matching -"b" against "(a)?b") then an empty string is inserted. - -If the last match was obtained using the DFA algorithm, that is using -g_regex_match_all() or g_regex_match_all_full(), the retrieved -strings are not that matched by sets of parentheses but that of the -matched substring. Substrings are matched in reverse order of length, -so the first one is the longest match. - -The strings are fetched from the string passed to the match function, -so you cannot call this function after freeing the string. - - - - - - a #GMatchInfo structure - - - - a %NULL-terminated array of gchar * pointers. It must be -freed using g_strfreev(). If the previous match failed %NULL is -returned - -Since: 2.14 - - - - - -Finishes an asynchronous file info query. -See g_file_query_info_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError. - - - - #GFileInfo for given @file or %NULL on error. - - - - - -Gets the file attribute with the name @name from @list. - - - - - - a #GFileAttributeInfoList. - - - - the name of the attribute to lookup. - - - - a #GFileAttributeInfo for the @name, or %NULL if an -attribute isn't found. - - - - - -Finishes closing a file enumerator, started from g_file_enumerator_close_async(). - -If the file enumerator was already closed when g_file_enumerator_close_async() -was called, then this function will report %G_IO_ERROR_CLOSED in @error, and -return %FALSE. If the file enumerator had pending operation when the close -operation was started, then this function will report %G_IO_ERROR_PENDING, and -return %FALSE. If @cancellable was not %NULL, then the operation may have been -cancelled by triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be set, and %FALSE will be -returned. - - - - - - a #GFileEnumerator. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the close operation has finished successfully. - - - - - -Set the contents of a %G_TYPE_INT64 #GValue to @v_int64. - - - - - a valid #GValue of type %G_TYPE_INT64 - - - - 64bit integer value to be set - - - - - - - - -Sets the application as the default handler for a given type. - - - - - - a #GAppInfo. - - - - the content type. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Checks whether @ch is a valid Unicode character. Some possible -integer values of @ch will not be valid. 0 is considered a valid -character, though it's normally a string terminator. - - - - - - a Unicode character - - - - %TRUE if @ch is a valid Unicode character - - - - - -Decrements the reference count for the type corresponding to the -interface default vtable @g_iface. If the type is dynamic, then -when no one is using the interface and all references have -been released, the finalize function for the interface's default -vtable (the &lt;structfield&gt;class_finalize&lt;/structfield&gt; member of -#GTypeInfo) will be called. - -Since: 2.4 - - - - - the default vtable structure for a interface, as -returned by g_type_default_interface_ref() - - - - - - - - -Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, GOBject *arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #GObject* parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -A simple version of g_spawn_async() that parses a command line with -g_shell_parse_argv() and passes it to g_spawn_async(). Runs a -command line in the background. Unlike g_spawn_async(), the -%G_SPAWN_SEARCH_PATH flag is enabled, other flags are not. Note -that %G_SPAWN_SEARCH_PATH can have security implications, so -consider using g_spawn_async() directly if appropriate. Possible -errors are those from g_shell_parse_argv() and g_spawn_async(). - -The same concerns on Windows apply as for g_spawn_command_line_sync(). - - - - - - a command line - - - - return location for errors - - - - %TRUE on success, %FALSE if error is set. - - - - - -Sets @value from an instantiatable type via the -value_table's collect_value() function. - - - - - An initialized #GValue structure. - - - - the instance - - - - - - - - -Calls the @complete_interface_info function from the -#GTypePluginClass of @plugin. There should be no need to use this -function outside of the GObject type system itself. - - - - - the #GTypePlugin - - - - the #GType of an instantiable type to which the interface -is added - - - - the #GType of the interface whose info is completed - - - - the #GInterfaceInfo to fill in - - - - - - - - -Calls the original class closure of a signal. This function should only -be called from an overridden class closure; see -g_signal_override_class_closure(). - - - - - the argument list of the signal emission. The first -element in the array is a #GValue for the instance the signal is being -emitted on. The rest are any arguments to be passed to the signal. - - - - Location for the return value. - - - - - - - - -Guesses the name of a Unix mount. -The result is a translated string. - - - - - - a #GUnixMountEntry - - - - A newly allocated string that must -be freed with g_free() - - - - - -Checks if an output stream has already been closed. - - - - - - a #GOutputStream. - - - - %TRUE if @stream is closed. %FALSE otherwise. - - - - - -Gets the source tag for the #GSimpleAsyncResult. - - - - - - a #GSimpleAsyncResult. - - - - a #gpointer to the source object for the #GSimpleAsyncResult. - - - - - -The notify signal is emitted on an object when one of its -properties has been changed. Note that getting this signal -doesn't guarantee that the value of the property has actually -changed, it may also be emitted when the setter for the property -is called to reinstate the previous value. - -This signal is typically used to obtain change notification for a -single property, by specifying the property name as a detail in the -g_signal_connect() call, like this: -|[ -g_signal_connect (text_view-&gt;buffer, "notify::paste-target-list", -G_CALLBACK (gtk_text_view_target_list_notify), -text_view) -]| -It is important to note that you must use -&lt;link linkend="canonical-parameter-name"&gt;canonical&lt;/link&gt; parameter names as -detail strings for the notify signal. - - - - - the #GParamSpec of the property which changed - - - - the object which received the signal. - - - - - - - - -Set the contents of a %G_TYPE_UINT #GValue to @v_uint. - - - - - a valid #GValue of type %G_TYPE_UINT - - - - unsigned integer value to be set - - - - - - - - -Sets the (writeable) flags in @channel to (@flags & %G_IO_CHANNEL_SET_MASK). - - - - - - a #GIOChannel - - - - the flags to set on the IO channel - - - - A location to return an error of type #GIOChannelError - - - - the status of the operation. - - - - - -Adds a function to be called whenever there are no higher priority -events pending to the default main loop. The function is given the -default idle priority, #G_PRIORITY_DEFAULT_IDLE. If the function -Return value: the ID (greater than 0) of the event source. - - - - - function to call - - - - data to pass to @function. - - - - the ID (greater than 0) of the event source. - - - - - -Appends a formatted string onto the end of a #GString. -This function is similar to g_string_printf() except -that the text is appended to the #GString. - - - - - a #GString - - - - the string format. See the printf() documentation - - - - the parameters to insert into the format string - - - - - - - - -Gets the root directory on @mount. - - - - - - a #GMount. - - - - a #GFile. - - - - - -Creates a new empty #GKeyFile object. Use -g_key_file_load_from_file(), g_key_file_load_from_data(), -g_key_file_load_from_dirs() or g_key_file_load_from_data_dirs() to -read an existing key file. - - - - - - an empty #GKeyFile. - -Since: 2.6 - - - - - -Like g_sequence_search(), but uses -a #GSequenceIterCompareFunc instead of a #GCompareDataFunc as -the compare function. - - - - - - a #GSequence - - - - data for the new item - - - - the #GSequenceIterCompare function used to compare iterators -in the sequence. It is called with two iterators pointing into @seq. -It should return 0 if the iterators are equal, a negative value if the -first iterator comes before the second, and a positive value if the -second iterator comes before the first. - - - - user data passed to @iter_cmp - - - - a #GSequenceIter pointing to the position in @seq -where @data would have been inserted according to @iter_cmp and @cmp_data. - -Since: 2.14 - - - - - -Decreases the reference count on a #GMainContext object by one. If -the result is zero, free the context and free all associated memory. - - - - - a #GMainContext - - - - - - - - -Creates a new #GDesktopAppInfo. - - - - - - a string containing a file name. - - - - a new #GDesktopAppInfo or %NULL on error. - - - - - -Finds an iterator somewhere in the range (@begin, @end). This -iterator will be close to the middle of the range, but is not -guaranteed to be &lt;emphasis&gt;exactly&lt;/emphasis&gt; in the middle. - -The @begin and @end iterators must both point to the same sequence and -@begin must come before or be equal to @end in the sequence. - - - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - A #GSequenceIter pointing somewhere in the -(@begin, @end) range. - -Since: 2.14 - - - - - -Equivalent to the UNIX gettimeofday() function, but portable. - - - - - #GTimeVal structure in which to store current time. - - - - - - - - -Checks if a volume can be ejected. - - - - - - a #GVolume. - - - - %TRUE if the @volume can be ejected. %FALSE otherwise. - - - - - -Creates a new #GAppInfo from the given information. - - - - - - the commandline to use - - - - the application name, or %NULL to use @commandline - - - - flags that can specify details of the created #GAppInfo - - - - a #GError location to store the error occuring, %NULL to ignore. - - - - new #GAppInfo for given command. - - - - - -Return value: a #GSequenceIter pointing to the previous position before - - - - - a #GSequenceIter - - - - a #GSequenceIter pointing to the previous position before -@iter. - -Since: 2.14 - - - - - -Creates a new #GDesktopAppInfo. - - - - - - the desktop file id - - - - a new #GDesktopAppInfo, or %NULL if no desktop file with that id - - - - - -Used from an I/O job to send a callback to be run asynchronously -in the main loop (main thread). The callback will be run when the -main loop is available, but at that time the I/O job might have -finished. The return value from the callback is ignored. - -Note that if you are passing the @user_data from g_io_scheduler_push_job() -on to this function you have to ensure that it is not freed before -@func is called, either by passing %NULL as @notify to -g_io_scheduler_push_job() or by using refcounting for @user_data. - - - - - a #GIOSchedulerJob - - - - a #GSourceFunc callback that will be called in the main thread - - - - data to pass to @func - - - - a #GDestroyNotify for @user_data, or %NULL - - - - - - - - -Removes the first element of the queue. - - - - - - a #GQueue. - - - - the data of the first element in the queue, or %NULL if the queue -is empty. - - - - - -Sets the result from a #GError. - - - - - a #GSimpleAsyncResult. - - - - #GError. - - - - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - - a #GFileInfo. - - - - attribute name to set. - - - - int64 value to set attribute to. - - - - - - - - -Replaces all occurances of the pattern in @regex with the -replacement text. Backreferences of the form '\number' or -'\g&lt;number&gt;' in the replacement text are interpolated by the -number-th captured subexpression of the match, '\g&lt;name&gt;' refers -to the captured subexpression with the given name. '\0' refers to the -complete match, but '\0' followed by a number is the octal representation -of a character. To include a literal '\' in the replacement, write '\\'. -There are also escapes that changes the case of the following text: - -&lt;variablelist&gt; -&lt;varlistentry&gt;&lt;term&gt;\l&lt;/term&gt; -&lt;listitem&gt; -&lt;para&gt;Convert to lower case the next character&lt;/para&gt; -&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt;&lt;term&gt;\u&lt;/term&gt; -&lt;listitem&gt; -&lt;para&gt;Convert to upper case the next character&lt;/para&gt; -&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt;&lt;term&gt;\L&lt;/term&gt; -&lt;listitem&gt; -&lt;para&gt;Convert to lower case till \E&lt;/para&gt; -&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt;&lt;term&gt;\U&lt;/term&gt; -&lt;listitem&gt; -&lt;para&gt;Convert to upper case till \E&lt;/para&gt; -&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt;&lt;term&gt;\E&lt;/term&gt; -&lt;listitem&gt; -&lt;para&gt;End case modification&lt;/para&gt; -&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;/variablelist&gt; - -If you do not need to use backreferences use g_regex_replace_literal(). - -The @replacement string must be UTF-8 encoded even if #G_REGEX_RAW was -passed to g_regex_new(). If you want to use not UTF-8 encoded stings -you can use g_regex_replace_literal(). - -Setting @start_position differs from just passing over a shortened -string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern that -begins with any kind of lookbehind assertion, such as "\b". - - - - - - a #GRegex structure - - - - the string to perform matches against - - - - the length of @string, or -1 if @string is nul-terminated - - - - starting index of the string to match - - - - text to replace each match with - - - - options for the match - - - - location to store the error occuring, or %NULL to ignore errors - - - - a newly allocated string containing the replacements - -Since: 2.14 - - - - - -Reads an unsigned 16-bit/2-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 16-bit/2-byte value read from the @stream or %0 if -an error occurred. - - - - - -Creates a new parse context. A parse context is used to parse -marked-up documents. You can feed any number of documents into -a context, as long as no errors occur; once an error occurs, -the parse context can't continue to parse text (you have to free it -and create a new parse context). - - - - - - a #GMarkupParser - - - - one or more #GMarkupParseFlags - - - - user data to pass to #GMarkupParser functions - - - - user data destroy notifier called when the parse context is freed - - - - a new #GMarkupParseContext - - - - - -Looks up the #GUnicodeScript for a particular character (as defined -by Unicode Standard Annex #24). No check is made for @ch being a -valid Unicode character; if you pass in invalid character, the -result is undefined. - -This function is equivalent to pango_script_for_unichar() and the -two are interchangeable. - - - - - - a Unicode character - - - - the #GUnicodeScript for the character. - -Since: 2.14 - - - - - -Destroys the #GTree. If keys and/or values are dynamically allocated, you -should either free them first or create the #GTree using g_tree_new_full(). -In the latter case the destroy functions you supplied will be called on -all keys and values before destroying the #GTree. - - - - - a #GTree. - - - - - - - - -Closes the directory and deallocates all related resources. - - - - - a #GDir* created by g_dir_open() - - - - - - - - -Sets a flag on the closure to indicate that it's calling -environment has become invalid, and thus causes any future -invocations of g_closure_invoke() on this @closure to be -ignored. Also, invalidation notifiers installed on the closure will -be called at this point. Note that unless you are holding a -reference to the closure yourself, the invalidation notifiers may -unref the closure and cause it to be destroyed, so if you need to -access the closure after calling g_closure_invalidate(), make sure -that you've previously called g_closure_ref(). - -Note that g_closure_invalidate() will also be called when the -reference count of a closure drops to zero (unless it has already -been invalidated before). - - - - - GClosure to invalidate - - - - - - - - -Sets the required type for @extension_point to @type. -All implementations must henceforth have this type. - - - - - a #GIOExtensionPoint - - - - the #GType to require - - - - - - - - -Creates a new buffered output stream with a given buffer size. - - - - - - a #GOutputStream. - - - - a #gsize. - - - - a #GOutputStream with an internal buffer set to @size. - - - - - -Calls the @unuse_plugin function from the #GTypePluginClass of -@plugin. There should be no need to use this function outside of -the GObject type system itself. - - - - - a #GTypePlugin - - - - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to @value. -If @attribute is of a different type, this operation will fail, -returning %FALSE. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a string containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Breaks the string on the pattern, and returns an array of the tokens. -If the pattern contains capturing parentheses, then the text for each -of the substrings will also be returned. If the pattern does not match -anywhere in the string, then the whole string is returned as the first -token. - -As a special case, the result of splitting the empty string "" is an -empty vector, not a vector containing a single string. The reason for -this special case is that being able to represent a empty vector is -typically more useful than consistent handling of empty elements. If -you do need to represent empty elements, you'll need to check for the -empty string before calling this function. - -A pattern that can match empty strings splits @string into separate -characters wherever it matches the empty string between characters. -For example splitting "ab c" using as a separator "\s*", you will get -"a", "b" and "c". - -Setting @start_position differs from just passing over a shortened -string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern -that begins with any kind of lookbehind assertion, such as "\b". - - - - - - a #GRegex structure - - - - the string to split with the pattern - - - - the length of @string, or -1 if @string is nul-terminated - - - - starting index of the string to match - - - - match time option flags - - - - the maximum number of tokens to split @string into. -If this is less than 1, the string is split completely - - - - return location for a #GError - - - - a %NULL-terminated gchar ** array. Free it using g_strfreev() - -Since: 2.14 - - - - - -Connects a #GCallback function to a signal for a particular object. Similar -to g_signal_connect(), but allows to provide a #GClosureNotify for the data -which will be called when the signal handler is disconnected and no longer -used. Specify @connect_flags if you need &lt;literal&gt;..._after()&lt;/literal&gt; or -&lt;literal&gt;..._swapped()&lt;/literal&gt; variants of this function. - - - - - - the instance to connect to. - - - - a string of the form "signal-name::detail". - - - - the #GCallback to connect. - - - - data to pass to @c_handler calls. - - - - a #GClosureNotify for @data. - - - - a combination of #GConnectFlags. - - - - the handler id - - - - - -A wrapper for the POSIX chmod() function. The chmod() function is -used to set the permissions of a file system object. - -On Windows the file protection mechanism is not at all POSIX-like, -and the underlying chmod() function in the C library just sets or -clears the FAT-style READONLY attribute. It does not touch any -ACL. Software that needs to manage file permissions on Windows -exactly should use the Win32 API. - -See your C library manual for more details about chmod(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - as in chmod() - - - - zero if the operation succeeded, -1 on error. - -Since: 2.8 - - - - - -Retrieves the text matching the capturing parentheses named @name. - -If @name is a valid sub pattern name but it didn't match anything -(e.g. sub pattern "X", matching "b" against "(?P&lt;X&gt;a)?b") -then an empty string is returned. - -The string is fetched from the string passed to the match function, -so you cannot call this function after freeing the string. - - - - - - #GMatchInfo structure - - - - name of the subexpression - - - - The matched substring, or %NULL if an error occurred. -You have to free the string yourself - -Since: 2.14 - - - - - -Completes an asynchronous function in the main event loop using -an idle function. - - - - - a #GSimpleAsyncResult. - - - - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a byte string. - - - - - - - - -Puts an unsigned 64-bit integer into the stream. - - - - - - a #GDataOutputStream. - - - - a #guint64. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Adds @group to the list of groups to which the bookmark for @uri -belongs to. - -If no bookmark for @uri is found then it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - the group name to be added - - - - - - - - -Adds a new item to the front of @seq - - - - - - a #GSequence - - - - the data for the new item - - - - an iterator pointing to the new item - -Since: 2.14 - - - - - -Convert a string from UTF-8 to UTF-16. A 0 character will be -added to the result after the converted text. - - - - - - a UTF-8 encoded string - - - - the maximum length (number of characters) of @str to use. -If @len &lt; 0, then the string is nul-terminated. - - - - location to store number of bytes read, or %NULL. -If %NULL, then %G_CONVERT_ERROR_PARTIAL_INPUT will be -returned in case @str contains a trailing partial -character. If an error occurs then the index of the -invalid input is stored here. - - - - location to store number of &lt;type&gt;gunichar2&lt;/type&gt; written, -or %NULL. -The value stored here does not include the trailing 0. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError other than -%G_CONVERT_ERROR_NO_CONVERSION may occur. - - - - a pointer to a newly allocated UTF-16 string. -This value must be freed with g_free(). If an -error occurs, %NULL will be returned and -@error set. - - - - - -Add a property to an interface; this is only useful for interfaces -that are added to GObject-derived types. Adding a property to an -interface forces all objects classes with that interface to have a -compatible property. The compatible property could be a newly -created #GParamSpec, but normally -g_object_class_override_property() will be used so that the object -class only needs to provide an implementation and inherits the -property description, default value, bounds, and so forth from the -interface property. - -This function is meant to be called from the interface's default -vtable initialization function (the @class_init member of -#GTypeInfo.) It must not be called after after @class_init has -been called for any object types implementing this interface. - -Since: 2.4 - - - - - any interface vtable for the interface, or the default -vtable for the interface. - - - - the #GParamSpec for the new property - - - - - - - - -Gets the requested information about specified @file. The result -is a #GFileInfo object that contains key-value attributes (such as -the type or size of the file). - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "standard::*" means all attributes in the standard -namespace. An example attribute query be "standard::*,owner::user". -The standard attributes are available as defines, like #G_FILE_ATTRIBUTE_STANDARD_NAME. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -For symlinks, normally the information about the target of the -symlink is returned, rather than information about the symlink itself. -However if you pass #G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in @flags the -information about the symlink itself will be returned. Also, for symlinks -that point to non-existing files the information about the symlink itself -will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - a #GFileInfo for the given @file, or %NULL on error. - - - - - -Formats a size (for example the size of a file) into a human readable string. -Sizes are rounded to the nearest size prefix (KB, MB, GB) and are displayed rounded to -the nearest tenth. E.g. the file size 3292528 bytes will be converted into -the string "3.1 MB". - -The prefix units base is 1024 (i.e. 1 KB is 1024 bytes). - - - - - - a size in bytes. - - - - a formatted string containing a human readable file size. - -Since: 2.16 - - - - - -Removes an element from a #GList. -If two elements contain the same data, only the first is removed. -If none of the elements contain the data, the #GList is unchanged. - - - - - - a #GList - - - - the data of the element to remove - - - - the new start of the #GList - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gpointer parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Sets a function to be called when the child indicated by @pid -exits, at the priority @priority. - -If you obtain @pid from g_spawn_async() or g_spawn_async_with_pipes() -you will need to pass #G_SPAWN_DO_NOT_REAP_CHILD as flag to -the spawn function for the child watching to work. - -Note that on platforms where #GPid must be explicitly closed -(see g_spawn_close_pid()) @pid must not be closed while the -source is still active. Typically, you will want to call -g_spawn_close_pid() in the callback function for the source. - -GLib supports only a single callback per process id. - - - - - - the priority of the idle source. Typically this will be in the -range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE. - - - - process to watch. On POSIX the pid of a child process. On -Windows a handle for a process (which doesn't have to be a child). - - - - function to call - - - - data to pass to @function - - - - function to call when the idle is removed, or %NULL - - - - the ID (greater than 0) of the event source. - -Since: 2.4 - - - - - -Registers @type as extension for the extension point with name -@extension_point_name. - -If @type has already been registered as an extension for this -extension point, the existing #GIOExtension object is returned. - - - - - - the name of the extension point - - - - the #GType to register as extension - - - - the name for the extension - - - - the priority for the extension - - - - a #GIOExtension object for #GType - - - - - -Frees context and all the groups which have been -added to it. - -Since: 2.6 - - - - - a #GOptionContext - - - - - - - - -Sets the current position in the #GIOChannel, similar to the standard -library function fseek(). - - - - - - a #GIOChannel - - - - an offset, in bytes, which is added to the position specified -by @type - - - - the position in the file, which can be %G_SEEK_CUR (the current -position), %G_SEEK_SET (the start of the file), or %G_SEEK_END -(the end of the file) - - - - %G_IO_ERROR_NONE if the operation was successful. - -Deprecated:2.2: Use g_io_channel_seek_position() instead. - - - - - -Converts all Unicode characters in the string that have a case -to lowercase. The exact manner that this is done depends -on the current locale, and may result in the number of -characters in the string changing. - - - - - - a UTF-8 encoded string - - - - length of @str, in bytes, or -1 if @str is nul-terminated. - - - - a newly allocated string, with all characters -converted to lowercase. - - - - - -Finishes ejecting a mount. If any errors occurred during the operation, -@error will be set to contain the errors and %FALSE will be returned. - - - - - - a #GMount. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if the mount was successfully ejected. %FALSE otherwise. - - - - - -#GIcon is a very minimal interface for icons. It provides functions -for checking the equality of two icons and hashing of icons. - -#GIcon does not provide the actual pixmap for the icon as this is out -of GIO's scope, however implementations of #GIcon may contain the name -of an icon (see #GThemedIcon), or the path to an icon (see #GLoadableIcon). - -To obtain a hash of a #GIcon, see g_icon_hash(). - -To check if two #GIcons are equal, see g_icon_equal(). - - - - - Interface for icons - - - - gio/gio.h - - - - - - - - -Gets the attribute status for an attribute key. - - - - - - a #GFileInfo - - - - a file attribute key - - - - a #GFileAttributeStatus for the given @attribute, or -%G_FILE_ATTRIBUTE_STATUS_UNSET if the key is invalid. - - - - - - -This function outputs @bookmark into a file. The write process is -guaranteed to be atomic by using g_file_set_contents() internally. - - - - - - a #GBookmarkFile - - - - path of the output file - - - - return location for a #GError, or %NULL - - - - %TRUE if the file was successfully written. - -Since: 2.12 - - - - - -Turns on flag values for a data list. This function is used -to keep a small number of boolean flags in an object with -a data list without using any additional space. It is -not generally useful except in circumstances where space -is very tight. (It is used in the base #GObject type, for -example.) - -Since: 2.8 - - - - - pointer to the location that holds a list - - - - the flags to turn on. The values of the flags are -restricted by %G_DATALIST_FLAGS_MASK (currently -3; giving two possible boolean flags). -A value for @flags that doesn't fit within the mask is -an error. - - - - - - - - -Sets the byte order of the data output stream to @order. - - - - - a #GDataOutputStream. - - - - a %GDataStreamByteOrder. - - - - - - - - -This function works like g_param_spec_set_qdata(), but in addition, -a &lt;literal&gt;void (*destroy) (gpointer)&lt;/literal&gt; function may be -specified which is called with @data as argument when the @pspec is -finalized, or the data is being overwritten by a call to -g_param_spec_set_qdata() with the same @quark. - - - - - the #GParamSpec to set store a user data pointer - - - - a #GQuark, naming the user data pointer - - - - an opaque user data pointer - - - - function to invoke with @data as argument, when @data needs to -be freed - - - - - - - - -Atomically decrements the reference count of @hash_table by one. -If the reference count drops to 0, all keys and values will be -destroyed, and all memory allocated by the hash table is released. -This function is MT-safe and may be called from any thread. - -Since: 2.10 - - - - - a valid #GHashTable. - - - - - - - - -Gets the file descriptor for a cancellable job. This can be used to -implement cancellable operations on Unix systems. The returned fd will -turn readable when @cancellable is cancelled. - - - - - - a #GCancellable. - - - - A valid file descriptor. %-1 if the file descriptor -is not supported, or on errors. - - - - - -Checks if a attribute matcher only matches a given attribute. Always -Returns: %TRUE if the matcher only matches @attribute. %FALSE otherwise. - - - - - a #GFileAttributeMatcher. - - - - a file attribute key. - - - - %TRUE if the matcher only matches @attribute. %FALSE otherwise. - - - - - -Copies %NULL-terminated array of strings. The copy is a deep copy; -the new array should be freed by first freeing each string, then -the array itself. g_strfreev() does this for you. If called -on a %NULL value, g_strdupv() simply returns %NULL. - - - - - - %NULL-terminated array of strings. - - - - a new %NULL-terminated array of strings. - - - - - -Checks if a drive can be ejected. - - - - - - pointer to a #GDrive. - - - - %TRUE if the @drive can be ejected. %FALSE otherwise. - - - - - -Adds a string onto the end of a #GString, expanding -it if necessary. - - - - - - a #GString - - - - the string to append onto the end of @string - - - - @string - - - - - -Gets the number of bookmarks inside @bookmark. - - - - - - a #GBookmarkFile - - - - the number of bookmarks - -Since: 2.12 - - - - - -Return value: a newly allocated %NULL-terminated array of strings. - - - - - a #GBookmarkFile - - - - return location for the number of returned URIs, or %NULL - - - - a newly allocated %NULL-terminated array of strings. -Use g_strfreev() to free it. - -Since: 2.12 - - - - - -Closes an output stream. - - - - - - a #GOutputStream. - - - - a #GAsyncResult. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if stream was successfully closed, %FALSE otherwise. - - - - - -Transforms @src_value into @dest_value if possible, and then -validates @dest_value, in order for it to conform to @pspec. If -@strict_validation is %TRUE this function will only succeed if the -transformed @dest_value complied to @pspec without modifications. - -See also g_value_type_transformable(), g_value_transform() and -g_param_value_validate(). - - - - - - a valid #GParamSpec - - - - souce #GValue - - - - destination #GValue of correct type for @pspec - - - - %TRUE requires @dest_value to conform to @pspec -without modifications - - - - %TRUE if transformation and validation were successful, -%FALSE otherwise and @dest_value is left untouched. - - - - - -Like g_sequence_insert_sorted(), but uses -a #GSequenceIterCompareFunc instead of a #GCompareDataFunc as -the compare function. - - - - - - a #GSequence - - - - data for the new item - - - - the #GSequenceItercompare used to compare iterators in the -sequence. It is called with two iterators pointing into @seq. It should -return 0 if the iterators are equal, a negative value if the first -iterator comes before the second, and a positive value if the second -iterator comes before the first. - - - - user data passed to @cmp_func - - - - a #GSequenceIter pointing to the new item - -Since: 2.14 - - - - - -Return value: a #GList containing the desktop ids which claim - - - - - a mime type. - - - - a #GList containing the desktop ids which claim -to handle @mime_type. - - - - - -Adds a new element at the tail of the queue. - - - - - a #GQueue. - - - - a single #GList element, &lt;emphasis&gt;not&lt;/emphasis&gt; a list with -more than one element. - - - - - - - - -Creates a new child_watch source. - -The source will not initially be associated with any #GMainContext -and must be added to one with g_source_attach() before it will be -executed. - -Note that child watch sources can only be used in conjunction with -&lt;literal&gt;g_spawn...&lt;/literal&gt; when the %G_SPAWN_DO_NOT_REAP_CHILD -flag is used. - -Note that on platforms where #GPid must be explicitly closed -(see g_spawn_close_pid()) @pid must not be closed while the -source is still active. Typically, you will want to call -g_spawn_close_pid() in the callback function for the source. - -Note further that using g_child_watch_source_new() is not -compatible with calling &lt;literal&gt;waitpid(-1)&lt;/literal&gt; in -the application. Calling waitpid() for individual pids will -still work fine. - - - - - - process to watch. On POSIX the pid of a child process. On -Windows a handle for a process (which doesn't have to be a child). - - - - the newly-created child watch source - -Since: 2.4 - - - - - -Sets the %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info -to the given symlink target. - - - - - a #GFileInfo. - - - - a static string containing a path to a symlink target. - - - - - - - - -Compares two unix mount points. - - - - - - a #GUnixMount. - - - - a #GUnixMount. - - - - 1, 0 or -1 if @mount1 is greater than, equal to, -or less than @mount2, respectively. - - - - - -Gets a signed 32-bit integer contained within the attribute. If the -attribute does not contain a signed 32-bit integer, or is invalid, -0 will be returned. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a signed 32-bit integer from the attribute. - - - - - -This function creates a new %G_TYPE_BOXED derived type id for a new -boxed type with name @name. Boxed type handling functions have to be -provided to copy and free opaque boxed structures of this type. - - - - - - Name of the new boxed type. - - - - Boxed structure copy function. - - - - Boxed structure free function. - - - - New %G_TYPE_BOXED derived type id for @name. - - - - - -Creates a new idle source. - -The source will not initially be associated with any #GMainContext -and must be added to one with g_source_attach() before it will be -executed. Note that the default priority for idle sources is -%G_PRIORITY_DEFAULT_IDLE, as compared to other sources which -have a default priority of %G_PRIORITY_DEFAULT. - - - - - - the newly-created idle source - - - - - -Sets a property on an object. - - - - - a #GObject - - - - the name of the property to set - - - - the value - - - - - - - - -Adds a copy of the first @len bytes of @string to the #GStringChunk. -The copy is nul-terminated. - -Since this function does not stop at nul bytes, it is the caller's -responsibility to ensure that @string has at least @len addressable -bytes. - -The characters in the returned string can be changed, if necessary, -though you should not change anything after the end of the string. - - - - - - a #GStringChunk - - - - bytes to insert - - - - number of bytes of @string to insert, or -1 to insert a -nul-terminated string - - - - a pointer to the copy of @string within the #GStringChunk - -Since: 2.4 - - - - - -Removes the node link_ from the list and frees it. -Compare this to g_list_remove_link() which removes the node -without freeing it. - - - - - - a #GList - - - - node to delete from @list - - - - the new head of @list - - - - - -Get the contents of a %G_TYPE_UCHAR #GValue. - - - - - - a valid #GValue of type %G_TYPE_UCHAR - - - - unsigned character contents of @value - - - - - -Emitted when the unix mount points have changed. - - - - - - - - - -Ejects a drive. - - - - - - a #GDrive. - - - - flags affecting the unmount if required for eject - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Return value: a %NULL-terminated array of strings owned by GLib that must - - - - - a %NULL-terminated array of strings owned by GLib that must -not be modified or freed. -Since: 2.6 - - - - - -Gets the base stream for the filter stream. - - - - - - a #GFilterInputStream. - - - - a #GInputStream. - - - - - -Converts a #GString to lowercase. - - - - - - a #GString - - - - the #GString. - -Deprecated:2.2: This function uses the locale-specific -tolower() function, which is almost never the right thing. -Use g_string_ascii_down() or g_utf8_strdown() instead. - - - - - -Converts a string to upper case. - - - - - - the string to convert. - - - - the string - -Deprecated:2.2: This function is totally broken for the reasons discussed -in the g_strncasecmp() docs - use g_ascii_strup() or g_utf8_strup() instead. - - - - - -Return value: the number of key/value pairs in the #GHashTable. - - - - - a #GHashTable. - - - - the number of key/value pairs in the #GHashTable. - - - - - -This function is essentially the same as g_type_class_ref(), except that -the classes reference count isn't incremented. As a consequence, this function -may return %NULL if the class of the type passed in does not currently -exist (hasn't been referenced before). - - - - - - Type ID of a classed type. - - - - The #GTypeClass structure for the given type ID or %NULL -if the class does not currently exist. - - - - - -Checks whether the bookmark for @uri inside @bookmark has been -registered by application @name. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - the name of the application - - - - return location for a #GError or %NULL - - - - %TRUE if the application @name was found - -Since: 2.12 - - - - - -Copies a block of memory @len bytes long, from @src to @dest. -The source and destination areas may overlap. - -In order to use this function, you must include -&lt;filename&gt;string.h&lt;/filename&gt; yourself, because this macro will -typically simply resolve to memmove() and GLib does not include -&lt;filename&gt;string.h&lt;/filename&gt; for you. - - - - - the destination address to copy the bytes to. - - - - the source address to copy the bytes from. - - - - the number of bytes to copy. - - - - - - - - -Sets an error within the asynchronous result without a #GError. -Unless writing a binding, see g_simple_async_result_set_error(). - - - - - a #GSimpleAsyncResult. - - - - a #GQuark (usually #G_IO_ERROR). - - - - an error code. - - - - a formatted error reporting string. - - - - va_list of arguments. - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)&lt;/literal&gt; where the #gint parameter -denotes a flags type. - - - - - the #GClosure to which the marshaller belongs - - - - a #GValue which can store the returned #gboolean - - - - 2 - - - - a #GValue array holding instance and arg1 - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Sends @file to the "Trashcan", if possible. This is similar to -deleting it, but the user can recover it before emptying the trashcan. -Not all file systems support trashing, so this call can return the -%G_IO_ERROR_NOT_SUPPORTED error. - - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - #GFile to send to trash. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE on successful trash, %FALSE otherwise. - - - - - - - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gchar* parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Queries the type system for information about a specific type. -This function will fill in a user-provided structure to hold -type-specific information. If an invalid #GType is passed in, the -@type member of the #GTypeQuery is 0. All members filled into the -#GTypeQuery structure should be considered constant and have to be -left untouched. - - - - - the #GType value of a static, classed type. - - - - A user provided structure that is filled in with constant values -upon success. - - - - - - - - -Emitted when a drive changes. - - - - - The volume monitor emitting the signal. - - - - the drive that changed - - - - - - - - -Gets a choice from the mount operation. - - - - - - a #GMountOperation. - - - - an integer containing an index of the user's choice from -the choice's list, or %0. - - - - - -Allocate and initialize a new #GValueArray, optionally preserve space -for @n_prealloced elements. New arrays always contain 0 elements, -regardless of the value of @n_prealloced. - - - - - - number of values to preallocate space for - - - - a newly allocated #GValueArray with 0 values - - - - - -Return value: length of @str_array. - - - - - a %NULL-terminated array of strings. - - - - length of @str_array. - -Since: 2.6 - - - - - -Sets the maximal number of unused threads to @max_threads. If -@max_threads is -1, no limit is imposed on the number of unused -threads. - - - - - maximal number of unused threads - - - - - - - - -Sets whether to handle cancellation within the asynchronous operation. - - - - - - a #GSimpleAsyncResult. - - - - a #gboolean. - - - - - - - - -Stops emission of "notify" signals on @object. The signals are -queued until g_object_thaw_notify() is called on @object. - -This is necessary for accessors that modify multiple properties to prevent -premature notification while the object is still being modified. - - - - - a #GObject - - - - - - - - -Gets the parent directory for the @file. -If the @file represents the root directory of the -file system, then %NULL will be returned. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a #GFile structure to the parent of the given -#GFile or %NULL if there is no parent. - - - - - -Sets a list of group names for the item with URI @uri. Each previously -set group name list is removed. - -If @uri cannot be found then an item for it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - an item's URI - - - - an array of group names, or %NULL to remove all groups - - - - number of group name values in @groups - - - - - - - - -Gets the number of nodes in a tree. - - - - - - a #GNode - - - - which types of children are to be counted, one of -%G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES - - - - the number of nodes in the tree - - - - - -Increases the reference count on a source by one. - - - - - - a #GSource - - - - @source - - - - - -Tries to become the owner of the specified context, -as with g_main_context_acquire(). But if another thread -is the owner, atomically drop @mutex and wait on @cond until -that owner releases ownership or until @cond is signaled, then -try again (once) to become the owner. - - - - - - a #GMainContext - - - - a condition variable - - - - a mutex, currently held - - - - %TRUE if the operation succeeded, and -this thread is now the owner of @context. - - - - - -Reads the partial contents of a file. A #GFileReadMoreCallback should be -used to stop reading from the file when appropriate, else this function -will behave exactly as g_file_load_contents_async(). This operation -can be finished by g_file_load_partial_contents_finish(). - -Users of this function should be aware that @user_data is passed to -both the @read_more_callback and the @callback. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GFileReadMoreCallback to receive partial data and to specify whether further data should be read. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to the callback functions. - - - - - - - - -Return the value contents as pointer. This function asserts that -g_value_fits_pointer() returned %TRUE for the passed in value. -This is an internal function introduced mainly for C marshallers. - - - - - - An initialized #GValue structure. - - - - %TRUE if @value will fit inside a pointer value. - - - - - - - - - - the quark used as %G_IO_CHANNEL_ERROR - - - - - -Returns: whether @handler_id identifies a handler connected to @instance. - - - - - The instance where a signal handler is sought. - - - - the handler id. - - - - whether @handler_id identifies a handler connected to @instance. - - - - - -Adds a #GOptionGroup to the @context, so that parsing with @context -will recognize the options in the group. Note that the group will -be freed together with the context when g_option_context_free() is -called, so you must not free the group yourself after adding it -to a context. - -Since: 2.6 - - - - - a #GOptionContext - - - - the group to add - - - - - - - - -Constructs a #GFile with the given @parse_name (i.e. something given by g_file_get_parse_name()). -This operation never fails, but the returned object might not support any I/O -operation if the @parse_name cannot be parsed. - - - - - - a file name or path to be parsed. - - - - a new #GFile. - - - - - -Determines whether a character is printable. -Unlike g_unichar_isgraph(), returns %TRUE for spaces. -Given some UTF-8 text, obtain a character value with -g_utf8_get_char(). - - - - - - a Unicode character - - - - %TRUE if @c is printable - - - - - -Get the contents of a %G_TYPE_INT #GValue. - - - - - - a valid #GValue of type %G_TYPE_INT - - - - integer contents of @value - - - - - -Set the contents of a %G_TYPE_ENUM #GValue to @v_enum. - - - - - a valid #GValue whose type is derived from %G_TYPE_ENUM - - - - enum value to be set - - - - - - - - -Removes a file descriptor from the set of file descriptors polled for -this source. - - - - -a #GSource - - - - a #GPollFD structure previously passed to g_source_add_poll(). - - - - - - - - -Gets the local #GVfs for the system. - - - - - - a #GVfs. - - - - - -Converts a string to a #gdouble value. -This function behaves like the standard strtod() function -does in the C locale. It does this without actually -changing the current locale, since that would not be -thread-safe. - -This function is typically used when reading configuration -files or other non-user input that should be locale independent. -To handle input from the user you should normally use the -locale-sensitive system strtod() function. - -To convert from a #gdouble to a string in a locale-insensitive -way, use g_ascii_dtostr(). - -If the correct value would cause overflow, plus or minus %HUGE_VAL -is returned (according to the sign of the value), and %ERANGE is -stored in %errno. If the correct value would cause underflow, -zero is returned and %ERANGE is stored in %errno. - -This function resets %errno before calling strtod() so that -you can reliably detect overflow and underflow. - - - - - - the string to convert to a numeric value. - - - - if non-%NULL, it returns the character after -the last character used in the conversion. - - - - the #gdouble value. - - - - - -Return value: the length of the string in characters - - - - - pointer to the start of a UTF-8 encoded string. - - - - the maximum number of bytes to examine. If @max -is less than 0, then the string is assumed to be -nul-terminated. If @max is 0, @p will not be examined and -may be %NULL. - - - - the length of the string in characters - - - - - -Unescapes a whole escaped string. - -If any of the characters in @illegal_characters or the character zero appears -as an escaped character in @escaped_string then that is an error and %NULL -will be returned. This is useful it you want to avoid for instance having a -slash being expanded in an escaped path element, which might confuse pathname -handling. - - - - - - an escaped string to be unescaped. - - - - an optional string of illegal characters not to be allowed. - - - - an unescaped version of @escaped_string. The returned string -should be freed when no longer needed. - -Since: 2.16 - - - - - -Gets the attribute type, value and status for an attribute key. - - - - - - a #GFileInfo - - - - a file attribute key - - - - return location for the attribute type, or %NULL - - - - return location for the attribute value, or %NULL - - - - return location for the attribute status, or %NULL - - - - %TRUE if @info has an attribute named @attribute, -%FALSE otherwise. - - - - - -Tests if the stream can be truncated. - - - - - - a #GSeekable. - - - - %TRUE if the stream can be truncated, %FALSE otherwise. - - - - - -Remove all elemeents in @queue which contains @data. - -Since: 2.4 - - - - - a #GQueue - - - - data to remove - - - - - - - - -Gets a child of a #GNode, using the given index. -The first child is at index 0. If the index is -too big, %NULL is returned. - - - - - - a #GNode - - - - the index of the desired child - - - - the child of @node at index @n - - - - - -The :newline-type property determines what is considered -as a line ending when reading complete lines from the stream. - - - - - - - - - -Writes a formatted string into a #GString. -This is similar to the standard sprintf() function, -except that the #GString buffer automatically expands -to contain the results. The previous contents of the -#GString are destroyed. - -Deprecated: This function has been renamed to g_string_printf(). - - - - - a #GString - - - - the string format. See the sprintf() documentation - - - - the parameters to insert into the format string - - - - - - - - -Gets the number of elements in a #GSList. - -&lt;note&gt;&lt;para&gt; -This function iterates over the whole list to -count its elements. -&lt;/para&gt;&lt;/note&gt; - - - - - - a #GSList - - - - the number of elements in the #GSList - - - - - -Asynchronously opens @file for reading. - -For more details, see g_file_read() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_read_finish() to get the result of the operation. - - - - - input #GFile. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Get the contents of a %G_TYPE_FLOAT #GValue. - - - - - - a valid #GValue of type %G_TYPE_FLOAT - - - - float contents of @value - - - - - -Call @thread_func on all existing #GThread structures. Note that -threads may decide to exit while @thread_func is running, so -without intimate knowledge about the lifetime of foreign threads, -@thread_func shouldn't access the GThread* pointer passed in as -first argument. However, @thread_func will not be called for threads -which are known to have exited already. - -Due to thread lifetime checks, this function has an execution complexity -which is quadratic in the number of existing threads. - -Since: 2.10 - - - - - function to call for all GThread structures - - - - second argument to @thread_func - - - - - - - - -Sets properties on an object. - - - - - a #GObject - - - - name of the first property to set - - - - value for the first property, followed optionally by more -name/value pairs, followed by %NULL - - - - - - - - -Breaks the string on the pattern, and returns an array of -the tokens. If the pattern contains capturing parentheses, -then the text for each of the substrings will also be returned. -If the pattern does not match anywhere in the string, then the -whole string is returned as the first token. - -This function is equivalent to g_regex_split() but it does -not require to compile the pattern with g_regex_new(), avoiding -some lines of code when you need just to do a split without -extracting substrings, capture counts, and so on. - -If this function is to be called on the same @pattern more than -once, it's more efficient to compile the pattern once with -g_regex_new() and then use g_regex_split(). - -As a special case, the result of splitting the empty string "" -is an empty vector, not a vector containing a single string. -The reason for this special case is that being able to represent -a empty vector is typically more useful than consistent handling -of empty elements. If you do need to represent empty elements, -you'll need to check for the empty string before calling this -function. - -A pattern that can match empty strings splits @string into -separate characters wherever it matches the empty string between -characters. For example splitting "ab c" using as a separator -"\s*", you will get "a", "b" and "c". - - - - - - the regular expression - - - - the string to scan for matches - - - - compile options for the regular expression - - - - match options - - - - a %NULL-terminated gchar ** array. Free it using g_strfreev() - -Since: 2.14 - - - - - -Report the result of a performance or measurement test. -The test should generally strive to minimize the reported -quantities (smaller values are better than larger ones), -this and @minimized_quantity can determine sorting -order for test result reports. - -Since: 2.16 - - - - - the reported value - - - - the format string of the report message - - - - arguments to pass to the printf() function - - - - - - - - -Gets a hash for an icon. - - - - - - #gconstpointer to an icon object. - - - - a #guint containing a hash for the @icon, suitable for -use in a #GHashTable or similar data structure. - - - - - -Registers a new static enumeration type with the name @name. - -It is normally more convenient to let &lt;link -linkend="glib-mkenums"&gt;glib-mkenums&lt;/link&gt; generate a -my_enum_get_type() function from a usual C enumeration definition -than to write one yourself using g_enum_register_static(). - - - - - - A nul-terminated string used as the name of the new type. - - - - An array of #GEnumValue structs for the possible -enumeration values. The array is terminated by a struct with all -members being 0. GObject keeps a reference to the data, so it cannot -be stack-allocated. - - - - The new type identifier. - - - - - -Each object carries around a table of associations from -strings to pointers. This function lets you set an association. - -If the object already had an association with that name, -the old association will be destroyed. - - - - - #GObject containing the associations. - - - - name of the key - - - - data to associate with that key - - - - - - - - -Calls a function for each of the children of a #GNode. -Note that it doesn't descend beneath the child nodes. - - - - - a #GNode - - - - which types of children are to be visited, one of -%G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES - - - - the function to call for each visited node - - - - user data to pass to the function - - - - - - - - -Append a name to the list of icons from within @icon. - -&lt;note&gt;&lt;para&gt; -Note that doing so invalidates the hash computed by prior calls -to g_icon_hash(). -&lt;/para&gt;&lt;/note&gt; - - - - - a #GThemedIcon - - - - name of icon to append to list of icons from within @icon. - - - - - - - - -The setlocale() function in the Microsoft C library uses locale -names of the form "English_United States.1252" etc. We want the -UNIXish standard form "en_US", "zh_TW" etc. This function gets the -current thread locale from Windows - without any encoding info - -and returns it as a string of the above form for use in forming -file names etc. The returned string should be deallocated with -g_free(). - - - - - - newly-allocated locale name. - - - - - -Retrieves the name of the currently open element. - -If called from the start_element or end_element handlers this will -give the element_name as passed to those functions. For the parent -elements, see g_markup_parse_context_get_element_stack(). - -Since: 2.2 - - - - - a #GMarkupParseContext - - - - the name of the currently open element, or %NULL - - - - - -Create a directory if it doesn't already exist. Create intermediate -parent directories as needed, too. - - - - - - a pathname in the GLib file name encoding - - - - permissions to use for newly created directories - - - - 0 if the directory already exists, or was successfully -created. Returns -1 if an error occurred, with errno set. - -Since: 2.8 - - - - - -Gets the type associated with @extension. - - - - - - a #GIOExtension - - - - the type of @extension - - - - - -Puts a signed 32-bit integer into the output stream. - - - - - - a #GDataOutputStream. - - - - a #gint32. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Copies a @queue. Note that is a shallow copy. If the elements in the -queue consist of pointers to data, the pointers are copied, but the -actual data is not. - - - - - - a #GQueue - - - - A copy of @queue - -Since: 2.4 - - - - - -Sorts @queue using @compare_func. - -Since: 2.4 - - - - - a #GQueue - - - - the #GCompareDataFunc used to sort @queue. This function -is passed two elements of the queue and should return 0 if they are -equal, a negative value if the first comes before the second, and -a positive value if the second comes before the first. - - - - user data passed to @compare_func - - - - - - - - -Returns: a canonical representation for the string - - - - - a static string - - - - a canonical representation for the string - -Since: 2.10 - - - - - -Determines if a character is uppercase. - - - - - - a Unicode character - - - - %TRUE if @c is an uppercase character - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gfloat parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Gets the child of @file for a given @display_name (i.e. a UTF8 -version of the name). If this function fails, it returns %NULL and @error will be -set. This is very useful when constructing a GFile for a new file -and the user entered the filename in the user interface, for instance -when you select a directory and type a filename in the file selector. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - string to a possible child. - - - - #GError. - - - - a #GFile to the specified child, or -%NULL if the display name couldn't be converted. - - - - - -Associates a new string value with @key under @group_name. -If @key cannot be found then it is created. -If @group_name cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - a string - - - - - - - - -Return value: the values associated with the key as a list of - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - the number of booleans returned - - - - return location for a #GError - - - - the values associated with the key as a list of -booleans, or %NULL if the key was not found or could not be parsed. - -Since: 2.6 - - - - - -Create a new #GTestCase, named @test_name, this API is fairly -low level, calling g_test_add() or g_test_add_func() is preferable. -When this test is executed, a fixture structure of size @data_size -will be allocated and filled with 0s. Then data_setup() is called -to initialize the fixture. After fixture setup, the actual test -function data_test() is called. Once the test run completed, the -fixture structure is torn down by calling data_teardown() and -after that the memory is released. - -Splitting up a test run into fixture setup, test function and -fixture teardown is most usful if the same fixture is used for -multiple tests. In this cases, g_test_create_case() will be -called with the same fixture, but varying @test_name and -@data_test arguments. - - - - - - the name for the test case - - - - the size of the fixture data structure - - - - test data argument for the test functions - - - - the function to set up the fixture data - - - - the actual test function - - - - the function to teardown the fixture data - - - - a newly allocated #GTestCase. - -Since: 2.16 - - - - - -Copies all of the #GFileAttribute&lt;!-- --&gt;s from @src_info to @dest_info. - - - - - source to copy attributes from. - - - - destination to copy attributes to. - - - - - - - - -Return a pointer to the value at @index_ containd in @value_array. - - - - - - #GValueArray to get a value from - - - - index of the value of interest - - - - pointer to a value at @index_ in @value_array - - - - - -Removes the source with the given id from the default main context. -The id of -a #GSource is given by g_source_get_id(), or will be returned by the -functions g_source_attach(), g_idle_add(), g_idle_add_full(), -g_timeout_add(), g_timeout_add_full(), g_child_watch_add(), -g_child_watch_add_full(), g_io_add_watch(), and g_io_add_watch_full(). - -See also g_source_destroy(). - - - - - - the ID of the source to remove. - - - - %TRUE if the source was found and removed. - - - - - -Inserts a new element into the list, using the given -comparison function to determine its position. - - - - - - a #GSList - - - - the data for the new element - - - - the function to compare elements in the list. -It should return a number &gt; 0 if the first parameter -comes after the second parameter in the sort order. - - - - data to pass to comparison function - - - - the new start of the #GSList - -Since: 2.10 - - - - - -Places a comment above @key from @group_name. -If @key is %NULL then @comment will be written above @group_name. -If both @key and @group_name are %NULL, then @comment will be -written above the first group in the file. - - - - - - a #GKeyFile - - - - a group name, or %NULL - - - - a key - - - - a comment - - - - return location for a #GError - - - - %TRUE if the comment was written, %FALSE otherwise - -Since: 2.6 - - - - - -Registers a private structure for an instantiatable type; -when an object is allocated, the private structures for -the type and all of its parent types are allocated -sequentially in the same memory block as the public -structures. This function should be called in the -type's class_init() function. The private structure can -be retrieved using the G_TYPE_INSTANCE_GET_PRIVATE() macro. -The following example shows attaching a private structure -&lt;structname&gt;MyObjectPrivate&lt;/structname&gt; to an object -&lt;structname&gt;MyObject&lt;/structname&gt; defined in the standard GObject -fashion. - -|[ -typedef struct _MyObjectPrivate MyObjectPrivate; - -struct _MyObjectPrivate { -int some_field; -}; - -#define MY_OBJECT_GET_PRIVATE(o) \ -(G_TYPE_INSTANCE_GET_PRIVATE ((o), MY_TYPE_OBJECT, MyObjectPrivate)) - -static void -my_object_class_init (MyObjectClass *klass) -{ -g_type_class_add_private (klass, sizeof (MyObjectPrivate)); -} - -static int -my_object_get_some_field (MyObject *my_object) -{ -MyObjectPrivate *priv = MY_OBJECT_GET_PRIVATE (my_object); - -return priv-&gt;some_field; -} -]| - -Since: 2.4 - - - - - class structure for an instantiatable type - - - - size of private structure. - - - - - - - - -An implementation of the standard printf() function which supports -positional parameters, as specified in the Single Unix Specification. - - - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.2 - - - - - -Looks whether the desktop bookmark has an item with its URI set to @uri. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - %TRUE if @uri is inside @bookmark, %FALSE otherwise - -Since: 2.12 - - - - - -Sets an environment variable. Both the variable's name and value -should be in the GLib file name encoding. On UNIX, this means that -they can be any sequence of bytes. On Windows, they should be in -UTF-8. - -Note that on some systems, when variables are overwritten, the memory -used for the previous variables and its value isn't reclaimed. - - - - - - the environment variable to set, must not contain '='. - - - - the value for to set the variable to. - - - - whether to change the variable if it already exists. - - - - %FALSE if the environment variable couldn't be set. - -Since: 2.4 - - - - - -Sets the application as the default handler for the given file extention. - - - - - - a #GAppInfo. - - - - a string containing the file extension (without the dot). - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Inserts a new element into the list at the given position. - - - - - - a #GSList - - - - the data for the new element - - - - the position to insert the element. -If this is negative, or is larger than the number -of elements in the list, the new element is added on -to the end of the list. - - - - the new start of the #GSList - - - - - -Returns: %TRUE if @node is an ancestor of @descendant - - - - - a #GNode - - - - a #GNode - - - - %TRUE if @node is an ancestor of @descendant - - - - - -Converts a string from one character set to another, possibly -including fallback sequences for characters not representable -in the output. Note that it is not guaranteed that the specification -for the fallback sequences in @fallback will be honored. Some -systems may do an approximate conversion from @from_codeset -to @to_codeset in their iconv() functions, -in which case GLib will simply return that approximate conversion. - -Note that you should use g_iconv() for streaming -conversions&lt;footnoteref linkend="streaming-state"/&gt;. - - - - - - the string to convert - - - - the length of the string, or -1 if the string is -nul-terminated&lt;footnoteref linkend="nul-unsafe"/&gt;. - - - - name of character set into which to convert @str - - - - character set of @str. - - - - UTF-8 string to use in place of character not -present in the target encoding. (The string must be -representable in the target encoding). - If %NULL, characters not in the target encoding will - be represented as Unicode escapes \uxxxx or \Uxxxxyyyy. - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - If the conversion was successful, a newly allocated -nul-terminated string, which must be freed with -g_free(). Otherwise %NULL and @error will be set. - - - - - -Adds a weak reference from weak_pointer to @object to indicate that -the pointer located at @weak_pointer_location is only valid during -the lifetime of @object. When the @object is finalized, -@weak_pointer will be set to %NULL. - - - - - The object that should be weak referenced. - - - - The memory address of a pointer. - - - - - - - - -Sets the last time the bookmark for @uri was last modified. - -If no bookmark for @uri is found then it is created. - -The "modified" time should only be set when the bookmark's meta-data -was actually changed. Every function of #GBookmarkFile that -modifies a bookmark also changes the modification time, except for -g_bookmark_file_set_visited(). - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - a timestamp or -1 to use the current time - - - - - - - - -Creates a new #GParamSpecValueArray instance specifying a -%G_TYPE_VALUE_ARRAY property. %G_TYPE_VALUE_ARRAY is a -%G_TYPE_BOXED type, as such, #GValue structures for this property -can be accessed with g_value_set_boxed() and g_value_get_boxed(). - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - a #GParamSpec describing the elements contained in -arrays of this property, may be %NULL - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Gets the source object from a #GAsyncResult. - - - - - - a #GAsyncResult. - - - - the source object for the @res. - - - - - -Asynchronously overwrites the file, replacing the contents, possibly -creating a backup copy of the file first. - -For more details, see g_file_replace() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_replace_finish() to get the result of the operation. - - - - - input #GFile. - - - - an &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for the -current #GFile, or NULL to ignore. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Converts all upper case ASCII letters to lower case ASCII letters. - - - - - - a GString - - - - passed-in @string pointer, with all the upper case -characters converted to lower case in place, with -semantics that exactly match g_ascii_tolower(). - - - - - -Gets the icon of the bookmark for @uri. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for the icon's location or %NULL - - - - return location for the icon's MIME type or %NULL - - - - return location for a #GError or %NULL - - - - %TRUE if the icon for the bookmark for the URI was found. -You should free the returned strings. - -Since: 2.12 - - - - - -Gets the mount path for a unix mount point. - - - - - - a #GUnixMountPoint. - - - - a string containing the mount path. - - - - - -Gets the UUID for the @mount. The reference is typically based on -the file system UUID for the mount in question and should be -considered an opaque string. Returns %NULL if there is no UUID -available. - - - - - - a #GMount. - - - - the UUID for @mount or %NULL if no UUID can be computed. - - - - - -Sets the seed for the random number generator #GRand to @seed. - - - - - a #GRand. - - - - a value to reinitialize the random number generator. - - - - - - - - -Free a #GValueArray including its contents. - - - - - #GValueArray to free - - - - - - - - -Resolves a relative path for @file to an absolute path. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a given relative path string. - - - - #GFile to the resolved path. %NULL if @relative_path -is %NULL or if @file is invalid. - - - - - -Gets a named field from the objects table of associations (see g_object_set_data()). - - - - - - #GObject containing the associations - - - - name of the key for that association - - - - the data if found, or %NULL if no such data exists. - - - - - -Return value: a newly-allocated %NULL-terminated array of strings. - - - - - a #GKeyFile - - - - a group name - - - - return location for the number of keys returned, or %NULL - - - - return location for a #GError, or %NULL - - - - a newly-allocated %NULL-terminated array of strings. -Use g_strfreev() to free it. - -Since: 2.6 - - - - - -Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar. - - - - - a valid #GValue of type %G_TYPE_UCHAR - - - - unsigned character value to be set - - - - - - - - -Checks whether the allocator used by g_malloc() is the system's -malloc implementation. If it returns %TRUE memory allocated with -malloc() can be used interchangeable with memory allocated using g_malloc(). -This function is useful for avoiding an extra copy of allocated memory returned -by a non-GLib-based API. - -A different allocator can be set using g_mem_set_vtable(). - - - - - - if %TRUE, malloc() and g_malloc() can be mixed. - - - - - -Parses a string containing debugging options -into a %guint containing bit flags. This is used -within GDK and GTK+ to parse the debug options passed on the -command line or through environment variables. - - - - - - a list of debug options separated by colons, spaces, or -commas; or the string "all" to set all flags, or %NULL. - - - - pointer to an array of #GDebugKey which associate -strings with bit flags. - - - - the number of #GDebugKey&lt;!-- --&gt;s in the array. - - - - the combined set of bit flags. - - - - - -Sets the display name for the current #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME. - - - - - a #GFileInfo. - - - - a string containing a display name. - - - - - - - - -Compares two unix mounts. - - - - - - first #GUnixMountEntry to compare. - - - - second #GUnixMountEntry to compare. - - - - 1, 0 or -1 if @mount1 is greater than, equal to, -or less than @mount2, respectively. - - - - - -Get the nickname of a #GParamSpec. - - - - - - a valid #GParamSpec - - - - the nickname of @pspec. - - - - - -This function is intended for #GObject implementations to re-enforce a -&lt;link linkend="floating-ref"&gt;floating&lt;/link&gt; object reference. -Doing this is seldomly required, all -#GInitiallyUnowned&lt;!-- --&gt;s are created with a floating reference which -usually just needs to be sunken by calling g_object_ref_sink(). - -Since: 2.10 - - - - - a #GObject - - - - - - - - -Creates a new %G_TYPE_POINTER derived type id for a new -pointer type with name @name. - - - - - - the name of the new pointer type. - - - - a new %G_TYPE_POINTER derived type id for @name. - - - - - -Removes the key/value pair currently pointed to by the iterator -from its associated #GHashTable. Can only be called after -g_hash_table_iter_next() returned %TRUE, and cannot be called more -than once for the same key/value pair. - -If the #GHashTable was created using g_hash_table_new_full(), the -key and value are freed using the supplied destroy functions, otherwise -you have to make sure that any dynamically allocated values are freed -yourself. - -Since: 2.16 - - - - - an initialized #GHashTableIter. - - - - - - - - -Adds a pair of notifiers which get invoked before and after the -closure callback, respectively. This is typically used to protect -the extra arguments for the duration of the callback. See -g_object_watch_closure() for an example of marshal guards. - - - - - a #GClosure - - - - data to pass to @pre_marshal_notify - - - - a function to call before the closure callback - - - - data to pass to @post_marshal_notify - - - - a function to call after the closure callback - - - - - - - - -Get the contents of a %G_TYPE_UINT #GValue. - - - - - - a valid #GValue of type %G_TYPE_UINT - - - - unsigned integer contents of @value - - - - - -Traverses a tree starting at the given root #GNode. -It calls the given function for each node visited. -The traversal can be halted at any point by returning %TRUE from @func. - - - - - the root #GNode of the tree to traverse - - - - the order in which nodes are visited - %G_IN_ORDER, -%G_PRE_ORDER, %G_POST_ORDER, or %G_LEVEL_ORDER. - - - - which types of children are to be visited, one of -%G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES - - - - the maximum depth of the traversal. Nodes below this -depth will not be visited. If max_depth is -1 all nodes in -the tree are visited. If depth is 1, only the root is visited. -If depth is 2, the root and its children are visited. And so on. - - - - the function to call for each visited #GNode - - - - user data to pass to the function - - - - - - - - -Return value: a string owned by GLib that must not be modified - - - - - a string owned by GLib that must not be modified -or freed. -Since: 2.6 - - - - - -Retrieves the current line number and the number of the character on -that line. Intended for use in error messages; there are no strict -semantics for what constitutes the "current" line number other than -"the best number we could come up with for error messages." - - - - - - a #GMarkupParseContext - - - - return location for a line number, or %NULL - - - - return location for a char-on-line number, or %NULL - - - - - - - - -This function will set the maximum @interval that a thread waiting -in the pool for new tasks can be idle for before being -stopped. This function is similar to calling -g_thread_pool_stop_unused_threads() on a regular timeout, except, -this is done on a per thread basis. - -By setting @interval to 0, idle threads will not be stopped. - -This function makes use of g_async_queue_timed_pop () using -@interval. - -Since: 2.10 - - - - - the maximum @interval (1/1000ths of a second) a thread -can be idle. - - - - - - - - -Reverts the effect of a previous call to g_object_freeze_notify(). -This causes all queued "notify" signals on @object to be emitted. - - - - - a #GObject - - - - - - - - -Get a reproducible random integer number out of a specified range, -see g_test_rand_int() for details on test case random numbers. - - - - - - the minimum value returned by this function - - - - the smallest value not to be returned by this function - - - - a number with @begin &lt;= number &lt; @end. - -Since: 2.16 - - - - - -Writes a formatted string into a #GString. -This is similar to the standard sprintf() function, -except that the #GString buffer automatically expands -to contain the results. The previous contents of the -#GString are destroyed. - - - - - a #GString - - - - the string format. See the printf() documentation - - - - the parameters to insert into the format string - - - - - - - - -This function will be deprecated in the future. Use -g_win32_get_package_installation_directory_of_module() instead. - -Returns: a string containing the complete path to @subdir inside - - - - - You should pass %NULL for this. - - - - The name of a DLL that a package provides, in UTF-8, or %NULL. - - - - A subdirectory of the package installation directory, also in UTF-8 - - - - a string containing the complete path to @subdir inside -the installation directory of @package. The returned string is in -the GLib file name encoding, i.e. UTF-8. The return value should be -freed with g_free() when no longer needed. If something goes wrong, -%NULL is returned. - - - - - -Appends @data to data that can be read from the input stream - - - - - a #GMemoryInputStream - - - - input data - - - - length of the data, may be -1 if @data is a nul-terminated string - - - - function that is called to free @data, or %NULL - - - - - - - - -Stops a signal's current emission. - -This will prevent the default method from running, if the signal was -%G_SIGNAL_RUN_LAST and you connected normally (i.e. without the "after" -flag). - -Prints a warning if used on a signal which isn't being emitted. - - - - - the object whose signal handlers you wish to stop. - - - - the signal identifier, as returned by g_signal_lookup(). - - - - the detail which the signal was emitted with. - - - - - - - - -Gets the human readable description of the content type. - - - - - - a content type string. - - - - a short description of the content type @type. - - - - - -Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -This is an internal function introduced mainly for C marshallers. - -Deprecated: 2.4: Use g_value_take_object() instead. - - - - - a valid #GValue of %G_TYPE_OBJECT derived type - - - - object value to be set - - - - - - - - -Inserts a new element into the list before the given position. - - - - - - a pointer to a #GList - - - - the list element before which the new element -is inserted or %NULL to insert at the end of the list - - - - the data for the new element - - - - the new start of the #GList - - - - - -Gets the user name of the current user. The encoding of the returned -string is system-defined. On UNIX, it might be the preferred file name -encoding, or something else, and there is no guarantee that it is even -consistent on a machine. On Windows, it is always UTF-8. - - - - - - the user name of the current user. - - - - - -Adds the static @interface_type to @instantiable_type. The information -contained in the #GTypeInterfaceInfo structure pointed to by @info -is used to manage the relationship. - - - - - #GType value of an instantiable type. - - - - #GType value of an interface type. - - - - The #GInterfaceInfo structure for this -(@instance_type, @interface_type) combination. - - - - - - - - -Return value: The link at the @n'th position, or %NULL if @n is off the - - - - - a #GQueue - - - - the position of the link - - - - The link at the @n'th position, or %NULL if @n is off the -end of the list - -Since: 2.4 - - - - - -Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Invokes the closure, i.e. executes the callback represented by the @closure. - - - - - a #GClosure - - - - a #GValue to store the return value. May be %NULL if the -callback of @closure doesn't return a value. - - - - the length of the @param_values array - - - - an array of #GValue&lt;!-- --&gt;s holding the arguments on -which to invoke the callback of @closure - - - - a context-dependent invocation hint - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gulong arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gulong parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - - - - - - - - - - -Recursively copies a #GNode (but does not deep-copy the data inside the -nodes, see g_node_copy_deep() if you need that). - - - - - - a #GNode - - - - a new #GNode containing the same data pointers - - - - - -A wrapper for the POSIX chdir() function. The function changes the -current directory of the process to @path. - -See your C library manual for more details about chdir(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - 0 on success, -1 if an error occurred. - -Since: 2.8 - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gint arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gint parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Removes a source from the default main loop context given the -source functions and user data. If multiple sources exist with the -same source functions and user data, only one will be destroyed. - - - - - - The @source_funcs passed to g_source_new() - - - - the user data for the callback - - - - %TRUE if a source was found and removed. - - - - - -A convenience function to connect multiple signals at once. - -The signal specs expected by this function have the form -"modifier::signal_name", where modifier can be one of the following: -&lt;variablelist&gt; -&lt;varlistentry&gt; -&lt;term&gt;signal&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_data (..., NULL, 0)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;object_signal&lt;/term&gt; -&lt;term&gt;object-signal&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_object (..., 0)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;swapped_signal&lt;/term&gt; -&lt;term&gt;swapped-signal&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;swapped_object_signal&lt;/term&gt; -&lt;term&gt;swapped-object-signal&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_object (..., G_CONNECT_SWAPPED)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;signal_after&lt;/term&gt; -&lt;term&gt;signal-after&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_data (..., NULL, G_CONNECT_AFTER)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;object_signal_after&lt;/term&gt; -&lt;term&gt;object-signal-after&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_object (..., G_CONNECT_AFTER)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;swapped_signal_after&lt;/term&gt; -&lt;term&gt;swapped-signal-after&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;varlistentry&gt; -&lt;term&gt;swapped_object_signal_after&lt;/term&gt; -&lt;term&gt;swapped-object-signal-after&lt;/term&gt; -&lt;listitem&gt;&lt;para&gt; -equivalent to &lt;literal&gt;g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)&lt;/literal&gt; -&lt;/para&gt;&lt;/listitem&gt; -&lt;/varlistentry&gt; -&lt;/variablelist&gt; - -|[ -menu-&gt;toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW, -"type", GTK_WINDOW_POPUP, -"child", menu, -NULL), -"signal::event", gtk_menu_window_event, menu, -"signal::size_request", gtk_menu_window_size_request, menu, -"signal::destroy", gtk_widget_destroyed, &amp;menu-&gt;toplevel, -NULL); -]| - - - - - - a #GObject - - - - the spec for the first signal - - - - #GCallback for the first signal, followed by data for the -first signal, followed optionally by more signal -spec/callback/data triples, followed by %NULL - - - - @object - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, glong arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #glong parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Finds a #GSource given a pair of context and ID. - - - - - - a #GMainContext (if %NULL, the default context will be used) - - - - the source ID, as returned by g_source_get_id(). - - - - the #GSource if found, otherwise, %NULL - - - - - -Prepares to poll sources within a main loop. The resulting information -for polling is determined by calling g_main_context_query (). - - - - - - a #GMainContext - - - - location to store priority of highest priority -source already ready. - - - - %TRUE if some source is ready to be dispatched -prior to polling. - - - - - -Internal function, used to extract the fundamental type ID portion. -use G_TYPE_FUNDAMENTAL() instead. - - - - - - valid type ID - - - - fundamental type ID - - - - - -Inserts a #GNode as the first child of the given parent. - - - - - - the #GNode to place the new #GNode under - - - - the #GNode to insert - - - - the inserted #GNode - - - - - -Checks if a content type can be executable. Note that for instance -things like text files can be executables (i.e. scripts and batch files). - - - - - - a content type string. - - - - %TRUE if the file type corresponds to a type that -can be executable, %FALSE otherwise. - - - - - -Pops data from the @queue. If no data is received before @end_time, -%NULL is returned. This function must be called while holding the -@queue's lock. - -To easily calculate @end_time a combination of g_get_current_time() -and g_time_val_add() can be used. - - - - - - a #GAsyncQueue. - - - - a #GTimeVal, determining the final time. - - - - data from the queue or %NULL, when no data is -received before @end_time. - - - - - -Associates a new integer value with @key under @group_name. -If @key cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an integer value - - - - - - - - -Gets the value of a attribute, formated as a string. -This escapes things as needed to make the string valid -utf8. - - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a UTF-8 string associated with the given @attribute. -When you're done with the string it must be freed with g_free(). - - - - - -Get the codeset for the current locale. - - - - - - a newly allocated string containing the name -of the codeset. This string must be freed with g_free(). - - - - - -An implementation of the GNU vasprintf() function which supports -positional parameters, as specified in the Single Unix Specification. -This function is similar to g_vsprintf(), except that it allocates a -string to hold the output, instead of putting the output in a buffer -you allocate in advance. - - - - - - the return location for the newly-allocated string. - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the list of arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.4 - - - - - -Tries to cast the contents of @src_value into a type appropriate -to store in @dest_value, e.g. to transform a %G_TYPE_INT value -into a %G_TYPE_FLOAT value. Performing transformations between -value types might incur precision lossage. Especially -transformations into strings might reveal seemingly arbitrary -results and shouldn't be relied upon for production code (such -as rcfile value or object property serialization). - - - - - - Source value. - - - - Target value. - - - - Whether a transformation rule was found and could be applied. -Upon failing transformations, @dest_value is left untouched. - - - - - -Retrieves a comment above @key from @group_name. -If @key is %NULL then @comment will be read from above -@group_name. If both @key and @group_name are %NULL, then -@comment will be read from above the first group in the file. - - - - - - a #GKeyFile - - - - a group name, or %NULL - - - - a key - - - - return location for a #GError - - - - a comment that should be freed with g_free() - -Since: 2.6 - - - - - -Unmounts a mount. This is an asynchronous operation, and is -finished by calling g_mount_unmount_finish() with the @mount -and #GAsyncResults data returned in the @callback. - - - - - a #GMount. - - - - flags affecting the operation - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - user data passed to @callback. - - - - - - - - -Convert a string from UTF-16 to UCS-4. The result will be -terminated with a 0 character. - - - - - - a UTF-16 encoded string - - - - the maximum length (number of &lt;type&gt;gunichar2&lt;/type&gt;) of @str to use. -If @len &lt; 0, then the string is terminated with a 0 character. - - - - location to store number of words read, or %NULL. -If %NULL, then %G_CONVERT_ERROR_PARTIAL_INPUT will be -returned in case @str contains a trailing partial -character. If an error occurs then the index of the -invalid input is stored here. - - - - location to store number of characters written, or %NULL. -The value stored here does not include the trailing -0 character. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError other than -%G_CONVERT_ERROR_NO_CONVERSION may occur. - - - - a pointer to a newly allocated UCS-4 string. -This value must be freed with g_free(). If an -error occurs, %NULL will be returned and -@error set. - - - - - - - - - - - - - - -Checks if a unix mount point is mountable by the user. - - - - - - a #GUnixMountPoint. - - - - %TRUE if the mount point is user mountable. - - - - - -Checks if the application supports reading files and directories from URIs. - - - - - - a #GAppInfo. - - - - %TRUE if the @appinfo supports URIs. - - - - - -Adds a file descriptor to the set of file descriptors polled for -this source. This is usually combined with g_source_new() to add an -event source. The event source's check function will typically test -the @revents field in the #GPollFD struct and return %TRUE if events need -to be processed. - - - - -a #GSource - - - - a #GPollFD structure holding information about a file -descriptor to watch. - - - - - - - - -Removes the last element of the queue. - - - - - - a #GQueue. - - - - the #GList element at the tail of the queue, or %NULL if the queue -is empty. - - - - - -Returns: a pointer into @file_name after the root component. - - - - - a file name. - - - - a pointer into @file_name after the root component. - - - - - -Another name for g_cclosure_marshal_BOOLEAN__FLAGS(). - - - - - - - - - -Looks up a #GEnumValue by nickname. - - - - - - a #GEnumClass - - - - the nickname to look up - - - - the #GEnumValue with nickname @nick, or %NULL if the -enumeration doesn't have a member with that nickname - - - - - -This function works like g_object_set_qdata(), but in addition, -a void (*destroy) (gpointer) function may be specified which is -called with @data as argument when the @object is finalized, or -the data is being overwritten by a call to g_object_set_qdata() -with the same @quark. - - - - - The GObject to set store a user data pointer - - - - A #GQuark, naming the user data pointer - - - - An opaque user data pointer - - - - Function to invoke with @data as argument, when @data -needs to be freed - - - - - - - - -Sets the name of the program. This name should &lt;emphasis&gt;not&lt;/emphasis&gt; -be localized, contrast with g_set_application_name(). Note that for -thread-safety reasons this function can only be called once. - - - - - the name of the program. - - - - - - - - -Creates a new instance of a #GObject subtype and sets its properties. - -Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY) -which are not explicitly specified are set to their default values. - - - - - - the type id of the #GObject subtype to instantiate - - - - the length of the @parameters array - - - - an array of #GParameter - - - - a new instance of @object_type - - - - - -Executes a child program asynchronously (your program will not -block waiting for the child to exit). The child program is -specified by the only argument that must be provided, @argv. @argv -should be a %NULL-terminated array of strings, to be passed as the -argument vector for the child. The first string in @argv is of -course the name of the program to execute. By default, the name of -the program must be a full path; the &lt;envar&gt;PATH&lt;/envar&gt; shell variable -will only be searched if you pass the %G_SPAWN_SEARCH_PATH flag. - -On Windows, note that all the string or string vector arguments to -this function and the other g_spawn*() functions are in UTF-8, the -GLib file name encoding. Unicode characters that are not part of -the system codepage passed in these arguments will be correctly -available in the spawned program only if it uses wide character API -to retrieve its command line. For C programs built with Microsoft's -tools it is enough to make the program have a wmain() instead of -main(). wmain() has a wide character argument vector as parameter. - -At least currently, mingw doesn't support wmain(), so if you use -mingw to develop the spawned program, it will have to call the -undocumented function __wgetmainargs() to get the wide character -argument vector and environment. See gspawn-win32-helper.c in the -GLib sources or init.c in the mingw runtime sources for a prototype -for that function. Alternatively, you can retrieve the Win32 system -level wide character command line passed to the spawned program -using the GetCommandLineW() function. - -On Windows the low-level child process creation API -&lt;function&gt;CreateProcess()&lt;/function&gt; doesn't use argument vectors, -but a command line. The C runtime library's -&lt;function&gt;spawn*()&lt;/function&gt; family of functions (which -g_spawn_async_with_pipes() eventually calls) paste the argument -vector elements together into a command line, and the C runtime startup code -does a corresponding reconstruction of an argument vector from the -command line, to be passed to main(). Complications arise when you have -argument vector elements that contain spaces of double quotes. The -&lt;function&gt;spawn*()&lt;/function&gt; functions don't do any quoting or -escaping, but on the other hand the startup code does do unquoting -and unescaping in order to enable receiving arguments with embedded -spaces or double quotes. To work around this asymmetry, -g_spawn_async_with_pipes() will do quoting and escaping on argument -vector elements that need it before calling the C runtime -spawn() function. - -The returned @child_pid on Windows is a handle to the child -process, not its identifier. Process handles and process -identifiers are different concepts on Windows. - -@envp is a %NULL-terminated array of strings, where each string -has the form &lt;literal&gt;KEY=VALUE&lt;/literal&gt;. This will become -the child's environment. If @envp is %NULL, the child inherits its -parent's environment. - -@flags should be the bitwise OR of any flags you want to affect the -function's behaviour. The %G_SPAWN_DO_NOT_REAP_CHILD means that -the child will not automatically be reaped; you must use a -#GChildWatch source to be notified about the death of the child -process. Eventually you must call g_spawn_close_pid() on the -@child_pid, in order to free resources which may be associated -with the child process. (On Unix, using a #GChildWatch source is -equivalent to calling waitpid() or handling the %SIGCHLD signal -manually. On Windows, calling g_spawn_close_pid() is equivalent -to calling CloseHandle() on the process handle returned in -@child_pid). - -%G_SPAWN_LEAVE_DESCRIPTORS_OPEN means that the parent's open file -descriptors will be inherited by the child; otherwise all -descriptors except stdin/stdout/stderr will be closed before -calling exec() in the child. %G_SPAWN_SEARCH_PATH -means that &lt;literal&gt;argv[0]&lt;/literal&gt; need not be an absolute path, it -will be looked for in the user's &lt;envar&gt;PATH&lt;/envar&gt;. -%G_SPAWN_STDOUT_TO_DEV_NULL means that the child's standard output will -be discarded, instead of going to the same location as the parent's -standard output. If you use this flag, @standard_output must be %NULL. -%G_SPAWN_STDERR_TO_DEV_NULL means that the child's standard error -will be discarded, instead of going to the same location as the parent's -standard error. If you use this flag, @standard_error must be %NULL. -%G_SPAWN_CHILD_INHERITS_STDIN means that the child will inherit the parent's -standard input (by default, the child's standard input is attached to -/dev/null). If you use this flag, @standard_input must be %NULL. -%G_SPAWN_FILE_AND_ARGV_ZERO means that the first element of @argv is -the file to execute, while the remaining elements are the -actual argument vector to pass to the file. Normally -g_spawn_async_with_pipes() uses @argv[0] as the file to execute, and -passes all of @argv to the child. - -@child_setup and @user_data are a function and user data. On POSIX -platforms, the function is called in the child after GLib has -performed all the setup it plans to perform (including creating -pipes, closing file descriptors, etc.) but before calling -exec(). That is, @child_setup is called just -before calling exec() in the child. Obviously -actions taken in this function will only affect the child, not the -parent. On Windows, there is no separate fork() and exec() -functionality. Child processes are created and run with -a single API call, CreateProcess(). @child_setup is -called in the parent process just before creating the child -process. You should carefully consider what you do in @child_setup -if you intend your software to be portable to Windows. - -If non-%NULL, @child_pid will on Unix be filled with the child's -process ID. You can use the process ID to send signals to the -child, or to use g_child_watch_add() (or waitpid()) if you specified the -%G_SPAWN_DO_NOT_REAP_CHILD flag. On Windows, @child_pid will be -filled with a handle to the child process only if you specified the -%G_SPAWN_DO_NOT_REAP_CHILD flag. You can then access the child -process using the Win32 API, for example wait for its termination -with the &lt;function&gt;WaitFor*()&lt;/function&gt; functions, or examine its -exit code with GetExitCodeProcess(). You should close the handle -with CloseHandle() or g_spawn_close_pid() when you no longer need it. - -If non-%NULL, the @standard_input, @standard_output, @standard_error -locations will be filled with file descriptors for writing to the child's -standard input or reading from its standard output or standard error. -The caller of g_spawn_async_with_pipes() must close these file descriptors -when they are no longer in use. If these parameters are %NULL, the corresponding -pipe won't be created. - -If @standard_input is NULL, the child's standard input is attached to -/dev/null unless %G_SPAWN_CHILD_INHERITS_STDIN is set. - -If @standard_error is NULL, the child's standard error goes to the same -location as the parent's standard error unless %G_SPAWN_STDERR_TO_DEV_NULL -is set. - -If @standard_output is NULL, the child's standard output goes to the same -location as the parent's standard output unless %G_SPAWN_STDOUT_TO_DEV_NULL -is set. - -@error can be %NULL to ignore errors, or non-%NULL to report errors. -If an error is set, the function returns %FALSE. Errors -are reported even if they occur in the child (for example if the -executable in &lt;literal&gt;argv[0]&lt;/literal&gt; is not found). Typically -the &lt;literal&gt;message&lt;/literal&gt; field of returned errors should be displayed -to users. Possible errors are those from the #G_SPAWN_ERROR domain. - -If an error occurs, @child_pid, @standard_input, @standard_output, -and @standard_error will not be filled with valid values. - -If @child_pid is not %NULL and an error does not occur then the returned -process reference must be closed using g_spawn_close_pid(). - -&lt;note&gt;&lt;para&gt; -If you are writing a GTK+ application, and the program you -are spawning is a graphical application, too, then you may -want to use gdk_spawn_on_screen_with_pipes() instead to ensure that -the spawned program opens its windows on the right screen. -&lt;/para&gt;&lt;/note&gt; - - - - - - child's current working directory, or %NULL to inherit parent's, in the GLib file name encoding - - - - child's argument vector, in the GLib file name encoding - - - - child's environment, or %NULL to inherit parent's, in the GLib file name encoding - - - - flags from #GSpawnFlags - - - - function to run in the child just before exec() - - - - user data for @child_setup - - - - return location for child process ID, or %NULL - - - - return location for file descriptor to write to child's stdin, or %NULL - - - - return location for file descriptor to read child's stdout, or %NULL - - - - return location for file descriptor to read child's stderr, or %NULL - - - - return location for error - - - - %TRUE on success, %FALSE if an error was set - - - - - -Checks if @mount can be eject. - - - - - - a #GMount. - - - - %TRUE if the @mount can be ejected. - - - - - -Copies a #GRand into a new one with the same exact state as before. -This way you can take a snapshot of the random number generator for -replaying later. - - - - - - a #GRand. - - - - the new #GRand. - -Since: 2.4 - - - - - -This sets an opaque, named pointer on an object. -The name is specified through a #GQuark (retrived e.g. via -g_quark_from_static_string()), and the pointer -can be gotten back from the @object with g_object_get_qdata() -until the @object is finalized. -Setting a previously set user data pointer, overrides (frees) -the old pointer set, using #NULL as pointer essentially -removes the data stored. - - - - - The GObject to set store a user data pointer - - - - A #GQuark, naming the user data pointer - - - - An opaque user data pointer - - - - - - - - -Reads a 64-bit/8-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a signed 64-bit/8-byte value read from @stream or %0 if -an error occurred. - - - - - -Gets a pointer result as returned by the asynchronous function. - - - - - - a #GSimpleAsyncResult. - - - - a pointer from the result. - - - - - -Gets the filesystem type for the unix mount. - - - - - - a #GUnixMount. - - - - a string containing the file system type. - - - - - -Reads an unsigned 32-bit/4-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - an unsigned 32-bit/4-byte value read from the @stream or %0 if -an error occurred. - - - - - -Gets the UUID for the @volume. The reference is typically based on -the file system UUID for the volume in question and should be -considered an opaque string. Returns %NULL if there is no UUID -available. - - - - - - a #GVolume. - - - - the UUID for @volume or %NULL if no UUID can be computed. - - - - - -Clears the pending flag on @stream. - - - - - input stream - - - - - - - - -Finishes copying the file started with -g_file_copy_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a %TRUE on success, %FALSE on error. - - - - - -Return value: A random number. - - - - - lower closed bound of the interval. - - - - upper open bound of the interval. - - - - A random number. - - - - - -Gets flags values packed in together with the datalist. -See g_datalist_set_flags(). - - - - - - pointer to the location that holds a list - - - - the flags of the datalist - -Since: 2.8 - - - - - -Resets the state of the @checksum back to it's initial state. - -Since: 2.18 - - - - - the #GChecksum to reset - - - - - - - - -Removes the item pointed to by @iter. It is an error to pass the -end iterator to this function. - -If the sequnce has a data destroy function associated with it, this -function is called on the data for the removed item. - -Since: 2.14 - - - - - a #GSequenceIter - - - - - - - - -Gets a list of all of the applications currently registered -on this system. - -For desktop files, this includes applications that have -&lt;literal&gt;NoDisplay=true&lt;/literal&gt; set or are excluded from -display by means of &lt;literal&gt;OnlyShowIn&lt;/literal&gt; or -&lt;literal&gt;NotShowIn&lt;/literal&gt;. See g_app_info_should_show(). -The returned list does not include applications which have -the &lt;literal&gt;Hidden&lt;/literal&gt; key set. - - - - - - a newly allocated #GList of references to #GAppInfo&lt;!----&gt;s. - - - - - -Inserts a new element into the list, using the given comparison -function to determine its position. - - - - - - a pointer to a #GList - - - - the data for the new element - - - - the function to compare elements in the list. -It should return a number &gt; 0 if the first parameter -comes after the second parameter in the sort order. - - - - user data to pass to comparison function. - - - - the new start of the #GList - -Since: 2.10 - - - - - -Removes all keys and their associated values from a #GHashTable. - -If the #GHashTable was created using g_hash_table_new_full(), the keys -and values are freed using the supplied destroy functions, otherwise you -have to make sure that any dynamically allocated values are freed -yourself. - -Since: 2.12 - - - - - a #GHashTable - - - - - - - - -Removes a key and its associated value from a #GHashTable. - -If the #GHashTable was created using g_hash_table_new_full(), the -key and value are freed using the supplied destroy functions, otherwise -you have to make sure that any dynamically allocated values are freed -yourself. - - - - - - a #GHashTable. - - - - the key to remove. - - - - %TRUE if the key was found and removed from the #GHashTable. - - - - - -Checks if the buffer automatically grows as data is added. - - - - - - a #GBufferedOutputStream. - - - - %TRUE if the @stream's buffer automatically grows, -%FALSE otherwise. - - - - - -Converts a #GString to uppercase. - - - - - - a #GString - - - - @string - -Deprecated:2.2: This function uses the locale-specific -toupper() function, which is almost never the right thing. -Use g_string_ascii_up() or g_utf8_strup() instead. - - - - - -Mounts a file of type G_FILE_TYPE_MOUNTABLE. -Using @mount_operation, you can request callbacks when, for instance, -passwords are needed during authentication. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -When the operation is finished, @callback will be called. You can then call -g_file_mount_mountable_finish() to get the result of the operation. - - - - - input #GFile. - - - - flags affecting the operation - - - - a #GMountOperation, or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied, or %NULL. - - - - the data to pass to callback function - - - - - - - - -Remove a specified datum from the object's data associations, -without invoking the association's destroy handler. - - - - - - #GObject containing the associations - - - - name of the key - - - - the data if found, or %NULL if no such data exists. - - - - - -Increase the reference count of @object, and possibly remove the -&lt;link linkend="floating-ref"&gt;floating&lt;/link&gt; reference, if @object -has a floating reference. - -In other words, if the object is floating, then this call "assumes -ownership" of the floating reference, converting it to a normal -reference by clearing the floating flag while leaving the reference -count unchanged. If the object is not floating, then this call -adds a new normal reference increasing the reference count by one. - -Since: 2.10 - - - - - - a #GObject - - - - @object - - - - - -Lists the signals by id that a certain instance or interface type -created. Further information about the signals can be acquired through -g_signal_query(). - - - - - - Instance or interface type. - - - - Location to store the number of signal ids for @itype. - - - - Newly allocated array of signal IDs. - - - - - -Determines information necessary to poll this main loop. - - - - - - a #GMainContext - - - - maximum priority source to check - - - - location to store timeout to be used in polling - - - - location to store #GPollFD records that need to be polled. - - - - length of @fds. - - - - the number of records actually stored in @fds, -or, if more than @n_fds records need to be stored, the number -of records that need to be stored. - - - - - -Gets the mount path for a unix mount. - - - - - - input #GUnixMountEntry to get the mount path for. - - - - the mount path for @mount_entry. - - - - - -Adds a new element on to the start of the list. - -&lt;note&gt;&lt;para&gt; -The return value is the new start of the list, which -may have changed, so make sure you store the new value. -&lt;/para&gt;&lt;/note&gt; - -|[ -/&ast; Notice that it is initialized to the empty list. &ast;/ -GList *list = NULL; -list = g_list_prepend (list, "last"); -list = g_list_prepend (list, "first"); -]| - - - - - - a pointer to a #GList - - - - the data for the new element - - - - the new start of the #GList - - - - - -Frees the memory allocated for the #GQueue. Only call this function if -@queue was created with g_queue_new(). If queue elements contain -dynamically-allocated memory, they should be freed first. - - - - - a #GQueue. - - - - - - - - -Given a @leaf_type and a @root_type which is contained in its -anchestry, return the type that @root_type is the immediate parent -of. In other words, this function determines the type that is -derived directly from @root_type which is also a base class of -@leaf_type. Given a root type and a leaf type, this function can -be used to determine the types and order in which the leaf type is -descended from the root type. - - - - - - Descendant of @root_type and the type to be returned. - - - - Immediate parent of the returned type. - - - - Immediate child of @root_type and anchestor of @leaf_type. - - - - - -Signals to the #GMarkupParseContext that all data has been -fed into the parse context with g_markup_parse_context_parse(). -This function reports an error if the document isn't complete, -for example if elements are still open. - - - - - - a #GMarkupParseContext - - - - return location for a #GError - - - - %TRUE on success, %FALSE if an error was set - - - - - -Determines the numeric value of a character as a decimal -digit. Differs from g_unichar_digit_value() because it takes -a char, so there's no worry about sign extension if characters -are signed. - - - - - - an ASCII character. - - - - If @c is a decimal digit (according to -g_ascii_isdigit()), its numeric value. Otherwise, -1. - - - - - -Gets the pattern string associated with @regex, i.e. a copy of -the string passed to g_regex_new(). - - - - - - a #GRegex structure - - - - the pattern of @regex - -Since: 2.14 - - - - - -Removes a reference from the given @list. If the reference count -falls to zero, the @list is deleted. - - - - - The #GFileAttributeInfoList to unreference. - - - - - - - - -Compiles the regular expression to an internal form, and does -the initial setup of the #GRegex structure. - - - - - - the regular expression - - - - compile options for the regular expression - - - - match options for the regular expression - - - - return location for a #GError - - - - a #GRegex structure. Call g_regex_unref() when you -are done with it - -Since: 2.14 - - - - - -Creates a new closure which invokes the function found at the offset -@struct_offset in the class structure of the interface or classed type -identified by @itype. - - - - - - the #GType identifier of an interface or classed type - - - - the offset of the member function of @itype's class -structure which is to be invoked by the new closure - - - - a new #GCClosure - - - - - -This is similar to g_signal_connect_data(), but uses a closure which -ensures that the @gobject stays alive during the call to @c_handler -by temporarily adding a reference count to @gobject. - -Note that there is a bug in GObject that makes this function -much less useful than it might seem otherwise. Once @gobject is -disposed, the callback will no longer be called, but, the signal -handler is &lt;emphasis&gt;not&lt;/emphasis&gt; currently disconnected. If the -@instance is itself being freed at the same time than this doesn't -matter, since the signal will automatically be removed, but -if @instance persists, then the signal handler will leak. You -should not remove the signal yourself because in a future versions of -GObject, the handler &lt;emphasis&gt;will&lt;/emphasis&gt; automatically -be disconnected. - -It's possible to work around this problem in a way that will -continue to work with future versions of GObject by checking -that the signal handler is still connected before disconnected it: -&lt;informalexample&gt;&lt;programlisting&gt; -if (g_signal_handler_is_connected (instance, id)) -g_signal_handler_disconnect (instance, id); -&lt;/programlisting&gt;&lt;/informalexample&gt; - - - - - - the instance to connect to. - - - - a string of the form "signal-name::detail". - - - - the #GCallback to connect. - - - - the object to pass as data to @c_handler. - - - - a combination of #GConnnectFlags. - - - - the handler id. - - - - - -Return value: %TRUE if the source has been destroyed - - - - - a #GSource - - - - %TRUE if the source has been destroyed - -Since: 2.12 - - - - - -Gets a reference to the class for the type that is -associated with @extension. - - - - - - a #GIOExtension - - - - the #GTypeClass for the type of @extension - - - - - -Create a new test case, similar to g_test_create_case(). However -the test is assumed to use no fixture, and test suites are automatically -created on the fly and added to the root fixture, based on the -slash-separated portions of @testpath. The @test_data argument -will be passed as first argument to @test_func. - -Since: 2.16 - - - - - Slash-separated test case path name for the test. - - - - Test data argument for the test function. - - - - The test function to invoke for this test. - - - - - - - - -Returns: the number of the highest back reference - - - - - a #GRegex - - - - the number of the highest back reference - -Since: 2.14 - - - - - -Similar to g_file_query_info(), but obtains information -about the filesystem the @file is on, rather than the file itself. -For instance the amount of space available and the type of -the filesystem. - -The @attribute value is a string that specifies the file attributes that -should be gathered. It is not an error if it's not possible to read a particular -requested attribute from a file - it just won't be set. @attribute should -be a comma-separated list of attribute or attribute wildcards. The wildcard "*" -means all attributes, and a wildcard like "fs:*" means all attributes in the fs -namespace. The standard namespace for filesystem attributes is "fs". -Common attributes of interest are #G_FILE_ATTRIBUTE_FILESYSTEM_SIZE -(the total size of the filesystem in bytes), #G_FILE_ATTRIBUTE_FILESYSTEM_FREE (number of -bytes available), and #G_FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If the file does not exist, the G_IO_ERROR_NOT_FOUND error will be returned. -Other errors are possible too, and depend on what kind of filesystem the file is on. - - - - - - input #GFile. - - - - an attribute query string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - a #GFileInfo or %NULL if there was an error. - - - - - -Return value: the length of the @queue. - - - - - a #GAsyncQueue. - - - - the length of the @queue. - - - - - -Remounts a mount. This is an asynchronous operation, and is -finished by calling g_mount_remount_finish() with the @mount -and #GAsyncResults data returned in the @callback. - -Remounting is useful when some setting affecting the operation -of the volume has been changed, as these may need a remount to -take affect. While this is semantically equivalent with unmounting -and then remounting not all backends might need to actually be -unmounted. - - - - - a #GMount. - - - - flags affecting the operation - - - - a #GMountOperation or %NULL to avoid user interaction. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - user data passed to @callback. - - - - - - - - -Creates a new signal. (This is usually done in the class initializer.) - -See g_signal_new() for details on allowed signal names. - - - - - - the name for the signal - - - - the type this signal pertains to. It will also pertain to -types which are derived from this type. - - - - a combination of #GSignalFlags specifying detail of when -the default handler is to be invoked. You should at least specify -%G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST. - - - - The closure to invoke on signal emission; may be %NULL. - - - - the accumulator for this signal; may be %NULL. - - - - user data for the @accumulator. - - - - the function to translate arrays of parameter values to -signal emissions into C language callback invocations. - - - - the type of return value, or #G_TYPE_NONE for a signal -without a return value. - - - - the length of @param_types. - - - - an array types, one for each parameter. - - - - the signal id - - - - - -Creates a new #GUnixInputStream for the given @fd. If @close_fd_at_close -is %TRUE, the file descriptor will be closed when the stream is closed. - - - - - - unix file descriptor. - - - - a #gboolean. - - - - a #GUnixInputStream. - - - - - -This function is meant to be called from the complete_type_info() -function of a #GTypePlugin implementation, as in the following -example: - -|[ -static void -my_enum_complete_type_info (GTypePlugin *plugin, -GType g_type, -GTypeInfo *info, -GTypeValueTable *value_table) -{ -static const GEnumValue values[] = { -{ MY_ENUM_FOO, "MY_ENUM_FOO", "foo" }, -{ MY_ENUM_BAR, "MY_ENUM_BAR", "bar" }, -{ 0, NULL, NULL } -}; - -g_enum_complete_type_info (type, info, values); -} -]| - - - - - the type identifier of the type being completed - - - - the #GTypeInfo struct to be filled in - - - - An array of #GEnumValue structs for the possible -enumeration values. The array is terminated by a struct with all -members being 0. - - - - - - - - -Runs the asynchronous job in a separated thread. - - - - - a #GSimpleAsyncResult. - - - - a #GSimpleAsyncThreadFunc. - - - - the io priority of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - - - - - -If @dest is %NULL, free @src; otherwise, -moves @src into *@dest. *@dest must be %NULL. -After the move, add a prefix as with -g_prefix_error(). - -Since: 2.16 - - - - - error return location - - - - error to move into the return location - - - - printf()-style format string - - - - arguments to @format - - - - - - - - -Returns: The nextmost fundamental type ID to be registered, - - - - - The nextmost fundamental type ID to be registered, -or 0 if the type system ran out of fundamental type IDs. - - - - - -This function creates a new thread pool. - -Whenever you call g_thread_pool_push(), either a new thread is -created or an unused one is reused. At most @max_threads threads -are running concurrently for this thread pool. @max_threads = -1 -allows unlimited threads to be created for this thread pool. The -newly created or reused thread now executes the function @func with -the two arguments. The first one is the parameter to -g_thread_pool_push() and the second one is @user_data. - -The parameter @exclusive determines, whether the thread pool owns -all threads exclusive or whether the threads are shared -globally. If @exclusive is %TRUE, @max_threads threads are started -immediately and they will run exclusively for this thread pool until -it is destroyed by g_thread_pool_free(). If @exclusive is %FALSE, -threads are created, when needed and shared between all -non-exclusive thread pools. This implies that @max_threads may not -be -1 for exclusive thread pools. - -@error can be %NULL to ignore errors, or non-%NULL to report -errors. An error can only occur when @exclusive is set to %TRUE and -not all @max_threads threads could be created. - - - - - - a function to execute in the threads of the new thread pool - - - - user data that is handed over to @func every time it -is called - - - - the maximal number of threads to execute concurrently in -the new thread pool, -1 means no limit - - - - should this thread pool be exclusive? - - - - return location for error - - - - the new #GThreadPool - - - - - -Removes a key/value pair from a #GTree. - -If the #GTree was created using g_tree_new_full(), the key and value -are freed using the supplied destroy functions, otherwise you have to -make sure that any dynamically allocated values are freed yourself. -If the key does not exist in the #GTree, the function does nothing. - - - - - - a #GTree. - - - - the key to remove. - - - - %TRUE if the key was found (prior to 2.8, this function returned -nothing) - - - - - -Clears the status information from @info. - - - - - a #GFileInfo. - - - - - - - - -Returns: The GTypeInterface structure of iface_type if implemented - - - - - A #GTypeClass structure. - - - - An interface ID which this class conforms to. - - - - The GTypeInterface structure of iface_type if implemented -by @instance_class, %NULL otherwise - - - - - -Removes a key and its associated value from a #GTree without calling -the key and value destroy functions. - -If the key does not exist in the #GTree, the function does nothing. - - - - - - a #GTree. - - - - the key to remove. - - - - %TRUE if the key was found (prior to 2.8, this function returned -nothing) - - - - - -Creates a new icon for a file. - - - - - - a #GFile. - - - - a #GIcon for the given @file, or %NULL on error. - - - - - -Creates a new #GTree like g_tree_new() and allows to specify functions -to free the memory allocated for the key and value that get called when -removing the entry from the #GTree. - - - - - - qsort()-style comparison function. - - - - data to pass to comparison function. - - - - a function to free the memory allocated for the key -used when removing the entry from the #GTree or %NULL if you don't -want to supply such a function. - - - - a function to free the memory allocated for the -value used when removing the entry from the #GTree or %NULL if you -don't want to supply such a function. - - - - a new #GTree. - - - - - -Gets an output stream for appending data to the file. If -the file doesn't already exist it is created. - -By default files created are generally readable by everyone, -but if you pass #G_FILE_CREATE_PRIVATE in @flags the file -will be made readable only to the current user, to the level that -is supported on the target filesystem. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -Some file systems don't allow all file names, and may -return an G_IO_ERROR_INVALID_FILENAME error. -If the file is a directory the G_IO_ERROR_IS_DIRECTORY error will be -returned. Other errors are possible too, and depend on what kind of -filesystem the file is on. - - - - - - input #GFile. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileOutputStream. - - - - - -Gets the position of the element containing -the given data (starting from 0). - - - - - - a #GList - - - - the data to find - - - - the index of the element containing the data, -or -1 if the data is not found - - - - - -If the paramspec redirects operations to another paramspec, -Returns: paramspec to which requests on this paramspec should - - - - - a #GParamSpec - - - - paramspec to which requests on this paramspec should -be redirected, or %NULL if none. - - - - - -This operation never fails, but the returned object might -not support any I/O operations if the @parse_name cannot -be parsed by the #GVfs module. - - - - - - a #GVfs. - - - - a string to be parsed by the VFS module. - - - - a #GFile for the given @parse_name. - - - - - -An implementation of the standard sprintf() function which supports -positional parameters, as specified in the Single Unix Specification. - - - - - - A pointer to a memory buffer to contain the resulting string. It -is up to the caller to ensure that the allocated buffer is large -enough to hold the formatted result - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the arguments to insert in the output. - - - - the number of bytes printed. - -Since: 2.2 - - - - - -A case-insensitive string comparison, corresponding to the standard -strncasecmp() function on platforms which support it. -It is similar to g_strcasecmp() except it only compares the first @n -characters of the strings. - - - - - - a string. - - - - a string to compare with @s1. - - - - the maximum number of characters to compare. - - - - 0 if the strings match, a negative value if @s1 &lt; @s2, -or a positive value if @s1 &gt; @s2. - -Deprecated:2.2: The problem with g_strncasecmp() is that it does the -comparison by calling toupper()/tolower(). These functions are -locale-specific and operate on single bytes. However, it is impossible -to handle things correctly from an I18N standpoint by operating on -bytes, since characters may be multibyte. Thus g_strncasecmp() is -broken if your string is guaranteed to be ASCII, since it's -locale-sensitive, and it's broken if your string is localized, since -it doesn't work on many encodings at all, including UTF-8, EUC-JP, -etc. - -There are therefore two replacement functions: g_ascii_strncasecmp(), -which only works on ASCII and is not locale-sensitive, and -g_utf8_casefold(), which is good for case-insensitive sorting of UTF-8. - - - - - -Gets the element @n places before @list. - - - - - - a #GList - - - - the position of the element, counting from 0 - - - - the element, or %NULL if the position is -off the end of the #GList - - - - - -Whether to use the default fallbacks found by shortening the icon name -at '-' characters. If the "names" array has more than one element, -ignores any past the first. - -For example, if the icon name was "gnome-dev-cdrom-audio", the array -would become -|[ -{ -"gnome-dev-cdrom-audio", -"gnome-dev-cdrom", -"gnome-dev", -"gnome", -NULL -}; -]| - - - - - - - - - -Returns: %TRUE if the volume should be automatically mounted. - - - - - a #GVolume - - - - %TRUE if the volume should be automatically mounted. - - - - - -Gets the data of the element at the given position. - - - - - - a #GSList - - - - the position of the element - - - - the element's data, or %NULL if the position -is off the end of the #GSList - - - - - -Reads a line, including the terminating character(s), -from a #GIOChannel into a newly-allocated string. -@str_return will contain allocated memory if the return -is %G_IO_STATUS_NORMAL. - - - - - - a #GIOChannel - - - - The line read from the #GIOChannel, including the -line terminator. This data should be freed with g_free() -when no longer needed. This is a nul-terminated string. -If a @length of zero is returned, this will be %NULL instead. - - - - location to store length of the read data, or %NULL - - - - location to store position of line terminator, or %NULL - - - - A location to return an error of type #GConvertError -or #GIOChannelError - - - - the status of the operation. - - - - - -Converts a Unicode character into UTF-8, and insert it -into the string at the given position. - - - - - - a #GString - - - - the position at which to insert character, or -1 to -append at the end of the string - - - - a Unicode character - - - - @string - - - - - -Checks whether @value contains the default value as specified in @pspec. - - - - - - a valid #GParamSpec - - - - a #GValue of correct type for @pspec - - - - whether @value contains the canonical default for this @pspec - - - - - -Escapes text so that the markup parser will parse it verbatim. -Less than, greater than, ampersand, etc. are replaced with the -corresponding entities. This function would typically be used -when writing out a file to be parsed with the markup parser. - -Note that this function doesn't protect whitespace and line endings -from being processed according to the XML rules for normalization -of line endings and attribute values. - - - - - - some valid UTF-8 text - - - - length of @text in bytes, or -1 if the text is nul-terminated - - - - a newly allocated string with the escaped text - - - - - -If the interface type @g_type is currently in use, returns its -default interface vtable. - -Since: 2.4 - - - - - - an interface type - - - - the default vtable for the interface, or %NULL -if the type is not currently in use. - - - - - -Calls the @use_plugin function from the #GTypePluginClass of -@plugin. There should be no need to use this function outside of -the GObject type system itself. - - - - - a #GTypePlugin - - - - - - - - -Launches the application. Passes @uris to the launched application -as arguments, using the optional @launch_context to get information -about the details of the launcher (like what screen it is on). -On error, @error will be set accordingly. - -To lauch the application without arguments pass a %NULL @uris list. - -Note that even if the launch is successful the application launched -can fail to start if it runs into problems during startup. There is -no way to detect this. - - - - - - a #GAppInfo. - - - - a #GList containing URIs to launch. - - - - a #GAppLaunchContext. - - - - a #GError. - - - - %TRUE on successful launch, %FALSE otherwise. - - - - - -Creates a new #GNode containing the given data. -Used to create the first node in a tree. - - - - - - the data of the new node - - - - a new #GNode - - - - - -A wrapper for the POSIX remove() function. The remove() function -deletes a name from the filesystem. - -See your C library manual for more details about how remove() works -on your system. On Unix, remove() removes also directories, as it -calls unlink() for files and rmdir() for directories. On Windows, -although remove() in the C library only works for files, this -function tries first remove() and then if that fails rmdir(), and -thus works for both files and directories. Note however, that on -Windows, it is in general not possible to remove a file that is -open to some process, or mapped into memory. - -If this function fails on Windows you can't infer too much from the -errno value. rmdir() is tried regardless of what caused remove() to -fail. Any errno value set by remove() will be overwritten by that -set by rmdir(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - 0 if the file was successfully removed, -1 if an error -occurred - -Since: 2.6 - - - - - -Reverses a #GList. -It simply switches the next and prev pointers of each element. - - - - - - a #GList - - - - the start of the reversed #GList - - - - - -Passes the results of polling back to the main loop. - - - - - - a #GMainContext - - - - the maximum numerical priority of sources to check - - - - array of #GPollFD's that was passed to the last call to -g_main_context_query() - - - - return value of g_main_context_query() - - - - %TRUE if some sources are ready to be dispatched. - - - - - -Sorts @seq using @cmp_func. - -Since: 2.14 - - - - - a #GSequence - - - - the #GCompareDataFunc used to sort @seq. This function is -passed two items of @seq and should return 0 if they are equal, -a negative value fi the first comes before the second, and a -positive value if the second comes before the first. - - - - user data passed to @cmp_func - - - - - - - - -Creates a new themed icon for @iconnames. - - - - - - an array of strings containing icon names. - - - - the length of the @iconnames array, or -1 if @iconnames is -%NULL-terminated - - - - a new #GThemedIcon - - - - - -Adds a string to be displayed in &lt;option&gt;--help&lt;/option&gt; output -before the list of options. This is typically a summary of the -program functionality. - -Note that the summary is translated (see -g_option_context_set_translate_func(), g_option_context_set_translation_domain()). - -Since: 2.12 - - - - - a #GOptionContext - - - - a string to be shown in &lt;option&gt;--help&lt;/option&gt; output -before the list of options, or %NULL - - - - - - - - -Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Reads all the remaining data from the file. - - - - - - a #GIOChannel - - - - Location to store a pointer to a string holding -the remaining data in the #GIOChannel. This data should -be freed with g_free() when no longer needed. This -data is terminated by an extra nul character, but there -may be other nuls in the intervening data. - - - - location to store length of the data - - - - location to return an error of type #GConvertError -or #GIOChannelError - - - - %G_IO_STATUS_NORMAL on success. -This function never returns %G_IO_STATUS_EOF. - - - - - -Return value: A random number. - - - - - A random number. - - - - - -Registers a finalization notifier which will be called when the -reference count of @closure goes down to 0. Multiple finalization -notifiers on a single closure are invoked in unspecified order. If -a single call to g_closure_unref() results in the closure being -both invalidated and finalized, then the invalidate notifiers will -be run before the finalize notifiers. - - - - - a #GClosure - - - - data to pass to @notify_func - - - - the callback function to register - - - - - - - - -Compare two strings, ignoring the case of ASCII characters. - -Unlike the BSD strcasecmp() function, this only recognizes standard -ASCII letters and ignores the locale, treating all non-ASCII -bytes as if they are not letters. - -This function should be used only on strings that are known to be -in encodings where the bytes corresponding to ASCII letters always -represent themselves. This includes UTF-8 and the ISO-8859-* -charsets, but not for instance double-byte encodings like the -Windows Codepage 932, where the trailing bytes of double-byte -characters include all ASCII letters. If you compare two CP932 -strings using this function, you will get false matches. - - - - - - string to compare with @s2. - - - - string to compare with @s1. - - - - 0 if the strings match, a negative value if @s1 &lt; @s2, -or a positive value if @s1 &gt; @s2. - - - - - -Deletes an emission hook. - - - - - the id of the signal - - - - the id of the emission hook, as returned by -g_signal_add_emission_hook() - - - - - - - - -Computes the checksum for a binary @data of @length. This is a -convenience wrapper for g_checksum_new(), g_checksum_get_string() -and g_checksum_free(). - - - - - - a #GChecksumType - - - - binary blob to compute the digest of - - - - length of @data - - - - the digest of the binary data as a string in hexadecimal. -The returned string should be freed with g_free() when done using it. - -Since: 2.16 - - - - - -Inserts a new key and value into a #GHashTable. - -If the key already exists in the #GHashTable its current value is replaced -with the new value. If you supplied a @value_destroy_func when creating the -#GHashTable, the old value is freed using that function. If you supplied -a @key_destroy_func when creating the #GHashTable, the passed key is freed -using that function. - - - - - a #GHashTable. - - - - a key to insert. - - - - the value to associate with the key. - - - - - - - - -Calls the given function for each of the key/value pairs in the #GTree. -The function is passed the key and value of each pair, and the given -@data parameter. The tree is traversed in sorted order. - -The tree may not be modified while iterating over it (you can't -add/remove items). To remove all items matching a predicate, you need -to add each item to a list in your #GTraverseFunc as you walk over -the tree, then walk the list and remove each item. - - - - - a #GTree. - - - - the function to call for each node visited. If this function -returns %TRUE, the traversal is stopped. - - - - user data to pass to the function. - - - - - - - - -Gets the modification time of the current @info and sets it -in @result. - - - - - a #GFileInfo. - - - - a #GTimeVal. - - - - - - - - -Sets the marshaller of @closure. The &lt;literal&gt;marshal_data&lt;/literal&gt; -of @marshal provides a way for a meta marshaller to provide additional -information to the marshaller. (See g_closure_set_meta_marshal().) For -GObject's C predefined marshallers (the g_cclosure_marshal_*() -functions), what it provides is a callback function to use instead of -@closure-&gt;callback. - - - - - a #GClosure - - - - a #GClosureMarshal function - - - - - - - - -Return value: the path to the specified special directory, or %NULL - - - - - the logical id of special directory - - - - the path to the specified special directory, or %NULL -if the logical id was not found. The returned string is owned by -GLib and should not be modified or freed. - -Since: 2.14 - - - - - - - - - - - - - - -A case-insensitive string comparison, corresponding to the standard -strcasecmp() function on platforms which support it. - - - - - - a string. - - - - a string to compare with @s1. - - - - 0 if the strings match, a negative value if @s1 &lt; @s2, -or a positive value if @s1 &gt; @s2. - -Deprecated:2.2: See g_strncasecmp() for a discussion of why this function -is deprecated and how to replace it. - - - - - -If @dest is %NULL, free @src; otherwise, moves @src into *@dest. -The error variable @dest points to must be %NULL. - - - - - error return location - - - - error to move into the return location - - - - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a string. - - - - - - - - -Compares two strings for equality, returning %TRUE if they are equal. -For use with #GHashTable. - - - - - - a #GString - - - - another #GString - - - - %TRUE if they strings are the same length and contain the -same bytes - - - - - -Gets the length in bytes of digests of type @checksum_type - - - - - - a #GChecksumType - - - - the checksum length, or -1 if @checksum_type is -not supported. - -Since: 2.16 - - - - - -Resets @cancellable to its uncancelled state. - - - - - a #GCancellable object. - - - - - - - - -Return value: The currently firing source or %NULL. - - - - - The currently firing source or %NULL. - -Since: 2.12 - - - - - -Gets a new #GUnixMountMonitor. The default rate limit for which the -monitor will report consecutive changes for the mount and mount -point entry files is the default for a #GFileMonitor. Use -g_unix_mount_monitor_set_rate_limit() to change this. - - - - - - a #GUnixMountMonitor. - - - - - -Associates a list of double values with @key under -@group_name. If @key cannot be found then it is created. - -Since: 2.12 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an array of double values - - - - number of double values in @list - - - - - - - - -Removes file descriptor from the set of file descriptors to be -polled for a particular context. - - - - -a #GMainContext - - - - a #GPollFD descriptor previously added with g_main_context_add_poll() - - - - - - - - -Return value: the position of @iter - - - - - a #GSequenceIter - - - - the position of @iter - -Since: 2.14 - - - - - -Sets the @attribute to contain the given value, if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a #GFileAttributeType - - - - pointer to the value - - - - - - - - -Converts a string into canonical form, standardizing -such issues as whether a character with an accent -is represented as a base character and combining -accent or as a single precomposed character. The -string has to be valid UTF-8, otherwise %NULL is -returned. You should generally call g_utf8_normalize() -before comparing two Unicode strings. - -The normalization mode %G_NORMALIZE_DEFAULT only -standardizes differences that do not affect the -text content, such as the above-mentioned accent -representation. %G_NORMALIZE_ALL also standardizes -the "compatibility" characters in Unicode, such -as SUPERSCRIPT THREE to the standard forms -(in this case DIGIT THREE). Formatting information -may be lost but for most text operations such -characters should be considered the same. -For example, g_utf8_collate() normalizes -with %G_NORMALIZE_ALL as its first step. - -%G_NORMALIZE_DEFAULT_COMPOSE and %G_NORMALIZE_ALL_COMPOSE -are like %G_NORMALIZE_DEFAULT and %G_NORMALIZE_ALL, -but returned a result with composed forms rather -than a maximally decomposed form. This is often -useful if you intend to convert the string to -a legacy encoding or pass it to a system with -less capable Unicode handling. - - - - - - a UTF-8 encoded string. - - - - length of @str, in bytes, or -1 if @str is nul-terminated. - - - - the type of normalization to perform. - - - - a newly allocated string, that is the -normalized form of @str, or %NULL if @str is not -valid UTF-8. - - - - - -Retrieves the text matching the @match_num&lt;!-- --&gt;'th capturing -parentheses. 0 is the full text of the match, 1 is the first paren -set, 2 the second, and so on. - -If @match_num is a valid sub pattern but it didn't match anything -(e.g. sub pattern 1, matching "b" against "(a)?b") then an empty -string is returned. - -If the match was obtained using the DFA algorithm, that is using -g_regex_match_all() or g_regex_match_all_full(), the retrieved -string is not that of a set of parentheses but that of a matched -substring. Substrings are matched in reverse order of length, so -0 is the longest match. - -The string is fetched from the string passed to the match function, -so you cannot call this function after freeing the string. - - - - - - #GMatchInfo structure - - - - number of the sub expression - - - - The matched substring, or %NULL if an error occurred. -You have to free the string yourself - -Since: 2.14 - - - - - -Tries to become the owner of the specified context. -If some other thread is the owner of the context, -Return value: %TRUE if the operation succeeded, and - - - - - a #GMainContext - - - - %TRUE if the operation succeeded, and -this thread is now the owner of @context. - - - - - -Writes all of @contents to a file named @filename, with good error checking. -If a file called @filename already exists it will be overwritten. - -This write is atomic in the sense that it is first written to a temporary -file which is then renamed to the final name. Notes: -&lt;itemizedlist&gt; -&lt;listitem&gt; -On Unix, if @filename already exists hard links to @filename will break. -Also since the file is recreated, existing permissions, access control -lists, metadata etc. may be lost. If @filename is a symbolic link, -the link itself will be replaced, not the linked file. -&lt;/listitem&gt; -&lt;listitem&gt; -On Windows renaming a file will not remove an existing file with the -new name, so on Windows there is a race condition between the existing -file being removed and the temporary file being renamed. -&lt;/listitem&gt; -&lt;listitem&gt; -On Windows there is no way to remove a file that is open to some -process, or mapped into memory. Thus, this function will fail if -@filename already exists and is open. -&lt;/listitem&gt; -&lt;/itemizedlist&gt; - -If the call was sucessful, it returns %TRUE. If the call was not successful, -it returns %FALSE and sets @error. The error domain is #G_FILE_ERROR. -Possible error codes are those in the #GFileError enumeration. - - - - - - name of a file to write @contents to, in the GLib file name -encoding - - - - string to write to the file - - - - length of @contents, or -1 if @contents is a nul-terminated string - - - - return location for a #GError, or %NULL - - - - %TRUE on success, %FALSE if an error occurred - -Since: 2.8 - - - - - -Returns: The depth of @type. - - - - - A #GType value. - - - - The depth of @type. - - - - - -Retrieves every key inside @hash_table. The returned data is valid -until @hash_table is modified. - - - - - - a #GHashTable - - - - a #GList containing all the keys inside the hash -table. The content of the list is owned by the hash table and -should not be modified or freed. Use g_list_free() when done -using the list. - -Since: 2.14 - - - - - -Asynchronously gets the requested information about the files in a directory. The result -is a #GFileEnumerator object that will give out #GFileInfo objects for -all the files in the directory. - -For more details, see g_file_enumerate_children() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_enumerate_children_finish() to get the result of the operation. - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Sets the file type in a #GFileInfo to @type. -See %G_FILE_ATTRIBUTE_STANDARD_TYPE. - - - - - a #GFileInfo. - - - - a #GFileType. - - - - - - - - -Reads a 16-bit/2-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a signed 16-bit/2-byte value read from @stream or %0 if -an error occurred. - - - - - -Associates a list of boolean values with @key under @group_name. -If @key cannot be found then it is created. -If @group_name is %NULL, the start_group is used. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an array of boolean values - - - - length of @list - - - - - - - - -Like g_object_set_data() except it adds notification -for when the association is destroyed, either by setting it -to a different value or when the object is destroyed. - -Note that the @destroy callback is not called if @data is %NULL. - - - - - #GObject containing the associations - - - - name of the key - - - - data to associate with that key - - - - function to call when the association is destroyed - - - - - - - - -Get the contents of a %G_TYPE_PARAM #GValue. - - - - - - a valid #GValue whose type is derived from %G_TYPE_PARAM - - - - #GParamSpec content of @value - - - - - -Converts a character to the titlecase. - - - - - - a Unicode character - - - - the result of converting @c to titlecase. -If @c is not an uppercase or lowercase character, -@c is returned unchanged. - - - - - -Decreases the reference count on a #GMainLoop object by one. If -the result is zero, free the loop and free all associated memory. - - - - - a #GMainLoop - - - - - - - - -Similar to g_type_init(), but additionally sets debug flags. - - - - - Bitwise combination of #GTypeDebugFlags values for -debugging purposes. - - - - - - - - -Gets the time the bookmark for @uri was added to @bookmark - -In the event the URI cannot be found, -1 is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - a timestamp - -Since: 2.12 - - - - - -A convenience function to use gettext() for translating -user-visible strings. - -Since: 2.6 - - - - - a #GOptionGroup - - - - the domain to use - - - - - - - - -Gets a file's type (whether it is a regular file, symlink, etc). -This is different from the file's content type, see g_file_info_get_content_type(). - - - - - - a #GFileInfo. - - - - a #GFileType for the given file. - - - - - -Frees the memory allocated for @checksum. - -Since: 2.16 - - - - - a #GChecksum - - - - - - - - -Checks if @mount can be mounted. - - - - - - a #GMount. - - - - %TRUE if the @mount can be unmounted. - - - - - -A wrapper for the POSIX freopen() function. The freopen() function -opens a file and associates it with an existing stream. - -See your C library manual for more details about freopen(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - a string describing the mode in which the file should be -opened - - - - an existing stream which will be reused, or %NULL - - - - A &lt;type&gt;FILE&lt;/type&gt; pointer if the file was successfully -opened, or %NULL if an error occurred. - -Since: 2.6 - - - - - -Creates a new filename completer. - - - - - - a #GFilenameCompleter. - - - - - -Puts a signed 16-bit integer into the output stream. - - - - - - a #GDataOutputStream. - - - - a #gint16. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Looks up an existing extension point. - - - - - - the name of the extension point - - - - the #GIOExtensionPoint, or %NULL if there is no -registered extension point with the given name - - - - - -Gets the value corresponding to the given key. Since a #GTree is -automatically balanced as key/value pairs are added, key lookup is very -fast. - - - - - - a #GTree. - - - - the key to look up. - - - - the value corresponding to the key, or %NULL if the key was -not found. - - - - - -Information about an installed application from a desktop file. - - - - - - - - - -Destroys all keys and values in the #GHashTable and decrements its -reference count by 1. If keys and/or values are dynamically allocated, -you should either free them first or create the #GHashTable with destroy -notifiers using g_hash_table_new_full(). In the latter case the destroy -functions you supplied will be called on all keys and values during the -destruction phase. - - - - - a #GHashTable. - - - - - - - - -Gets the required type for @extension_point. - - - - - - a #GIOExtensionPoint - - - - the #GType that all implementations must have, -or #G_TYPE_INVALID if the extension point has no required type - - - - - -Report the last result of g_test_timer_elapsed(). - - - - - - the last result of g_test_timer_elapsed(), as a double - -Since: 2.16 - - - - - -This function sets the byte order for the given @stream. All subsequent -reads from the @stream will be read in the given @order. - - - - - - a given #GDataInputStream. - - - - a #GDataStreamByteOrder to set. - - - - - - - - -Determines if a character is typically rendered in a double-width -cell. - - - - - - a Unicode character - - - - %TRUE if the character is wide - - - - - -Removes an element from a #GSList, without -freeing the element. The removed element's next -link is set to %NULL, so that it becomes a -self-contained list with one element. - - - - - - a #GSList - - - - an element in the #GSList - - - - the new start of the #GSList, without the element - - - - - -Returns: the number of capturing subpatterns - - - - - a #GRegex - - - - the number of capturing subpatterns - -Since: 2.14 - - - - - -Gets the time when the bookmark for @uri was last modified. - -In the event the URI cannot be found, -1 is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - a timestamp - -Since: 2.12 - - - - - -Sets the name for a #GTypeModule - - - - - a #GTypeModule. - - - - a human-readable name to use in error messages. - - - - - - - - -Checks if a cancellable job has been cancelled. - - - - - - a #GCancellable or NULL. - - - - %TRUE if @cancellable is cancelled, -FALSE if called with %NULL or if item is not cancelled. - - - - - -Writes a Unicode character to @channel. -This function cannot be called on a channel with %NULL encoding. - - - - - - a #GIOChannel - - - - a character - - - - location to return an error of type #GConvertError -or #GIOChannelError - - - - a #GIOStatus - - - - - -Checks if a file is hidden. - - - - - - a #GFileInfo. - - - - %TRUE if the file is a hidden file, %FALSE otherwise. - - - - - -Return value: A random number. - - - - - lower closed bound of the interval. - - - - upper open bound of the interval. - - - - A random number. - - - - - -Adds the given number of microseconds to @time_. @microseconds can -also be negative to decrease the value of @time_. - - - - - a #GTimeVal - - - - number of microseconds to add to @time - - - - - - - - -Checks if two #GAppInfos are equal. - - - - - - the first #GAppInfo. - - - - the second #GAppInfo. - - - - %TRUE if @appinfo1 is equal to @appinfo2. %FALSE otherwise. - - - - - -Creates a new #GString with @len bytes of the @init buffer. -Because a length is provided, @init need not be nul-terminated, -and can contain embedded nul bytes. - -Since this function does not stop at nul bytes, it is the caller's -responsibility to ensure that @init has at least @len addressable -bytes. - - - - - - initial contents of the string - - - - length of @init to use - - - - a new #GString - - - - - -Sets a function to be called when the child indicated by @pid -exits, at a default priority, #G_PRIORITY_DEFAULT. - -If you obtain @pid from g_spawn_async() or g_spawn_async_with_pipes() -you will need to pass #G_SPAWN_DO_NOT_REAP_CHILD as flag to -the spawn function for the child watching to work. - -Note that on platforms where #GPid must be explicitly closed -(see g_spawn_close_pid()) @pid must not be closed while the -source is still active. Typically, you will want to call -g_spawn_close_pid() in the callback function for the source. - -GLib supports only a single callback per process id. - - - - - - process id to watch. On POSIX the pid of a child process. On -Windows a handle for a process (which doesn't have to be a child). - - - - function to call - - - - data to pass to @function - - - - the ID (greater than 0) of the event source. - -Since: 2.4 - - - - - -Checks if a volume can be mounted. - - - - - - a #GVolume. - - - - %TRUE if the @volume can be mounted. %FALSE otherwise. - - - - - -Increases the use count of a #GTypeModule by one. If the -use count was zero before, the plugin will be loaded. - - - - - - a #GTypeModule - - - - %FALSE if the plugin needed to be loaded and -loading the plugin failed. - - - - - -Installs a new property. This is usually done in the class initializer. - - - - - a #GObjectClass - - - - the id for the new property - - - - the #GParamSpec for the new property - - - - - - - - -Gets the volume monitor used by gio. - - - - - - a reference to the #GVolumeMonitor used by gio. Call -g_object_unref() when done with it. - - - - - -Sets the buffer size. - - - - - a #GIOChannel - - - - the size of the buffer, or 0 to let GLib pick a good size - - - - - - - - -Returns: read-only buffer - - - - - a #GBufferedInputStream. - - - - a #gsize to get the number of bytes available in the buffer. - - - - read-only buffer - - - - - -Given the signal's identifier, finds its name. - -Two different signals may have the same name, if they have differing types. - - - - - - the signal's identifying number. - - - - the signal name, or %NULL if the signal number was invalid. - - - - - -Sets the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed -and takes over the ownership of the callers reference to @v_boxed; -the caller doesn't have to unref it any more. - -Since: 2.4 - - - - - a valid #GValue of %G_TYPE_BOXED derived type - - - - duplicated unowned boxed value to be set - - - - - - - - -Utility function to inspect the #GFileType of a file. This is -implemented using g_file_query_info() and as such does blocking I/O. - -The primary use case of this method is to check if a file is a regular file, -directory, or symlink. - - - - - - input #GFile. - - - - a set of #GFileQueryInfoFlags passed to g_file_query_info(). - - - - optional #GCancellable object, %NULL to ignore. - - - - The #GFileType of the file and #G_FILE_TYPE_UNKNOWN if the file -does not exist - -Since: 2.18 - - - - - -Frees a #GError and associated resources. - - - - - - a #GError - - - - - - - - -Inserts a #GNode beneath the parent before the given sibling. - - - - - - the #GNode to place @node under - - - - the sibling #GNode to place @node before. -If sibling is %NULL, the node is inserted as the last child of @parent. - - - - the #GNode to insert - - - - the inserted #GNode - - - - - -Creates a new file attribute info list. - - - - - - a #GFileAttributeInfoList. - - - - - -Sets a function to be called at regular intervals with the default -priority, #G_PRIORITY_DEFAULT. The function is called repeatedly until -it returns %FALSE, at which point the timeout is automatically destroyed -and the function will not be called again. - -See g_timeout_add_seconds_full() for the differences between -g_timeout_add() and g_timeout_add_seconds(). - - - - - - the time between calls to the function, in seconds - - - - function to call - - - - data to pass to @function - - - - the ID (greater than 0) of the event source. - -Since: 2.14 - - - - - -Initializes @value with the default value of @type. - - - - - - A zero-filled (uninitialized) #GValue structure. - - - - Type the #GValue should hold values of. - - - - the #GValue structure that has been passed in - - - - - -Gets the current newline type for the @stream. - - - - - - a given #GDataInputStream. - - - - #GDataStreamNewlineType for the given @stream. - - - - - -Obtains data which has previously been attached to @type -with g_type_set_qdata(). - - - - - - a #GType - - - - a #GQuark id to identify the data - - - - the data, or %NULL if no data was found - - - - - -Determines the break type of @c. @c should be a Unicode character -(to derive a character from UTF-8 encoded text, use -g_utf8_get_char()). The break type is used to find word and line -breaks ("text boundaries"), Pango implements the Unicode boundary -resolution algorithms and normally you would use a function such -as pango_break() instead of caring about break types yourself. - - - - - - a Unicode character - - - - the break type of @c - - - - - -Checks if a drive can be polled for media changes. - - - - - - a #GDrive. - - - - %TRUE if the @drive can be polled for media changes. %FALSE otherwise. - - - - - -Removes a key and its associated value from a #GHashTable without -calling the key and value destroy functions. - - - - - - a #GHashTable. - - - - the key to remove. - - - - %TRUE if the key was found and removed from the #GHashTable. - - - - - -Frees all of the memory used by a #GSList. -The freed elements are returned to the slice allocator. - - - - - a #GSList - - - - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT64 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #guint64 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set, %FALSE otherwise. - - - - - -Adds a new element at the tail of the queue. - - - - - a #GQueue. - - - - the data for the new element. - - - - - - - - -A wrapper for the POSIX access() function. This function is used to -test a pathname for one or several of read, write or execute -permissions, or just existence. - -On Windows, the file protection mechanism is not at all POSIX-like, -and the underlying function in the C library only checks the -FAT-style READONLY attribute, and does not look at the ACL of a -file at all. This function is this in practise almost useless on -Windows. Software that needs to handle file permissions on Windows -more exactly should use the Win32 API. - -See your C library manual for more details about access(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - as in access() - - - - zero if the pathname refers to an existing file system -object that has all the tested permissions, or -1 otherwise or on -error. - -Since: 2.8 - - - - - -Gets an array of completion strings for a given initial text. - - - - - - the filename completer. - - - - text to be completed. - - - - array of strings with possible completions for @initial_text. -This array must be freed by g_strfreev() when finished. - - - - - -Gets the byte order for the stream. - - - - - - a #GDataOutputStream. - - - - the #GDataStreamByteOrder for the @stream. - - - - - -Gets the icon for a file. - - - - - - a #GFileInfo. - - - - #GIcon for the given @info. - - - - - -Associates two functions with @group which will be called -from g_option_context_parse() before the first option is parsed -and after the last option has been parsed, respectively. - -Note that the user data to be passed to @pre_parse_func and -@post_parse_func can be specified when constructing the group -with g_option_group_new(). - -Since: 2.6 - - - - - a #GOptionGroup - - - - a function to call before parsing, or %NULL - - - - a function to call after parsing, or %NULL - - - - - - - - -Adds the application with @name and @exec to the list of -applications that have registered a bookmark for @uri into -@bookmark. - -Every bookmark inside a #GBookmarkFile must have at least an -application registered. Each application must provide a name, a -command line useful for launching the bookmark, the number of times -the bookmark has been registered by the application and the last -time the application registered this bookmark. - -If @name is %NULL, the name of the application will be the -same returned by g_get_application(); if @exec is %NULL, the -command line will be a composition of the program name as -returned by g_get_prgname() and the "%u" modifier, which will be -expanded to the bookmark's URI. - -This function will automatically take care of updating the -registrations count and timestamping in case an application -with the same @name had already registered a bookmark for -@uri inside @bookmark. - -If no bookmark for @uri is found, one is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - the name of the application registering the bookmark -or %NULL - - - - command line to be used to launch the bookmark or %NULL - - - - - - - - -Reverses a #GSList. - - - - - - a #GSList - - - - the start of the reversed #GSList - - - - - -This is a convenience function often needed in class initializers. -It returns the class structure of the immediate parent type of the -class passed in. Since derived classes hold a reference count on -their parent classes as long as they are instantiated, the returned -class will always exist. This function is essentially equivalent -to: - -&lt;programlisting&gt; -g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class))); -&lt;/programlisting&gt; - - - - - - The #GTypeClass structure to retrieve the parent class for. - - - - The parent class of @g_class. - - - - - -Returns: A newly allocated string containing the help text - - - - - a #GOptionContext - - - - if %TRUE, only include the main group - - - - the #GOptionGroup to create help for, or %NULL - - - - A newly allocated string containing the help text - -Since: 2.14 - - - - - -Gets the GIO Error Quark. - - - - - - a #GQuark. - - - - - -Gets the name of @drive. - - - - - - a #GDrive. - - - - a string containing @drive's name. The returned -string should be freed when no longer needed. - - - - - -Creates a new #GMainContext structure. - - - - - - the new #GMainContext - - - - - -A safer form of the standard vsprintf() function. The output is guaranteed -to not exceed @n characters (including the terminating nul character), so -it is easy to ensure that a buffer overflow cannot occur. - -See also g_strdup_vprintf(). - -In versions of GLib prior to 1.2.3, this function may return -1 if the -output was truncated, and the truncated string may not be nul-terminated. -In versions prior to 1.3.12, this function returns the length of the output -string. - -The return value of g_vsnprintf() conforms to the vsnprintf() function -as standardized in ISO C99. Note that this is different from traditional -vsnprintf(), which returns the length of the output string. - -The format string may contain positional parameters, as specified in -the Single Unix Specification. - - - - - - the buffer to hold the output. - - - - the maximum number of bytes to produce (including the -terminating nul character). - - - - a standard printf() format string, but notice -&lt;link linkend="string-precision"&gt;string precision pitfalls&lt;/link&gt;. - - - - the list of arguments to insert in the output. - - - - the number of bytes which would be produced if the buffer -was large enough. - - - - - -Sets properties on an object. - - - - - a #GObject - - - - name of the first property to set - - - - value for the first property, followed optionally by more -name/value pairs, followed by %NULL - - - - - - - - -Asynchronously gets the requested information about specified @file. The result -is a #GFileInfo object that contains key-value attributes (such as type or size -for the file). - -For more details, see g_file_query_info() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_query_info_finish() to get the result of the operation. - - - - - input #GFile. - - - - an attribute query string. - - - - a set of #GFileQueryInfoFlags. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Renames @file to the specified display name. - -The display name is converted from UTF8 to the correct encoding for the target -filesystem if possible and the @file is renamed to this. - -If you want to implement a rename operation in the user interface the edit name -(#G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the initial value in the rename -widget, and then the result after editing should be passed to g_file_set_display_name(). - -On success the resulting converted filename is returned. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFile specifying what @file was renamed to, or %NULL if there was an error. - - - - - -Removes a supported type from an application, if possible. - - - - - - a #GAppInfo. - - - - a string. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Does nothing if @err is %NULL; if @err is non-%NULL, then *@err must -be %NULL. A new #GError is created and assigned to *@err. -Unlike g_set_error(), @message is not a printf()-style format string. -Use this function if @message contains text you don't have control over, -that could include printf() escape sequences. - - - - - a return location for a #GError, or %NULL - - - - error domain - - - - error code - - - - error message - - - - - - - - -Registers @type_id as the predefined identifier and @type_name as the -name of a fundamental type. The type system uses the information -contained in the #GTypeInfo structure pointed to by @info and the -#GTypeFundamentalInfo structure pointed to by @finfo to manage the -type and its instances. The value of @flags determines additional -characteristics of the fundamental type. - - - - - - A predefined type identifier. - - - - 0-terminated string used as the name of the new type. - - - - The #GTypeInfo structure for this type. - - - - The #GTypeFundamentalInfo structure for this type. - - - - Bitwise combination of #GTypeFlags values. - - - - The predefined type identifier. - - - - - -Convenience function to ref and sink a #GParamSpec. - -Since: 2.10 - - - - - a valid #GParamSpec - - - - the #GParamSpec that was passed into this function - - - - - -Adds a string on to the start of a #GString, -expanding it if necessary. - - - - - - a #GString - - - - the string to prepend on the start of @string - - - - @string - - - - - -Sets the newline type for the @stream. - -Note that using G_DATA_STREAM_NEWLINE_TYPE_ANY is slightly unsafe. If a read -chunk ends in "CR" we must read an additional byte to know if this is "CR" or -"CR LF", and this might block if there is no more data availible. - - - - - - a #GDataInputStream. - - - - the type of new line return as #GDataStreamNewlineType. - - - - - - - - -Converts a Unicode character into UTF-8, and appends it -to the string. - - - - - - a #GString - - - - a Unicode character - - - - @string - - - - - -Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64 -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Returns: %TRUE if unknown options are ignored. - - - - - a #GOptionContext - - - - %TRUE if unknown options are ignored. - -Since: 2.6 - - - - - -Removes a weak reference from @object that was previously added -using g_object_add_weak_pointer(). The @weak_pointer_location has -to match the one used with g_object_add_weak_pointer(). - - - - - The object that is weak referenced. - - - - The memory address of a pointer. - - - - - - - - -Sets the mount operation's password to @password. - - - - - - a #GMountOperation. - - - - password to set. - - - - - - - - -Converts from an integer character offset to a pointer to a position -within the string. - -Since 2.10, this function allows to pass a negative @offset to -step backwards. It is usually worth stepping backwards from the end -instead of forwards if @offset is in the last fourth of the string, -since moving forward is about 3 times faster than moving backward. - - - - - - a UTF-8 encoded string - - - - a character offset within @str - - - - the resulting pointer - - - - - -Gets the encoding for the input/output of the channel. -The internal encoding is always UTF-8. The encoding %NULL -makes the channel safe for binary data. - - - - - - a #GIOChannel - - - - A string containing the encoding, this string is -owned by GLib and must not be freed. - - - - - -This function tries to determine the installation directory of a -software package based on the location of a DLL of the software -package. - -@hmodule should be the handle of a loaded DLL or %NULL. The -function looks up the directory that DLL was loaded from. If -@hmodule is NULL, the directory the main executable of the current -process is looked up. If that directory's last component is "bin" -or "lib", its parent directory is returned, otherwise the directory -itself. - -It thus makes sense to pass only the handle to a "public" DLL of a -software package to this function, as such DLLs typically are known -to be installed in a "bin" or occasionally "lib" subfolder of the -installation folder. DLLs that are of the dynamically loaded module -or plugin variety are often located in more private locations -deeper down in the tree, from which it is impossible for GLib to -deduce the root of the package installation. - -The typical use case for this function is to have a DllMain() that -saves the handle for the DLL. Then when code in the DLL needs to -construct names of files in the installation tree it calls this -function passing the DLL handle. - - - - - - The Win32 handle for a DLL loaded into the current process, or %NULL - - - - a string containing the guessed installation directory for -the software package @hmodule is from. The string is in the GLib -file name encoding, i.e. UTF-8. The return value should be freed -with g_free() when not needed any longer. If the function fails -%NULL is returned. - -Since: 2.16 - - - - - -Inserts a new item just before the item pointed to by @iter. - - - - - - a #GSequenceIter - - - - the data for the new item - - - - an iterator pointing to the new item - -Since: 2.14 - - - - - -Loads a desktop bookmark file into an empty #GBookmarkFile structure. -If the file could not be loaded then @error is set to either a #GFileError -or #GBookmarkFileError. - - - - - - an empty #GBookmarkFile struct - - - - the path of a filename to load, in the GLib file name encoding - - - - return location for a #GError, or %NULL - - - - %TRUE if a desktop bookmark file could be loaded - -Since: 2.12 - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - an unsigned 32-bit integer. - - - - - - - - -Gets the name of @volume. - - - - - - a #GVolume. - - - - the name for the given @volume. The returned string should -be freed when no longer needed. - - - - - -Associates a new boolean value with @key under @group_name. -If @key cannot be found then it is created. - -Since: 2.6 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - %TRUE or %FALSE - - - - - - - - -Gets the file system type for the mount point. - - - - - - a #GUnixMountPoint. - - - - a string containing the file system type. - - - - - -Convert a string from a 32-bit fixed width representation as UCS-4. -to UTF-8. The result will be terminated with a 0 byte. - - - - - - a UCS-4 encoded string - - - - the maximum length (number of characters) of @str to use. -If @len &lt; 0, then the string is terminated with a 0 character. - - - - location to store number of characters read, or %NULL. - - - - location to store number of bytes written or %NULL. -The value here stored does not include the trailing 0 -byte. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError other than -%G_CONVERT_ERROR_NO_CONVERSION may occur. - - - - a pointer to a newly allocated UTF-8 string. -This value must be freed with g_free(). If an -error occurs, %NULL will be returned and -@error set. In that case, @items_read will be -set to the position of the first invalid input -character. - - - - - -Removes an element from a #GSList. -If two elements contain the same data, only the first is removed. -If none of the elements contain the data, the #GSList is unchanged. - - - - - - a #GSList - - - - the data of the element to remove - - - - the new start of the #GSList - - - - - -Returns: the data of the last element in the queue, or %NULL if the queue - - - - - a #GQueue. - - - - the data of the last element in the queue, or %NULL if the queue -is empty. - - - - - -Return value: the values associated with the key as a list of - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - the number of doubles returned - - - - return location for a #GError - - - - the values associated with the key as a list of -doubles, or %NULL if the key was not found or could not be parsed. - -Since: 2.12 - - - - - -Sets @stream to have actions pending. If the pending flag is -already set or @stream is closed, it will return %FALSE and set -@error. - - - - - - a #GOutputStream. - - - - a #GError location to store the error occuring, or %NULL to -ignore. - - - - %TRUE if pending was previously unset and is now set. - - - - - -Converts a string into a form that is independent of case. The -result will not correspond to any particular case, but can be -compared for equality or ordered with the results of calling -g_utf8_casefold() on other strings. - -Note that calling g_utf8_casefold() followed by g_utf8_collate() is -only an approximation to the correct linguistic case insensitive -ordering, though it is a fairly good one. Getting this exactly -right would require a more sophisticated collation function that -takes case sensitivity into account. GLib does not currently -provide such a function. - - - - - - a UTF-8 encoded string - - - - length of @str, in bytes, or -1 if @str is nul-terminated. - - - - a newly allocated string, that is a -case independent form of @str. - - - - - -Tries to skip @count bytes from the stream. Will block during the operation. - -This is identical to g_input_stream_read(), from a behaviour standpoint, -but the bytes that are skipped are not returned to the user. Some -streams have an implementation that is more efficient than reading the data. - -This function is optional for inherited classes, as the default implementation -emulates it using read. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. If an -operation was partially finished when the operation was cancelled the -partial result will be returned, without an error. - - - - - - a #GInputStream. - - - - the number of bytes that will be skipped from the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - Number of bytes skipped, or -1 on error - - - - - -Sets the state of saving passwords for the mount operation. - - - - - - a #GMountOperation. - - - - a set of #GPasswordSave flags. - - - - - - - - -Validates UTF-8 encoded text. @str is the text to validate; -if @str is nul-terminated, then @max_len can be -1, otherwise -@max_len should be the number of bytes to validate. -If @end is non-%NULL, then the end of the valid range -will be stored there (i.e. the start of the first invalid -character if some bytes were invalid, or the end of the text -being validated otherwise). - -Note that g_utf8_validate() returns %FALSE if @max_len is -positive and NUL is met before @max_len bytes have been read. - -Return value: %TRUE if the text was valid UTF-8 - - - - - a pointer to character data - - - - max bytes to validate, or -1 to go until NUL - - - - return location for end of valid data - - - - %TRUE if the text was valid UTF-8 - - - - - -Utility function that launches the default application -registered to handle the specified uri. Synchronous I/O -is done on the uri to detext the type of the file if -required. - - - - - - the uri to show - - - - an optional #GAppLaunchContext. - - - - a #GError. - - - - %TRUE on success, %FALSE on error. - - - - - -Finishes an asynchronous read. - - - - - - a #GBufferedInputStream. - - - - a #GAsyncResult. - - - - a #GError. - - - - a #gssize of the read stream, or %-1 on an error. - - - - - -Converts a string into a collation key that can be compared -with other collation keys produced by the same function using -strcmp(). - -The results of comparing the collation keys of two strings -with strcmp() will always be the same as comparing the two -original keys with g_utf8_collate(). - -Note that this function depends on the -&lt;link linkend="setlocale"&gt;current locale&lt;/link&gt;. - - - - - - a UTF-8 encoded string. - - - - length of @str, in bytes, or -1 if @str is nul-terminated. - - - - a newly allocated string. This string should -be freed with g_free() when you are done with it. - - - - - -Return value: the value associated with the key as an integer, or - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError - - - - the value associated with the key as an integer, or -0 if the key was not found or could not be parsed. - -Since: 2.6 - - - - - -In Unicode, some characters are &lt;firstterm&gt;mirrored&lt;/firstterm&gt;. This -means that their images are mirrored horizontally in text that is laid -out from right to left. For instance, "(" would become its mirror image, -")", in right-to-left text. - -If @ch has the Unicode mirrored property and there is another unicode -character that typically has a glyph that is the mirror image of @ch's -glyph and @mirrored_ch is set, it puts that character in the address -pointed to by @mirrored_ch. Otherwise the original character is put. - - - - - - a Unicode character - - - - location to store the mirrored character - - - - %TRUE if @ch has a mirrored character, %FALSE otherwise - -Since: 2.4 - - - - - -Converts a string from one character set to another. - -Note that you should use g_iconv() for streaming -conversions&lt;footnote id="streaming-state"&gt; -&lt;para&gt; -Despite the fact that @byes_read can return information about partial -characters, the &lt;literal&gt;g_convert_...&lt;/literal&gt; functions -are not generally suitable for streaming. If the underlying converter -being used maintains internal state, then this won't be preserved -across successive calls to g_convert(), g_convert_with_iconv() or -g_convert_with_fallback(). (An example of this is the GNU C converter -for CP1255 which does not emit a base character until it knows that -the next character is not a mark that could combine with the base -character.) -&lt;/para&gt; -&lt;/footnote&gt;. - - - - - - the string to convert - - - - the length of the string, or -1 if the string is -nul-terminated&lt;footnoteref linkend="nul-unsafe"/&gt;. - - - - conversion descriptor from g_iconv_open() - - - - location to store the number of bytes in the -input string that were successfully converted, or %NULL. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -#G_CONVERT_ERROR_ILLEGAL_SEQUENCE occurs, the value -stored will the byte offset after the last valid -input sequence. - - - - the number of bytes stored in the output buffer (not -including the terminating nul). - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError may occur. - - - - If the conversion was successful, a newly allocated -nul-terminated string, which must be freed with -g_free(). Otherwise %NULL and @error will be set. - - - - - -Checks that the GLib library in use is compatible with the -given version. Generally you would pass in the constants -#GLIB_MAJOR_VERSION, #GLIB_MINOR_VERSION, #GLIB_MICRO_VERSION -as the three arguments to this function; that produces -a check that the library in use is compatible with -the version of GLib the application or module was compiled -against. - -Compatibility is defined by two things: first the version -of the running library is newer than the version -@required_major.required_minor.@required_micro. Second -the running library must be binary compatible with the -version @required_major.required_minor.@required_micro -(same major version.) - - - - - - the required major version. - - - - the required minor version. - - - - the required micro version. - - - - %NULL if the GLib library is compatible with the -given version, or a string describing the version mismatch. -The returned string is owned by GLib and must not be modified -or freed. - -Since: 2.6 - - - - - -Looks up or registers a type that is implemented with a particular -type plugin. If a type with name @type_name was previously registered, -the #GType identifier for the type is returned, otherwise the type -is newly registered, and the resulting #GType identifier returned. - -When reregistering a type (typically because a module is unloaded -then reloaded, and reinitialized), @module and @parent_type must -be the same as they were previously. - -As long as any instances of the type exist, the type plugin will -not be unloaded. - - - - - - a #GTypeModule - - - - the type for the parent class - - - - name for the type - - - - type information structure - - - - flags field providing details about the type - - - - the new or existing type ID - - - - - -Get the contents of a pointer #GValue. - - - - - - a valid #GValue of %G_TYPE_POINTER - - - - pointer contents of @value - - - - - -Converts a filename from UTF-8 to the system codepage. - -On NT-based Windows, on NTFS file systems, file names are in -Unicode. It is quite possible that Unicode file names contain -characters not representable in the system codepage. (For instance, -Greek or Cyrillic characters on Western European or US Windows -installations, or various less common CJK characters on CJK Windows -installations.) - -In such a case, and if the filename refers to an existing file, and -the file system stores alternate short (8.3) names for directory -entries, the short form of the filename is returned. Note that the -"short" name might in fact be longer than the Unicode name if the -Unicode name has very short pathname components containing -non-ASCII characters. If no system codepage name for the file is -possible, %NULL is returned. - -The return value is dynamically allocated and should be freed with -g_free() when no longer needed. - - - - - - a UTF-8 encoded filename. - - - - The converted filename, or %NULL on conversion -failure and lack of short names. - -Since: 2.8 - - - - - -Allocates a struct of the given size and initializes the initial -part as a #GClosure. This function is mainly useful when -implementing new types of closures. - -|[ -typedef struct _MyClosure MyClosure; -struct _MyClosure -{ -GClosure closure; -// extra data goes here -}; - -static void -my_closure_finalize (gpointer notify_data, -GClosure *closure) -{ -MyClosure *my_closure = (MyClosure *)closure; - -// free extra data here -} - -MyClosure *my_closure_new (gpointer data) -{ -GClosure *closure; -MyClosure *my_closure; - -closure = g_closure_new_simple (sizeof (MyClosure), data); -my_closure = (MyClosure *) closure; - -// initialize extra data here - -g_closure_add_finalize_notifier (closure, notify_data, -my_closure_finalize); -return my_closure; -} -]| - - - - - - the size of the structure to allocate, must be at least -&lt;literal&gt;sizeof (GClosure)&lt;/literal&gt; - - - - data to store in the @data field of the newly allocated #GClosure - - - - a newly allocated #GClosure - - - - - -Return value: A #GFileInfo or %NULL on error or end of enumerator - - - - - a #GFileEnumerator. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - A #GFileInfo or %NULL on error or end of enumerator - - - - - -Return a newly allocated and 0-terminated array of type IDs, listing the -interface types that @type conforms to. The return value has to be -g_free()ed after use. - - - - - - The type to list interface types for. - - - - Optional #guint pointer to contain the number of -interface types. - - - - Newly allocated and 0-terminated array of interface types. - - - - - -Converts an &lt;literal&gt;errno&lt;/literal&gt; error number to a #GIOChannelError. - - - - - - an &lt;literal&gt;errno&lt;/literal&gt; error number, e.g. %EINVAL - - - - a #GIOChannelError error number, e.g. -%G_IO_CHANNEL_ERROR_INVAL. - - - - - -Like g_sequence_sort_changed(), but uses -a #GSequenceIterCompareFunc instead of a #GCompareDataFunc as -the compare function. - -Since: 2.14 - - - - - a #GSequenceIter - - - - the #GSequenceItercompare used to compare iterators in the -sequence. It is called with two iterators pointing into @seq. It should -return 0 if the iterators are equal, a negative value if the first -iterator comes before the second, and a positive value if the second -iterator comes before the first. - - - - user data passed to @cmp_func - - - - - - - - -Determines if a given character is assigned in the Unicode -standard. - - - - - - a Unicode character - - - - %TRUE if the character has an assigned value - - - - - -Guesses whether a Unix mount should be displayed in the UI. - - - - - - a #GUnixMountEntry - - - - %TRUE if @mount_entry is deemed to be displayable. - - - - - -Finds a #GMount object by it's UUID (see g_mount_get_uuid()) - - - - - - a #GVolumeMonitor. - - - - the UUID to look for - - - - a #GMount or %NULL if no such mount is available. - - - - - -Blocks a handler of an instance so it will not be called during any -signal emissions unless it is unblocked again. Thus "blocking" a -signal handler means to temporarily deactive it, a signal handler -has to be unblocked exactly the same amount of times it has been -blocked before to become active again. - -The @handler_id has to be a valid signal handler id, connected to a -signal of @instance. - - - - - The instance to block the signal handler of. - - - - Handler id of the handler to be blocked. - - - - - - - - -Set the contents of a %G_TYPE_FLOAT #GValue to @v_float. - - - - - a valid #GValue of type %G_TYPE_FLOAT - - - - float value to be set - - - - - - - - -Retrieves the element stack from the internal state of the parser. -The returned #GSList is a list of strings where the first item is -the currently open tag (as would be returned by -g_markup_parse_context_get_element()) and the next item is its -immediate parent. - -This function is intended to be used in the start_element and -end_element handlers where g_markup_parse_context_get_element() -would merely return the name of the element that is being -processed. - - - - - - a #GMarkupParseContext - - - - the element stack, which must not be modified - -Since: 2.16 - - - - - -Try to determine the installation directory for a software package. - -This function will be deprecated in the future. Use -g_win32_get_package_installation_directory_of_module() instead. - -The use of @package is deprecated. You should always pass %NULL. - -The original intended use of @package was for a short identifier of -the package, typically the same identifier as used for -&lt;literal&gt;GETTEXT_PACKAGE&lt;/literal&gt; in software configured using GNU -autotools. The function first looks in the Windows Registry for the -value &lt;literal&gt;&num;InstallationDirectory&lt;/literal&gt; in the key -&lt;literal&gt;&num;HKLM\Software\@package&lt;/literal&gt;, and if that value -exists and is a string, returns that. - -It is strongly recommended that packagers of GLib-using libraries -for Windows do not store installation paths in the Registry to be -used by this function as that interfers with having several -parallel installations of the library. Enabling multiple -installations of different versions of some GLib-using library, or -GLib itself, is desirable for various reasons. - -For this reason it is recommeded to always pass %NULL as -@package to this function, to avoid the temptation to use the -Registry. In version 2.18 of GLib the @package parameter -will be ignored and this function won't look in the Registry at all. - -If @package is %NULL, or the above value isn't found in the -Registry, but @dll_name is non-%NULL, it should name a DLL loaded -into the current process. Typically that would be the name of the -DLL calling this function, looking for its installation -directory. The function then asks Windows what directory that DLL -was loaded from. If that directory's last component is "bin" or -"lib", the parent directory is returned, otherwise the directory -itself. If that DLL isn't loaded, the function proceeds as if -@dll_name was %NULL. - -If both @package and @dll_name are %NULL, the directory from where -the main executable of the process was loaded is used instead in -the same way as above. - - - - - - You should pass %NULL for this. - - - - The name of a DLL that a package provides in UTF-8, or %NULL. - - - - a string containing the installation directory for -@package. The string is in the GLib file name encoding, -i.e. UTF-8. The return value should be freed with g_free() when not -needed any longer. If the function fails %NULL is returned. - - - - - -Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Sets the contents of a %G_TYPE_STRING #GValue to @v_string. - -Since: 2.4 - - - - - a valid #GValue of type %G_TYPE_STRING - - - - duplicated unowned string to be set - - - - - - - - -Sets the rate limit to which the @monitor will report -consecutive change events to the same file. - - - - - - a #GFileMonitor. - - - - a integer with the limit in milliseconds to -poll for changes. - - - - - - - - -If the @cancelalble is cancelled, sets the error to notify -that the operation was cancelled. - - - - - - a #GCancellable object. - - - - #GError to append error state to. - - - - %TRUE if @cancellable was cancelled, %FALSE if it was not. - - - - - -Finishes an asynchronous file create operation started with -g_file_create_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFileOutputStream or %NULL on error. - - - - - -Gets the state of saving passwords for the mount operation. - - - - - - a #GMountOperation. - - - - a #GPasswordSave flag. - - - - - -Creates a new #GInputStream from the given @base_stream, with -a buffer set to the default size (4 kilobytes). - - - - - - a #GInputStream. - - - - a #GInputStream for the given @base_stream. - - - - - -Setting this flag to %TRUE for a channel you have already closed -can cause problems. - - - - - a #GIOChannel - - - - Whether to close the channel on the final unref of -the GIOChannel data structure. The default value of -this is %TRUE for channels created by g_io_channel_new_file (), -and %FALSE for all other channels. - - - - - - - - -Returns: the description - - - - - a #GOptionContext - - - - the description - -Since: 2.12 - - - - - -Close an IO channel. Any pending data to be written will be -flushed if @flush is %TRUE. The channel will not be freed until the -last reference is dropped using g_io_channel_unref(). - - - - - - a #GIOChannel - - - - if %TRUE, flush pending - - - - location to store a #GIOChannelError - - - - the status of the operation. - - - - - -Looks up or registers a flags type that is implemented with a particular -type plugin. If a type with name @type_name was previously registered, -the #GType identifier for the type is returned, otherwise the type -is newly registered, and the resulting #GType identifier returned. - -As long as any instances of the type exist, the type plugin will -not be unloaded. - -Since: 2.6 - - - - - - a #GTypeModule - - - - name for the type - - - - an array of #GFlagsValue structs for the -possible flags values. The array is -terminated by a struct with all members being -0. - - - - the new or existing type ID - - - - - -Gets the icon for a content type. - - - - - - a content type string. - - - - #GIcon corresponding to the content type. - - - - - -Convert a string from UCS-4 to UTF-16. A 0 character will be -added to the result after the converted text. - - - - - - a UCS-4 encoded string - - - - the maximum length (number of characters) of @str to use. -If @len &lt; 0, then the string is terminated with a 0 character. - - - - location to store number of bytes read, or %NULL. -If an error occurs then the index of the invalid input -is stored here. - - - - location to store number of &lt;type&gt;gunichar2&lt;/type&gt; -written, or %NULL. The value stored here does not -include the trailing 0. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError other than -%G_CONVERT_ERROR_NO_CONVERSION may occur. - - - - a pointer to a newly allocated UTF-16 string. -This value must be freed with g_free(). If an -error occurs, %NULL will be returned and -@error set. - - - - - -Inserts a #GNode beneath the parent after the given sibling. - - - - - - the #GNode to place @node under - - - - the sibling #GNode to place @node after. -If sibling is %NULL, the node is inserted as the first child of @parent. - - - - the #GNode to insert - - - - the inserted #GNode - - - - - -Inserts @data into @queue using @func to determine the new position. - -Since: 2.4 - - - - - a #GQueue - - - - the data to insert - - - - the #GCompareDataFunc used to compare elements in the queue. It is -called with two elements of the @queue and @user_data. It should -return 0 if the elements are equal, a negative value if the first -element comes before the second, and a positive value if the second -element comes before the first. - - - - user data passed to @func. - - - - - - - - -Get a reproducible random integer number. - -The random numbers generated by the g_test_rand_*() family of functions -change with every new test program start, unless the --seed option is -given when starting test programs. - -For individual test cases however, the random number generator is -reseeded, to avoid dependencies between tests and to make --seed -effective for all test cases. - - - - - - a random number from the seeded random number generator. - -Since: 2.16 - - - - - -If @is_a_type is a derivable type, check whether @type is a -descendant of @is_a_type. If @is_a_type is an interface, check -whether @type conforms to it. - - - - - - Type to check anchestry for. - - - - Possible anchestor of @type or interface @type could conform to. - - - - %TRUE if @type is_a @is_a_type holds true. - - - - - -This function gets back user data pointers stored via -g_object_set_qdata(). - - - - - - The GObject to get a stored user data pointer from - - - - A #GQuark, naming the user data pointer - - - - The user data pointer set, or %NULL - - - - - -Cancels all cancellable I/O jobs. - -A job is cancellable if a #GCancellable was passed into -g_io_scheduler_push_job(). - - - - - - - - - -Adds @test_case to @suite. - -Since: 2.16 - - - - - a #GTestSuite - - - - a #GTestCase - - - - - - - - -A convenience function to disconnect multiple signals at once. - -The signal specs expected by this function have the form -"any_signal", which means to disconnect any signal with matching -callback and data, or "any_signal::signal_name", which only -disconnects the signal named "signal_name". - - - - - a #GObject - - - - the spec for the first signal - - - - #GCallback for the first signal, followed by data for the first signal, -followed optionally by more signal spec/callback/data triples, -followed by %NULL - - - - - - - - -Same as the standard UNIX routine iconv_open(), but -may be implemented via libiconv on UNIX flavors that lack -a native implementation. - -GLib provides g_convert() and g_locale_to_utf8() which are likely -more convenient than the raw iconv wrappers. - - - - - - destination codeset - - - - source codeset - - - - a "conversion descriptor", or (GIConv)-1 if -opening the converter failed. - - - - - -Adds a weak reference callback to an object. Weak references are -used for notification when an object is finalized. They are called -"weak references" because they allow you to safely hold a pointer -to an object without calling g_object_ref() (g_object_ref() adds a -strong reference, that is, forces the object to stay alive). - - - - - #GObject to reference weakly - - - - callback to invoke before the object is freed - - - - extra data to pass to notify - - - - - - - - -Computes the checksum of a string. - - - - - - a #GChecksumType - - - - the string to compute the checksum of - - - - the length of the string, or -1 if the string is null-terminated. - - - - the checksum as a hexadecimal string. The returned string -should be freed with g_free() when done using it. - -Since: 2.16 - - - - - -Frees the memory allocated for the #GRand. - - - - - a #GRand. - - - - - - - - -Return value: a newly-allocated %NULL-terminated array of strings. - - - - - a #GKeyFile - - - - return location for the number of returned groups, or %NULL - - - - a newly-allocated %NULL-terminated array of strings. -Use g_strfreev() to free it. -Since: 2.6 - - - - - -Calls @func for each item in the range (@begin, @end) passing -@user_data to the function. - -Since: 2.14 - - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - a #GFunc - - - - user data passed to @func - - - - - - - - -Gets the installed name of the application. - - - - - - a #GAppInfo. - - - - the name of the application for @appinfo. - - - - - -A more efficient version of g_type_class_peek() which works only for -static types. - -Since: 2.4 - - - - - Type ID of a classed type. - - - - The #GTypeClass structure for the given type ID or %NULL -if the class does not currently exist or is dynamically loaded. - - - - - -Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN -property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Gets the &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for a given -#GFileInfo. See %G_FILE_ATTRIBUTE_ETAG_VALUE. - - - - - - a #GFileInfo. - - - - a string containing the value of the "etag:value" attribute. - - - - - -Gets the icon for the application. - - - - - - a #GAppInfo. - - - - the default #GIcon for @appinfo. - - - - - -Creates a new random number generator initialized with @seed. - - - - - - an array of seeds to initialize the random number generator. - - - - an array of seeds to initialize the random number generator. - - - - the new #GRand. - -Since: 2.4 - - - - - -Sets @value to its default value as specified in @pspec. - - - - - a valid #GParamSpec - - - - a #GValue of correct type for @pspec - - - - - - - - -Converts a Unicode character into UTF-8, and prepends it -to the string. - - - - - - a #GString - - - - a Unicode character - - - - @string - - - - - -Ejects a volume. - - - - - a #GVolume. - - - - flags affecting the unmount if required for eject - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback, or %NULL. - - - - a #gpointer. - - - - - - - - -Initializes the random number generator by an array of -longs. Array can be of arbitrary size, though only the -first 624 values are taken. This function is useful -if you have many low entropy seeds, or if you require more then -32bits of actual entropy for your application. - -Since: 2.4 - - - - - a #GRand. - - - - array to initialize with - - - - length of array - - - - - - - - -Scans for a match in @string for @pattern. - -This function is equivalent to g_regex_match() but it does not -require to compile the pattern with g_regex_new(), avoiding some -lines of code when you need just to do a match without extracting -substrings, capture counts, and so on. - -If this function is to be called on the same @pattern more than -once, it's more efficient to compile the pattern once with -g_regex_new() and then use g_regex_match(). - - - - - - the regular expression - - - - the string to scan for matches - - - - compile options for the regular expression - - - - match options - - - - %TRUE is the string matched, %FALSE otherwise - -Since: 2.14 - - - - - -Frees a %NULL-terminated array of strings, and the array itself. -If called on a %NULL value, g_strfreev() simply returns. - - - - - a %NULL-terminated array of strings to free. - - - - - - - - -Removes a weak reference callback to an object. - - - - - #GObject to remove a weak reference from - - - - callback to search for - - - - data to search for - - - - - - - - -Get the unique name that is assigned to a type ID. Note that this -function (like all other GType API) cannot cope with invalid type -IDs. %G_TYPE_INVALID may be passed to this function, as may be any -other validly registered type ID, but randomized type IDs should -not be passed in and will most likely lead to a crash. - - - - - - Type to return name for. - - - - Static type name or %NULL. - - - - - -Checks if the @drive supports removable media. - - - - - - a #GDrive. - - - - %TRUE if @drive supports removable media, %FALSE otherwise. - - - - - -Same as the standard UNIX routine iconv(), but -may be implemented via libiconv on UNIX flavors that lack -a native implementation. - -GLib provides g_convert() and g_locale_to_utf8() which are likely -more convenient than the raw iconv wrappers. - - - - - - conversion descriptor from g_iconv_open() - - - - bytes to convert - - - - inout parameter, bytes remaining to convert in @inbuf - - - - converted output bytes - - - - inout parameter, bytes available to fill in @outbuf - - - - count of non-reversible conversions, or -1 on error - - - - - -Dispatches all pending sources. - - - - - a #GMainContext - - - - - - - - -Swaps the items pointed to by @a and @b. It is allowed for @a and @b -to point into difference sequences. - -Since: 2.14 - - - - - a #GSequenceIter - - - - a #GSequenceIter - - - - - - - - -Gets the position of a #GNode with respect to its siblings. -@child must be a child of @node. The first child is numbered 0, -the second 1, and so on. - - - - - - a #GNode - - - - a child of @node - - - - the position of @child with respect to its siblings - - - - - -Enables or disables automatic generation of &lt;option&gt;--help&lt;/option&gt; -output. By default, g_option_context_parse() recognizes -&lt;option&gt;--help&lt;/option&gt;, &lt;option&gt;-?&lt;/option&gt;, &lt;option&gt;--help-all&lt;/option&gt; -and &lt;option&gt;--help-&lt;/option&gt;&lt;replaceable&gt;groupname&lt;/replaceable&gt; and creates -suitable output to stdout. - -Since: 2.6 - - - - - a #GOptionContext - - - - %TRUE to enable &lt;option&gt;--help&lt;/option&gt;, %FALSE to disable it - - - - - - - - -Adds a new element on to the end of the list. - -&lt;note&gt;&lt;para&gt; -The return value is the new start of the list, which -may have changed, so make sure you store the new value. -&lt;/para&gt;&lt;/note&gt; - -&lt;note&gt;&lt;para&gt; -Note that g_list_append() has to traverse the entire list -to find the end, which is inefficient when adding multiple -elements. A common idiom to avoid the inefficiency is to prepend -the elements and reverse the list when all elements have been added. -&lt;/para&gt;&lt;/note&gt; - -|[ -/&ast; Notice that these are initialized to the empty list. &ast;/ -GList *list = NULL, *number_list = NULL; - -/&ast; This is a list of strings. &ast;/ -list = g_list_append (list, "first"); -list = g_list_append (list, "second"); - -/&ast; This is a list of integers. &ast;/ -number_list = g_list_append (number_list, GINT_TO_POINTER (27)); -number_list = g_list_append (number_list, GINT_TO_POINTER (14)); -]| - - - - - - a pointer to a #GList - - - - the data for the new element - - - - the new start of the #GList - - - - - -Puts a byte into the output stream. - - - - - - a #GDataOutputStream. - - - - a #guchar. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - %TRUE if @data was successfully added to the @stream. - - - - - -Returns: the #GEnumValue for @value, or %NULL if @value is not a - - - - - a #GEnumClass - - - - the value to look up - - - - the #GEnumValue for @value, or %NULL if @value is not a -member of the enumeration - - - - - -Finishes ejecting a drive. - - - - - - a #GDrive. - - - - a #GAsyncResult. - - - - a #GError. - - - - %TRUE if the drive has been ejected successfully, -%FALSE otherwise. - - - - - -Gets the maximum height of all branches beneath a #GNode. -This is the maximum distance from the #GNode to all leaf nodes. - -If @root is %NULL, 0 is returned. If @root has no children, -1 is returned. If @root has children, 2 is returned. And so on. - - - - - - a #GNode - - - - the maximum height of the tree beneath @root - - - - - -Retrieves the description of the bookmark for @uri. - -In the event the URI cannot be found, %NULL is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - return location for a #GError, or %NULL - - - - a newly allocated string or %NULL if the specified -URI cannot be found. - -Since: 2.12 - - - - - -Gets the data of the element at the given position. - - - - - - a #GList - - - - the position of the element - - - - the element's data, or %NULL if the position -is off the end of the #GList - - - - - -Adds a new item to the end of @seq. - - - - - - a #GSequencePointer - - - - the data for the new item - - - - an iterator pointing to the new item - -Since: 2.14 - - - - - -Tries to read @count bytes from the stream into the buffer starting at -@buffer. Will block during this read. - -This function is similar to g_input_stream_read(), except it tries to -read as many bytes as requested, only stopping on an error or end of stream. - -On a successful read of @count bytes, or if we reached the end of the -stream, %TRUE is returned, and @bytes_read is set to the number of bytes -read into @buffer. - -If there is an error during the operation %FALSE is returned and @error -is set to indicate the error status, @bytes_read is updated to contain -the number of bytes read into @buffer before the error occurred. - - - - - - a #GInputStream. - - - - a buffer to read data into (which should be at least count bytes long). - - - - the number of bytes that will be read from the stream - - - - location to store the number of bytes that was read from the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE if there was an error - - - - - -Gets a #GFile for @path. - - - - - - a #GVfs. - - - - a string containing a VFS path. - - - - a #GFile. - - - - - -Gets a list of all extensions that implement this extension point. -The list is sorted by priority, beginning with the highest priority. - - - - - - a #GIOExtensionPoint - - - - a #GList of #GIOExtension&lt;!-- --&gt;s. The list is owned by -GIO and should not be modified - - - - - -Set the contents of a %G_TYPE_OBJECT derived #GValue to @v_object. - -g_value_set_object() increases the reference count of @v_object -(the #GValue holds a reference to @v_object). If you do not wish -to increase the reference count of the object (i.e. you wish to -pass your current reference to the #GValue because you no longer -need it), use g_value_take_object() instead. - -It is important that your #GValue holds a reference to @v_object (either its -own, or one it has taken) to ensure that the object won't be destroyed while -the #GValue still exists). - - - - - a valid #GValue of %G_TYPE_OBJECT derived type - - - - object value to be set - - - - - - - - -Opens a file for writing in the preferred directory for temporary -files (as returned by g_get_tmp_dir()). - -@tmpl should be a string in the GLib file name encoding containing -a sequence of six 'X' characters, as the parameter to g_mkstemp(). -However, unlike these functions, the template should only be a -basename, no directory components are allowed. If template is -%NULL, a default template is used. - -Note that in contrast to g_mkstemp() (and mkstemp()) -@tmpl is not modified, and might thus be a read-only literal string. - -The actual name used is returned in @name_used if non-%NULL. This -string should be freed with g_free() when not needed any longer. -The returned name is in the GLib file name encoding. - - - - - - Template for file name, as in g_mkstemp(), basename only, -or %NULL, to a default template - - - - location to store actual name used, or %NULL - - - - return location for a #GError - - - - A file handle (as from open()) to -the file opened for reading and writing. The file is opened in binary -mode on platforms where there is a difference. The file handle should be -closed with close(). In case of errors, -1 is returned -and @error will be set. - - - - - -Guesses the name of a Unix mount point. -The result is a translated string. - - - - - - a #GUnixMountPoint - - - - A newly allocated string that must -be freed with g_free() - - - - - -Returns: the contents of @file. - - - - - a #GMappedFile - - - - the contents of @file. - -Since: 2.8 - - - - - -Completes an asynchronous I/O job. - - - - - a #GSimpleAsyncResult. - - - - - - - - -Gets the icon for @drive. - - - - - - a #GDrive. - - - - #GIcon for the @drive. - - - - - -Compares two #gpointer arguments and returns %TRUE if they are equal. -It can be passed to g_hash_table_new() as the @key_equal_func -parameter, when using pointers as keys in a #GHashTable. - - - - - - a key. - - - - a key to compare with @v1. - - - - %TRUE if the two keys match. - - - - - -Frees a unix mount. - - - - - a #GUnixMount. - - - - - - - - -Return the path to the share\locale or lib\locale subfolder of the -GLib installation folder. The path is in the system codepage. We -have to use system codepage as bindtextdomain() doesn't have a -UTF-8 interface. - - - - - - - - - -Queries a file output stream for the given @attributes. -This function blocks while querying the stream. For the asynchronous -version of this function, see g_file_output_stream_query_info_async(). -While the stream is blocked, the stream will set the pending flag -internally, and any other operations on the stream will fail with -%G_IO_ERROR_PENDING. - -Can fail if the stream was already closed (with @error being set to -%G_IO_ERROR_CLOSED), the stream has pending operations (with @error being -set to %G_IO_ERROR_PENDING), or if querying info is not supported for -the stream's interface (with @error being set to %G_IO_ERROR_NOT_SUPPORTED). In -all cases of failure, %NULL will be returned. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be set, and %NULL will -be returned. - - - - - - a #GFileOutputStream. - - - - a file attribute query string. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, %NULL to ignore. - - - - a #GFileInfo for the @stream, or %NULL on error. - - - - - -Looks up a key in the #GTree, returning the original key and the -associated value and a #gboolean which is %TRUE if the key was found. This -is useful if you need to free the memory allocated for the original key, -for example before calling g_tree_remove(). - - - - - - a #GTree. - - - - the key to look up. - - - - returns the original key. - - - - returns the value associated with the key. - - - - %TRUE if the key was found in the #GTree. - - - - - -Frees one #GSList element. -It is usually used after g_slist_remove_link(). - - - - - a #GSList element - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, guchar arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #guchar parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Checks if the content type is the generic "unknown" type. -On unix this is the "application/octet-stream" mimetype, -while on win32 it is "*". - - - - - - a content type string. - - - - %TRUE if the type is the unknown type. - - - - - -Copies the bytes from a string into a #GString, -destroying any previous contents. It is rather like -the standard strcpy() function, except that you do not -have to worry about having enough space to copy the string. - - - - - - the destination #GString. Its current contents -are destroyed. - - - - the string to copy into @string - - - - @string - - - - - -If @dirs_only is %TRUE, @completer will only -complete directory names, and not file names. - - - - - the filename completer. - - - - a #gboolean. - - - - - - - - -Reports an error in an idle function. Similar to -g_simple_async_report_error_in_idle(), but takes a #GError rather -than building a new one. - - - - - a #GObject. - - - - a #GAsyncReadyCallback. - - - - user data passed to @callback. - - - - the #GError to report - - - - - - - - -Gets a list of the mounts on the system. - -The returned list should be freed with g_list_free(), after -its elements have been unreffed with g_object_unref(). - - - - - - a #GVolumeMonitor. - - - - a #GList of #GMount&lt;!-- --&gt;s - - - - - -Inserts a #GNode beneath the parent at the given position. - - - - - - the #GNode to place @node under - - - - the position to place @node at, with respect to its siblings -If position is -1, @node is inserted as the last child of @parent - - - - the #GNode to insert - - - - the inserted #GNode - - - - - -A wrapper for the stdio fopen() function. The fopen() function -opens a file and associates a new stream with it. - -Because file descriptors are specific to the C library on Windows, -and a file descriptor is partof the &lt;type&gt;FILE&lt;/type&gt; struct, the -&lt;type&gt;FILE&lt;/type&gt; pointer returned by this function makes sense -only to functions in the same C library. Thus if the GLib-using -code uses a different C library than GLib does, the -&lt;type&gt;FILE&lt;/type&gt; pointer returned by this function cannot be -passed to C library functions like fprintf() or fread(). - -See your C library manual for more details about fopen(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - a string describing the mode in which the file should be -opened - - - - A &lt;type&gt;FILE&lt;/type&gt; pointer if the file was successfully -opened, or %NULL if an error occurred - -Since: 2.6 - - - - - - - - - - - - - - -Checks if a unix mount is a system path. - - - - - - a #GUnixMount. - - - - %TRUE if the unix mount is for a system path. - - - - - -Unsafe, need lock fen_lock. - - - - - - - - - -Retrieves the position of the capturing parentheses named @name. - -If @name is a valid sub pattern name but it didn't match anything -(e.g. sub pattern "X", matching "b" against "(?P&lt;X&gt;a)?b") -then @start_pos and @end_pos are set to -1 and %TRUE is returned. - - - - - - #GMatchInfo structure - - - - name of the subexpression - - - - pointer to location where to store the start position - - - - pointer to location where to store the end position - - - - %TRUE if the position was fetched, %FALSE otherwise. If -the position cannot be fetched, @start_pos and @end_pos are left -unchanged - -Since: 2.14 - - - - - -Gets the file's content type. - - - - - - a #GFileInfo. - - - - a string containing the file's content type.s - - - - - -Breaks the string on the pattern, and returns an array of the tokens. -If the pattern contains capturing parentheses, then the text for each -of the substrings will also be returned. If the pattern does not match -anywhere in the string, then the whole string is returned as the first -token. - -As a special case, the result of splitting the empty string "" is an -empty vector, not a vector containing a single string. The reason for -this special case is that being able to represent a empty vector is -typically more useful than consistent handling of empty elements. If -you do need to represent empty elements, you'll need to check for the -empty string before calling this function. - -A pattern that can match empty strings splits @string into separate -characters wherever it matches the empty string between characters. -For example splitting "ab c" using as a separator "\s*", you will get -"a", "b" and "c". - - - - - - a #GRegex structure - - - - the string to split with the pattern - - - - match time option flags - - - - a %NULL-terminated gchar ** array. Free it using g_strfreev() - -Since: 2.14 - - - - - -Calls the @complete_type_info function from the #GTypePluginClass of @plugin. -There should be no need to use this function outside of the GObject -type system itself. - - - - - a #GTypePlugin - - - - the #GType whose info is completed - - - - the #GTypeInfo struct to fill in - - - - the #GTypeValueTable to fill in - - - - - - - - -Sets the %G_FILE_ATTRIBUTE_TIME_MODIFIED attribute in the file -info to the given time value. - - - - - a #GFileInfo. - - - - a #GTimeVal. - - - - - - - - -Finds the first link in @queue which contains @data. - - - - - - a #GQueue - - - - data to find - - - - The first link in @queue which contains @data. - -Since: 2.4 - - - - - -Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - minimum value for the property specified - - - - maximum value for the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -This function outputs @bookmark as a string. - - - - - - a #GBookmarkFile - - - - return location for the length of the returned string, or %NULL - - - - return location for a #GError, or %NULL - - - - a newly allocated string holding -the contents of the #GBookmarkFile - -Since: 2.12 - - - - - -Return value: the #GMainContext of @loop - - - - - a #GMainLoop. - - - - the #GMainContext of @loop - - - - - -Replacement for g_io_channel_seek() with the new API. - - - - - - a #GIOChannel - - - - The offset in bytes from the position specified by @type - - - - a #GSeekType. The type %G_SEEK_CUR is only allowed in those -cases where a call to g_io_channel_set_encoding () -is allowed. See the documentation for -g_io_channel_set_encoding () for details. - - - - A location to return an error of type #GIOChannelError - - - - the status of the operation. - - - - - -Gets the last sibling of a #GNode. -This could possibly be the node itself. - - - - - - a #GNode - - - - the last sibling of @node - - - - - -Gets a #GMount for the #GFile. - -If the #GFileIface for @file does not have a mount (e.g. possibly a -remote share), @error will be set to %G_IO_ERROR_NOT_FOUND and %NULL -will be returned. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError. - - - - a #GMount where the @file is located or %NULL on error. - - - - - -Replaces occurances of the pattern in regex with the output of -@eval for that occurance. - -Setting @start_position differs from just passing over a shortened -string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern -that begins with any kind of lookbehind assertion, such as "\b". - - - - - - a #GRegex structure from g_regex_new() - - - - string to perform matches against - - - - the length of @string, or -1 if @string is nul-terminated - - - - starting index of the string to match - - - - options for the match - - - - a function to call for each match - - - - user data to pass to the function - - - - location to store the error occuring, or %NULL to ignore errors - - - - a newly allocated string containing the replacements - -Since: 2.14 - - - - - -Looks up a key in the #GHashTable, returning the original key and the -associated value and a #gboolean which is %TRUE if the key was found. This -is useful if you need to free the memory allocated for the original key, -for example before calling g_hash_table_remove(). - - - - - - a #GHashTable. - - - - the key to look up. - - - - returns the original key. - - - - returns the value associated with the key. - - - - %TRUE if the key was found in the #GHashTable. - - - - - -A variant of g_cclosure_new_swap() which uses @object as @user_data -and calls g_object_watch_closure() on @object and the created -closure. This function is useful when you have a callback closely -associated with a #GObject, and want the callback to no longer run -after the object is is freed. - - - - - - the function to invoke - - - - a #GObject pointer to pass to @callback_func - - - - a new #GCClosure - - - - - -Flushes the write buffer for the GIOChannel. - - - - - - a #GIOChannel - - - - location to store an error of type #GIOChannelError - - - - the status of the operation: One of -#G_IO_CHANNEL_NORMAL, #G_IO_CHANNEL_AGAIN, or -#G_IO_CHANNEL_ERROR. - - - - - -Gets the volume for the @mount. - - - - - - a #GMount. - - - - a #GVolume or %NULL if @mount is not associated with a volume. - - - - - -Searches the string @haystack for the last occurrence -of the string @needle, limiting the length of the search -to @haystack_len. - - - - - - a nul-terminated string. - - - - the maximum length of @haystack. - - - - the nul-terminated string to search for. - - - - a pointer to the found occurrence, or -%NULL if not found. - - - - - -Gets the size of the available data within the stream. - - - - - - #GBufferedInputStream. - - - - size of the available stream. - - - - - -Return value: The data for the @n'th element of @queue, or %NULL if @n is - - - - - a #GQueue - - - - the position of the element. - - - - The data for the @n'th element of @queue, or %NULL if @n is -off the end of @queue. - -Since: 2.4 - - - - - -Sets a default choice for the mount operation. - - - - - a #GMountOperation. - - - - an integer. - - - - - - - - -Emits a signal. - -Note that g_signal_emit_by_name() resets the return value to the default -if no handlers are connected, in contrast to g_signal_emitv(). - - - - - the instance the signal is being emitted on. - - - - a string of the form "signal-name::detail". - - - - parameters to be passed to the signal, followed by a -location for the return value. If the return type of the signal -is #G_TYPE_NONE, the return value location can be omitted. - - - - - - - - -Adds a new element on to the end of the list. - -&lt;note&gt;&lt;para&gt; -The return value is the new start of the list, which may -have changed, so make sure you store the new value. -&lt;/para&gt;&lt;/note&gt; - -&lt;note&gt;&lt;para&gt; -Note that g_slist_append() has to traverse the entire list -to find the end, which is inefficient when adding multiple -elements. A common idiom to avoid the inefficiency is to prepend -the elements and reverse the list when all elements have been added. -&lt;/para&gt;&lt;/note&gt; - -|[ -/&ast; Notice that these are initialized to the empty list. &ast;/ -GSList *list = NULL, *number_list = NULL; - -/&ast; This is a list of strings. &ast;/ -list = g_slist_append (list, "first"); -list = g_slist_append (list, "second"); - -/&ast; This is a list of integers. &ast;/ -number_list = g_slist_append (number_list, GINT_TO_POINTER (27)); -number_list = g_slist_append (number_list, GINT_TO_POINTER (14)); -]| - - - - - - a #GSList - - - - the data for the new element - - - - the new start of the #GSList - - - - - -Gets properties of an object. - -In general, a copy is made of the property contents and the caller -is responsible for freeing the memory in the appropriate manner for -the type, for instance by calling g_free() or g_object_unref(). - -&lt;example&gt; -&lt;title&gt;Using g_object_get(&lt;!-- --&gt;)&lt;/title&gt; -An example of using g_object_get() to get the contents -of three properties - one of type #G_TYPE_INT, -one of type #G_TYPE_STRING, and one of type #G_TYPE_OBJECT: -&lt;programlisting&gt; -gint intval; -gchar *strval; -GObject *objval; - -g_object_get (my_object, -"int-property", &intval, -"str-property", &strval, -"obj-property", &objval, -NULL); - -// Do something with intval, strval, objval - -g_free (strval); -g_object_unref (objval); -&lt;/programlisting&gt; -&lt;/example&gt; - - - - - a #GObject - - - - name of the first property to get - - - - return location for the first property, followed optionally by more -name/return location pairs, followed by %NULL - - - - - - - - -Finalizes the asynchronous query started -by g_file_output_stream_query_info_async(). - - - - - - a #GFileOutputStream. - - - - a #GAsyncResult. - - - - a #GError, %NULL to ignore. - - - - A #GFileInfo for the finished query. - - - - - -Increases the reference count on a #GMainLoop object by one. - - - - - - a #GMainLoop - - - - @loop - - - - - -Changes the URI of a bookmark item from @old_uri to @new_uri. Any -existing bookmark for @new_uri will be overwritten. If @new_uri is -%NULL, then the bookmark is removed. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - a valid URI, or %NULL - - - - return location for a #GError or %NULL - - - - %TRUE if the URI was successfully changed - -Since: 2.12 - - - - - -A wrapper for the POSIX open() function. The open() function is -used to convert a pathname into a file descriptor. - -On POSIX systems file descriptors are implemented by the operating -system. On Windows, it's the C library that implements open() and -file descriptors. The actual Win32 API for opening files is quite -different, see MSDN documentation for CreateFile(). The Win32 API -uses file handles, which are more randomish integers, not small -integers like file descriptors. - -Because file descriptors are specific to the C library on Windows, -the file descriptor returned by this function makes sense only to -functions in the same C library. Thus if the GLib-using code uses a -different C library than GLib does, the file descriptor returned by -this function cannot be passed to C library functions like write() -or read(). - -See your C library manual for more details about open(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - as in open() - - - - as in open() - - - - a new file descriptor, or -1 if an error occurred. The -return value can be used exactly like the return value from open(). - -Since: 2.6 - - - - - -Retrieves the position of the @match_num&lt;!-- --&gt;'th capturing -parentheses. 0 is the full text of the match, 1 is the first -paren set, 2 the second, and so on. - -If @match_num is a valid sub pattern but it didn't match anything -(e.g. sub pattern 1, matching "b" against "(a)?b") then @start_pos -and @end_pos are set to -1 and %TRUE is returned. - -If the match was obtained using the DFA algorithm, that is using -g_regex_match_all() or g_regex_match_all_full(), the retrieved -position is not that of a set of parentheses but that of a matched -substring. Substrings are matched in reverse order of length, so -0 is the longest match. - - - - - - #GMatchInfo structure - - - - number of the sub expression - - - - pointer to location where to store the start position - - - - pointer to location where to store the end position - - - - %TRUE if the position was fetched, %FALSE otherwise. If -the position cannot be fetched, @start_pos and @end_pos are left -unchanged - -Since: 2.14 - - - - - -Reads a signed 32-bit/4-byte value from @stream. - -In order to get the correct byte order for this read operation, -see g_data_stream_get_byte_order() and g_data_stream_set_byte_order(). - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a signed 32-bit/4-byte value read from the @stream or %0 if -an error occurred. - - - - - -Lookup the type ID from a given type name, returning 0 if no type -has been registered under this name (this is the preferred method -to find out by name whether a specific type has been registered -yet). - - - - - - Type name to lookup. - - - - Corresponding type ID or 0. - - - - - -Removes the first element of the queue. - - - - - - a #GQueue. - - - - the #GList element at the head of the queue, or %NULL if the queue -is empty. - - - - - -Removes all list nodes with data equal to @data. -Returns: new head of @list - - - - - a #GList - - - - data to remove - - - - new head of @list - - - - - -Clears the current value in @value and "unsets" the type, -this releases all resources associated with this GValue. -An unset value is the same as an uninitialized (zero-filled) -#GValue structure. - - - - - An initialized #GValue structure. - - - - - - - - -Sets the icon for the bookmark for @uri. If @href is %NULL, unsets -the currently set icon. - -If no bookmark for @uri is found it is created. - -Since: 2.12 - - - - - a #GBookmarkFile - - - - a valid URI - - - - the URI of the icon for the bookmark, or %NULL - - - - the MIME type of the icon for the bookmark - - - - - - - - -A variant of g_type_class_unref() for use in #GTypeClassCacheFunc -implementations. It unreferences a class without consulting the chain -of #GTypeClassCacheFunc&lt;!-- --&gt;s, avoiding the recursion which would occur -otherwise. - - - - - The #GTypeClass structure to unreference. - - - - - - - - - - - - - - - - - -Return value: the data that @iter points to - - - - - a #GSequenceIter - - - - the data that @iter points to - -Since: 2.14 - - - - - -Duplicates a #GFile handle. This operation does not duplicate -the actual file or directory represented by the #GFile; see -g_file_copy() if attempting to copy a file. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - #GFile that is a duplicate of the given #GFile. - - - - - -Checks if a unix mount is mounted read only. - - - - - - a #GUnixMount. - - - - %TRUE if @mount_entry is read only. - - - - - -Creates a new #GMainLoop structure. - - - - - - a #GMainContext (if %NULL, the default context will be used). - - - - set to %TRUE to indicate that the loop is running. This -is not very important since calling g_main_loop_run() will set this to -%TRUE anyway. - - - - a new #GMainLoop. - - - - - -Loads a key file into an empty #GKeyFile structure. -If the file could not be loaded then %error is set to -either a #GFileError or #GKeyFileError. - - - - - - an empty #GKeyFile struct - - - - the path of a filename to load, in the GLib filename encoding - - - - flags from #GKeyFileFlags - - - - return location for a #GError, or %NULL - - - - %TRUE if a key file could be loaded, %FALSE otherwise - -Since: 2.6 - - - - - -Internal function for gtester to retrieve test log messages, no ABI guarantees provided. - - - - - - - - - -Gets the height of a #GTree. - -If the #GTree contains no nodes, the height is 0. -If the #GTree contains only one root node the height is 1. -If the root node has children the height is 2, etc. - - - - - - a #GTree. - - - - the height of the #GTree. - - - - - -Gets a property of an object. - -In general, a copy is made of the property contents and the caller is -responsible for freeing the memory by calling g_value_unset(). - -Note that g_object_get_property() is really intended for language -bindings, g_object_get() is much more convenient for C programming. - - - - - a #GObject - - - - the name of the property to get - - - - return location for the property value - - - - - - - - -Stops a #GMainLoop from running. Any calls to g_main_loop_run() -for the loop will return. - -Note that sources that have already been dispatched when -g_main_loop_quit() is called will still be executed. - - - - - a #GMainLoop - - - - - - - - -Converts a single character to UTF-8. - - - - - - a Unicode character code - - - - output buffer, must have at least 6 bytes of space. -If %NULL, the length will be computed and returned -and nothing will be written to @outbuf. - - - - number of bytes written - - - - - -Internal function to parse a signal name into its @signal_id -and @detail quark. - - - - - - a string of the form "signal-name::detail". - - - - The interface/instance type that introduced "signal-name". - - - - Location to store the signal id. - - - - Location to store the detail quark. - - - - %TRUE forces creation of a #GQuark for the detail. - - - - Whether the signal name could successfully be parsed and @signal_id_p and @detail_p contain valid return values. - - - - - -Returns: %TRUE if g_value_copy() is possible with @src_type and @dest_type. - - - - - source type to be copied. - - - - destination type for copying. - - - - %TRUE if g_value_copy() is possible with @src_type and @dest_type. - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT32 to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a #gint32 containing the attribute's new value. - - - - a #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set to @value -in the @file, %FALSE otherwise. - - - - - -Return value: the default main context. - - - - - the default main context. - - - - - -Frees all memory allocated by the #GStringChunk. -After calling g_string_chunk_free() it is not safe to -access any of the strings which were contained within it. - - - - - a #GStringChunk - - - - - - - - -Gets the current directory. -The returned string should be freed when no longer needed. The encoding -of the returned string is system defined. On Windows, it is always UTF-8. - - - - - - the current directory. - - - - - -Sets the length of a #GString. If the length is less than -the current length, the string will be truncated. If the -length is greater than the current length, the contents -of the newly added area are undefined. (However, as -always, string-&gt;str[string-&gt;len] will be a nul byte.) - - - - - - a #GString - - - - the new length - - - - @string - - - - - -Removes @group from the list of groups to which the bookmark -for @uri belongs to. - -In the event the URI cannot be found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. -In the event no group was defined, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_INVALID_VALUE. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - the group name to be removed - - - - return location for a #GError, or %NULL - - - - %TRUE if @group was successfully removed. - -Since: 2.12 - - - - - -Sets the meta-data of application @name inside the list of -applications that have registered a bookmark for @uri inside -@bookmark. - -You should rarely use this function; use g_bookmark_file_add_application() -and g_bookmark_file_remove_application() instead. - -@name can be any UTF-8 encoded string used to identify an -application. -@exec can have one of these two modifiers: "%f", which will -be expanded as the local file name retrieved from the bookmark's -URI; "%u", which will be expanded as the bookmark's URI. -The expansion is done automatically when retrieving the stored -command line using the g_bookmark_file_get_app_info() function. -@count is the number of times the application has registered the -bookmark; if is &lt; 0, the current registration count will be increased -by one, if is 0, the application with @name will be removed from -the list of registered applications. -@stamp is the Unix time of the last registration; if it is -1, the -current time will be used. - -If you try to remove an application by setting its registration count to -zero, and no bookmark for @uri is found, %FALSE is returned and -@error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND; similarly, -in the event that no application @name has registered a bookmark -for @uri, %FALSE is returned and error is set to -#G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED. Otherwise, if no bookmark -for @uri is found, one is created. - - - - - - a #GBookmarkFile - - - - a valid URI - - - - an application's name - - - - an application's command line - - - - the number of registrations done for this application - - - - the time of the last registration for this application - - - - return location for a #GError or %NULL - - - - %TRUE if the application's meta-data was successfully -changed. - -Since: 2.12 - - - - - -Splits @string into a number of tokens not containing any of the characters -in @delimiter. A token is the (possibly empty) longest string that does not -contain any of the characters in @delimiters. If @max_tokens is reached, the -remainder is appended to the last token. - -For example the result of g_strsplit_set ("abc:def/ghi", ":/", -1) is a -%NULL-terminated vector containing the three strings "abc", "def", -and "ghi". - -The result if g_strsplit_set (":def/ghi:", ":/", -1) is a %NULL-terminated -vector containing the four strings "", "def", "ghi", and "". - -As a special case, the result of splitting the empty string "" is an empty -vector, not a vector containing a single string. The reason for this -special case is that being able to represent a empty vector is typically -more useful than consistent handling of empty elements. If you do need -to represent empty elements, you'll need to check for the empty string -before calling g_strsplit_set(). - -Note that this function works on bytes not characters, so it can't be used -to delimit UTF-8 strings for anything but ASCII characters. - - - - - - The string to be tokenized - - - - A nul-terminated string containing bytes that are used -to split the string. - - - - The maximum number of tokens to split @string into. -If this is less than 1, the string is split completely - - - - a newly-allocated %NULL-terminated array of strings. Use -g_strfreev() to free it. - -Since: 2.4 - - - - - -Creates a new closure which invokes @callback_func with @user_data as -the first parameter. - - - - - - the function to invoke - - - - user data to pass to @callback_func - - - - destroy notify to be called when @user_data is no longer used - - - - a new #GCClosure - - - - - -This function looks for a key file named @file in the paths -specified in @search_dirs, loads the file into @key_file and -Return value: %TRUE if a key file could be loaded, %FALSE otherwise - - - - - an empty #GKeyFile struct - - - - a relative path to a filename to open and parse - - - - %NULL-terminated array of directories to search - - - - return location for a string containing the full path -of the file, or %NULL - - - - flags from #GKeyFileFlags - - - - return location for a #GError, or %NULL - - - - %TRUE if a key file could be loaded, %FALSE otherwise - -Since: 2.14 - - - - - -Reads a line from the data input stream. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - a given #GDataInputStream. - - - - a #gsize to get the length of the data read in. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GError for error reporting. - - - - a string with the line that was read in (including the newlines). -Set @length to a #gsize to get the length of the read line. Returns %NULL on an error. - - - - - - - - - - - - - - - - - - -A wrapper for the POSIX creat() function. The creat() function is -used to convert a pathname into a file descriptor, creating a file -if necessary. - -On POSIX systems file descriptors are implemented by the operating -system. On Windows, it's the C library that implements creat() and -file descriptors. The actual Windows API for opening files is -different, see MSDN documentation for CreateFile(). The Win32 API -uses file handles, which are more randomish integers, not small -integers like file descriptors. - -Because file descriptors are specific to the C library on Windows, -the file descriptor returned by this function makes sense only to -functions in the same C library. Thus if the GLib-using code uses a -different C library than GLib does, the file descriptor returned by -this function cannot be passed to C library functions like write() -or read(). - -See your C library manual for more details about creat(). - - - - - - a pathname in the GLib file name encoding (UTF-8 on Windows) - - - - as in creat() - - - - a new file descriptor, or -1 if an error occurred. The -return value can be used exactly like the return value from creat(). - -Since: 2.8 - - - - - -Check the result of the last g_test_trap_fork() call. - - - - - - %TRUE if the last forked child terminated successfully. - -Since: 2.16 - - - - - -Convert a sequence of bytes encoded as UTF-8 to a Unicode character. -This function checks for incomplete characters, for invalid characters -such as characters that are out of the range of Unicode, and for -overlong encodings of valid characters. - - - - - - a pointer to Unicode character encoded as UTF-8 - - - - the maximum number of bytes to read, or -1, for no maximum or -if @p is nul-terminated - - - - the resulting character. If @p points to a partial -sequence at the end of a string that could begin a valid -character (or if @max_len is zero), returns (gunichar)-2; -otherwise, if @p does not point to a valid UTF-8 encoded -Unicode character, returns (gunichar)-1. - - - - - -Gets the priority with which @extension was registered. - - - - - - a #GIOExtension - - - - the priority of @extension - - - - - -Get the contents of a %G_TYPE_OBJECT derived #GValue. - - - - - - a valid #GValue of %G_TYPE_OBJECT derived type - - - - object contents of @value - - - - - -Return value: Whether @iter is the end iterator. - - - - - a #GSequenceIter - - - - Whether @iter is the end iterator. - -Since: 2.14 - - - - - -Gets the last component of the filename. If @file_name ends with a -directory separator it gets the component before the last slash. If -@file_name consists only of directory separators (and on Windows, -possibly a drive letter), a single separator is returned. If -@file_name is empty, it gets ".". - - - - - - the name of the file. - - - - a newly allocated string containing the last component of -the filename. - - - - - -Appends a formatted string onto the end of a #GString. -This function is similar to g_string_append_printf() -except that the arguments to the format string are passed -as a va_list. - -Since: 2.14 - - - - - a #GString - - - - the string format. See the printf() documentation - - - - the list of arguments to insert in the output - - - - - - - - -Adds @nestedsuite to @suite. - -Since: 2.16 - - - - - a #GTestSuite - - - - another #GTestSuite - - - - - - - - -Checks to see if a #GFile has a given URI scheme. - -This call does no blocking i/o. - - - - - - input #GFile. - - - - a string containing a URI scheme. - - - - %TRUE if #GFile's backend supports the -given URI scheme, %FALSE if URI scheme is %NULL, -not supported, or #GFile is invalid. - - - - - -Pops data from the @queue. If no data is received before @end_time, -%NULL is returned. - -To easily calculate @end_time a combination of g_get_current_time() -and g_time_val_add() can be used. - - - - - - a #GAsyncQueue. - - - - a #GTimeVal, determining the final time. - - - - data from the queue or %NULL, when no data is -received before @end_time. - - - - - -Sets the "is_hidden" attribute in a #GFileInfo according to @is_symlink. -See %G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN. - - - - - a #GFileInfo. - - - - a #gboolean. - - - - - - - - -Returns: the #GTypePlugin for the dynamic interface @interface_type - - - - - the #GType value of an instantiatable type. - - - - the #GType value of an interface type. - - - - the #GTypePlugin for the dynamic interface @interface_type -of @instance_type. - - - - - -Return value: The #GSequenceIter at position @pos - - - - - a #GSequence - - - - a position in @seq, or -1 for the end. - - - - The #GSequenceIter at position @pos - -Since: 2.14 - - - - - -This function gets back user data pointers stored via -g_object_set_qdata() and removes the @data from object -without invoking it's destroy() function (if any was -set). -Usually, calling this function is only required to update -user data pointers with a destroy notifier, for example: -|[ -void -object_add_to_user_list (GObject *object, -const gchar *new_string) -{ -// the quark, naming the object data -GQuark quark_string_list = g_quark_from_static_string ("my-string-list"); -// retrive the old string list -GList *list = g_object_steal_qdata (object, quark_string_list); - -// prepend new string -list = g_list_prepend (list, g_strdup (new_string)); -// this changed 'list', so we need to set it again -g_object_set_qdata_full (object, quark_string_list, list, free_string_list); -} -static void -free_string_list (gpointer data) -{ -GList *node, *list = data; - -for (node = list; node; node = node-&gt;next) -g_free (node-&gt;data); -g_list_free (list); -} -]| -Using g_object_get_qdata() in the above example, instead of -g_object_steal_qdata() would have left the destroy function set, -and thus the partial string list would have been freed upon -g_object_set_qdata_full(). - - - - - - The GObject to get a stored user data pointer from - - - - A #GQuark, naming the user data pointer - - - - The user data pointer set, or %NULL - - - - - -Creates a new instance of a #GObject subtype and sets its properties. - -Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY) -which are not explicitly specified are set to their default values. - - - - - - the type id of the #GObject subtype to instantiate - - - - the name of the first property - - - - the value of the first property, followed optionally by more -name/value pairs, followed by %NULL - - - - a new instance of @object_type - - - - - -Convert a string from UTF-16 to UTF-8. The result will be -terminated with a 0 byte. - -Note that the input is expected to be already in native endianness, -an initial byte-order-mark character is not handled specially. -g_convert() can be used to convert a byte buffer of UTF-16 data of -ambiguous endianess. - - - - - - a UTF-16 encoded string - - - - the maximum length (number of &lt;type&gt;gunichar2&lt;/type&gt;) of @str to use. -If @len &lt; 0, then the string is terminated with a 0 character. - - - - location to store number of words read, or %NULL. -If %NULL, then %G_CONVERT_ERROR_PARTIAL_INPUT will be -returned in case @str contains a trailing partial -character. If an error occurs then the index of the -invalid input is stored here. - - - - location to store number of bytes written, or %NULL. -The value stored here does not include the trailing -0 byte. - - - - location to store the error occuring, or %NULL to ignore -errors. Any of the errors in #GConvertError other than -%G_CONVERT_ERROR_NO_CONVERSION may occur. - - - - a pointer to a newly allocated UTF-8 string. -This value must be freed with g_free(). If an -error occurs, %NULL will be returned and -@error set. - - - - - -Sets whether to ignore unknown options or not. If an argument is -ignored, it is left in the @argv array after parsing. By default, -g_option_context_parse() treats unknown options as error. - -This setting does not affect non-option arguments (i.e. arguments -which don't start with a dash). But note that GOption cannot reliably -determine whether a non-option belongs to a preceding unknown option. - -Since: 2.6 - - - - - a #GOptionContext - - - - %TRUE to ignore unknown options, %FALSE to produce -an error when unknown options are met - - - - - - - - -Registers a value transformation function for use in g_value_transform(). -A previously registered transformation function for @src_type and @dest_type -will be replaced. - - - - - Source type. - - - - Target type. - - - - a function which transforms values of type @src_type -into value of type @dest_type - - - - - - - - -Increases the reference count of @object. - - - - - - a #GObject - - - - the same @object - - - - - -Copies a #GChecksum. If @checksum has been closed, by calling -g_checksum_get_string() or g_checksum_get_digest(), the copied -checksum will be closed as well. - - - - - - the #GChecksum to copy - - - - the copy of the passed #GChecksum. Use g_checksum_free() -when finished using it. - -Since: 2.16 - - - - - -Collects the attributes of the element from the -data passed to the #GMarkupParser start_element -function, dealing with common error conditions -and supporting boolean values. - -This utility function is not required to write -a parser but can save a lot of typing. - -The @element_name, @attribute_names, -@attribute_values and @error parameters passed -to the start_element callback should be passed -unmodified to this function. - -Following these arguments is a list of -"supported" attributes to collect. It is an -error to specify multiple attributes with the -same name. If any attribute not in the list -appears in the @attribute_names array then an -unknown attribute error will result. - -The #GMarkupCollectType field allows specifying -the type of collection to perform and if a -given attribute must appear or is optional. - -The attribute name is simply the name of the -attribute to collect. - -The pointer should be of the appropriate type -(see the descriptions under -#GMarkupCollectType) and may be %NULL in case a -particular attribute is to be allowed but -ignored. - -This function deals with issuing errors for missing attributes -(of type %G_MARKUP_ERROR_MISSING_ATTRIBUTE), unknown attributes -(of type %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE) and duplicate -attributes (of type %G_MARKUP_ERROR_INVALID_CONTENT) as well -as parse errors for boolean-valued attributes (again of type -%G_MARKUP_ERROR_INVALID_CONTENT). In all of these cases %FALSE -will be returned and @error will be set as appropriate. - - - - - - the current tag name - - - - the attribute names - - - - the attribute values - - - - a pointer to a #GError or %NULL - - - - the #GMarkupCollectType of the -first attribute - - - - the name of the first attribute - - - - a pointer to the storage location of the -first attribute (or %NULL), followed by -more types names and pointers, ending -with %G_MARKUP_COLLECT_INVALID. - - - - %TRUE if successful - -Since: 2.16 - - - - - -This returns the string that #GIOChannel uses to determine -where in the file a line break occurs. A value of %NULL -indicates autodetection. - - - - - - a #GIOChannel - - - - a location to return the length of the line terminator - - - - The line termination string. This value -is owned by GLib and must not be freed. - - - - - -Unreferences @matcher. If the reference count falls below 1, -the @matcher is automatically freed. - - - - - - a #GFileAttributeMatcher. - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 2 - - - - a #GValue array holding the instance and the #gboolean parameter - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Emits the #GFileMonitor::changed signal if a change -has taken place. Should be called from file monitor -implementations only. - -The signal will be emitted from an idle handler. - - - - - a #GFileMonitor. - - - - a #GFile. - - - - a #GFile. - - - - a set of #GFileMonitorEvent flags. - - - - - - - - -A marshaller for a #GCClosure with a callback of type -&lt;literal&gt;void (*callback) (gpointer instance, gpointer user_data)&lt;/literal&gt;. - - - - - the #GClosure to which the marshaller belongs - - - - ignored - - - - 1 - - - - a #GValue array holding only the instance - - - - the invocation hint given as the last argument -to g_closure_invoke() - - - - additional data specified when registering the marshaller - - - - - - - - -Gets the name of the file without any leading directory components. -It returns a pointer into the given file name string. - - - - - - the name of the file. - - - - the name of the file without any leading directory components. - -Deprecated:2.2: Use g_path_get_basename() instead, but notice that -g_path_get_basename() allocates new memory for the returned string, unlike -this function which returns a pointer into the argument. - - - - - -Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. -The boxed value is assumed to be static, and is thus not duplicated -when setting the #GValue. - - - - - a valid #GValue of %G_TYPE_BOXED derived type - - - - static boxed value to be set - - - - - - - - -Gets the name of @mount. - - - - - - a #GMount. - - - - the name for the given @mount. The returned string should -be freed when no longer needed. - - - - - -Sets the @attribute to contain the given @attr_value, -if possible. - - - - - a #GFileInfo. - - - - a file attribute key. - - - - a boolean value. - - - - - - - - -Sets the name attribute for the current #GFileInfo. -See %G_FILE_ATTRIBUTE_STANDARD_NAME. - - - - - a #GFileInfo. - - - - a string containing a name. - - - - - - - - -Returns: a #GFileOutputStream or %NULL on error. - - - - - input #GFile. - - - - an optional &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; for the -current #GFile, or #NULL to ignore. - - - - %TRUE if a backup should be created. - - - - a set of #GFileCreateFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - a #GFileOutputStream or %NULL on error. - - - - - -Tries to pop data from the @queue. If no data is available, %NULL is -returned. This function must be called while holding the @queue's -lock. - - - - - - a #GAsyncQueue. - - - - data from the queue or %NULL, when no data is -available immediately. - - - - - -Gets the default application for launching applications -using this URI scheme for a particular GDesktopAppInfoLookup -implementation. - -The GDesktopAppInfoLookup interface and this function is used -to implement g_app_info_get_default_for_uri_scheme() backends -in a GIO module. There is no reason for applications to use it -directly. Applications should use g_app_info_get_default_for_uri_scheme(). - - - - - - a #GDesktopAppInfoLookup - - - - a string containing a URI scheme. - - - - #GAppInfo for given @uri_scheme or %NULL on error. - - - - - -Get the contents of a %G_TYPE_BOXED derived #GValue. Upon getting, -the boxed value is duplicated and needs to be later freed with -g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), -return_value); - - - - - - a valid #GValue of %G_TYPE_BOXED derived type - - - - boxed contents of @value - - - - - -Reverses the order of the children of a #GNode. -(It doesn't change the order of the grandchildren.) - - - - - a #GNode. - - - - - - - - -Removes the specified group, @group_name, -from the key file. - - - - - - a #GKeyFile - - - - a group name - - - - return location for a #GError or %NULL - - - - %TRUE if the group was removed, %FALSE otherwise - -Since: 2.6 - - - - - -Creates a new #GError with the given @domain and @code, -and a message formatted with @format. - - - - - - error domain - - - - error code - - - - printf()-style format for error message - - - - parameters for message format - - - - a new #GError - - - - - -Closes the stream, releasing resources related to it. - -Once the stream is closed, all other operations will return %G_IO_ERROR_CLOSED. -Closing a stream multiple times will not return an error. - -Streams will be automatically closed when the last reference -is dropped, but you might want to call this function to make sure -resources are released as early as possible. - -Some streams might keep the backing store of the stream (e.g. a file descriptor) -open after the stream is closed. See the documentation for the individual -stream for details. - -On failure the first error that happened will be reported, but the close -operation will finish as much as possible. A stream that failed to -close will still return %G_IO_ERROR_CLOSED for all operations. Still, it -is important to check and report the error to the user. - -If @cancellable is not NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. -Cancelling a close will still leave the stream closed, but some streams -can use a faster close that doesn't block to e.g. check errors. - - - - - - A #GInputStream. - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE on failure - - - - - -Checks if two icons are equal. - - - - - - pointer to the first #GIcon. - - - - pointer to the second #GIcon. - - - - %TRUE if @icon1 is equal to @icon2. %FALSE otherwise. - - - - - -Increases reference count of @regex by 1. - - - - - - a #GRegex - - - - @regex - -Since: 2.14 - - - - - -Tells the current position within the stream. - - - - - - a #GSeekable. - - - - the offset from the beginning of the buffer. - - - - - -Moves the data pointed to a new position as indicated by @cmp_func. This -function should be called for items in a sequence already sorted according -to @cmp_func whenever some aspect of an item changes so that @cmp_func -may return different values for that item. - -Since: 2.14 - - - - - A #GSequenceIter - - - - the #GCompareDataFunc used to compare items in the sequence. It -is called with two items of the @seq and @user_data. It should -return 0 if the items are equal, a negative value if the first -item comes before the second, and a positive value if the second -item comes before the first. - - - - user data passed to @cmp_func. - - - - - - - - -Converts all lower case ASCII letters to upper case ASCII letters. - - - - - - a GString - - - - passed-in @string pointer, with all the lower case -characters converted to upper case in place, with -semantics that exactly match g_ascii_toupper(). - - - - - -Gets the last element in a #GSList. - -&lt;note&gt;&lt;para&gt; -This function iterates over the whole list. -&lt;/para&gt;&lt;/note&gt; - - - - - - a #GSList - - - - the last element in the #GSList, -or %NULL if the #GSList has no elements - - - - - -Return value: the maximal number of threads - - - - - a #GThreadPool - - - - the maximal number of threads - - - - - -Gets the kinds of &lt;link linkend="volume-identifier"&gt;identifiers&lt;/link&gt; -that @volume has. Use g_volume_get_identifer() to obtain -the identifiers themselves. - - - - - - a #GVolume - - - - a %NULL-terminated array of strings containing -kinds of identifiers. Use g_strfreev() to free. - - - - - -Check the result of the last g_test_trap_fork() call. - - - - - - %TRUE if the last forked child got killed due to a fork timeout. - -Since: 2.16 - - - - - -Lists the properties of an interface.Generally, the interface -vtable passed in as @g_iface will be the default vtable from -g_type_default_interface_ref(), or, if you know the interface has -already been loaded, g_type_default_interface_peek(). - -Since: 2.4 - - - - - - any interface vtable for the interface, or the default -vtable for the interface - - - - location to store number of properties returned. - - - - a pointer to an array of pointers to #GParamSpec -structures. The paramspecs are owned by GLib, but the -array should be freed with g_free() when you are done with -it. - - - - - -Asynchronously sets the display name for a given #GFile. - -For more details, see g_set_display_name() which is -the synchronous version of this call. - -When the operation is finished, @callback will be called. You can then call -g_file_set_display_name_finish() to get the result of the operation. - - - - - input #GFile. - - - - a string. - - - - the &lt;link linkend="io-priority"&gt;I/O priority&lt;/link&gt; -of the request. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Sets a function to be called at regular intervals, with the given -priority. The function is called repeatedly until it returns -%FALSE, at which point the timeout is automatically destroyed and -the function will not be called again. The @notify function is -called when the timeout is destroyed. The first call to the -function will be at the end of the first @interval. - -Note that timeout functions may be delayed, due to the processing of other -event sources. Thus they should not be relied on for precise timing. -After each call to the timeout function, the time of the next -timeout is recalculated based on the current time and the given interval -(it does not try to 'catch up' time lost in delays). - - - - - - the priority of the timeout source. Typically this will be in -the range between #G_PRIORITY_DEFAULT and #G_PRIORITY_HIGH. - - - - the time between calls to the function, in milliseconds -(1/1000ths of a second) - - - - function to call - - - - data to pass to @function - - - - function to call when the timeout is removed, or %NULL - - - - the ID (greater than 0) of the event source. - - - - - -Initiates startup notification for the applicaiont and returns the -DESKTOP_STARTUP_ID for the launched operation, if supported. - -Startup notification IDs are defined in the FreeDesktop.Org Startup -Notifications standard, at -&lt;ulink url="http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt"/&gt;. - - - - - - a #GAppLaunchContext. - - - - a #GAppInfo. - - - - a #GList of files. - - - - a startup notification ID for the application, or %NULL if -not supported. - - - - - -Determines if a given character typically takes zero width when rendered. -The return value is %TRUE for all non-spacing and enclosing marks -(e.g., combining accents), format characters, zero-width -space, but not U+00AD SOFT HYPHEN. - -A typical use of this function is with one of g_unichar_iswide() or -g_unichar_iswide_cjk() to determine the number of cells a string occupies -when displayed on a grid display (terminals). However, note that not all -terminals support zero-width rendering of zero-width marks. - - - - - - a Unicode character - - - - %TRUE if the character has zero width - -Since: 2.14 - - - - - -Sets a function to be called at regular intervals, with the default -priority, #G_PRIORITY_DEFAULT. The function is called repeatedly -until it returns %FALSE, at which point the timeout is automatically -destroyed and the function will not be called again. The first call -to the function will be at the end of the first @interval. - -Note that timeout functions may be delayed, due to the processing of other -event sources. Thus they should not be relied on for precise timing. -After each call to the timeout function, the time of the next -timeout is recalculated based on the current time and the given interval -(it does not try to 'catch up' time lost in delays). - -If you want to have a timer in the "seconds" range and do not care -about the exact time of the first call of the timer, use the -g_timeout_add_seconds() function; this function allows for more -optimizations and more efficient system power usage. - - - - - - the time between calls to the function, in milliseconds -(1/1000ths of a second) - - - - function to call - - - - data to pass to @function - - - - the ID (greater than 0) of the event source. - - - - - -Gets the position of the given element -in the #GList (starting from 0). - - - - - - a #GList - - - - an element in the #GList - - - - the position of the element in the #GList, -or -1 if the element is not found - - - - - -Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value. -If @attribute is of a different type, this operation will fail. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a string containing the attribute's name. - - - - a string containing the attribute's value. - - - - #GFileQueryInfoFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if the @attribute was successfully set, %FALSE otherwise. - - - - - -Finishes an asynchronous file read operation started with -g_file_read_async(). - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a #GError, or %NULL - - - - a #GFileInputStream or %NULL on error. - - - - - -Starts an asynchronous load of the @file's contents. - -For more details, see g_file_load_contents() which is -the synchronous version of this call. - -When the load operation has completed, @callback will be called -with @user data. To finish the operation, call -g_file_load_contents_finish() with the #GAsyncResult returned by -the @callback. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GAsyncReadyCallback to call when the request is satisfied - - - - the data to pass to callback function - - - - - - - - -Inserts a new key and value into a #GTree similar to g_tree_insert(). -The difference is that if the key already exists in the #GTree, it gets -replaced by the new key. If you supplied a @value_destroy_func when -creating the #GTree, the old value is freed using that function. If you -supplied a @key_destroy_func when creating the #GTree, the old key is -freed using that function. - -The tree is automatically 'balanced' as new key/value pairs are added, -so that the distance from the root to every leaf is as small as possible. - - - - - a #GTree. - - - - the key to insert. - - - - the value corresponding to the key. - - - - - - - - -Tries to write @count bytes from @buffer into the stream. Will block -during the operation. - -This function is similar to g_output_stream_write(), except it tries to -write as many bytes as requested, only stopping on an error. - -On a successful write of @count bytes, %TRUE is returned, and @bytes_written -is set to @count. - -If there is an error during the operation FALSE is returned and @error -is set to indicate the error status, @bytes_written is updated to contain -the number of bytes written into the stream before the error occurred. - - - - - - a #GOutputStream. - - - - the buffer containing the data to write. - - - - the number of bytes to write - - - - location to store the number of bytes that was -written to the stream - - - - optional #GCancellable object, %NULL to ignore. - - - - location to store the error occuring, or %NULL to ignore - - - - %TRUE on success, %FALSE if there was an error - - - - - -Finds the first child of a #GNode with the given data. - - - - - - a #GNode - - - - which types of children are to be searched, one of -%G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES - - - - the data to find - - - - the found child #GNode, or %NULL if the data is not found - - - - - -Removes an invalidation notifier. - -Notice that notifiers are automatically removed after they are run. - - - - - a #GClosure - - - - data which was passed to g_closure_add_invalidate_notifier() -when registering @notify_func - - - - the callback function to remove - - - - - - - - -Obtains a file monitor for the given file. If no file notification -mechanism exists, then regular polling of the file is used. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a set of #GFileMonitorFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL. - - - - a #GFileMonitor for the given @file. - - - - - -Gets the entity tag for the file when it has been written. -This must be called after the stream has been written -and closed, as the etag can change while writing. - - - - - - a #GFileOutputStream. - - - - the entity tag for the stream. - - - - - - -Tries to move the file or directory @source to the location specified by @destination. -If native move operations are supported then this is used, otherwise a copy + delete -fallback is used. The native implementation may support moving directories (for instance -on moves inside the same filesystem), but the fallback code does not. - -If the flag #G_FILE_COPY_OVERWRITE is specified an already -existing @destination file is overwritten. - -If the flag #G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks -will be copied as symlinks, otherwise the target of the -@source symlink will be copied. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - -If @progress_callback is not %NULL, then the operation can be monitored by -setting this to a #GFileProgressCallback function. @progress_callback_data -will be passed to this function. It is guaranteed that this callback will -be called after all data has been transferred with the total number of bytes -copied during the operation. - -If the @source file does not exist then the G_IO_ERROR_NOT_FOUND -error is returned, independent on the status of the @destination. - -If #G_FILE_COPY_OVERWRITE is not specified and the target exists, then the -error G_IO_ERROR_EXISTS is returned. - -If trying to overwrite a file over a directory the G_IO_ERROR_IS_DIRECTORY -error is returned. If trying to overwrite a directory with a directory the -G_IO_ERROR_WOULD_MERGE error is returned. - -If the source is a directory and the target does not exist, or #G_FILE_COPY_OVERWRITE is -specified and the target is a file, then the G_IO_ERROR_WOULD_RECURSE error -may be returned (if the native move operation isn't available). - - - - - - #GFile pointing to the source location. - - - - #GFile pointing to the destination location. - - - - set of #GFileCopyFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - #GFileProgressCallback function for updates. - - - - gpointer to user data for the callback function. - - - - #GError for returning error conditions, or %NULL - - - - %TRUE on successful move, %FALSE otherwise. - - - - - -Creates a new buffered output stream for a base stream. - - - - - - a #GOutputStream. - - - - a #GOutputStream for the given @base_stream. - - - - - -Overrides the class closure (i.e. the default handler) for the given signal -for emissions on instances of @instance_type. @instance_type must be derived -from the type to which the signal belongs. - - - - - the signal id - - - - the instance type on which to override the class closure -for the signal. - - - - the closure. - - - - - - - - -Adds the second #GSList onto the end of the first #GSList. -Note that the elements of the second #GSList are not copied. -They are used directly. - - - - - - a #GSList - - - - the #GSList to add to the end of the first #GSList - - - - the start of the new #GSList - - - - - -Checks if a unix mount point is read only. - - - - - - a #GUnixMountPoint. - - - - %TRUE if a mount point is read only. - - - - - -Converts a string to a #guint64 value. -This function behaves like the standard strtoull() function -does in the C locale. It does this without actually -changing the current locale, since that would not be -thread-safe. - -This function is typically used when reading configuration -files or other non-user input that should be locale independent. -To handle input from the user you should normally use the -locale-sensitive system strtoull() function. - -If the correct value would cause overflow, %G_MAXUINT64 -is returned, and %ERANGE is stored in %errno. If the base is -outside the valid range, zero is returned, and %EINVAL is stored -in %errno. If the string conversion fails, zero is returned, and -@endptr returns @nptr (if @endptr is non-%NULL). - - - - - - the string to convert to a numeric value. - - - - if non-%NULL, it returns the character after -the last character used in the conversion. - - - - to be used for the conversion, 2..36 or 0 - - - - the #guint64 value or zero on error. - -Since: 2.2 - - - - - -Adds the dynamic @interface_type to @instantiable_type. The information -contained in the #GTypePlugin structure pointed to by @plugin -is used to manage the relationship. - - - - - the #GType value of an instantiable type. - - - - the #GType value of an interface type. - - - - the #GTypePlugin structure to retrieve the #GInterfaceInfo from. - - - - - - - - -Creates a new timeout source. - -The source will not initially be associated with any #GMainContext -and must be added to one with g_source_attach() before it will be -executed. - - - - - - the timeout interval in milliseconds. - - - - the newly-created timeout source - - - - - -Gets the poll function set by g_main_context_set_poll_func(). - - - - - - a #GMainContext - - - - the poll function - - - - - -Converts a character to uppercase. - - - - - - a Unicode character - - - - the result of converting @c to uppercase. -If @c is not an lowercase or titlecase character, -or has no upper case equivalent @c is returned unchanged. - - - - - -Creates a new #GParamSpec instance. - -A property name consists of segments consisting of ASCII letters and -digits, separated by either the '-' or '_' character. The first -character of a property name must be a letter. Names which violate these -rules lead to undefined behaviour. - -When creating and looking up a #GParamSpec, either separator can be -used, but they cannot be mixed. Using '-' is considerably more -efficient and in fact required when using property names as detail -strings for signals. - -Beyond the name, #GParamSpec&lt;!-- --&gt;s have two more descriptive -strings associated with them, the @nick, which should be suitable -for use as a label for the property in a property editor, and the -@blurb, which should be a somewhat longer description, suitable for -e.g. a tooltip. The @nick and @blurb should ideally be localized. - - - - - - the #GType for the property; must be derived from #G_TYPE_PARAM - - - - the canonical name of the property - - - - the nickname of the property - - - - a short description of the property - - - - a combination of #GParamFlags - - - - a newly allocated #GParamSpec instance - - - - - -This sets the string that #GIOChannel uses to determine -where in the file a line break occurs. - - - - - a #GIOChannel - - - - The line termination string. Use %NULL for autodetect. -Autodetection breaks on "\n", "\r\n", "\r", "\0", and -the Unicode paragraph separator. Autodetection should -not be used for anything other than file-based channels. - - - - The length of the termination string. If -1 is passed, the -string is assumed to be nul-terminated. This option allows -termination strings with embedded nuls. - - - - - - - - - - - - - filename of the file to create. - - - - new local #GFile. - - - - - -Checks if the VFS is active. - - - - - - a #GVfs. - - - - %TRUE if construction of the @vfs was successful and it is now active. - - - - - -Free the boxed structure @boxed which is of type @boxed_type. - - - - - The type of @boxed. - - - - The boxed structure to be freed. - - - - - - - - -Return value: the begin iterator for @seq. - - - - - a #GSequence - - - - the begin iterator for @seq. - -Since: 2.14 - - - - - -Registers @type_name as the name of a new dynamic type derived from -@parent_type. The type system uses the information contained in the -#GTypePlugin structure pointed to by @plugin to manage the type and its -instances (if not abstract). The value of @flags determines the nature -(e.g. abstract or not) of the type. - - - - - - Type from which this type will be derived. - - - - 0-terminated string used as the name of the new type. - - - - The #GTypePlugin structure to retrieve the #GTypeInfo from. - - - - Bitwise combination of #GTypeFlags values. - - - - The new type identifier or #G_TYPE_INVALID if registration failed. - - - - - -Creates a directory and any parent directories that may not exist similar to -'mkdir -p'. If the file system does not support creating directories, this -function will fail, setting @error to %G_IO_ERROR_NOT_SUPPORTED. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL - - - - %TRUE if all directories have been successfully created, %FALSE -otherwise. - -Since: 2.18 - - - - - -Sets the function which is used to translate the contexts -user-visible strings, for &lt;option&gt;--help&lt;/option&gt; output. -If @func is %NULL, strings are not translated. - -Note that option groups have their own translation functions, -this function only affects the @parameter_string (see g_option_context_new()), -the summary (see g_option_context_set_summary()) and the description -(see g_option_context_set_description()). - -If you are using gettext(), you only need to set the translation -domain, see g_context_group_set_translation_domain(). - -Since: 2.12 - - - - - a #GOptionContext - - - - the #GTranslateFunc, or %NULL - - - - user data to pass to @func, or %NULL - - - - a function which gets called to free @data, or %NULL - - - - - - - - -This function returns a #GIOCondition depending on whether there -is data to be read/space to write data in the internal buffers in -the #GIOChannel. Only the flags %G_IO_IN and %G_IO_OUT may be set. - - - - - - A #GIOChannel - - - - A #GIOCondition - - - - - -Finishes an asynchronous replace of the given @file. See -g_file_replace_contents_async(). Sets @new_etag to the new entity -tag for the document, if present. - - - - - - input #GFile. - - - - a #GAsyncResult. - - - - a location of a new &lt;link linkend="gfile-etag"&gt;entity tag&lt;/link&gt; -for the document. This should be freed with g_free() when it is no -longer needed. - - - - a #GError, or %NULL - - - - %TRUE on success, %FALSE on failure. - - - - - -Return value: a #GSequenceIter which is @delta positions away from @iter. - - - - - a #GSequenceIter - - - - A positive or negative number indicating how many positions away -from @iter the returned #GSequenceIter will be. - - - - a #GSequenceIter which is @delta positions away from @iter. - -Since: 2.14 - - - - - -Obtains the character set for the &lt;link linkend="setlocale"&gt;current -locale&lt;/link&gt;; you might use this character set as an argument to -g_convert(), to convert from the current locale's encoding to some -other encoding. (Frequently g_locale_to_utf8() and g_locale_from_utf8() -are nice shortcuts, though.) - -On Windows the character set returned by this function is the -so-called system default ANSI code-page. That is the character set -used by the "narrow" versions of C library and Win32 functions that -handle file names. It might be different from the character set -used by the C library's current locale. - -The return value is %TRUE if the locale's encoding is UTF-8, in that -case you can perhaps avoid calling g_convert(). - -The string returned in @charset is not allocated, and should not be -freed. - - - - - - return location for character set name - - - - %TRUE if the returned charset is UTF-8 - - - - - -Obtains a directory monitor for the given file. -This may fail if directory monitoring is not supported. - -If @cancellable is not %NULL, then the operation can be cancelled by -triggering the cancellable object from another thread. If the operation -was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. - - - - - - input #GFile. - - - - a set of #GFileMonitorFlags. - - - - optional #GCancellable object, %NULL to ignore. - - - - a #GError, or %NULL. - - - - a #GFileMonitor for the given @file, -or %NULL on error. - - - - - -Returns: %TRUE if the queue is empty. - - - - - a #GQueue. - - - - %TRUE if the queue is empty. - - - - - -This function enqueus a callback @destroy_func() to be executed -during the next test case teardown phase. This is most useful -to auto destruct allocted test resources at the end of a test run. -Resources are released in reverse queue order, that means enqueueing -callback A before callback B will cause B() to be called before -A() during teardown. - -Since: 2.16 - - - - - Destroy callback for teardown phase. - - - - Destroy callback data. - - - - - - - - -Returns: the number of bytes written to the stream - - - - - a #GMemoryOutputStream - - - - the number of bytes written to the stream - -Since: 2.18 - - - - - -Retrieves the number of the subexpression named @name. - - - - - - #GRegex structure - - - - name of the subexpression - - - - The number of the subexpression or -1 if @name -does not exists - -Since: 2.14 - - - - - -A simple version of g_spawn_sync() with little-used parameters -removed, taking a command line instead of an argument vector. See -g_spawn_sync() for full details. @command_line will be parsed by -g_shell_parse_argv(). Unlike g_spawn_sync(), the %G_SPAWN_SEARCH_PATH flag -is enabled. Note that %G_SPAWN_SEARCH_PATH can have security -implications, so consider using g_spawn_sync() directly if -appropriate. Possible errors are those from g_spawn_sync() and those -from g_shell_parse_argv(). - -If @exit_status is non-%NULL, the exit status of the child is stored there as -it would be returned by waitpid(); standard UNIX macros such as WIFEXITED() -and WEXITSTATUS() must be used to evaluate the exit status. - -On Windows, please note the implications of g_shell_parse_argv() -parsing @command_line. Parsing is done according to Unix shell rules, not -Windows command interpreter rules. -Space is a separator, and backslashes are -special. Thus you cannot simply pass a @command_line containing -canonical Windows paths, like "c:\\program files\\app\\app.exe", as -the backslashes will be eaten, and the space will act as a -separator. You need to enclose such paths with single quotes, like -"'c:\\program files\\app\\app.exe' 'e:\\folder\\argument.txt'". - - - - - - a command line - - - - return location for child output - - - - return location for child errors - - - - return location for child exit status, as returned by waitpid() - - - - return location for errors - - - - %TRUE on success, %FALSE if an error was set - - - - - -Sets the source functions (can be used to override -default implementations) of an unattached source. - -Since: 2.12 - - - - - a #GSource - - - - the new #GSourceFuncs - - - - - - - - -Replacement for g_io_channel_write() with the new API. - -On seekable channels with encodings other than %NULL or UTF-8, generic -mixing of reading and writing is not allowed. A call to g_io_channel_write_chars () -may only be made on a channel from which data has been read in the -cases described in the documentation for g_io_channel_set_encoding (). - - - - - - a #GIOChannel - - - - a buffer to write data from - - - - the size of the buffer. If -1, the buffer -is taken to be a nul-terminated string. - - - - The number of bytes written. This can be nonzero -even if the return value is not %G_IO_STATUS_NORMAL. -If the return value is %G_IO_STATUS_NORMAL and the -channel is blocking, this will always be equal -to @count if @count &gt;= 0. - - - - a location to return an error of type #GConvertError -or #GIOChannelError - - - - the status of the operation. - - - - - -Get the name of a #GParamSpec. - - - - - - a valid #GParamSpec - - - - the name of @pspec. - - - - - -Creates a new #GTree. - - - - - - the function used to order the nodes in the #GTree. -It should return values similar to the standard strcmp() function - -0 if the two arguments are equal, a negative value if the first argument -comes before the second, or a positive value if the first argument comes -after the second. - - - - a new #GTree. - - - - - -Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT -derived property. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - %G_TYPE_OBJECT derived type of this property - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Runs all tests under the toplevel suite which can be retrieved -with g_test_get_root(). Similar to g_test_run_suite(), the test -cases to be run are filtered according to -test path arguments (-p &lt;replaceable&gt;testpath&lt;/replaceable&gt;) as -parsed by g_test_init(). -g_test_run_suite() or g_test_run() may only be called once -in a program. - - - - - - 0 on success - -Since: 2.16 - - - - - -Returns: the length of the contents of @file. - - - - - a #GMappedFile - - - - the length of the contents of @file. - -Since: 2.8 - - - - - -Creates a new #GParamSpecString instance. - -See g_param_spec_internal() for details on property names. - - - - - - canonical name of the property specified - - - - nick name for the property specified - - - - description of the property specified - - - - default value for the property specified - - - - flags for the property specified - - - - a newly created parameter specification - - - - - -Get a reproducible random floating pointer number out of a specified range, -see g_test_rand_int() for details on test case random numbers. - - - - - - the minimum value returned by this function - - - - the minimum value not returned by this function - - - - a number with @range_start &lt;= number &lt; @range_end. - -Since: 2.16 - - - - - -Reads a Unicode character from @channel. -This function cannot be called on a channel with %NULL encoding. - - - - - - a #GIOChannel - - - - a location to return a character - - - - a location to return an error of type #GConvertError -or #GIOChannelError - - - - a #GIOStatus - - - - - -Converts @time_ into an ISO 8601 encoded string, relative to the -Coordinated Universal Time (UTC). - - - - - - a #GTimeVal - - - - a newly allocated string containing an ISO 8601 date - -Since: 2.12 - - - - - -Using the standard algorithm for regular expression matching only -the longest match in the string is retrieved. This function uses -a different algorithm so it can retrieve all the possible matches. -For more documentation see g_regex_match_all_full(). - -A #GMatchInfo structure, used to get information on the match, is -stored in @match_info if not %NULL. Note that if @match_info is -not %NULL then it is created even if the function returns %FALSE, -i.e. you must free it regardless if regular expression actually -matched. - - - - - - a #GRegex structure from g_regex_new() - - - - the string to scan for matches - - - - match options - - - - pointer to location where to store the #GMatchInfo, -or %NULL if you do not need it - - - - %TRUE is the string matched, %FALSE otherwise - -Since: 2.14 - - - - - -Blocks all handlers on an instance that match a certain selection criteria. -The criteria mask is passed as an OR-ed combination of #GSignalMatchType -flags, and the criteria values are passed as arguments. -Passing at least one of the %G_SIGNAL_MATCH_CLOSURE, %G_SIGNAL_MATCH_FUNC -or %G_SIGNAL_MATCH_DATA match flags is required for successful matches. -If no handlers were found, 0 is returned, the number of blocked handlers -otherwise. - - - - - - The instance to block handlers from. - - - - Mask indicating which of @signal_id, @detail, @closure, @func -and/or @data the handlers have to match. - - - - Signal the handlers have to be connected to. - - - - Signal detail the handlers have to be connected to. - - - - The closure the handlers will invoke. - - - - The C closure callback of the handlers (useless for non-C closures). - - - - The closure data of the handlers' closures. - - - - The number of handlers that matched. - - - - - -Determines if @type is a subset of @supertype. - - - - - - a content type string. - - - - a string. - - - - %TRUE if @type is a kind of @supertype, -%FALSE otherwise. - - - - diff --git a/libs/glibmm2/glib/src/glib_docs_override.xml b/libs/glibmm2/glib/src/glib_docs_override.xml deleted file mode 100644 index 13bf35d661..0000000000 --- a/libs/glibmm2/glib/src/glib_docs_override.xml +++ /dev/null @@ -1,215 +0,0 @@ - - - - Adds a string to be displayed in --help output before the list of options. This - is typically a summary of the program functionality. - - Note that the summary is translated (see set_translate_func(), - set_translation_domain()). - - Since: 2.14 - - - - - a string to be shown in --help output before the list of - options - - - - - - - - - Returns: the summary - See set_summary() for more information - - - - - the summary - - Since: 2.14 - - - - - - Adds a string to be displayed in --help output after the list of - options. This text often includes a bug reporting address. - - Note that the summary is translated (see set_translate_func()). - - Since: 2.14 - - - - - a string to be shown in --help output - after the list of options - - - - - - - - - Returns: the description - See set_description() for more information - - - - - the description - - Since: 2.14 - - - - - - A convenience function to use gettext() for translating - user-visible strings. - - Since: 2.14 - - - - - the domain to use - - - - - - - - - -Return value: the value associated with the key as a double, or - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError - - - - the value associated with the key as a double, or -0.0 if the key was not found or could not be parsed. - -Since: 2.14 - - - - - - -Associates a new double value with @key under @group_name. -If @key cannot be found then it is created. - -Since: 2.14 - - - - - a #GKeyFile - - - - a group name - - - - a key - - - - an double value - - - - - - - - - -Loads a key file into an empty KeyFile instance. -If the file could not be loaded then a FileError or KeyFileError exception is thrown. - -@throw Glib::FileError -@throw Glib::KeyFileError - - - - an empty #GKeyFile struct - - - - the path of a filename to load, in the GLib file name encoding - - - - flags from #GKeyFileFlags - - - - return location for a #GError, or %NULL - - - - %TRUE if a key file could be loaded, %FALSE othewise -Since: 2.6 - - - - - - -Returns the value associated with @key under @group_name. - -@throw Glib::FileError in the event the key cannot be found (with the Glib::KEY_FILE_ERROR_KEY_NOT_FOUND code). -@throw Glib::KeyFileError in the event that the @group_name cannot be found (with the Glib::KEY_FILE_ERROR_GROUP_NOT_FOUND). - - - - a #GKeyFile - - - - a group name - - - - a key - - - - return location for a #GError, or %NULL - - - - The value as a string. - -Since: 2.6 - - - - - - diff --git a/libs/glibmm2/glib/src/glib_enums.defs b/libs/glibmm2/glib/src/glib_enums.defs deleted file mode 100644 index a44c623d6b..0000000000 --- a/libs/glibmm2/glib/src/glib_enums.defs +++ /dev/null @@ -1,732 +0,0 @@ -;; From /opt/gnome218/include/glib-2.0/glib/gbookmarkfile.h - -(define-enum-extended BookmarkFileError - (in-module "G") - (c-name "GBookmarkFileError") - (values - '("invalid-uri" "G_BOOKMARK_FILE_ERROR_INVALID_URI" "0") - '("invalid-value" "G_BOOKMARK_FILE_ERROR_INVALID_VALUE" "1") - '("app-not-registered" "G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED" "2") - '("uri-not-found" "G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND" "3") - '("read" "G_BOOKMARK_FILE_ERROR_READ" "4") - '("unknown-encoding" "G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING" "5") - '("write" "G_BOOKMARK_FILE_ERROR_WRITE" "6") - '("file-not-found" "G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND" "7") - ) -) - -;; From ../glibc/trunk/glib/gchecksum.h - -(define-enum-extended ChecksumType - (in-module "G") - (c-name "GChecksumType") - (values - '("md5" "G_CHECKSUM_MD5" "0") - '("sha1" "G_CHECKSUM_SHA1" "1") - '("sha256" "G_CHECKSUM_SHA256" "2") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gconvert.h - -(define-enum-extended ConvertError - (in-module "G") - (c-name "GConvertError") - (values - '("no-conversion" "G_CONVERT_ERROR_NO_CONVERSION" "0") - '("illegal-sequence" "G_CONVERT_ERROR_ILLEGAL_SEQUENCE" "1") - '("failed" "G_CONVERT_ERROR_FAILED" "2") - '("partial-input" "G_CONVERT_ERROR_PARTIAL_INPUT" "3") - '("bad-uri" "G_CONVERT_ERROR_BAD_URI" "4") - '("not-absolute-path" "G_CONVERT_ERROR_NOT_ABSOLUTE_PATH" "5") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gdate.h - -(define-enum-extended DateDMY - (in-module "G") - (c-name "GDateDMY") - (values - '("day" "G_DATE_DAY" "0") - '("month" "G_DATE_MONTH" "1") - '("year" "G_DATE_YEAR" "2") - ) -) - -(define-enum-extended DateWeekday - (in-module "G") - (c-name "GDateWeekday") - (values - '("bad-weekday" "G_DATE_BAD_WEEKDAY" "0") - '("monday" "G_DATE_MONDAY" "1") - '("tuesday" "G_DATE_TUESDAY" "2") - '("wednesday" "G_DATE_WEDNESDAY" "3") - '("thursday" "G_DATE_THURSDAY" "4") - '("friday" "G_DATE_FRIDAY" "5") - '("saturday" "G_DATE_SATURDAY" "6") - '("sunday" "G_DATE_SUNDAY" "7") - ) -) - -(define-enum-extended DateMonth - (in-module "G") - (c-name "GDateMonth") - (values - '("bad-month" "G_DATE_BAD_MONTH" "0") - '("january" "G_DATE_JANUARY" "1") - '("february" "G_DATE_FEBRUARY" "2") - '("march" "G_DATE_MARCH" "3") - '("april" "G_DATE_APRIL" "4") - '("may" "G_DATE_MAY" "5") - '("june" "G_DATE_JUNE" "6") - '("july" "G_DATE_JULY" "7") - '("august" "G_DATE_AUGUST" "8") - '("september" "G_DATE_SEPTEMBER" "9") - '("october" "G_DATE_OCTOBER" "10") - '("november" "G_DATE_NOVEMBER" "11") - '("december" "G_DATE_DECEMBER" "12") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gfileutils.h - -(define-enum-extended FileError - (in-module "G") - (c-name "GFileError") - (values - '("exist" "G_FILE_ERROR_EXIST" "0") - '("isdir" "G_FILE_ERROR_ISDIR" "1") - '("acces" "G_FILE_ERROR_ACCES" "2") - '("nametoolong" "G_FILE_ERROR_NAMETOOLONG" "3") - '("noent" "G_FILE_ERROR_NOENT" "4") - '("notdir" "G_FILE_ERROR_NOTDIR" "5") - '("nxio" "G_FILE_ERROR_NXIO" "6") - '("nodev" "G_FILE_ERROR_NODEV" "7") - '("rofs" "G_FILE_ERROR_ROFS" "8") - '("txtbsy" "G_FILE_ERROR_TXTBSY" "9") - '("fault" "G_FILE_ERROR_FAULT" "10") - '("loop" "G_FILE_ERROR_LOOP" "11") - '("nospc" "G_FILE_ERROR_NOSPC" "12") - '("nomem" "G_FILE_ERROR_NOMEM" "13") - '("mfile" "G_FILE_ERROR_MFILE" "14") - '("nfile" "G_FILE_ERROR_NFILE" "15") - '("badf" "G_FILE_ERROR_BADF" "16") - '("inval" "G_FILE_ERROR_INVAL" "17") - '("pipe" "G_FILE_ERROR_PIPE" "18") - '("again" "G_FILE_ERROR_AGAIN" "19") - '("intr" "G_FILE_ERROR_INTR" "20") - '("io" "G_FILE_ERROR_IO" "21") - '("perm" "G_FILE_ERROR_PERM" "22") - '("nosys" "G_FILE_ERROR_NOSYS" "23") - '("failed" "G_FILE_ERROR_FAILED" "24") - ) -) - -(define-flags-extended FileTest - (in-module "G") - (c-name "GFileTest") - (values - '("is-regular" "G_FILE_TEST_IS_REGULAR" "1 << 0") - '("is-symlink" "G_FILE_TEST_IS_SYMLINK" "1 << 1") - '("is-dir" "G_FILE_TEST_IS_DIR" "1 << 2") - '("is-executable" "G_FILE_TEST_IS_EXECUTABLE" "1 << 3") - '("exists" "G_FILE_TEST_EXISTS" "1 << 4") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/ghook.h - -(define-flags-extended HookFlagMask - (in-module "G") - (c-name "GHookFlagMask") - (values - '("active" "G_HOOK_FLAG_ACTIVE" "1 << 0") - '("in-call" "G_HOOK_FLAG_IN_CALL" "1 << 1") - '("mask" "G_HOOK_FLAG_MASK" "0x0f") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/giochannel.h - -(define-enum-extended IOError - (in-module "G") - (c-name "GIOError") - (values - '("none" "G_IO_ERROR_NONE" "0") - '("again" "G_IO_ERROR_AGAIN" "1") - '("inval" "G_IO_ERROR_INVAL" "2") - '("unknown" "G_IO_ERROR_UNKNOWN" "3") - ) -) - -(define-enum-extended IOChannelError - (in-module "G") - (c-name "GIOChannelError") - (values - '("fbig" "G_IO_CHANNEL_ERROR_FBIG" "0") - '("inval" "G_IO_CHANNEL_ERROR_INVAL" "1") - '("io" "G_IO_CHANNEL_ERROR_IO" "2") - '("isdir" "G_IO_CHANNEL_ERROR_ISDIR" "3") - '("nospc" "G_IO_CHANNEL_ERROR_NOSPC" "4") - '("nxio" "G_IO_CHANNEL_ERROR_NXIO" "5") - '("overflow" "G_IO_CHANNEL_ERROR_OVERFLOW" "6") - '("pipe" "G_IO_CHANNEL_ERROR_PIPE" "7") - '("failed" "G_IO_CHANNEL_ERROR_FAILED" "8") - ) -) - -(define-enum-extended IOStatus - (in-module "G") - (c-name "GIOStatus") - (values - '("error" "G_IO_STATUS_ERROR" "0") - '("normal" "G_IO_STATUS_NORMAL" "1") - '("eof" "G_IO_STATUS_EOF" "2") - '("again" "G_IO_STATUS_AGAIN" "3") - ) -) - -(define-enum-extended SeekType - (in-module "G") - (c-name "GSeekType") - (values - '("cur" "G_SEEK_CUR" "0") - '("set" "G_SEEK_SET" "1") - '("end" "G_SEEK_END" "2") - ) -) - -(define-enum-extended IOCondition - (in-module "G") - (c-name "GIOCondition") - (values - ) -) - -(define-flags-extended IOFlags - (in-module "G") - (c-name "GIOFlags") - (values - '("append" "G_IO_FLAG_APPEND" "1 << 0") - '("nonblock" "G_IO_FLAG_NONBLOCK" "1 << 1") - '("is-readable" "G_IO_FLAG_IS_READABLE" "1 << 2") - '("is-writeable" "G_IO_FLAG_IS_WRITEABLE" "1 << 3") - '("is-seekable" "G_IO_FLAG_IS_SEEKABLE" "1 << 4") - '("get-mask" "G_IO_FLAG_GET_MASK" "0x0") - '("set-mask" "G_IO_FLAG_SET_MASK" "0x1") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gkeyfile.h - -(define-enum-extended KeyFileError - (in-module "G") - (c-name "GKeyFileError") - (values - '("unknown-encoding" "G_KEY_FILE_ERROR_UNKNOWN_ENCODING" "0") - '("parse" "G_KEY_FILE_ERROR_PARSE" "1") - '("not-found" "G_KEY_FILE_ERROR_NOT_FOUND" "2") - '("key-not-found" "G_KEY_FILE_ERROR_KEY_NOT_FOUND" "3") - '("group-not-found" "G_KEY_FILE_ERROR_GROUP_NOT_FOUND" "4") - '("invalid-value" "G_KEY_FILE_ERROR_INVALID_VALUE" "5") - ) -) - -(define-flags-extended KeyFileFlags - (in-module "G") - (c-name "GKeyFileFlags") - (values - '("none" "G_KEY_FILE_NONE" "0") - '("keep-comments" "G_KEY_FILE_KEEP_COMMENTS" "1 << 0") - '("keep-translations" "G_KEY_FILE_KEEP_TRANSLATIONS" "1 << 1") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gmarkup.h - -(define-enum-extended MarkupError - (in-module "G") - (c-name "GMarkupError") - (values - '("bad-utf8" "G_MARKUP_ERROR_BAD_UTF8" "0") - '("empty" "G_MARKUP_ERROR_EMPTY" "1") - '("parse" "G_MARKUP_ERROR_PARSE" "2") - '("unknown-element" "G_MARKUP_ERROR_UNKNOWN_ELEMENT" "3") - '("unknown-attribute" "G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE" "4") - '("invalid-content" "G_MARKUP_ERROR_INVALID_CONTENT" "5") - ) -) - -(define-flags-extended MarkupParseFlags - (in-module "G") - (c-name "GMarkupParseFlags") - (values - '("do-not-use-this-unsupported-flag" "G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG" "1 << 0") - '("treat-cdata-as-text" "G_MARKUP_TREAT_CDATA_AS_TEXT" "1 << 1") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gmessages.h - -(define-flags-extended LogLevelFlags - (in-module "G") - (c-name "GLogLevelFlags") - (values - '("flag-recursion" "G_LOG_FLAG_RECURSION" "1 << 0") - '("flag-fatal" "G_LOG_FLAG_FATAL" "1 << 1") - '("level-error" "G_LOG_LEVEL_ERROR" "1 << 2") - '("level-critical" "G_LOG_LEVEL_CRITICAL" "1 << 3") - '("level-warning" "G_LOG_LEVEL_WARNING" "1 << 4") - '("level-message" "G_LOG_LEVEL_MESSAGE" "1 << 5") - '("level-info" "G_LOG_LEVEL_INFO" "1 << 6") - '("level-debug" "G_LOG_LEVEL_DEBUG" "1 << 7") - '("level-mask" "G_LOG_LEVEL_MASK" "0xFFFFFFFE") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gnode.h - -(define-flags-extended TraverseFlags - (in-module "G") - (c-name "GTraverseFlags") - (values - '("leaves" "G_TRAVERSE_LEAVES" "1 << 0") - '("non-leaves" "G_TRAVERSE_NON_LEAVES" "1 << 1") - '("all" "G_TRAVERSE_ALL" "0x1") - '("mask" "G_TRAVERSE_MASK" "0x03") - '("leafs" "G_TRAVERSE_LEAFS" "0x1") - '("non-leafs" "G_TRAVERSE_NON_LEAFS" "0x2") - ) -) - -(define-enum-extended TraverseType - (in-module "G") - (c-name "GTraverseType") - (values - '("in-order" "G_IN_ORDER" "0") - '("pre-order" "G_PRE_ORDER" "1") - '("post-order" "G_POST_ORDER" "2") - '("level-order" "G_LEVEL_ORDER" "3") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/goption.h - -(define-flags-extended OptionFlags - (in-module "G") - (c-name "GOptionFlags") - (values - '("hidden" "G_OPTION_FLAG_HIDDEN" "1 << 0") - '("in-main" "G_OPTION_FLAG_IN_MAIN" "1 << 1") - '("reverse" "G_OPTION_FLAG_REVERSE" "1 << 2") - '("no-arg" "G_OPTION_FLAG_NO_ARG" "1 << 3") - '("filename" "G_OPTION_FLAG_FILENAME" "1 << 4") - '("optional-arg" "G_OPTION_FLAG_OPTIONAL_ARG" "1 << 5") - '("noalias" "G_OPTION_FLAG_NOALIAS" "1 << 6") - ) -) - -(define-enum-extended OptionArg - (in-module "G") - (c-name "GOptionArg") - (values - '("none" "G_OPTION_ARG_NONE" "0") - '("string" "G_OPTION_ARG_STRING" "1") - '("int" "G_OPTION_ARG_INT" "2") - '("callback" "G_OPTION_ARG_CALLBACK" "3") - '("filename" "G_OPTION_ARG_FILENAME" "4") - '("string-array" "G_OPTION_ARG_STRING_ARRAY" "5") - '("filename-array" "G_OPTION_ARG_FILENAME_ARRAY" "6") - '("double" "G_OPTION_ARG_DOUBLE" "7") - '("int64" "G_OPTION_ARG_INT64" "8") - ) -) - -(define-enum-extended OptionError - (in-module "G") - (c-name "GOptionError") - (values - '("unknown-option" "G_OPTION_ERROR_UNKNOWN_OPTION" "0") - '("bad-value" "G_OPTION_ERROR_BAD_VALUE" "1") - '("failed" "G_OPTION_ERROR_FAILED" "2") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gregex.h - -(define-enum-extended RegexError - (in-module "G") - (c-name "GRegexError") - (values - '("compile" "G_REGEX_ERROR_COMPILE" "0") - '("optimize" "G_REGEX_ERROR_OPTIMIZE" "1") - '("replace" "G_REGEX_ERROR_REPLACE" "2") - '("match" "G_REGEX_ERROR_MATCH" "3") - ) -) - -(define-flags-extended RegexCompileFlags - (in-module "G") - (c-name "GRegexCompileFlags") - (values - '("caseless" "G_REGEX_CASELESS" "1 << 0") - '("multiline" "G_REGEX_MULTILINE" "1 << 1") - '("dotall" "G_REGEX_DOTALL" "1 << 2") - '("extended" "G_REGEX_EXTENDED" "1 << 3") - '("anchored" "G_REGEX_ANCHORED" "1 << 4") - '("dollar-endonly" "G_REGEX_DOLLAR_ENDONLY" "1 << 5") - '("ungreedy" "G_REGEX_UNGREEDY" "1 << 9") - '("raw" "G_REGEX_RAW" "1 << 11") - '("no-auto-capture" "G_REGEX_NO_AUTO_CAPTURE" "1 << 12") - '("optimize" "G_REGEX_OPTIMIZE" "1 << 13") - '("dupnames" "G_REGEX_DUPNAMES" "1 << 19") - '("newline-cr" "G_REGEX_NEWLINE_CR" "1 << 20") - '("newline-lf" "G_REGEX_NEWLINE_LF" "1 << 21") - '("newline-crlf" "G_REGEX_NEWLINE_CRLF" "0x100000") - ) -) - -(define-flags-extended RegexMatchFlags - (in-module "G") - (c-name "GRegexMatchFlags") - (values - '("anchored" "G_REGEX_MATCH_ANCHORED" "1 << 4") - '("notbol" "G_REGEX_MATCH_NOTBOL" "1 << 7") - '("noteol" "G_REGEX_MATCH_NOTEOL" "1 << 8") - '("notempty" "G_REGEX_MATCH_NOTEMPTY" "1 << 10") - '("partial" "G_REGEX_MATCH_PARTIAL" "1 << 15") - '("newline-cr" "G_REGEX_MATCH_NEWLINE_CR" "1 << 20") - '("newline-lf" "G_REGEX_MATCH_NEWLINE_LF" "1 << 21") - '("newline-crlf" "G_REGEX_MATCH_NEWLINE_CRLF" "0x100000") - '("newline-any" "G_REGEX_MATCH_NEWLINE_ANY" "1 << 22") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gscanner.h - -(define-enum-extended ErrorType - (in-module "G") - (c-name "GErrorType") - (values - '("unknown" "G_ERR_UNKNOWN" "0") - '("unexp-eof" "G_ERR_UNEXP_EOF" "1") - '("unexp-eof-in-string" "G_ERR_UNEXP_EOF_IN_STRING" "2") - '("unexp-eof-in-comment" "G_ERR_UNEXP_EOF_IN_COMMENT" "3") - '("non-digit-in-const" "G_ERR_NON_DIGIT_IN_CONST" "4") - '("digit-radix" "G_ERR_DIGIT_RADIX" "5") - '("float-radix" "G_ERR_FLOAT_RADIX" "6") - '("float-malformed" "G_ERR_FLOAT_MALFORMED" "7") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gshell.h - -(define-enum-extended ShellError - (in-module "G") - (c-name "GShellError") - (values - '("bad-quoting" "G_SHELL_ERROR_BAD_QUOTING" "0") - '("empty-string" "G_SHELL_ERROR_EMPTY_STRING" "1") - '("failed" "G_SHELL_ERROR_FAILED" "2") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gslice.h - -(define-enum-extended SliceConfig - (in-module "G") - (c-name "GSliceConfig") - (values - '("always-malloc" "G_SLICE_CONFIG_ALWAYS_MALLOC" "1") - '("bypass-magazines" "G_SLICE_CONFIG_BYPASS_MAGAZINES" "2") - '("working-set-msecs" "G_SLICE_CONFIG_WORKING_SET_MSECS" "3") - '("color-increment" "G_SLICE_CONFIG_COLOR_INCREMENT" "4") - '("chunk-sizes" "G_SLICE_CONFIG_CHUNK_SIZES" "5") - '("contention-counter" "G_SLICE_CONFIG_CONTENTION_COUNTER" "6") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gspawn.h - -(define-enum-extended SpawnError - (in-module "G") - (c-name "GSpawnError") - (values - '("fork" "G_SPAWN_ERROR_FORK" "0") - '("read" "G_SPAWN_ERROR_READ" "1") - '("chdir" "G_SPAWN_ERROR_CHDIR" "2") - '("acces" "G_SPAWN_ERROR_ACCES" "3") - '("perm" "G_SPAWN_ERROR_PERM" "4") - '("2big" "G_SPAWN_ERROR_2BIG" "5") - '("noexec" "G_SPAWN_ERROR_NOEXEC" "6") - '("nametoolong" "G_SPAWN_ERROR_NAMETOOLONG" "7") - '("noent" "G_SPAWN_ERROR_NOENT" "8") - '("nomem" "G_SPAWN_ERROR_NOMEM" "9") - '("notdir" "G_SPAWN_ERROR_NOTDIR" "10") - '("loop" "G_SPAWN_ERROR_LOOP" "11") - '("txtbusy" "G_SPAWN_ERROR_TXTBUSY" "12") - '("io" "G_SPAWN_ERROR_IO" "13") - '("nfile" "G_SPAWN_ERROR_NFILE" "14") - '("mfile" "G_SPAWN_ERROR_MFILE" "15") - '("inval" "G_SPAWN_ERROR_INVAL" "16") - '("isdir" "G_SPAWN_ERROR_ISDIR" "17") - '("libbad" "G_SPAWN_ERROR_LIBBAD" "18") - ) -) - -(define-flags-extended SpawnFlags - (in-module "G") - (c-name "GSpawnFlags") - (values - '("leave-descriptors-open" "G_SPAWN_LEAVE_DESCRIPTORS_OPEN" "1 << 0") - '("do-not-reap-child" "G_SPAWN_DO_NOT_REAP_CHILD" "1 << 1") - '("search-path" "G_SPAWN_SEARCH_PATH" "1 << 2") - '("stdout-to-dev-null" "G_SPAWN_STDOUT_TO_DEV_NULL" "1 << 3") - '("stderr-to-dev-null" "G_SPAWN_STDERR_TO_DEV_NULL" "1 << 4") - '("child-inherits-stdin" "G_SPAWN_CHILD_INHERITS_STDIN" "1 << 5") - '("file-and-argv-zero" "G_SPAWN_FILE_AND_ARGV_ZERO" "1 << 6") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gstrfuncs.h - -(define-flags-extended AsciiType - (in-module "G") - (c-name "GAsciiType") - (values - '("alnum" "G_ASCII_ALNUM" "1 << 0") - '("alpha" "G_ASCII_ALPHA" "1 << 1") - '("cntrl" "G_ASCII_CNTRL" "1 << 2") - '("digit" "G_ASCII_DIGIT" "1 << 3") - '("graph" "G_ASCII_GRAPH" "1 << 4") - '("lower" "G_ASCII_LOWER" "1 << 5") - '("print" "G_ASCII_PRINT" "1 << 6") - '("punct" "G_ASCII_PUNCT" "1 << 7") - '("space" "G_ASCII_SPACE" "1 << 8") - '("upper" "G_ASCII_UPPER" "1 << 9") - '("xdigit" "G_ASCII_XDIGIT" "1 << 10") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gthread.h - -(define-enum-extended ThreadError - (in-module "G") - (c-name "GThreadError") - (values - '("n" "G_THREAD_ERROR_AGAIN" "0") - ) -) - -(define-enum-extended ThreadPriority - (in-module "G") - (c-name "GThreadPriority") - (values - '("low" "G_THREAD_PRIORITY_LOW" "0") - '("normal" "G_THREAD_PRIORITY_NORMAL" "1") - '("high" "G_THREAD_PRIORITY_HIGH" "2") - '("urgent" "G_THREAD_PRIORITY_URGENT" "3") - ) -) - -(define-enum-extended OnceStatus - (in-module "G") - (c-name "GOnceStatus") - (values - '("notcalled" "G_ONCE_STATUS_NOTCALLED" "0") - '("progress" "G_ONCE_STATUS_PROGRESS" "1") - '("ready" "G_ONCE_STATUS_READY" "2") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gunicode.h - -(define-enum-extended UnicodeType - (in-module "G") - (c-name "GUnicodeType") - (values - '("control" "G_UNICODE_CONTROL" "0") - '("format" "G_UNICODE_FORMAT" "1") - '("unassigned" "G_UNICODE_UNASSIGNED" "2") - '("private-use" "G_UNICODE_PRIVATE_USE" "3") - '("surrogate" "G_UNICODE_SURROGATE" "4") - '("lowercase-letter" "G_UNICODE_LOWERCASE_LETTER" "5") - '("modifier-letter" "G_UNICODE_MODIFIER_LETTER" "6") - '("other-letter" "G_UNICODE_OTHER_LETTER" "7") - '("titlecase-letter" "G_UNICODE_TITLECASE_LETTER" "8") - '("uppercase-letter" "G_UNICODE_UPPERCASE_LETTER" "9") - '("combining-mark" "G_UNICODE_COMBINING_MARK" "10") - '("enclosing-mark" "G_UNICODE_ENCLOSING_MARK" "11") - '("non-spacing-mark" "G_UNICODE_NON_SPACING_MARK" "12") - '("decimal-number" "G_UNICODE_DECIMAL_NUMBER" "13") - '("letter-number" "G_UNICODE_LETTER_NUMBER" "14") - '("other-number" "G_UNICODE_OTHER_NUMBER" "15") - '("connect-punctuation" "G_UNICODE_CONNECT_PUNCTUATION" "16") - '("dash-punctuation" "G_UNICODE_DASH_PUNCTUATION" "17") - '("close-punctuation" "G_UNICODE_CLOSE_PUNCTUATION" "18") - '("final-punctuation" "G_UNICODE_FINAL_PUNCTUATION" "19") - '("initial-punctuation" "G_UNICODE_INITIAL_PUNCTUATION" "20") - '("other-punctuation" "G_UNICODE_OTHER_PUNCTUATION" "21") - '("open-punctuation" "G_UNICODE_OPEN_PUNCTUATION" "22") - '("currency-symbol" "G_UNICODE_CURRENCY_SYMBOL" "23") - '("modifier-symbol" "G_UNICODE_MODIFIER_SYMBOL" "24") - '("math-symbol" "G_UNICODE_MATH_SYMBOL" "25") - '("other-symbol" "G_UNICODE_OTHER_SYMBOL" "26") - '("line-separator" "G_UNICODE_LINE_SEPARATOR" "27") - '("paragraph-separator" "G_UNICODE_PARAGRAPH_SEPARATOR" "28") - '("space-separator" "G_UNICODE_SPACE_SEPARATOR" "29") - ) -) - -(define-enum-extended UnicodeBreakType - (in-module "G") - (c-name "GUnicodeBreakType") - (values - '("mandatory" "G_UNICODE_BREAK_MANDATORY" "0") - '("carriage-return" "G_UNICODE_BREAK_CARRIAGE_RETURN" "1") - '("line-feed" "G_UNICODE_BREAK_LINE_FEED" "2") - '("combining-mark" "G_UNICODE_BREAK_COMBINING_MARK" "3") - '("surrogate" "G_UNICODE_BREAK_SURROGATE" "4") - '("zero-width-space" "G_UNICODE_BREAK_ZERO_WIDTH_SPACE" "5") - '("inseparable" "G_UNICODE_BREAK_INSEPARABLE" "6") - '("non-breaking-glue" "G_UNICODE_BREAK_NON_BREAKING_GLUE" "7") - '("contingent" "G_UNICODE_BREAK_CONTINGENT" "8") - '("space" "G_UNICODE_BREAK_SPACE" "9") - '("after" "G_UNICODE_BREAK_AFTER" "10") - '("before" "G_UNICODE_BREAK_BEFORE" "11") - '("before-and-after" "G_UNICODE_BREAK_BEFORE_AND_AFTER" "12") - '("hyphen" "G_UNICODE_BREAK_HYPHEN" "13") - '("non-starter" "G_UNICODE_BREAK_NON_STARTER" "14") - '("open-punctuation" "G_UNICODE_BREAK_OPEN_PUNCTUATION" "15") - '("close-punctuation" "G_UNICODE_BREAK_CLOSE_PUNCTUATION" "16") - '("quotation" "G_UNICODE_BREAK_QUOTATION" "17") - '("exclamation" "G_UNICODE_BREAK_EXCLAMATION" "18") - '("ideographic" "G_UNICODE_BREAK_IDEOGRAPHIC" "19") - '("numeric" "G_UNICODE_BREAK_NUMERIC" "20") - '("infix-separator" "G_UNICODE_BREAK_INFIX_SEPARATOR" "21") - '("symbol" "G_UNICODE_BREAK_SYMBOL" "22") - '("alphabetic" "G_UNICODE_BREAK_ALPHABETIC" "23") - '("prefix" "G_UNICODE_BREAK_PREFIX" "24") - '("postfix" "G_UNICODE_BREAK_POSTFIX" "25") - '("complex-context" "G_UNICODE_BREAK_COMPLEX_CONTEXT" "26") - '("ambiguous" "G_UNICODE_BREAK_AMBIGUOUS" "27") - '("unknown" "G_UNICODE_BREAK_UNKNOWN" "28") - '("next-line" "G_UNICODE_BREAK_NEXT_LINE" "29") - '("word-joiner" "G_UNICODE_BREAK_WORD_JOINER" "30") - '("hangul-l-jamo" "G_UNICODE_BREAK_HANGUL_L_JAMO" "31") - '("hangul-v-jamo" "G_UNICODE_BREAK_HANGUL_V_JAMO" "32") - '("hangul-t-jamo" "G_UNICODE_BREAK_HANGUL_T_JAMO" "33") - '("hangul-lv-syllable" "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE" "34") - '("hangul-lvt-syllable" "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE" "35") - ) -) - -(define-enum-extended UnicodeScript - (in-module "G") - (c-name "GUnicodeScript") - (values - '("invalid-code" "G_UNICODE_SCRIPT_INVALID_CODE" "-1") - '("common" "G_UNICODE_SCRIPT_COMMON" "0") - '("inherited" "G_UNICODE_SCRIPT_INHERITED" "1") - '("arabic" "G_UNICODE_SCRIPT_ARABIC" "2") - '("armenian" "G_UNICODE_SCRIPT_ARMENIAN" "3") - '("bengali" "G_UNICODE_SCRIPT_BENGALI" "4") - '("bopomofo" "G_UNICODE_SCRIPT_BOPOMOFO" "5") - '("cherokee" "G_UNICODE_SCRIPT_CHEROKEE" "6") - '("coptic" "G_UNICODE_SCRIPT_COPTIC" "7") - '("cyrillic" "G_UNICODE_SCRIPT_CYRILLIC" "8") - '("deseret" "G_UNICODE_SCRIPT_DESERET" "9") - '("devanagari" "G_UNICODE_SCRIPT_DEVANAGARI" "10") - '("ethiopic" "G_UNICODE_SCRIPT_ETHIOPIC" "11") - '("georgian" "G_UNICODE_SCRIPT_GEORGIAN" "12") - '("gothic" "G_UNICODE_SCRIPT_GOTHIC" "13") - '("greek" "G_UNICODE_SCRIPT_GREEK" "14") - '("gujarati" "G_UNICODE_SCRIPT_GUJARATI" "15") - '("gurmukhi" "G_UNICODE_SCRIPT_GURMUKHI" "16") - '("han" "G_UNICODE_SCRIPT_HAN" "17") - '("hangul" "G_UNICODE_SCRIPT_HANGUL" "18") - '("hebrew" "G_UNICODE_SCRIPT_HEBREW" "19") - '("hiragana" "G_UNICODE_SCRIPT_HIRAGANA" "20") - '("kannada" "G_UNICODE_SCRIPT_KANNADA" "21") - '("katakana" "G_UNICODE_SCRIPT_KATAKANA" "22") - '("khmer" "G_UNICODE_SCRIPT_KHMER" "23") - '("lao" "G_UNICODE_SCRIPT_LAO" "24") - '("latin" "G_UNICODE_SCRIPT_LATIN" "25") - '("malayalam" "G_UNICODE_SCRIPT_MALAYALAM" "26") - '("mongolian" "G_UNICODE_SCRIPT_MONGOLIAN" "27") - '("myanmar" "G_UNICODE_SCRIPT_MYANMAR" "28") - '("ogham" "G_UNICODE_SCRIPT_OGHAM" "29") - '("old-italic" "G_UNICODE_SCRIPT_OLD_ITALIC" "30") - '("oriya" "G_UNICODE_SCRIPT_ORIYA" "31") - '("runic" "G_UNICODE_SCRIPT_RUNIC" "32") - '("sinhala" "G_UNICODE_SCRIPT_SINHALA" "33") - '("syriac" "G_UNICODE_SCRIPT_SYRIAC" "34") - '("tamil" "G_UNICODE_SCRIPT_TAMIL" "35") - '("telugu" "G_UNICODE_SCRIPT_TELUGU" "36") - '("thaana" "G_UNICODE_SCRIPT_THAANA" "37") - '("thai" "G_UNICODE_SCRIPT_THAI" "38") - '("tibetan" "G_UNICODE_SCRIPT_TIBETAN" "39") - '("canadian-aboriginal" "G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL" "40") - '("yi" "G_UNICODE_SCRIPT_YI" "41") - '("tagalog" "G_UNICODE_SCRIPT_TAGALOG" "42") - '("hanunoo" "G_UNICODE_SCRIPT_HANUNOO" "43") - '("buhid" "G_UNICODE_SCRIPT_BUHID" "44") - '("tagbanwa" "G_UNICODE_SCRIPT_TAGBANWA" "45") - '("braille" "G_UNICODE_SCRIPT_BRAILLE" "46") - '("cypriot" "G_UNICODE_SCRIPT_CYPRIOT" "47") - '("limbu" "G_UNICODE_SCRIPT_LIMBU" "48") - '("osmanya" "G_UNICODE_SCRIPT_OSMANYA" "49") - '("shavian" "G_UNICODE_SCRIPT_SHAVIAN" "50") - '("linear-b" "G_UNICODE_SCRIPT_LINEAR_B" "51") - '("tai-le" "G_UNICODE_SCRIPT_TAI_LE" "52") - '("ugaritic" "G_UNICODE_SCRIPT_UGARITIC" "53") - '("new-tai-lue" "G_UNICODE_SCRIPT_NEW_TAI_LUE" "54") - '("buginese" "G_UNICODE_SCRIPT_BUGINESE" "55") - '("glagolitic" "G_UNICODE_SCRIPT_GLAGOLITIC" "56") - '("tifinagh" "G_UNICODE_SCRIPT_TIFINAGH" "57") - '("syloti-nagri" "G_UNICODE_SCRIPT_SYLOTI_NAGRI" "58") - '("old-persian" "G_UNICODE_SCRIPT_OLD_PERSIAN" "59") - '("kharoshthi" "G_UNICODE_SCRIPT_KHAROSHTHI" "60") - '("unknown" "G_UNICODE_SCRIPT_UNKNOWN" "61") - '("balinese" "G_UNICODE_SCRIPT_BALINESE" "62") - '("cuneiform" "G_UNICODE_SCRIPT_CUNEIFORM" "63") - '("phoenician" "G_UNICODE_SCRIPT_PHOENICIAN" "64") - '("phags-pa" "G_UNICODE_SCRIPT_PHAGS_PA" "65") - '("nko" "G_UNICODE_SCRIPT_NKO" "66") - ) -) - -(define-enum-extended NormalizeMode - (in-module "G") - (c-name "GNormalizeMode") - (values - '("default" "G_NORMALIZE_DEFAULT" "0") - '("nfd" "G_NORMALIZE_NFD" "#error") - '("default-compose" "G_NORMALIZE_DEFAULT_COMPOSE" "1") - '("nfc" "G_NORMALIZE_NFC" "1") - '("all" "G_NORMALIZE_ALL" "2") - '("nfkd" "G_NORMALIZE_NFKD" "2") - '("all-compose" "G_NORMALIZE_ALL_COMPOSE" "3") - '("nfkc" "G_NORMALIZE_NFKC" "3") - ) -) - -;; From /opt/gnome218/include/glib-2.0/glib/gutils.h - -(define-enum-extended UserDirectory - (in-module "G") - (c-name "GUserDirectory") - (values - '("directory-desktop" "G_USER_DIRECTORY_DESKTOP" "0") - '("directory-documents" "G_USER_DIRECTORY_DOCUMENTS" "1") - '("directory-download" "G_USER_DIRECTORY_DOWNLOAD" "2") - '("directory-music" "G_USER_DIRECTORY_MUSIC" "3") - '("directory-pictures" "G_USER_DIRECTORY_PICTURES" "4") - '("directory-public-share" "G_USER_DIRECTORY_PUBLIC_SHARE" "5") - '("directory-templates" "G_USER_DIRECTORY_TEMPLATES" "6") - '("directory-videos" "G_USER_DIRECTORY_VIDEOS" "7") - '("n-directories" "G_USER_N_DIRECTORIES" "8") - ) -) - diff --git a/libs/glibmm2/glib/src/glib_functions.defs b/libs/glibmm2/glib/src/glib_functions.defs deleted file mode 100644 index b5206aae9c..0000000000 --- a/libs/glibmm2/glib/src/glib_functions.defs +++ /dev/null @@ -1,10931 +0,0 @@ -;; -*- scheme -*- -; object definitions ... -;; Enumerations and flags ... - -(define-enum FileError - (in-module "GBookmark") - (c-name "GBookmarkFileError") - (gtype-id "G_TYPE_BOOKMARK_FILE_ERROR") - (values - '("invalid-uri" "G_BOOKMARK_FILE_ERROR_INVALID_URI") - '("invalid-value" "G_BOOKMARK_FILE_ERROR_INVALID_VALUE") - '("app-not-registered" "G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED") - '("uri-not-found" "G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND") - '("read" "G_BOOKMARK_FILE_ERROR_READ") - '("unknown-encoding" "G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING") - '("write" "G_BOOKMARK_FILE_ERROR_WRITE") - '("file-not-found" "G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND") - ) -) - -(define-flags ArrayFlags - (in-module "GBSearch") - (c-name "GBSearchArrayFlags") - (gtype-id "G_TYPE_B_SEARCH_ARRAY_FLAGS") - (values - '("lign-power2" "G_BSEARCH_ARRAY_ALIGN_POWER2") - '("uto-shrink" "G_BSEARCH_ARRAY_AUTO_SHRINK") - ) -) - -(define-enum Type - (in-module "GChecksum") - (c-name "GChecksumType") - (gtype-id "G_TYPE_CHECKSUM_TYPE") - (values - '("md5" "G_CHECKSUM_MD5") - '("sha1" "G_CHECKSUM_SHA1") - '("sha256" "G_CHECKSUM_SHA256") - ) -) - -(define-enum Error - (in-module "GConvert") - (c-name "GConvertError") - (gtype-id "G_TYPE_CONVERT_ERROR") - (values - '("no-conversion" "G_CONVERT_ERROR_NO_CONVERSION") - '("illegal-sequence" "G_CONVERT_ERROR_ILLEGAL_SEQUENCE") - '("failed" "G_CONVERT_ERROR_FAILED") - '("partial-input" "G_CONVERT_ERROR_PARTIAL_INPUT") - '("bad-uri" "G_CONVERT_ERROR_BAD_URI") - '("not-absolute-path" "G_CONVERT_ERROR_NOT_ABSOLUTE_PATH") - ) -) - -(define-enum DMY - (in-module "GDate") - (c-name "GDateDMY") - (gtype-id "G_TYPE_DATE_DMY") - (values - '("day" "G_DATE_DAY") - '("month" "G_DATE_MONTH") - '("year" "G_DATE_YEAR") - ) -) - -(define-enum Weekday - (in-module "GDate") - (c-name "GDateWeekday") - (gtype-id "G_TYPE_DATE_WEEKDAY") - (values - '("bad-weekday" "G_DATE_BAD_WEEKDAY") - '("monday" "G_DATE_MONDAY") - '("tuesday" "G_DATE_TUESDAY") - '("wednesday" "G_DATE_WEDNESDAY") - '("thursday" "G_DATE_THURSDAY") - '("friday" "G_DATE_FRIDAY") - '("saturday" "G_DATE_SATURDAY") - '("sunday" "G_DATE_SUNDAY") - ) -) - -(define-enum Month - (in-module "GDate") - (c-name "GDateMonth") - (gtype-id "G_TYPE_DATE_MONTH") - (values - '("bad-month" "G_DATE_BAD_MONTH") - '("january" "G_DATE_JANUARY") - '("february" "G_DATE_FEBRUARY") - '("march" "G_DATE_MARCH") - '("april" "G_DATE_APRIL") - '("may" "G_DATE_MAY") - '("june" "G_DATE_JUNE") - '("july" "G_DATE_JULY") - '("august" "G_DATE_AUGUST") - '("september" "G_DATE_SEPTEMBER") - '("october" "G_DATE_OCTOBER") - '("november" "G_DATE_NOVEMBER") - '("december" "G_DATE_DECEMBER") - ) -) - -(define-flags Flag - (in-module "GDebug") - (c-name "GDebugFlag") - (gtype-id "G_TYPE_DEBUG_FLAG") - (values - '("warnings" "G_DEBUG_FATAL_WARNINGS") - '("criticals" "G_DEBUG_FATAL_CRITICALS") - ) -) - -(define-enum Error - (in-module "GFile") - (c-name "GFileError") - (gtype-id "G_TYPE_FILE_ERROR") - (values - '("exist" "G_FILE_ERROR_EXIST") - '("isdir" "G_FILE_ERROR_ISDIR") - '("acces" "G_FILE_ERROR_ACCES") - '("nametoolong" "G_FILE_ERROR_NAMETOOLONG") - '("noent" "G_FILE_ERROR_NOENT") - '("notdir" "G_FILE_ERROR_NOTDIR") - '("nxio" "G_FILE_ERROR_NXIO") - '("nodev" "G_FILE_ERROR_NODEV") - '("rofs" "G_FILE_ERROR_ROFS") - '("txtbsy" "G_FILE_ERROR_TXTBSY") - '("fault" "G_FILE_ERROR_FAULT") - '("loop" "G_FILE_ERROR_LOOP") - '("nospc" "G_FILE_ERROR_NOSPC") - '("nomem" "G_FILE_ERROR_NOMEM") - '("mfile" "G_FILE_ERROR_MFILE") - '("nfile" "G_FILE_ERROR_NFILE") - '("badf" "G_FILE_ERROR_BADF") - '("inval" "G_FILE_ERROR_INVAL") - '("pipe" "G_FILE_ERROR_PIPE") - '("again" "G_FILE_ERROR_AGAIN") - '("intr" "G_FILE_ERROR_INTR") - '("io" "G_FILE_ERROR_IO") - '("perm" "G_FILE_ERROR_PERM") - '("nosys" "G_FILE_ERROR_NOSYS") - '("failed" "G_FILE_ERROR_FAILED") - ) -) - -(define-flags Test - (in-module "GFile") - (c-name "GFileTest") - (gtype-id "G_TYPE_FILE_TEST") - (values - '("is-regular" "G_FILE_TEST_IS_REGULAR") - '("is-symlink" "G_FILE_TEST_IS_SYMLINK") - '("is-dir" "G_FILE_TEST_IS_DIR") - '("is-executable" "G_FILE_TEST_IS_EXECUTABLE") - '("exists" "G_FILE_TEST_EXISTS") - ) -) - -(define-flags FlagMask - (in-module "GHook") - (c-name "GHookFlagMask") - (gtype-id "G_TYPE_HOOK_FLAG_MASK") - (values - '("active" "G_HOOK_FLAG_ACTIVE") - '("in-call" "G_HOOK_FLAG_IN_CALL") - '("mask" "G_HOOK_FLAG_MASK") - ) -) - -(define-enum r - (in-module "GIOErro") - (c-name "GIOError") - (gtype-id "G_TYPE_IO_ERROR") - (values - '("none" "G_IO_ERROR_NONE") - '("again" "G_IO_ERROR_AGAIN") - '("inval" "G_IO_ERROR_INVAL") - '("unknown" "G_IO_ERROR_UNKNOWN") - ) -) - -(define-enum Error - (in-module "GIOChannel") - (c-name "GIOChannelError") - (gtype-id "G_TYPE_IO_CHANNEL_ERROR") - (values - '("fbig" "G_IO_CHANNEL_ERROR_FBIG") - '("inval" "G_IO_CHANNEL_ERROR_INVAL") - '("io" "G_IO_CHANNEL_ERROR_IO") - '("isdir" "G_IO_CHANNEL_ERROR_ISDIR") - '("nospc" "G_IO_CHANNEL_ERROR_NOSPC") - '("nxio" "G_IO_CHANNEL_ERROR_NXIO") - '("overflow" "G_IO_CHANNEL_ERROR_OVERFLOW") - '("pipe" "G_IO_CHANNEL_ERROR_PIPE") - '("failed" "G_IO_CHANNEL_ERROR_FAILED") - ) -) - -(define-enum s - (in-module "GIOStatu") - (c-name "GIOStatus") - (gtype-id "G_TYPE_IO_STATUS") - (values - '("error" "G_IO_STATUS_ERROR") - '("normal" "G_IO_STATUS_NORMAL") - '("eof" "G_IO_STATUS_EOF") - '("again" "G_IO_STATUS_AGAIN") - ) -) - -(define-enum Type - (in-module "GSeek") - (c-name "GSeekType") - (gtype-id "G_TYPE_SEEK_TYPE") - (values - '("cur" "G_SEEK_CUR") - '("set" "G_SEEK_SET") - '("end" "G_SEEK_END") - ) -) - -(define-enum n - (in-module "GIOConditio") - (c-name "GIOCondition") - (gtype-id "G_TYPE_IO_CONDITION") - (values - '("in" "G_IO_IN") - '("out" "G_IO_OUT") - '("pri" "G_IO_PRI") - '("err" "G_IO_ERR") - '("hup" "G_IO_HUP") - '("nval" "G_IO_NVAL") - ) -) - -(define-flags s - (in-module "GIOFlag") - (c-name "GIOFlags") - (gtype-id "G_TYPE_IO_FLAGS") - (values - '("append" "G_IO_FLAG_APPEND") - '("nonblock" "G_IO_FLAG_NONBLOCK") - '("is-readable" "G_IO_FLAG_IS_READABLE") - '("is-writeable" "G_IO_FLAG_IS_WRITEABLE") - '("is-seekable" "G_IO_FLAG_IS_SEEKABLE") - '("mask" "G_IO_FLAG_MASK") - '("get-mask" "G_IO_FLAG_GET_MASK") - '("set-mask" "G_IO_FLAG_SET_MASK") - ) -) - -(define-enum FileError - (in-module "GKey") - (c-name "GKeyFileError") - (gtype-id "G_TYPE_KEY_FILE_ERROR") - (values - '("unknown-encoding" "G_KEY_FILE_ERROR_UNKNOWN_ENCODING") - '("parse" "G_KEY_FILE_ERROR_PARSE") - '("not-found" "G_KEY_FILE_ERROR_NOT_FOUND") - '("key-not-found" "G_KEY_FILE_ERROR_KEY_NOT_FOUND") - '("group-not-found" "G_KEY_FILE_ERROR_GROUP_NOT_FOUND") - '("invalid-value" "G_KEY_FILE_ERROR_INVALID_VALUE") - ) -) - -(define-flags FileFlags - (in-module "GKey") - (c-name "GKeyFileFlags") - (gtype-id "G_TYPE_KEY_FILE_FLAGS") - (values - '("none" "G_KEY_FILE_NONE") - '("keep-comments" "G_KEY_FILE_KEEP_COMMENTS") - '("keep-translations" "G_KEY_FILE_KEEP_TRANSLATIONS") - ) -) - -(define-enum Error - (in-module "GMarkup") - (c-name "GMarkupError") - (gtype-id "G_TYPE_MARKUP_ERROR") - (values - '("bad-utf8" "G_MARKUP_ERROR_BAD_UTF8") - '("empty" "G_MARKUP_ERROR_EMPTY") - '("parse" "G_MARKUP_ERROR_PARSE") - '("unknown-element" "G_MARKUP_ERROR_UNKNOWN_ELEMENT") - '("unknown-attribute" "G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE") - '("invalid-content" "G_MARKUP_ERROR_INVALID_CONTENT") - '("missing-attribute" "G_MARKUP_ERROR_MISSING_ATTRIBUTE") - ) -) - -(define-flags ParseFlags - (in-module "GMarkup") - (c-name "GMarkupParseFlags") - (gtype-id "G_TYPE_MARKUP_PARSE_FLAGS") - (values - '("do-not-use-this-unsupported-flag" "G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG") - '("treat-cdata-as-text" "G_MARKUP_TREAT_CDATA_AS_TEXT") - '("prefix-error-position" "G_MARKUP_PREFIX_ERROR_POSITION") - ) -) - -(define-flags CollectType - (in-module "GMarkup") - (c-name "GMarkupCollectType") - (gtype-id "G_TYPE_MARKUP_COLLECT_TYPE") - (values - '("invalid" "G_MARKUP_COLLECT_INVALID") - '("string" "G_MARKUP_COLLECT_STRING") - '("strdup" "G_MARKUP_COLLECT_STRDUP") - '("boolean" "G_MARKUP_COLLECT_BOOLEAN") - '("tristate" "G_MARKUP_COLLECT_TRISTATE") - '("optional" "G_MARKUP_COLLECT_OPTIONAL") - ) -) - -(define-flags LevelFlags - (in-module "GLog") - (c-name "GLogLevelFlags") - (gtype-id "G_TYPE_LOG_LEVEL_FLAGS") - (values - '("flag-recursion" "G_LOG_FLAG_RECURSION") - '("flag-fatal" "G_LOG_FLAG_FATAL") - '("level-error" "G_LOG_LEVEL_ERROR") - '("level-critical" "G_LOG_LEVEL_CRITICAL") - '("level-warning" "G_LOG_LEVEL_WARNING") - '("level-message" "G_LOG_LEVEL_MESSAGE") - '("level-info" "G_LOG_LEVEL_INFO") - '("level-debug" "G_LOG_LEVEL_DEBUG") - '("level-mask" "G_LOG_LEVEL_MASK") - ) -) - -(define-flags Flags - (in-module "GTraverse") - (c-name "GTraverseFlags") - (gtype-id "G_TYPE_TRAVERSE_FLAGS") - (values - '("leaves" "G_TRAVERSE_LEAVES") - '("non-leaves" "G_TRAVERSE_NON_LEAVES") - '("all" "G_TRAVERSE_ALL") - '("mask" "G_TRAVERSE_MASK") - '("leafs" "G_TRAVERSE_LEAFS") - '("non-leafs" "G_TRAVERSE_NON_LEAFS") - ) -) - -(define-enum Type - (in-module "GTraverse") - (c-name "GTraverseType") - (gtype-id "G_TYPE_TRAVERSE_TYPE") - (values - '("in-order" "G_IN_ORDER") - '("pre-order" "G_PRE_ORDER") - '("post-order" "G_POST_ORDER") - '("level-order" "G_LEVEL_ORDER") - ) -) - -(define-flags Flags - (in-module "GOption") - (c-name "GOptionFlags") - (gtype-id "G_TYPE_OPTION_FLAGS") - (values - '("hidden" "G_OPTION_FLAG_HIDDEN") - '("in-main" "G_OPTION_FLAG_IN_MAIN") - '("reverse" "G_OPTION_FLAG_REVERSE") - '("no-arg" "G_OPTION_FLAG_NO_ARG") - '("filename" "G_OPTION_FLAG_FILENAME") - '("optional-arg" "G_OPTION_FLAG_OPTIONAL_ARG") - '("noalias" "G_OPTION_FLAG_NOALIAS") - ) -) - -(define-enum Arg - (in-module "GOption") - (c-name "GOptionArg") - (gtype-id "G_TYPE_OPTION_ARG") - (values - '("none" "G_OPTION_ARG_NONE") - '("string" "G_OPTION_ARG_STRING") - '("int" "G_OPTION_ARG_INT") - '("callback" "G_OPTION_ARG_CALLBACK") - '("filename" "G_OPTION_ARG_FILENAME") - '("string-array" "G_OPTION_ARG_STRING_ARRAY") - '("filename-array" "G_OPTION_ARG_FILENAME_ARRAY") - '("double" "G_OPTION_ARG_DOUBLE") - '("int64" "G_OPTION_ARG_INT64") - ) -) - -(define-enum Error - (in-module "GOption") - (c-name "GOptionError") - (gtype-id "G_TYPE_OPTION_ERROR") - (values - '("unknown-option" "G_OPTION_ERROR_UNKNOWN_OPTION") - '("bad-value" "G_OPTION_ERROR_BAD_VALUE") - '("failed" "G_OPTION_ERROR_FAILED") - ) -) - -(define-enum Error - (in-module "GRegex") - (c-name "GRegexError") - (gtype-id "G_TYPE_REGEX_ERROR") - (values - '("compile" "G_REGEX_ERROR_COMPILE") - '("optimize" "G_REGEX_ERROR_OPTIMIZE") - '("replace" "G_REGEX_ERROR_REPLACE") - '("match" "G_REGEX_ERROR_MATCH") - '("internal" "G_REGEX_ERROR_INTERNAL") - '("stray-backslash" "G_REGEX_ERROR_STRAY_BACKSLASH") - '("missing-control-char" "G_REGEX_ERROR_MISSING_CONTROL_CHAR") - '("unrecognized-escape" "G_REGEX_ERROR_UNRECOGNIZED_ESCAPE") - '("quantifiers-out-of-order" "G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER") - '("quantifier-too-big" "G_REGEX_ERROR_QUANTIFIER_TOO_BIG") - '("unterminated-character-class" "G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS") - '("invalid-escape-in-character-class" "G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS") - '("range-out-of-order" "G_REGEX_ERROR_RANGE_OUT_OF_ORDER") - '("nothing-to-repeat" "G_REGEX_ERROR_NOTHING_TO_REPEAT") - '("unrecognized-character" "G_REGEX_ERROR_UNRECOGNIZED_CHARACTER") - '("posix-named-class-outside-class" "G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS") - '("unmatched-parenthesis" "G_REGEX_ERROR_UNMATCHED_PARENTHESIS") - '("inexistent-subpattern-reference" "G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE") - '("unterminated-comment" "G_REGEX_ERROR_UNTERMINATED_COMMENT") - '("expression-too-large" "G_REGEX_ERROR_EXPRESSION_TOO_LARGE") - '("memory-error" "G_REGEX_ERROR_MEMORY_ERROR") - '("variable-length-lookbehind" "G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND") - '("malformed-condition" "G_REGEX_ERROR_MALFORMED_CONDITION") - '("too-many-conditional-branches" "G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES") - '("assertion-expected" "G_REGEX_ERROR_ASSERTION_EXPECTED") - '("unknown-posix-class-name" "G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME") - '("posix-collating-elements-not-supported" "G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED") - '("hex-code-too-large" "G_REGEX_ERROR_HEX_CODE_TOO_LARGE") - '("invalid-condition" "G_REGEX_ERROR_INVALID_CONDITION") - '("single-byte-match-in-lookbehind" "G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND") - '("infinite-loop" "G_REGEX_ERROR_INFINITE_LOOP") - '("missing-subpattern-name-terminator" "G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR") - '("duplicate-subpattern-name" "G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME") - '("malformed-property" "G_REGEX_ERROR_MALFORMED_PROPERTY") - '("unknown-property" "G_REGEX_ERROR_UNKNOWN_PROPERTY") - '("subpattern-name-too-long" "G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG") - '("too-many-subpatterns" "G_REGEX_ERROR_TOO_MANY_SUBPATTERNS") - '("invalid-octal-value" "G_REGEX_ERROR_INVALID_OCTAL_VALUE") - '("too-many-branches-in-define" "G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE") - '("define-repetion" "G_REGEX_ERROR_DEFINE_REPETION") - '("inconsistent-newline-options" "G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS") - '("missing-back-reference" "G_REGEX_ERROR_MISSING_BACK_REFERENCE") - ) -) - -(define-flags CompileFlags - (in-module "GRegex") - (c-name "GRegexCompileFlags") - (gtype-id "G_TYPE_REGEX_COMPILE_FLAGS") - (values - '("caseless" "G_REGEX_CASELESS") - '("multiline" "G_REGEX_MULTILINE") - '("dotall" "G_REGEX_DOTALL") - '("extended" "G_REGEX_EXTENDED") - '("anchored" "G_REGEX_ANCHORED") - '("dollar-endonly" "G_REGEX_DOLLAR_ENDONLY") - '("ungreedy" "G_REGEX_UNGREEDY") - '("raw" "G_REGEX_RAW") - '("no-auto-capture" "G_REGEX_NO_AUTO_CAPTURE") - '("optimize" "G_REGEX_OPTIMIZE") - '("dupnames" "G_REGEX_DUPNAMES") - '("newline-cr" "G_REGEX_NEWLINE_CR") - '("newline-lf" "G_REGEX_NEWLINE_LF") - '("newline-crlf" "G_REGEX_NEWLINE_CRLF") - ) -) - -(define-flags MatchFlags - (in-module "GRegex") - (c-name "GRegexMatchFlags") - (gtype-id "G_TYPE_REGEX_MATCH_FLAGS") - (values - '("anchored" "G_REGEX_MATCH_ANCHORED") - '("notbol" "G_REGEX_MATCH_NOTBOL") - '("noteol" "G_REGEX_MATCH_NOTEOL") - '("notempty" "G_REGEX_MATCH_NOTEMPTY") - '("partial" "G_REGEX_MATCH_PARTIAL") - '("newline-cr" "G_REGEX_MATCH_NEWLINE_CR") - '("newline-lf" "G_REGEX_MATCH_NEWLINE_LF") - '("newline-crlf" "G_REGEX_MATCH_NEWLINE_CRLF") - '("newline-any" "G_REGEX_MATCH_NEWLINE_ANY") - ) -) - -(define-enum Type - (in-module "GError") - (c-name "GErrorType") - (gtype-id "G_TYPE_ERROR_TYPE") - (values - '("unknown" "G_ERR_UNKNOWN") - '("unexp-eof" "G_ERR_UNEXP_EOF") - '("unexp-eof-in-string" "G_ERR_UNEXP_EOF_IN_STRING") - '("unexp-eof-in-comment" "G_ERR_UNEXP_EOF_IN_COMMENT") - '("non-digit-in-const" "G_ERR_NON_DIGIT_IN_CONST") - '("digit-radix" "G_ERR_DIGIT_RADIX") - '("float-radix" "G_ERR_FLOAT_RADIX") - '("float-malformed" "G_ERR_FLOAT_MALFORMED") - ) -) - -(define-enum Error - (in-module "GShell") - (c-name "GShellError") - (gtype-id "G_TYPE_SHELL_ERROR") - (values - '("bad-quoting" "G_SHELL_ERROR_BAD_QUOTING") - '("empty-string" "G_SHELL_ERROR_EMPTY_STRING") - '("failed" "G_SHELL_ERROR_FAILED") - ) -) - -(define-enum Config - (in-module "GSlice") - (c-name "GSliceConfig") - (gtype-id "G_TYPE_SLICE_CONFIG") - (values - '("always-malloc" "G_SLICE_CONFIG_ALWAYS_MALLOC") - '("bypass-magazines" "G_SLICE_CONFIG_BYPASS_MAGAZINES") - '("working-set-msecs" "G_SLICE_CONFIG_WORKING_SET_MSECS") - '("color-increment" "G_SLICE_CONFIG_COLOR_INCREMENT") - '("chunk-sizes" "G_SLICE_CONFIG_CHUNK_SIZES") - '("contention-counter" "G_SLICE_CONFIG_CONTENTION_COUNTER") - ) -) - -(define-enum Error - (in-module "GSpawn") - (c-name "GSpawnError") - (gtype-id "G_TYPE_SPAWN_ERROR") - (values - '("fork" "G_SPAWN_ERROR_FORK") - '("read" "G_SPAWN_ERROR_READ") - '("chdir" "G_SPAWN_ERROR_CHDIR") - '("acces" "G_SPAWN_ERROR_ACCES") - '("perm" "G_SPAWN_ERROR_PERM") - '("2big" "G_SPAWN_ERROR_2BIG") - '("noexec" "G_SPAWN_ERROR_NOEXEC") - '("nametoolong" "G_SPAWN_ERROR_NAMETOOLONG") - '("noent" "G_SPAWN_ERROR_NOENT") - '("nomem" "G_SPAWN_ERROR_NOMEM") - '("notdir" "G_SPAWN_ERROR_NOTDIR") - '("loop" "G_SPAWN_ERROR_LOOP") - '("txtbusy" "G_SPAWN_ERROR_TXTBUSY") - '("io" "G_SPAWN_ERROR_IO") - '("nfile" "G_SPAWN_ERROR_NFILE") - '("mfile" "G_SPAWN_ERROR_MFILE") - '("inval" "G_SPAWN_ERROR_INVAL") - '("isdir" "G_SPAWN_ERROR_ISDIR") - '("libbad" "G_SPAWN_ERROR_LIBBAD") - '("failed" "G_SPAWN_ERROR_FAILED") - ) -) - -(define-flags Flags - (in-module "GSpawn") - (c-name "GSpawnFlags") - (gtype-id "G_TYPE_SPAWN_FLAGS") - (values - '("leave-descriptors-open" "G_SPAWN_LEAVE_DESCRIPTORS_OPEN") - '("do-not-reap-child" "G_SPAWN_DO_NOT_REAP_CHILD") - '("search-path" "G_SPAWN_SEARCH_PATH") - '("stdout-to-dev-null" "G_SPAWN_STDOUT_TO_DEV_NULL") - '("stderr-to-dev-null" "G_SPAWN_STDERR_TO_DEV_NULL") - '("child-inherits-stdin" "G_SPAWN_CHILD_INHERITS_STDIN") - '("file-and-argv-zero" "G_SPAWN_FILE_AND_ARGV_ZERO") - ) -) - -(define-flags Type - (in-module "GAscii") - (c-name "GAsciiType") - (gtype-id "G_TYPE_ASCII_TYPE") - (values - '("alnum" "G_ASCII_ALNUM") - '("alpha" "G_ASCII_ALPHA") - '("cntrl" "G_ASCII_CNTRL") - '("digit" "G_ASCII_DIGIT") - '("graph" "G_ASCII_GRAPH") - '("lower" "G_ASCII_LOWER") - '("print" "G_ASCII_PRINT") - '("punct" "G_ASCII_PUNCT") - '("space" "G_ASCII_SPACE") - '("upper" "G_ASCII_UPPER") - '("xdigit" "G_ASCII_XDIGIT") - ) -) - -(define-flags TrapFlags - (in-module "GTest") - (c-name "GTestTrapFlags") - (gtype-id "G_TYPE_TEST_TRAP_FLAGS") - (values - '("silence-stdout" "G_TEST_TRAP_SILENCE_STDOUT") - '("silence-stderr" "G_TEST_TRAP_SILENCE_STDERR") - '("inherit-stdin" "G_TEST_TRAP_INHERIT_STDIN") - ) -) - -(define-enum LogType - (in-module "GTest") - (c-name "GTestLogType") - (gtype-id "G_TYPE_TEST_LOG_TYPE") - (values - '("none" "G_TEST_LOG_NONE") - '("error" "G_TEST_LOG_ERROR") - '("start-binary" "G_TEST_LOG_START_BINARY") - '("list-case" "G_TEST_LOG_LIST_CASE") - '("skip-case" "G_TEST_LOG_SKIP_CASE") - '("start-case" "G_TEST_LOG_START_CASE") - '("stop-case" "G_TEST_LOG_STOP_CASE") - '("min-result" "G_TEST_LOG_MIN_RESULT") - '("max-result" "G_TEST_LOG_MAX_RESULT") - '("message" "G_TEST_LOG_MESSAGE") - ) -) - -(define-enum Error - (in-module "GThread") - (c-name "GThreadError") - (gtype-id "G_TYPE_THREAD_ERROR") - (values - '("n" "G_THREAD_ERROR_AGAIN") - ) -) - -(define-enum Priority - (in-module "GThread") - (c-name "GThreadPriority") - (gtype-id "G_TYPE_THREAD_PRIORITY") - (values - '("low" "G_THREAD_PRIORITY_LOW") - '("normal" "G_THREAD_PRIORITY_NORMAL") - '("high" "G_THREAD_PRIORITY_HIGH") - '("urgent" "G_THREAD_PRIORITY_URGENT") - ) -) - -(define-enum Status - (in-module "GOnce") - (c-name "GOnceStatus") - (gtype-id "G_TYPE_ONCE_STATUS") - (values - '("notcalled" "G_ONCE_STATUS_NOTCALLED") - '("progress" "G_ONCE_STATUS_PROGRESS") - '("ready" "G_ONCE_STATUS_READY") - ) -) - -(define-enum Type - (in-module "GUnicode") - (c-name "GUnicodeType") - (gtype-id "G_TYPE_UNICODE_TYPE") - (values - '("control" "G_UNICODE_CONTROL") - '("format" "G_UNICODE_FORMAT") - '("unassigned" "G_UNICODE_UNASSIGNED") - '("private-use" "G_UNICODE_PRIVATE_USE") - '("surrogate" "G_UNICODE_SURROGATE") - '("lowercase-letter" "G_UNICODE_LOWERCASE_LETTER") - '("modifier-letter" "G_UNICODE_MODIFIER_LETTER") - '("other-letter" "G_UNICODE_OTHER_LETTER") - '("titlecase-letter" "G_UNICODE_TITLECASE_LETTER") - '("uppercase-letter" "G_UNICODE_UPPERCASE_LETTER") - '("combining-mark" "G_UNICODE_COMBINING_MARK") - '("enclosing-mark" "G_UNICODE_ENCLOSING_MARK") - '("non-spacing-mark" "G_UNICODE_NON_SPACING_MARK") - '("decimal-number" "G_UNICODE_DECIMAL_NUMBER") - '("letter-number" "G_UNICODE_LETTER_NUMBER") - '("other-number" "G_UNICODE_OTHER_NUMBER") - '("connect-punctuation" "G_UNICODE_CONNECT_PUNCTUATION") - '("dash-punctuation" "G_UNICODE_DASH_PUNCTUATION") - '("close-punctuation" "G_UNICODE_CLOSE_PUNCTUATION") - '("final-punctuation" "G_UNICODE_FINAL_PUNCTUATION") - '("initial-punctuation" "G_UNICODE_INITIAL_PUNCTUATION") - '("other-punctuation" "G_UNICODE_OTHER_PUNCTUATION") - '("open-punctuation" "G_UNICODE_OPEN_PUNCTUATION") - '("currency-symbol" "G_UNICODE_CURRENCY_SYMBOL") - '("modifier-symbol" "G_UNICODE_MODIFIER_SYMBOL") - '("math-symbol" "G_UNICODE_MATH_SYMBOL") - '("other-symbol" "G_UNICODE_OTHER_SYMBOL") - '("line-separator" "G_UNICODE_LINE_SEPARATOR") - '("paragraph-separator" "G_UNICODE_PARAGRAPH_SEPARATOR") - '("space-separator" "G_UNICODE_SPACE_SEPARATOR") - ) -) - -(define-enum BreakType - (in-module "GUnicode") - (c-name "GUnicodeBreakType") - (gtype-id "G_TYPE_UNICODE_BREAK_TYPE") - (values - '("mandatory" "G_UNICODE_BREAK_MANDATORY") - '("carriage-return" "G_UNICODE_BREAK_CARRIAGE_RETURN") - '("line-feed" "G_UNICODE_BREAK_LINE_FEED") - '("combining-mark" "G_UNICODE_BREAK_COMBINING_MARK") - '("surrogate" "G_UNICODE_BREAK_SURROGATE") - '("zero-width-space" "G_UNICODE_BREAK_ZERO_WIDTH_SPACE") - '("inseparable" "G_UNICODE_BREAK_INSEPARABLE") - '("non-breaking-glue" "G_UNICODE_BREAK_NON_BREAKING_GLUE") - '("contingent" "G_UNICODE_BREAK_CONTINGENT") - '("space" "G_UNICODE_BREAK_SPACE") - '("after" "G_UNICODE_BREAK_AFTER") - '("before" "G_UNICODE_BREAK_BEFORE") - '("before-and-after" "G_UNICODE_BREAK_BEFORE_AND_AFTER") - '("hyphen" "G_UNICODE_BREAK_HYPHEN") - '("non-starter" "G_UNICODE_BREAK_NON_STARTER") - '("open-punctuation" "G_UNICODE_BREAK_OPEN_PUNCTUATION") - '("close-punctuation" "G_UNICODE_BREAK_CLOSE_PUNCTUATION") - '("quotation" "G_UNICODE_BREAK_QUOTATION") - '("exclamation" "G_UNICODE_BREAK_EXCLAMATION") - '("ideographic" "G_UNICODE_BREAK_IDEOGRAPHIC") - '("numeric" "G_UNICODE_BREAK_NUMERIC") - '("infix-separator" "G_UNICODE_BREAK_INFIX_SEPARATOR") - '("symbol" "G_UNICODE_BREAK_SYMBOL") - '("alphabetic" "G_UNICODE_BREAK_ALPHABETIC") - '("prefix" "G_UNICODE_BREAK_PREFIX") - '("postfix" "G_UNICODE_BREAK_POSTFIX") - '("complex-context" "G_UNICODE_BREAK_COMPLEX_CONTEXT") - '("ambiguous" "G_UNICODE_BREAK_AMBIGUOUS") - '("unknown" "G_UNICODE_BREAK_UNKNOWN") - '("next-line" "G_UNICODE_BREAK_NEXT_LINE") - '("word-joiner" "G_UNICODE_BREAK_WORD_JOINER") - '("hangul-l-jamo" "G_UNICODE_BREAK_HANGUL_L_JAMO") - '("hangul-v-jamo" "G_UNICODE_BREAK_HANGUL_V_JAMO") - '("hangul-t-jamo" "G_UNICODE_BREAK_HANGUL_T_JAMO") - '("hangul-lv-syllable" "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE") - '("hangul-lvt-syllable" "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE") - ) -) - -(define-enum Script - (in-module "GUnicode") - (c-name "GUnicodeScript") - (gtype-id "G_TYPE_UNICODE_SCRIPT") - (values - '("invalid-code" "G_UNICODE_SCRIPT_INVALID_CODE") - '("common" "G_UNICODE_SCRIPT_COMMON") - '("inherited" "G_UNICODE_SCRIPT_INHERITED") - '("arabic" "G_UNICODE_SCRIPT_ARABIC") - '("armenian" "G_UNICODE_SCRIPT_ARMENIAN") - '("bengali" "G_UNICODE_SCRIPT_BENGALI") - '("bopomofo" "G_UNICODE_SCRIPT_BOPOMOFO") - '("cherokee" "G_UNICODE_SCRIPT_CHEROKEE") - '("coptic" "G_UNICODE_SCRIPT_COPTIC") - '("cyrillic" "G_UNICODE_SCRIPT_CYRILLIC") - '("deseret" "G_UNICODE_SCRIPT_DESERET") - '("devanagari" "G_UNICODE_SCRIPT_DEVANAGARI") - '("ethiopic" "G_UNICODE_SCRIPT_ETHIOPIC") - '("georgian" "G_UNICODE_SCRIPT_GEORGIAN") - '("gothic" "G_UNICODE_SCRIPT_GOTHIC") - '("greek" "G_UNICODE_SCRIPT_GREEK") - '("gujarati" "G_UNICODE_SCRIPT_GUJARATI") - '("gurmukhi" "G_UNICODE_SCRIPT_GURMUKHI") - '("han" "G_UNICODE_SCRIPT_HAN") - '("hangul" "G_UNICODE_SCRIPT_HANGUL") - '("hebrew" "G_UNICODE_SCRIPT_HEBREW") - '("hiragana" "G_UNICODE_SCRIPT_HIRAGANA") - '("kannada" "G_UNICODE_SCRIPT_KANNADA") - '("katakana" "G_UNICODE_SCRIPT_KATAKANA") - '("khmer" "G_UNICODE_SCRIPT_KHMER") - '("lao" "G_UNICODE_SCRIPT_LAO") - '("latin" "G_UNICODE_SCRIPT_LATIN") - '("malayalam" "G_UNICODE_SCRIPT_MALAYALAM") - '("mongolian" "G_UNICODE_SCRIPT_MONGOLIAN") - '("myanmar" "G_UNICODE_SCRIPT_MYANMAR") - '("ogham" "G_UNICODE_SCRIPT_OGHAM") - '("old-italic" "G_UNICODE_SCRIPT_OLD_ITALIC") - '("oriya" "G_UNICODE_SCRIPT_ORIYA") - '("runic" "G_UNICODE_SCRIPT_RUNIC") - '("sinhala" "G_UNICODE_SCRIPT_SINHALA") - '("syriac" "G_UNICODE_SCRIPT_SYRIAC") - '("tamil" "G_UNICODE_SCRIPT_TAMIL") - '("telugu" "G_UNICODE_SCRIPT_TELUGU") - '("thaana" "G_UNICODE_SCRIPT_THAANA") - '("thai" "G_UNICODE_SCRIPT_THAI") - '("tibetan" "G_UNICODE_SCRIPT_TIBETAN") - '("canadian-aboriginal" "G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL") - '("yi" "G_UNICODE_SCRIPT_YI") - '("tagalog" "G_UNICODE_SCRIPT_TAGALOG") - '("hanunoo" "G_UNICODE_SCRIPT_HANUNOO") - '("buhid" "G_UNICODE_SCRIPT_BUHID") - '("tagbanwa" "G_UNICODE_SCRIPT_TAGBANWA") - '("braille" "G_UNICODE_SCRIPT_BRAILLE") - '("cypriot" "G_UNICODE_SCRIPT_CYPRIOT") - '("limbu" "G_UNICODE_SCRIPT_LIMBU") - '("osmanya" "G_UNICODE_SCRIPT_OSMANYA") - '("shavian" "G_UNICODE_SCRIPT_SHAVIAN") - '("linear-b" "G_UNICODE_SCRIPT_LINEAR_B") - '("tai-le" "G_UNICODE_SCRIPT_TAI_LE") - '("ugaritic" "G_UNICODE_SCRIPT_UGARITIC") - '("new-tai-lue" "G_UNICODE_SCRIPT_NEW_TAI_LUE") - '("buginese" "G_UNICODE_SCRIPT_BUGINESE") - '("glagolitic" "G_UNICODE_SCRIPT_GLAGOLITIC") - '("tifinagh" "G_UNICODE_SCRIPT_TIFINAGH") - '("syloti-nagri" "G_UNICODE_SCRIPT_SYLOTI_NAGRI") - '("old-persian" "G_UNICODE_SCRIPT_OLD_PERSIAN") - '("kharoshthi" "G_UNICODE_SCRIPT_KHAROSHTHI") - '("unknown" "G_UNICODE_SCRIPT_UNKNOWN") - '("balinese" "G_UNICODE_SCRIPT_BALINESE") - '("cuneiform" "G_UNICODE_SCRIPT_CUNEIFORM") - '("phoenician" "G_UNICODE_SCRIPT_PHOENICIAN") - '("phags-pa" "G_UNICODE_SCRIPT_PHAGS_PA") - '("nko" "G_UNICODE_SCRIPT_NKO") - '("kayah-li" "G_UNICODE_SCRIPT_KAYAH_LI") - '("lepcha" "G_UNICODE_SCRIPT_LEPCHA") - '("rejang" "G_UNICODE_SCRIPT_REJANG") - '("sundanese" "G_UNICODE_SCRIPT_SUNDANESE") - '("saurashtra" "G_UNICODE_SCRIPT_SAURASHTRA") - '("cham" "G_UNICODE_SCRIPT_CHAM") - '("ol-chiki" "G_UNICODE_SCRIPT_OL_CHIKI") - '("vai" "G_UNICODE_SCRIPT_VAI") - '("carian" "G_UNICODE_SCRIPT_CARIAN") - '("lycian" "G_UNICODE_SCRIPT_LYCIAN") - '("lydian" "G_UNICODE_SCRIPT_LYDIAN") - ) -) - -(define-enum Mode - (in-module "GNormalize") - (c-name "GNormalizeMode") - (gtype-id "G_TYPE_NORMALIZE_MODE") - (values - '("default" "G_NORMALIZE_DEFAULT") - '("nfd" "G_NORMALIZE_NFD") - '("default-compose" "G_NORMALIZE_DEFAULT_COMPOSE") - '("nfc" "G_NORMALIZE_NFC") - '("all" "G_NORMALIZE_ALL") - '("nfkd" "G_NORMALIZE_NFKD") - '("all-compose" "G_NORMALIZE_ALL_COMPOSE") - '("nfkc" "G_NORMALIZE_NFKC") - ) -) - -(define-enum Directory - (in-module "GUser") - (c-name "GUserDirectory") - (gtype-id "G_TYPE_USER_DIRECTORY") - (values - '("directory-desktop" "G_USER_DIRECTORY_DESKTOP") - '("directory-documents" "G_USER_DIRECTORY_DOCUMENTS") - '("directory-download" "G_USER_DIRECTORY_DOWNLOAD") - '("directory-music" "G_USER_DIRECTORY_MUSIC") - '("directory-pictures" "G_USER_DIRECTORY_PICTURES") - '("directory-public-share" "G_USER_DIRECTORY_PUBLIC_SHARE") - '("directory-templates" "G_USER_DIRECTORY_TEMPLATES") - '("directory-videos" "G_USER_DIRECTORY_VIDEOS") - '("n-directories" "G_USER_N_DIRECTORIES") - ) -) - - -;; From galias.h - - - -;; From galloca.h - -(define-function alloca - (c-name "alloca") - (return-type "char*") - (parameters - ) -) - - - -;; From garray.h - -(define-function g_array_new - (c-name "g_array_new") - (is-constructor-of "GArray") - (return-type "GArray*") - (parameters - '("gboolean" "zero_terminated") - '("gboolean" "clear_") - '("guint" "element_size") - ) -) - -(define-function g_array_sized_new - (c-name "g_array_sized_new") - (is-constructor-of "GArraySized") - (return-type "GArray*") - (parameters - '("gboolean" "zero_terminated") - '("gboolean" "clear_") - '("guint" "element_size") - '("guint" "reserved_size") - ) -) - -(define-method free - (of-object "GArray") - (c-name "g_array_free") - (return-type "gchar*") - (parameters - '("gboolean" "free_segment") - ) -) - -(define-method append_vals - (of-object "GArray") - (c-name "g_array_append_vals") - (return-type "GArray*") - (parameters - '("gconstpointer" "data") - '("guint" "len") - ) -) - -(define-method prepend_vals - (of-object "GArray") - (c-name "g_array_prepend_vals") - (return-type "GArray*") - (parameters - '("gconstpointer" "data") - '("guint" "len") - ) -) - -(define-method insert_vals - (of-object "GArray") - (c-name "g_array_insert_vals") - (return-type "GArray*") - (parameters - '("guint" "index_") - '("gconstpointer" "data") - '("guint" "len") - ) -) - -(define-method set_size - (of-object "GArray") - (c-name "g_array_set_size") - (return-type "GArray*") - (parameters - '("guint" "length") - ) -) - -(define-method remove_index - (of-object "GArray") - (c-name "g_array_remove_index") - (return-type "GArray*") - (parameters - '("guint" "index_") - ) -) - -(define-method remove_index_fast - (of-object "GArray") - (c-name "g_array_remove_index_fast") - (return-type "GArray*") - (parameters - '("guint" "index_") - ) -) - -(define-method remove_range - (of-object "GArray") - (c-name "g_array_remove_range") - (return-type "GArray*") - (parameters - '("guint" "index_") - '("guint" "length") - ) -) - -(define-method sort - (of-object "GArray") - (c-name "g_array_sort") - (return-type "none") - (parameters - '("GCompareFunc" "compare_func") - ) -) - -(define-method sort_with_data - (of-object "GArray") - (c-name "g_array_sort_with_data") - (return-type "none") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - -(define-function g_ptr_array_new - (c-name "g_ptr_array_new") - (is-constructor-of "GPtrArray") - (return-type "GPtrArray*") -) - -(define-function g_ptr_array_sized_new - (c-name "g_ptr_array_sized_new") - (is-constructor-of "GPtrArraySized") - (return-type "GPtrArray*") - (parameters - '("guint" "reserved_size") - ) -) - -(define-method free - (of-object "GPtrArray") - (c-name "g_ptr_array_free") - (return-type "gpointer*") - (parameters - '("gboolean" "free_seg") - ) -) - -(define-method set_size - (of-object "GPtrArray") - (c-name "g_ptr_array_set_size") - (return-type "none") - (parameters - '("gint" "length") - ) -) - -(define-method remove_index - (of-object "GPtrArray") - (c-name "g_ptr_array_remove_index") - (return-type "gpointer") - (parameters - '("guint" "index_") - ) -) - -(define-method remove_index_fast - (of-object "GPtrArray") - (c-name "g_ptr_array_remove_index_fast") - (return-type "gpointer") - (parameters - '("guint" "index_") - ) -) - -(define-method remove - (of-object "GPtrArray") - (c-name "g_ptr_array_remove") - (return-type "gboolean") - (parameters - '("gpointer" "data") - ) -) - -(define-method remove_fast - (of-object "GPtrArray") - (c-name "g_ptr_array_remove_fast") - (return-type "gboolean") - (parameters - '("gpointer" "data") - ) -) - -(define-method remove_range - (of-object "GPtrArray") - (c-name "g_ptr_array_remove_range") - (return-type "none") - (parameters - '("guint" "index_") - '("guint" "length") - ) -) - -(define-method add - (of-object "GPtrArray") - (c-name "g_ptr_array_add") - (return-type "none") - (parameters - '("gpointer" "data") - ) -) - -(define-method sort - (of-object "GPtrArray") - (c-name "g_ptr_array_sort") - (return-type "none") - (parameters - '("GCompareFunc" "compare_func") - ) -) - -(define-method sort_with_data - (of-object "GPtrArray") - (c-name "g_ptr_array_sort_with_data") - (return-type "none") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - -(define-method foreach - (of-object "GPtrArray") - (c-name "g_ptr_array_foreach") - (return-type "none") - (parameters - '("GFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-function g_byte_array_new - (c-name "g_byte_array_new") - (is-constructor-of "GByteArray") - (return-type "GByteArray*") -) - -(define-function g_byte_array_sized_new - (c-name "g_byte_array_sized_new") - (is-constructor-of "GByteArraySized") - (return-type "GByteArray*") - (parameters - '("guint" "reserved_size") - ) -) - -(define-method free - (of-object "GByteArray") - (c-name "g_byte_array_free") - (return-type "guint8*") - (parameters - '("gboolean" "free_segment") - ) -) - -(define-method append - (of-object "GByteArray") - (c-name "g_byte_array_append") - (return-type "GByteArray*") - (parameters - '("const-guint8*" "data") - '("guint" "len") - ) -) - -(define-method prepend - (of-object "GByteArray") - (c-name "g_byte_array_prepend") - (return-type "GByteArray*") - (parameters - '("const-guint8*" "data") - '("guint" "len") - ) -) - -(define-method set_size - (of-object "GByteArray") - (c-name "g_byte_array_set_size") - (return-type "GByteArray*") - (parameters - '("guint" "length") - ) -) - -(define-method remove_index - (of-object "GByteArray") - (c-name "g_byte_array_remove_index") - (return-type "GByteArray*") - (parameters - '("guint" "index_") - ) -) - -(define-method remove_index_fast - (of-object "GByteArray") - (c-name "g_byte_array_remove_index_fast") - (return-type "GByteArray*") - (parameters - '("guint" "index_") - ) -) - -(define-method remove_range - (of-object "GByteArray") - (c-name "g_byte_array_remove_range") - (return-type "GByteArray*") - (parameters - '("guint" "index_") - '("guint" "length") - ) -) - -(define-method sort - (of-object "GByteArray") - (c-name "g_byte_array_sort") - (return-type "none") - (parameters - '("GCompareFunc" "compare_func") - ) -) - -(define-method sort_with_data - (of-object "GByteArray") - (c-name "g_byte_array_sort_with_data") - (return-type "none") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - - - -;; From gasyncqueue.h - -(define-function g_async_queue_new - (c-name "g_async_queue_new") - (is-constructor-of "GAsyncQueue") - (return-type "GAsyncQueue*") -) - -(define-function g_async_queue_new_full - (c-name "g_async_queue_new_full") - (return-type "GAsyncQueue*") - (parameters - '("GDestroyNotify" "item_free_func") - ) -) - -(define-method lock - (of-object "GAsyncQueue") - (c-name "g_async_queue_lock") - (return-type "none") -) - -(define-method unlock - (of-object "GAsyncQueue") - (c-name "g_async_queue_unlock") - (return-type "none") -) - -(define-method ref - (of-object "GAsyncQueue") - (c-name "g_async_queue_ref") - (return-type "GAsyncQueue*") -) - -(define-method unref - (of-object "GAsyncQueue") - (c-name "g_async_queue_unref") - (return-type "none") -) - -(define-method ref_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_ref_unlocked") - (return-type "none") -) - -(define-method unref_and_unlock - (of-object "GAsyncQueue") - (c-name "g_async_queue_unref_and_unlock") - (return-type "none") -) - -(define-method push - (of-object "GAsyncQueue") - (c-name "g_async_queue_push") - (return-type "none") - (parameters - '("gpointer" "data") - ) -) - -(define-method push_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_push_unlocked") - (return-type "none") - (parameters - '("gpointer" "data") - ) -) - -(define-method push_sorted - (of-object "GAsyncQueue") - (c-name "g_async_queue_push_sorted") - (return-type "none") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method push_sorted_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_push_sorted_unlocked") - (return-type "none") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method pop - (of-object "GAsyncQueue") - (c-name "g_async_queue_pop") - (return-type "gpointer") -) - -(define-method pop_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_pop_unlocked") - (return-type "gpointer") -) - -(define-method try_pop - (of-object "GAsyncQueue") - (c-name "g_async_queue_try_pop") - (return-type "gpointer") -) - -(define-method try_pop_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_try_pop_unlocked") - (return-type "gpointer") -) - -(define-method timed_pop - (of-object "GAsyncQueue") - (c-name "g_async_queue_timed_pop") - (return-type "gpointer") - (parameters - '("GTimeVal*" "end_time") - ) -) - -(define-method timed_pop_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_timed_pop_unlocked") - (return-type "gpointer") - (parameters - '("GTimeVal*" "end_time") - ) -) - -(define-method length - (of-object "GAsyncQueue") - (c-name "g_async_queue_length") - (return-type "gint") -) - -(define-method length_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_length_unlocked") - (return-type "gint") -) - -(define-method sort - (of-object "GAsyncQueue") - (c-name "g_async_queue_sort") - (return-type "none") - (parameters - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method sort_unlocked - (of-object "GAsyncQueue") - (c-name "g_async_queue_sort_unlocked") - (return-type "none") - (parameters - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - - - -;; From gatomic.h - -(define-function g_atomic_int_exchange_and_add - (c-name "g_atomic_int_exchange_and_add") - (return-type "gint") - (parameters - '("volatile-gint*" "atomic") - '("gint" "val") - ) -) - -(define-function g_atomic_int_add - (c-name "g_atomic_int_add") - (return-type "none") - (parameters - '("volatile-gint*" "atomic") - '("gint" "val") - ) -) - -(define-function g_atomic_int_compare_and_exchange - (c-name "g_atomic_int_compare_and_exchange") - (return-type "gboolean") - (parameters - '("volatile-gint*" "atomic") - '("gint" "oldval") - '("gint" "newval") - ) -) - -(define-function g_atomic_pointer_compare_and_exchange - (c-name "g_atomic_pointer_compare_and_exchange") - (return-type "gboolean") - (parameters - '("volatile-gpointer*" "atomic") - '("gpointer" "oldval") - '("gpointer" "newval") - ) -) - -(define-function g_atomic_int_get - (c-name "g_atomic_int_get") - (return-type "gint") - (parameters - '("volatile-gint*" "atomic") - ) -) - -(define-function g_atomic_int_set - (c-name "g_atomic_int_set") - (return-type "none") - (parameters - '("volatile-gint*" "atomic") - '("gint" "newval") - ) -) - -(define-function g_atomic_pointer_get - (c-name "g_atomic_pointer_get") - (return-type "gpointer") - (parameters - '("volatile-gpointer*" "atomic") - ) -) - -(define-function g_atomic_pointer_set - (c-name "g_atomic_pointer_set") - (return-type "none") - (parameters - '("volatile-gpointer*" "atomic") - '("gpointer" "newval") - ) -) - - - -;; From gbacktrace.h - -(define-function g_on_error_query - (c-name "g_on_error_query") - (return-type "none") - (parameters - '("const-gchar*" "prg_name") - ) -) - -(define-function g_on_error_stack_trace - (c-name "g_on_error_stack_trace") - (return-type "none") - (parameters - '("const-gchar*" "prg_name") - ) -) - - - -;; From gbase64.h - -(define-function g_base64_encode_step - (c-name "g_base64_encode_step") - (return-type "gsize") - (parameters - '("const-guchar*" "in") - '("gsize" "len") - '("gboolean" "break_lines") - '("gchar*" "out") - '("gint*" "state") - '("gint*" "save") - ) -) - -(define-function g_base64_encode_close - (c-name "g_base64_encode_close") - (return-type "gsize") - (parameters - '("gboolean" "break_lines") - '("gchar*" "out") - '("gint*" "state") - '("gint*" "save") - ) -) - -(define-function g_base64_encode - (c-name "g_base64_encode") - (return-type "gchar*") - (parameters - '("const-guchar*" "data") - '("gsize" "len") - ) -) - -(define-function g_base64_decode_step - (c-name "g_base64_decode_step") - (return-type "gsize") - (parameters - '("const-gchar*" "in") - '("gsize" "len") - '("guchar*" "out") - '("gint*" "state") - '("guint*" "save") - ) -) - -(define-function g_base64_decode - (c-name "g_base64_decode") - (return-type "guchar*") - (parameters - '("const-gchar*" "text") - '("gsize*" "out_len") - ) -) - - - -;; From gbookmarkfile.h - -(define-function g_bookmark_file_error_quark - (c-name "g_bookmark_file_error_quark") - (return-type "GQuark") -) - -(define-function g_bookmark_file_new - (c-name "g_bookmark_file_new") - (is-constructor-of "GBookmarkFile") - (return-type "GBookmarkFile*") -) - -(define-method free - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_free") - (return-type "none") -) - -(define-method load_from_file - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_load_from_file") - (return-type "gboolean") - (parameters - '("const-gchar*" "filename") - '("GError**" "error") - ) -) - -(define-method load_from_data - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_load_from_data") - (return-type "gboolean") - (parameters - '("const-gchar*" "data") - '("gsize" "length") - '("GError**" "error") - ) -) - -(define-method load_from_data_dirs - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_load_from_data_dirs") - (return-type "gboolean") - (parameters - '("const-gchar*" "file") - '("gchar**" "full_path") - '("GError**" "error") - ) -) - -(define-method to_data - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_to_data") - (return-type "gchar*") - (parameters - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method to_file - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_to_file") - (return-type "gboolean") - (parameters - '("const-gchar*" "filename") - '("GError**" "error") - ) -) - -(define-method set_title - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_title") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "title") - ) -) - -(define-method get_title - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_title") - (return-type "gchar*") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method set_description - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_description") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "description") - ) -) - -(define-method get_description - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_description") - (return-type "gchar*") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method set_mime_type - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_mime_type") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "mime_type") - ) -) - -(define-method get_mime_type - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_mime_type") - (return-type "gchar*") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method set_groups - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_groups") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar**" "groups") - '("gsize" "length") - ) -) - -(define-method add_group - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_add_group") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "group") - ) -) - -(define-method has_group - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_has_group") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "group") - '("GError**" "error") - ) -) - -(define-method get_groups - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_groups") - (return-type "gchar**") - (parameters - '("const-gchar*" "uri") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method add_application - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_add_application") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "name") - '("const-gchar*" "exec") - ) -) - -(define-method has_application - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_has_application") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "name") - '("GError**" "error") - ) -) - -(define-method get_applications - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_applications") - (return-type "gchar**") - (parameters - '("const-gchar*" "uri") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method set_app_info - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_app_info") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "name") - '("const-gchar*" "exec") - '("gint" "count") - '("time_t" "stamp") - '("GError**" "error") - ) -) - -(define-method get_app_info - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_app_info") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "name") - '("gchar**" "exec") - '("guint*" "count") - '("time_t*" "stamp") - '("GError**" "error") - ) -) - -(define-method set_is_private - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_is_private") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("gboolean" "is_private") - ) -) - -(define-method get_is_private - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_is_private") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method set_icon - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_icon") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "href") - '("const-gchar*" "mime_type") - ) -) - -(define-method get_icon - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_icon") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("gchar**" "href") - '("gchar**" "mime_type") - '("GError**" "error") - ) -) - -(define-method set_added - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_added") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("time_t" "added") - ) -) - -(define-method get_added - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_added") - (return-type "time_t") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method set_modified - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_modified") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("time_t" "modified") - ) -) - -(define-method get_modified - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_modified") - (return-type "time_t") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method set_visited - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_set_visited") - (return-type "none") - (parameters - '("const-gchar*" "uri") - '("time_t" "visited") - ) -) - -(define-method get_visited - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_visited") - (return-type "time_t") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method has_item - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_has_item") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - ) -) - -(define-method get_size - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_size") - (return-type "gint") -) - -(define-method get_uris - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_get_uris") - (return-type "gchar**") - (parameters - '("gsize*" "length") - ) -) - -(define-method remove_group - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_remove_group") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "group") - '("GError**" "error") - ) -) - -(define-method remove_application - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_remove_application") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("const-gchar*" "name") - '("GError**" "error") - ) -) - -(define-method remove_item - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_remove_item") - (return-type "gboolean") - (parameters - '("const-gchar*" "uri") - '("GError**" "error") - ) -) - -(define-method move_item - (of-object "GBookmarkFile") - (c-name "g_bookmark_file_move_item") - (return-type "gboolean") - (parameters - '("const-gchar*" "old_uri") - '("const-gchar*" "new_uri") - '("GError**" "error") - ) -) - - - -;; From gbsearcharray.h - -(define-function if - (c-name "if") - (return-type "else") - (parameters - '("cmp-<" "0") - ) -) - -(define-function MIN - (c-name "MIN") - (return-type "return") - (parameters - '("barray->n_nodes-+" "1") - ) -) - - - -;; From gcache.h - -(define-function g_cache_new - (c-name "g_cache_new") - (is-constructor-of "GCache") - (return-type "GCache*") - (parameters - '("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") - ) -) - -(define-method destroy - (of-object "GCache") - (c-name "g_cache_destroy") - (return-type "none") -) - -(define-method insert - (of-object "GCache") - (c-name "g_cache_insert") - (return-type "gpointer") - (parameters - '("gpointer" "key") - ) -) - -(define-method remove - (of-object "GCache") - (c-name "g_cache_remove") - (return-type "none") - (parameters - '("gconstpointer" "value") - ) -) - -(define-method key_foreach - (of-object "GCache") - (c-name "g_cache_key_foreach") - (return-type "none") - (parameters - '("GHFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method value_foreach - (of-object "GCache") - (c-name "g_cache_value_foreach") - (return-type "none") - (parameters - '("GHFunc" "func") - '("gpointer" "user_data") - ) -) - - - -;; From gchecksum.h - -(define-method get_length - (of-object "GChecksumType") - (c-name "g_checksum_type_get_length") - (return-type "gssize") -) - -(define-function g_checksum_new - (c-name "g_checksum_new") - (is-constructor-of "GChecksum") - (return-type "GChecksum*") - (parameters - '("GChecksumType" "checksum_type") - ) -) - -(define-method reset - (of-object "GChecksum") - (c-name "g_checksum_reset") - (return-type "none") -) - -(define-method copy - (of-object "GChecksum") - (c-name "g_checksum_copy") - (return-type "GChecksum*") -) - -(define-method free - (of-object "GChecksum") - (c-name "g_checksum_free") - (return-type "none") -) - -(define-method update - (of-object "GChecksum") - (c-name "g_checksum_update") - (return-type "none") - (parameters - '("const-guchar*" "data") - '("gsize" "length") - ) -) - -(define-method get_string - (of-object "GChecksum") - (c-name "g_checksum_get_string") - (return-type "const-gchar*") -) - -(define-method get_digest - (of-object "GChecksum") - (c-name "g_checksum_get_digest") - (return-type "none") - (parameters - '("guint8*" "buffer") - '("gsize*" "digest_len") - ) -) - -(define-function g_compute_checksum_for_data - (c-name "g_compute_checksum_for_data") - (return-type "gchar*") - (parameters - '("GChecksumType" "checksum_type") - '("const-guchar*" "data") - '("gsize" "length") - ) -) - -(define-function g_compute_checksum_for_string - (c-name "g_compute_checksum_for_string") - (return-type "gchar*") - (parameters - '("GChecksumType" "checksum_type") - '("const-gchar*" "str") - '("gssize" "length") - ) -) - - - -;; From gcompletion.h - -(define-function g_completion_new - (c-name "g_completion_new") - (is-constructor-of "GCompletion") - (return-type "GCompletion*") - (parameters - '("GCompletionFunc" "func") - ) -) - -(define-method add_items - (of-object "GCompletion") - (c-name "g_completion_add_items") - (return-type "none") - (parameters - '("GList*" "items") - ) -) - -(define-method remove_items - (of-object "GCompletion") - (c-name "g_completion_remove_items") - (return-type "none") - (parameters - '("GList*" "items") - ) -) - -(define-method clear_items - (of-object "GCompletion") - (c-name "g_completion_clear_items") - (return-type "none") -) - -(define-method complete - (of-object "GCompletion") - (c-name "g_completion_complete") - (return-type "GList*") - (parameters - '("const-gchar*" "prefix") - '("gchar**" "new_prefix") - ) -) - -(define-method complete_utf8 - (of-object "GCompletion") - (c-name "g_completion_complete_utf8") - (return-type "GList*") - (parameters - '("const-gchar*" "prefix") - '("gchar**" "new_prefix") - ) -) - -(define-method set_compare - (of-object "GCompletion") - (c-name "g_completion_set_compare") - (return-type "none") - (parameters - '("GCompletionStrncmpFunc" "strncmp_func") - ) -) - -(define-method free - (of-object "GCompletion") - (c-name "g_completion_free") - (return-type "none") -) - - - -;; From gconvert.h - -(define-function g_convert_error_quark - (c-name "g_convert_error_quark") - (return-type "GQuark") -) - -(define-function g_iconv_open - (c-name "g_iconv_open") - (return-type "GIConv") - (parameters - '("const-gchar*" "to_codeset") - '("const-gchar*" "from_codeset") - ) -) - -(define-method close - (of-object "GIConv") - (c-name "g_iconv_close") - (return-type "gint") -) - -(define-function g_convert - (c-name "g_convert") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - '("const-gchar*" "to_codeset") - '("const-gchar*" "from_codeset") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_convert_with_iconv - (c-name "g_convert_with_iconv") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - '("GIConv" "converter") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_convert_with_fallback - (c-name "g_convert_with_fallback") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - '("const-gchar*" "to_codeset") - '("const-gchar*" "from_codeset") - '("gchar*" "fallback") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_locale_to_utf8 - (c-name "g_locale_to_utf8") - (return-type "gchar*") - (parameters - '("const-gchar*" "opsysstring") - '("gssize" "len") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_locale_from_utf8 - (c-name "g_locale_from_utf8") - (return-type "gchar*") - (parameters - '("const-gchar*" "utf8string") - '("gssize" "len") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_filename_to_utf8 - (c-name "g_filename_to_utf8") - (return-type "gchar*") - (parameters - '("const-gchar*" "opsysstring") - '("gssize" "len") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_filename_from_utf8 - (c-name "g_filename_from_utf8") - (return-type "gchar*") - (parameters - '("const-gchar*" "utf8string") - '("gssize" "len") - '("gsize*" "bytes_read") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-function g_filename_from_uri - (c-name "g_filename_from_uri") - (return-type "gchar*") - (parameters - '("const-gchar*" "uri") - '("gchar**" "hostname") - '("GError**" "error") - ) -) - -(define-function g_filename_to_uri - (c-name "g_filename_to_uri") - (return-type "gchar*") - (parameters - '("const-gchar*" "filename") - '("const-gchar*" "hostname") - '("GError**" "error") - ) -) - -(define-function g_filename_display_name - (c-name "g_filename_display_name") - (return-type "gchar*") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_get_filename_charsets - (c-name "g_get_filename_charsets") - (return-type "gboolean") - (parameters - '("const-gchar***" "charsets") - ) -) - -(define-function g_filename_display_basename - (c-name "g_filename_display_basename") - (return-type "gchar*") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_uri_list_extract_uris - (c-name "g_uri_list_extract_uris") - (return-type "gchar**") - (parameters - '("const-gchar*" "uri_list") - ) -) - - - -;; From gdataset.h - -(define-function g_datalist_init - (c-name "g_datalist_init") - (return-type "none") - (parameters - '("GData**" "datalist") - ) -) - -(define-function g_datalist_clear - (c-name "g_datalist_clear") - (return-type "none") - (parameters - '("GData**" "datalist") - ) -) - -(define-function g_datalist_id_get_data - (c-name "g_datalist_id_get_data") - (return-type "gpointer") - (parameters - '("GData**" "datalist") - '("GQuark" "key_id") - ) -) - -(define-function g_datalist_id_set_data_full - (c-name "g_datalist_id_set_data_full") - (return-type "none") - (parameters - '("GData**" "datalist") - '("GQuark" "key_id") - '("gpointer" "data") - '("GDestroyNotify" "destroy_func") - ) -) - -(define-function g_datalist_id_remove_no_notify - (c-name "g_datalist_id_remove_no_notify") - (return-type "gpointer") - (parameters - '("GData**" "datalist") - '("GQuark" "key_id") - ) -) - -(define-function g_datalist_foreach - (c-name "g_datalist_foreach") - (return-type "none") - (parameters - '("GData**" "datalist") - '("GDataForeachFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-function g_datalist_set_flags - (c-name "g_datalist_set_flags") - (return-type "none") - (parameters - '("GData**" "datalist") - '("guint" "flags") - ) -) - -(define-function g_datalist_unset_flags - (c-name "g_datalist_unset_flags") - (return-type "none") - (parameters - '("GData**" "datalist") - '("guint" "flags") - ) -) - -(define-function g_datalist_get_flags - (c-name "g_datalist_get_flags") - (return-type "guint") - (parameters - '("GData**" "datalist") - ) -) - -(define-function g_dataset_destroy - (c-name "g_dataset_destroy") - (return-type "none") - (parameters - '("gconstpointer" "dataset_location") - ) -) - -(define-function g_dataset_id_get_data - (c-name "g_dataset_id_get_data") - (return-type "gpointer") - (parameters - '("gconstpointer" "dataset_location") - '("GQuark" "key_id") - ) -) - -(define-function g_dataset_id_set_data_full - (c-name "g_dataset_id_set_data_full") - (return-type "none") - (parameters - '("gconstpointer" "dataset_location") - '("GQuark" "key_id") - '("gpointer" "data") - '("GDestroyNotify" "destroy_func") - ) -) - -(define-function g_dataset_id_remove_no_notify - (c-name "g_dataset_id_remove_no_notify") - (return-type "gpointer") - (parameters - '("gconstpointer" "dataset_location") - '("GQuark" "key_id") - ) -) - -(define-function g_dataset_foreach - (c-name "g_dataset_foreach") - (return-type "none") - (parameters - '("gconstpointer" "dataset_location") - '("GDataForeachFunc" "func") - '("gpointer" "user_data") - ) -) - - - -;; From gdatasetprivate.h - - - -;; From gdate.h - -(define-function g_date_new - (c-name "g_date_new") - (is-constructor-of "GDate") - (return-type "GDate*") -) - -(define-function g_date_new_dmy - (c-name "g_date_new_dmy") - (return-type "GDate*") - (parameters - '("GDateDay" "day") - '("GDateMonth" "month") - '("GDateYear" "year") - ) -) - -(define-function g_date_new_julian - (c-name "g_date_new_julian") - (return-type "GDate*") - (parameters - '("guint32" "julian_day") - ) -) - -(define-method free - (of-object "GDate") - (c-name "g_date_free") - (return-type "none") -) - -(define-method valid - (of-object "GDate") - (c-name "g_date_valid") - (return-type "gboolean") -) - -(define-function g_date_valid_day - (c-name "g_date_valid_day") - (return-type "gboolean") - (parameters - '("GDateDay" "day") - ) -) - -(define-function g_date_valid_month - (c-name "g_date_valid_month") - (return-type "gboolean") - (parameters - '("GDateMonth" "month") - ) -) - -(define-function g_date_valid_year - (c-name "g_date_valid_year") - (return-type "gboolean") - (parameters - '("GDateYear" "year") - ) -) - -(define-function g_date_valid_weekday - (c-name "g_date_valid_weekday") - (return-type "gboolean") - (parameters - '("GDateWeekday" "weekday") - ) -) - -(define-function g_date_valid_julian - (c-name "g_date_valid_julian") - (return-type "gboolean") - (parameters - '("guint32" "julian_date") - ) -) - -(define-function g_date_valid_dmy - (c-name "g_date_valid_dmy") - (return-type "gboolean") - (parameters - '("GDateDay" "day") - '("GDateMonth" "month") - '("GDateYear" "year") - ) -) - -(define-method get_weekday - (of-object "GDate") - (c-name "g_date_get_weekday") - (return-type "GDateWeekday") -) - -(define-method get_month - (of-object "GDate") - (c-name "g_date_get_month") - (return-type "GDateMonth") -) - -(define-method get_year - (of-object "GDate") - (c-name "g_date_get_year") - (return-type "GDateYear") -) - -(define-method get_day - (of-object "GDate") - (c-name "g_date_get_day") - (return-type "GDateDay") -) - -(define-method get_julian - (of-object "GDate") - (c-name "g_date_get_julian") - (return-type "guint32") -) - -(define-method get_day_of_year - (of-object "GDate") - (c-name "g_date_get_day_of_year") - (return-type "guint") -) - -(define-method get_monday_week_of_year - (of-object "GDate") - (c-name "g_date_get_monday_week_of_year") - (return-type "guint") -) - -(define-method get_sunday_week_of_year - (of-object "GDate") - (c-name "g_date_get_sunday_week_of_year") - (return-type "guint") -) - -(define-method get_iso8601_week_of_year - (of-object "GDate") - (c-name "g_date_get_iso8601_week_of_year") - (return-type "guint") -) - -(define-method clear - (of-object "GDate") - (c-name "g_date_clear") - (return-type "none") - (parameters - '("guint" "n_dates") - ) -) - -(define-method set_parse - (of-object "GDate") - (c-name "g_date_set_parse") - (return-type "none") - (parameters - '("const-gchar*" "str") - ) -) - -(define-method set_time_t - (of-object "GDate") - (c-name "g_date_set_time_t") - (return-type "none") - (parameters - '("time_t" "timet") - ) -) - -(define-method set_time_val - (of-object "GDate") - (c-name "g_date_set_time_val") - (return-type "none") - (parameters - '("GTimeVal*" "timeval") - ) -) - -(define-method set_time - (of-object "GDate") - (c-name "g_date_set_time") - (return-type "none") - (parameters - '("GTime" "time_") - ) -) - -(define-method set_month - (of-object "GDate") - (c-name "g_date_set_month") - (return-type "none") - (parameters - '("GDateMonth" "month") - ) -) - -(define-method set_day - (of-object "GDate") - (c-name "g_date_set_day") - (return-type "none") - (parameters - '("GDateDay" "day") - ) -) - -(define-method set_year - (of-object "GDate") - (c-name "g_date_set_year") - (return-type "none") - (parameters - '("GDateYear" "year") - ) -) - -(define-method set_dmy - (of-object "GDate") - (c-name "g_date_set_dmy") - (return-type "none") - (parameters - '("GDateDay" "day") - '("GDateMonth" "month") - '("GDateYear" "y") - ) -) - -(define-method set_julian - (of-object "GDate") - (c-name "g_date_set_julian") - (return-type "none") - (parameters - '("guint32" "julian_date") - ) -) - -(define-method is_first_of_month - (of-object "GDate") - (c-name "g_date_is_first_of_month") - (return-type "gboolean") -) - -(define-method is_last_of_month - (of-object "GDate") - (c-name "g_date_is_last_of_month") - (return-type "gboolean") -) - -(define-method add_days - (of-object "GDate") - (c-name "g_date_add_days") - (return-type "none") - (parameters - '("guint" "n_days") - ) -) - -(define-method subtract_days - (of-object "GDate") - (c-name "g_date_subtract_days") - (return-type "none") - (parameters - '("guint" "n_days") - ) -) - -(define-method add_months - (of-object "GDate") - (c-name "g_date_add_months") - (return-type "none") - (parameters - '("guint" "n_months") - ) -) - -(define-method subtract_months - (of-object "GDate") - (c-name "g_date_subtract_months") - (return-type "none") - (parameters - '("guint" "n_months") - ) -) - -(define-method add_years - (of-object "GDate") - (c-name "g_date_add_years") - (return-type "none") - (parameters - '("guint" "n_years") - ) -) - -(define-method subtract_years - (of-object "GDate") - (c-name "g_date_subtract_years") - (return-type "none") - (parameters - '("guint" "n_years") - ) -) - -(define-function g_date_is_leap_year - (c-name "g_date_is_leap_year") - (return-type "gboolean") - (parameters - '("GDateYear" "year") - ) -) - -(define-function g_date_get_days_in_month - (c-name "g_date_get_days_in_month") - (return-type "guint8") - (parameters - '("GDateMonth" "month") - '("GDateYear" "year") - ) -) - -(define-function g_date_get_monday_weeks_in_year - (c-name "g_date_get_monday_weeks_in_year") - (return-type "guint8") - (parameters - '("GDateYear" "year") - ) -) - -(define-function g_date_get_sunday_weeks_in_year - (c-name "g_date_get_sunday_weeks_in_year") - (return-type "guint8") - (parameters - '("GDateYear" "year") - ) -) - -(define-method days_between - (of-object "GDate") - (c-name "g_date_days_between") - (return-type "gint") - (parameters - '("const-GDate*" "date2") - ) -) - -(define-method compare - (of-object "GDate") - (c-name "g_date_compare") - (return-type "gint") - (parameters - '("const-GDate*" "rhs") - ) -) - -(define-method to_struct_tm - (of-object "GDate") - (c-name "g_date_to_struct_tm") - (return-type "none") - (parameters - '("struct-tm*" "tm") - ) -) - -(define-method clamp - (of-object "GDate") - (c-name "g_date_clamp") - (return-type "none") - (parameters - '("const-GDate*" "min_date") - '("const-GDate*" "max_date") - ) -) - -(define-method order - (of-object "GDate") - (c-name "g_date_order") - (return-type "none") - (parameters - '("GDate*" "date2") - ) -) - -(define-function g_date_strftime - (c-name "g_date_strftime") - (return-type "gsize") - (parameters - '("gchar*" "s") - '("gsize" "slen") - '("const-gchar*" "format") - '("const-GDate*" "date") - ) -) - - - -;; From gdebug.h - - - -;; From gdir.h - -(define-function g_dir_open - (c-name "g_dir_open") - (return-type "GDir*") - (parameters - '("const-gchar*" "path") - '("guint" "flags") - '("GError**" "error") - ) -) - -(define-method read_name - (of-object "GDir") - (c-name "g_dir_read_name") - (return-type "const-gchar*") -) - -(define-method rewind - (of-object "GDir") - (c-name "g_dir_rewind") - (return-type "none") -) - -(define-method close - (of-object "GDir") - (c-name "g_dir_close") - (return-type "none") -) - - - -;; From gerror.h - -(define-function g_error_new - (c-name "g_error_new") - (is-constructor-of "GError") - (return-type "GError*") - (parameters - '("GQuark" "domain") - '("gint" "code") - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-function g_error_new_literal - (c-name "g_error_new_literal") - (return-type "GError*") - (parameters - '("GQuark" "domain") - '("gint" "code") - '("const-gchar*" "message") - ) -) - -(define-method free - (of-object "GError") - (c-name "g_error_free") - (return-type "none") -) - -(define-method copy - (of-object "GError") - (c-name "g_error_copy") - (return-type "GError*") -) - -(define-method matches - (of-object "GError") - (c-name "g_error_matches") - (return-type "gboolean") - (parameters - '("GQuark" "domain") - '("gint" "code") - ) -) - -(define-function g_set_error - (c-name "g_set_error") - (return-type "none") - (parameters - '("GError**" "err") - '("GQuark" "domain") - '("gint" "code") - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-function g_set_error_literal - (c-name "g_set_error_literal") - (return-type "none") - (parameters - '("GError**" "err") - '("GQuark" "domain") - '("gint" "code") - '("const-gchar*" "message") - ) -) - -(define-function g_propagate_error - (c-name "g_propagate_error") - (return-type "none") - (parameters - '("GError**" "dest") - '("GError*" "src") - ) -) - -(define-function g_clear_error - (c-name "g_clear_error") - (return-type "none") - (parameters - '("GError**" "err") - ) -) - -(define-function g_prefix_error - (c-name "g_prefix_error") - (return-type "none") - (parameters - '("GError**" "err") - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-function g_propagate_prefixed_error - (c-name "g_propagate_prefixed_error") - (return-type "none") - (parameters - '("GError**" "dest") - '("GError*" "src") - '("const-gchar*" "format") - ) - (varargs #t) -) - - - -;; From gfileutils.h - -(define-function g_file_error_quark - (c-name "g_file_error_quark") - (return-type "GQuark") -) - -(define-function g_file_error_from_errno - (c-name "g_file_error_from_errno") - (return-type "GFileError") - (parameters - '("gint" "err_no") - ) -) - -(define-function g_file_test - (c-name "g_file_test") - (return-type "gboolean") - (parameters - '("const-gchar*" "filename") - '("GFileTest" "test") - ) -) - -(define-function g_file_get_contents - (c-name "g_file_get_contents") - (return-type "gboolean") - (parameters - '("const-gchar*" "filename") - '("gchar**" "contents") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-function g_file_set_contents - (c-name "g_file_set_contents") - (return-type "gboolean") - (parameters - '("const-gchar*" "filename") - '("const-gchar*" "contents") - '("gsize" "length") - '("GError**" "error") - ) -) - -(define-function g_file_read_link - (c-name "g_file_read_link") - (return-type "gchar*") - (parameters - '("const-gchar*" "filename") - '("GError**" "error") - ) -) - -(define-function g_mkstemp - (c-name "g_mkstemp") - (return-type "gint") - (parameters - '("gchar*" "tmpl") - ) -) - -(define-function g_file_open_tmp - (c-name "g_file_open_tmp") - (return-type "gint") - (parameters - '("const-gchar*" "tmpl") - '("gchar**" "name_used") - '("GError**" "error") - ) -) - -(define-function g_format_size_for_display - (c-name "g_format_size_for_display") - (return-type "char*") - (parameters - '("goffset" "size") - ) -) - -(define-function g_build_path - (c-name "g_build_path") - (return-type "gchar*") - (parameters - '("const-gchar*" "separator") - '("const-gchar*" "first_element") - ) - (varargs #t) -) - -(define-function g_build_pathv - (c-name "g_build_pathv") - (return-type "gchar*") - (parameters - '("const-gchar*" "separator") - '("gchar**" "args") - ) -) - -(define-function g_build_filename - (c-name "g_build_filename") - (return-type "gchar*") - (parameters - '("const-gchar*" "first_element") - ) - (varargs #t) -) - -(define-function g_build_filenamev - (c-name "g_build_filenamev") - (return-type "gchar*") - (parameters - '("gchar**" "args") - ) -) - -(define-function g_mkdir_with_parents - (c-name "g_mkdir_with_parents") - (return-type "int") - (parameters - '("const-gchar*" "pathname") - '("int" "mode") - ) -) - - - -;; From ghash.h - -(define-function g_hash_table_new - (c-name "g_hash_table_new") - (is-constructor-of "GHashTable") - (return-type "GHashTable*") - (parameters - '("GHashFunc" "hash_func") - '("GEqualFunc" "key_equal_func") - ) -) - -(define-function g_hash_table_new_full - (c-name "g_hash_table_new_full") - (return-type "GHashTable*") - (parameters - '("GHashFunc" "hash_func") - '("GEqualFunc" "key_equal_func") - '("GDestroyNotify" "key_destroy_func") - '("GDestroyNotify" "value_destroy_func") - ) -) - -(define-method destroy - (of-object "GHashTable") - (c-name "g_hash_table_destroy") - (return-type "none") -) - -(define-method insert - (of-object "GHashTable") - (c-name "g_hash_table_insert") - (return-type "none") - (parameters - '("gpointer" "key") - '("gpointer" "value") - ) -) - -(define-method replace - (of-object "GHashTable") - (c-name "g_hash_table_replace") - (return-type "none") - (parameters - '("gpointer" "key") - '("gpointer" "value") - ) -) - -(define-method remove - (of-object "GHashTable") - (c-name "g_hash_table_remove") - (return-type "gboolean") - (parameters - '("gconstpointer" "key") - ) -) - -(define-method remove_all - (of-object "GHashTable") - (c-name "g_hash_table_remove_all") - (return-type "none") -) - -(define-method steal - (of-object "GHashTable") - (c-name "g_hash_table_steal") - (return-type "gboolean") - (parameters - '("gconstpointer" "key") - ) -) - -(define-method steal_all - (of-object "GHashTable") - (c-name "g_hash_table_steal_all") - (return-type "none") -) - -(define-method lookup - (of-object "GHashTable") - (c-name "g_hash_table_lookup") - (return-type "gpointer") - (parameters - '("gconstpointer" "key") - ) -) - -(define-method lookup_extended - (of-object "GHashTable") - (c-name "g_hash_table_lookup_extended") - (return-type "gboolean") - (parameters - '("gconstpointer" "lookup_key") - '("gpointer*" "orig_key") - '("gpointer*" "value") - ) -) - -(define-method foreach - (of-object "GHashTable") - (c-name "g_hash_table_foreach") - (return-type "none") - (parameters - '("GHFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method find - (of-object "GHashTable") - (c-name "g_hash_table_find") - (return-type "gpointer") - (parameters - '("GHRFunc" "predicate") - '("gpointer" "user_data") - ) -) - -(define-method foreach_remove - (of-object "GHashTable") - (c-name "g_hash_table_foreach_remove") - (return-type "guint") - (parameters - '("GHRFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method foreach_steal - (of-object "GHashTable") - (c-name "g_hash_table_foreach_steal") - (return-type "guint") - (parameters - '("GHRFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method size - (of-object "GHashTable") - (c-name "g_hash_table_size") - (return-type "guint") -) - -(define-method get_keys - (of-object "GHashTable") - (c-name "g_hash_table_get_keys") - (return-type "GList*") -) - -(define-method get_values - (of-object "GHashTable") - (c-name "g_hash_table_get_values") - (return-type "GList*") -) - -(define-method init - (of-object "GHashTableIter") - (c-name "g_hash_table_iter_init") - (return-type "none") - (parameters - '("GHashTable*" "hash_table") - ) -) - -(define-method next - (of-object "GHashTableIter") - (c-name "g_hash_table_iter_next") - (return-type "gboolean") - (parameters - '("gpointer*" "key") - '("gpointer*" "value") - ) -) - -(define-method get_hash_table - (of-object "GHashTableIter") - (c-name "g_hash_table_iter_get_hash_table") - (return-type "GHashTable*") -) - -(define-method remove - (of-object "GHashTableIter") - (c-name "g_hash_table_iter_remove") - (return-type "none") -) - -(define-method steal - (of-object "GHashTableIter") - (c-name "g_hash_table_iter_steal") - (return-type "none") -) - -(define-method ref - (of-object "GHashTable") - (c-name "g_hash_table_ref") - (return-type "GHashTable*") -) - -(define-method unref - (of-object "GHashTable") - (c-name "g_hash_table_unref") - (return-type "none") -) - -(define-function g_str_equal - (c-name "g_str_equal") - (return-type "gboolean") - (parameters - '("gconstpointer" "v1") - '("gconstpointer" "v2") - ) -) - -(define-function g_str_hash - (c-name "g_str_hash") - (return-type "guint") - (parameters - '("gconstpointer" "v") - ) -) - -(define-function g_int_equal - (c-name "g_int_equal") - (return-type "gboolean") - (parameters - '("gconstpointer" "v1") - '("gconstpointer" "v2") - ) -) - -(define-function g_int_hash - (c-name "g_int_hash") - (return-type "guint") - (parameters - '("gconstpointer" "v") - ) -) - -(define-function g_direct_hash - (c-name "g_direct_hash") - (return-type "guint") - (parameters - '("gconstpointer" "v") - ) -) - -(define-function g_direct_equal - (c-name "g_direct_equal") - (return-type "gboolean") - (parameters - '("gconstpointer" "v1") - '("gconstpointer" "v2") - ) -) - - - -;; From ghook.h - -(define-method init - (of-object "GHookList") - (c-name "g_hook_list_init") - (return-type "none") - (parameters - '("guint" "hook_size") - ) -) - -(define-method clear - (of-object "GHookList") - (c-name "g_hook_list_clear") - (return-type "none") -) - -(define-function g_hook_alloc - (c-name "g_hook_alloc") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - ) -) - -(define-function g_hook_free - (c-name "g_hook_free") - (return-type "none") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - ) -) - -(define-function g_hook_ref - (c-name "g_hook_ref") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - ) -) - -(define-function g_hook_unref - (c-name "g_hook_unref") - (return-type "none") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - ) -) - -(define-function g_hook_destroy - (c-name "g_hook_destroy") - (return-type "gboolean") - (parameters - '("GHookList*" "hook_list") - '("gulong" "hook_id") - ) -) - -(define-function g_hook_destroy_link - (c-name "g_hook_destroy_link") - (return-type "none") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - ) -) - -(define-function g_hook_prepend - (c-name "g_hook_prepend") - (return-type "none") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - ) -) - -(define-function g_hook_insert_before - (c-name "g_hook_insert_before") - (return-type "none") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "sibling") - '("GHook*" "hook") - ) -) - -(define-function g_hook_insert_sorted - (c-name "g_hook_insert_sorted") - (return-type "none") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - '("GHookCompareFunc" "func") - ) -) - -(define-function g_hook_get - (c-name "g_hook_get") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("gulong" "hook_id") - ) -) - -(define-function g_hook_find - (c-name "g_hook_find") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("gboolean" "need_valids") - '("GHookFindFunc" "func") - '("gpointer" "data") - ) -) - -(define-function g_hook_find_data - (c-name "g_hook_find_data") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("gboolean" "need_valids") - '("gpointer" "data") - ) -) - -(define-function g_hook_find_func - (c-name "g_hook_find_func") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("gboolean" "need_valids") - '("gpointer" "func") - ) -) - -(define-function g_hook_find_func_data - (c-name "g_hook_find_func_data") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("gboolean" "need_valids") - '("gpointer" "func") - '("gpointer" "data") - ) -) - -(define-function g_hook_first_valid - (c-name "g_hook_first_valid") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("gboolean" "may_be_in_call") - ) -) - -(define-function g_hook_next_valid - (c-name "g_hook_next_valid") - (return-type "GHook*") - (parameters - '("GHookList*" "hook_list") - '("GHook*" "hook") - '("gboolean" "may_be_in_call") - ) -) - -(define-method compare_ids - (of-object "GHook") - (c-name "g_hook_compare_ids") - (return-type "gint") - (parameters - '("GHook*" "sibling") - ) -) - -(define-method invoke - (of-object "GHookList") - (c-name "g_hook_list_invoke") - (return-type "none") - (parameters - '("gboolean" "may_recurse") - ) -) - -(define-method invoke_check - (of-object "GHookList") - (c-name "g_hook_list_invoke_check") - (return-type "none") - (parameters - '("gboolean" "may_recurse") - ) -) - -(define-method marshal - (of-object "GHookList") - (c-name "g_hook_list_marshal") - (return-type "none") - (parameters - '("gboolean" "may_recurse") - '("GHookMarshaller" "marshaller") - '("gpointer" "marshal_data") - ) -) - -(define-method marshal_check - (of-object "GHookList") - (c-name "g_hook_list_marshal_check") - (return-type "none") - (parameters - '("gboolean" "may_recurse") - '("GHookCheckMarshaller" "marshaller") - '("gpointer" "marshal_data") - ) -) - - - -;; From gi18n.h - - - -;; From gi18n-lib.h - - - -;; From giochannel.h - -(define-method init - (of-object "GIOChannel") - (c-name "g_io_channel_init") - (return-type "none") -) - -(define-method ref - (of-object "GIOChannel") - (c-name "g_io_channel_ref") - (return-type "GIOChannel*") -) - -(define-method unref - (of-object "GIOChannel") - (c-name "g_io_channel_unref") - (return-type "none") -) - -(define-method read - (of-object "GIOChannel") - (c-name "g_io_channel_read") - (return-type "GIOError") - (parameters - '("gchar*" "buf") - '("gsize" "count") - '("gsize*" "bytes_read") - ) -) - -(define-method write - (of-object "GIOChannel") - (c-name "g_io_channel_write") - (return-type "GIOError") - (parameters - '("const-gchar*" "buf") - '("gsize" "count") - '("gsize*" "bytes_written") - ) -) - -(define-method seek - (of-object "GIOChannel") - (c-name "g_io_channel_seek") - (return-type "GIOError") - (parameters - '("gint64" "offset") - '("GSeekType" "type") - ) -) - -(define-method close - (of-object "GIOChannel") - (c-name "g_io_channel_close") - (return-type "none") -) - -(define-method shutdown - (of-object "GIOChannel") - (c-name "g_io_channel_shutdown") - (return-type "GIOStatus") - (parameters - '("gboolean" "flush") - '("GError**" "err") - ) -) - -(define-function g_io_add_watch_full - (c-name "g_io_add_watch_full") - (return-type "guint") - (parameters - '("GIOChannel*" "channel") - '("gint" "priority") - '("GIOCondition" "condition") - '("GIOFunc" "func") - '("gpointer" "user_data") - '("GDestroyNotify" "notify") - ) -) - -(define-function g_io_create_watch - (c-name "g_io_create_watch") - (return-type "GSource*") - (parameters - '("GIOChannel*" "channel") - '("GIOCondition" "condition") - ) -) - -(define-function g_io_add_watch - (c-name "g_io_add_watch") - (return-type "guint") - (parameters - '("GIOChannel*" "channel") - '("GIOCondition" "condition") - '("GIOFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method set_buffer_size - (of-object "GIOChannel") - (c-name "g_io_channel_set_buffer_size") - (return-type "none") - (parameters - '("gsize" "size") - ) -) - -(define-method get_buffer_size - (of-object "GIOChannel") - (c-name "g_io_channel_get_buffer_size") - (return-type "gsize") -) - -(define-method get_buffer_condition - (of-object "GIOChannel") - (c-name "g_io_channel_get_buffer_condition") - (return-type "GIOCondition") -) - -(define-method set_flags - (of-object "GIOChannel") - (c-name "g_io_channel_set_flags") - (return-type "GIOStatus") - (parameters - '("GIOFlags" "flags") - '("GError**" "error") - ) -) - -(define-method get_flags - (of-object "GIOChannel") - (c-name "g_io_channel_get_flags") - (return-type "GIOFlags") -) - -(define-method set_line_term - (of-object "GIOChannel") - (c-name "g_io_channel_set_line_term") - (return-type "none") - (parameters - '("const-gchar*" "line_term") - '("gint" "length") - ) -) - -(define-method get_line_term - (of-object "GIOChannel") - (c-name "g_io_channel_get_line_term") - (return-type "const-gchar*") - (parameters - '("gint*" "length") - ) -) - -(define-method set_buffered - (of-object "GIOChannel") - (c-name "g_io_channel_set_buffered") - (return-type "none") - (parameters - '("gboolean" "buffered") - ) -) - -(define-method get_buffered - (of-object "GIOChannel") - (c-name "g_io_channel_get_buffered") - (return-type "gboolean") -) - -(define-method set_encoding - (of-object "GIOChannel") - (c-name "g_io_channel_set_encoding") - (return-type "GIOStatus") - (parameters - '("const-gchar*" "encoding") - '("GError**" "error") - ) -) - -(define-method get_encoding - (of-object "GIOChannel") - (c-name "g_io_channel_get_encoding") - (return-type "const-gchar*") -) - -(define-method set_close_on_unref - (of-object "GIOChannel") - (c-name "g_io_channel_set_close_on_unref") - (return-type "none") - (parameters - '("gboolean" "do_close") - ) -) - -(define-method get_close_on_unref - (of-object "GIOChannel") - (c-name "g_io_channel_get_close_on_unref") - (return-type "gboolean") -) - -(define-method flush - (of-object "GIOChannel") - (c-name "g_io_channel_flush") - (return-type "GIOStatus") - (parameters - '("GError**" "error") - ) -) - -(define-method read_line - (of-object "GIOChannel") - (c-name "g_io_channel_read_line") - (return-type "GIOStatus") - (parameters - '("gchar**" "str_return") - '("gsize*" "length") - '("gsize*" "terminator_pos") - '("GError**" "error") - ) -) - -(define-method read_line_string - (of-object "GIOChannel") - (c-name "g_io_channel_read_line_string") - (return-type "GIOStatus") - (parameters - '("GString*" "buffer") - '("gsize*" "terminator_pos") - '("GError**" "error") - ) -) - -(define-method read_to_end - (of-object "GIOChannel") - (c-name "g_io_channel_read_to_end") - (return-type "GIOStatus") - (parameters - '("gchar**" "str_return") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method read_chars - (of-object "GIOChannel") - (c-name "g_io_channel_read_chars") - (return-type "GIOStatus") - (parameters - '("gchar*" "buf") - '("gsize" "count") - '("gsize*" "bytes_read") - '("GError**" "error") - ) -) - -(define-method read_unichar - (of-object "GIOChannel") - (c-name "g_io_channel_read_unichar") - (return-type "GIOStatus") - (parameters - '("gunichar*" "thechar") - '("GError**" "error") - ) -) - -(define-method write_chars - (of-object "GIOChannel") - (c-name "g_io_channel_write_chars") - (return-type "GIOStatus") - (parameters - '("const-gchar*" "buf") - '("gssize" "count") - '("gsize*" "bytes_written") - '("GError**" "error") - ) -) - -(define-method write_unichar - (of-object "GIOChannel") - (c-name "g_io_channel_write_unichar") - (return-type "GIOStatus") - (parameters - '("gunichar" "thechar") - '("GError**" "error") - ) -) - -(define-method seek_position - (of-object "GIOChannel") - (c-name "g_io_channel_seek_position") - (return-type "GIOStatus") - (parameters - '("gint64" "offset") - '("GSeekType" "type") - '("GError**" "error") - ) -) - -(define-function g_io_channel_new_file - (c-name "g_io_channel_new_file") - (return-type "GIOChannel*") - (parameters - '("const-gchar*" "filename") - '("const-gchar*" "mode") - '("GError**" "error") - ) -) - -(define-function g_io_channel_error_quark - (c-name "g_io_channel_error_quark") - (return-type "GQuark") -) - -(define-function g_io_channel_error_from_errno - (c-name "g_io_channel_error_from_errno") - (return-type "GIOChannelError") - (parameters - '("gint" "en") - ) -) - -(define-function g_io_channel_unix_new - (c-name "g_io_channel_unix_new") - (is-constructor-of "GIoChannelUnix") - (return-type "GIOChannel*") - (parameters - '("int" "fd") - ) -) - -(define-method unix_get_fd - (of-object "GIOChannel") - (c-name "g_io_channel_unix_get_fd") - (return-type "gint") -) - -(define-method win32_make_pollfd - (of-object "GIOChannel") - (c-name "g_io_channel_win32_make_pollfd") - (return-type "none") - (parameters - '("GIOCondition" "condition") - '("GPollFD*" "fd") - ) -) - -(define-function g_io_channel_win32_poll - (c-name "g_io_channel_win32_poll") - (return-type "gint") - (parameters - '("GPollFD*" "fds") - '("gint" "n_fds") - '("gint" "timeout_") - ) -) - -(define-function g_io_channel_win32_new_messages - (c-name "g_io_channel_win32_new_messages") - (return-type "GIOChannel*") - (parameters - '("guint" "hwnd") - ) -) - -(define-function g_io_channel_win32_new_fd - (c-name "g_io_channel_win32_new_fd") - (return-type "GIOChannel*") - (parameters - '("gint" "fd") - ) -) - -(define-method win32_get_fd - (of-object "GIOChannel") - (c-name "g_io_channel_win32_get_fd") - (return-type "gint") -) - -(define-function g_io_channel_win32_new_socket - (c-name "g_io_channel_win32_new_socket") - (return-type "GIOChannel*") - (parameters - '("gint" "socket") - ) -) - - - -;; From gkeyfile.h - -(define-function g_key_file_error_quark - (c-name "g_key_file_error_quark") - (return-type "GQuark") -) - -(define-function g_key_file_new - (c-name "g_key_file_new") - (is-constructor-of "GKeyFile") - (return-type "GKeyFile*") -) - -(define-method free - (of-object "GKeyFile") - (c-name "g_key_file_free") - (return-type "none") -) - -(define-method set_list_separator - (of-object "GKeyFile") - (c-name "g_key_file_set_list_separator") - (return-type "none") - (parameters - '("gchar" "separator") - ) -) - -(define-method load_from_file - (of-object "GKeyFile") - (c-name "g_key_file_load_from_file") - (return-type "gboolean") - (parameters - '("const-gchar*" "file") - '("GKeyFileFlags" "flags") - '("GError**" "error") - ) -) - -(define-method load_from_data - (of-object "GKeyFile") - (c-name "g_key_file_load_from_data") - (return-type "gboolean") - (parameters - '("const-gchar*" "data") - '("gsize" "length") - '("GKeyFileFlags" "flags") - '("GError**" "error") - ) -) - -(define-method load_from_dirs - (of-object "GKeyFile") - (c-name "g_key_file_load_from_dirs") - (return-type "gboolean") - (parameters - '("const-gchar*" "file") - '("const-gchar**" "search_dirs") - '("gchar**" "full_path") - '("GKeyFileFlags" "flags") - '("GError**" "error") - ) -) - -(define-method load_from_data_dirs - (of-object "GKeyFile") - (c-name "g_key_file_load_from_data_dirs") - (return-type "gboolean") - (parameters - '("const-gchar*" "file") - '("gchar**" "full_path") - '("GKeyFileFlags" "flags") - '("GError**" "error") - ) -) - -(define-method to_data - (of-object "GKeyFile") - (c-name "g_key_file_to_data") - (return-type "gchar*") - (parameters - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method get_start_group - (of-object "GKeyFile") - (c-name "g_key_file_get_start_group") - (return-type "gchar*") -) - -(define-method get_groups - (of-object "GKeyFile") - (c-name "g_key_file_get_groups") - (return-type "gchar**") - (parameters - '("gsize*" "length") - ) -) - -(define-method get_keys - (of-object "GKeyFile") - (c-name "g_key_file_get_keys") - (return-type "gchar**") - (parameters - '("const-gchar*" "group_name") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method has_group - (of-object "GKeyFile") - (c-name "g_key_file_has_group") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - ) -) - -(define-method has_key - (of-object "GKeyFile") - (c-name "g_key_file_has_key") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method get_value - (of-object "GKeyFile") - (c-name "g_key_file_get_value") - (return-type "gchar*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method set_value - (of-object "GKeyFile") - (c-name "g_key_file_set_value") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "value") - ) -) - -(define-method get_string - (of-object "GKeyFile") - (c-name "g_key_file_get_string") - (return-type "gchar*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method set_string - (of-object "GKeyFile") - (c-name "g_key_file_set_string") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "string") - ) -) - -(define-method get_locale_string - (of-object "GKeyFile") - (c-name "g_key_file_get_locale_string") - (return-type "gchar*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "locale") - '("GError**" "error") - ) -) - -(define-method set_locale_string - (of-object "GKeyFile") - (c-name "g_key_file_set_locale_string") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "locale") - '("const-gchar*" "string") - ) -) - -(define-method get_boolean - (of-object "GKeyFile") - (c-name "g_key_file_get_boolean") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method set_boolean - (of-object "GKeyFile") - (c-name "g_key_file_set_boolean") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gboolean" "value") - ) -) - -(define-method get_integer - (of-object "GKeyFile") - (c-name "g_key_file_get_integer") - (return-type "gint") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method set_integer - (of-object "GKeyFile") - (c-name "g_key_file_set_integer") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gint" "value") - ) -) - -(define-method get_double - (of-object "GKeyFile") - (c-name "g_key_file_get_double") - (return-type "gdouble") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method set_double - (of-object "GKeyFile") - (c-name "g_key_file_set_double") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gdouble" "value") - ) -) - -(define-method get_string_list - (of-object "GKeyFile") - (c-name "g_key_file_get_string_list") - (return-type "gchar**") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method set_string_list - (of-object "GKeyFile") - (c-name "g_key_file_set_string_list") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*-const[]" "list") - '("gsize" "length") - ) -) - -(define-method get_locale_string_list - (of-object "GKeyFile") - (c-name "g_key_file_get_locale_string_list") - (return-type "gchar**") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "locale") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method set_locale_string_list - (of-object "GKeyFile") - (c-name "g_key_file_set_locale_string_list") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "locale") - '("const-gchar*-const[]" "list") - '("gsize" "length") - ) -) - -(define-method get_boolean_list - (of-object "GKeyFile") - (c-name "g_key_file_get_boolean_list") - (return-type "gboolean*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method set_boolean_list - (of-object "GKeyFile") - (c-name "g_key_file_set_boolean_list") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gboolean[]" "list") - '("gsize" "length") - ) -) - -(define-method get_integer_list - (of-object "GKeyFile") - (c-name "g_key_file_get_integer_list") - (return-type "gint*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method set_double_list - (of-object "GKeyFile") - (c-name "g_key_file_set_double_list") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gdouble[]" "list") - '("gsize" "length") - ) -) - -(define-method get_double_list - (of-object "GKeyFile") - (c-name "g_key_file_get_double_list") - (return-type "gdouble*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gsize*" "length") - '("GError**" "error") - ) -) - -(define-method set_integer_list - (of-object "GKeyFile") - (c-name "g_key_file_set_integer_list") - (return-type "none") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("gint[]" "list") - '("gsize" "length") - ) -) - -(define-method set_comment - (of-object "GKeyFile") - (c-name "g_key_file_set_comment") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("const-gchar*" "comment") - '("GError**" "error") - ) -) - -(define-method get_comment - (of-object "GKeyFile") - (c-name "g_key_file_get_comment") - (return-type "gchar*") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method remove_comment - (of-object "GKeyFile") - (c-name "g_key_file_remove_comment") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method remove_key - (of-object "GKeyFile") - (c-name "g_key_file_remove_key") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - '("const-gchar*" "key") - '("GError**" "error") - ) -) - -(define-method remove_group - (of-object "GKeyFile") - (c-name "g_key_file_remove_group") - (return-type "gboolean") - (parameters - '("const-gchar*" "group_name") - '("GError**" "error") - ) -) - - - -;; From glib.h - - - -;; From glibintl.h - -(define-function glib_gettext - (c-name "glib_gettext") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "str") - ) -) - - - -;; From glib-object.h - - - -;; From glist.h - -(define-function g_list_alloc - (c-name "g_list_alloc") - (return-type "GList*") -) - -(define-method free - (of-object "GList") - (c-name "g_list_free") - (return-type "none") -) - -(define-method free_1 - (of-object "GList") - (c-name "g_list_free_1") - (return-type "none") -) - -(define-method append - (of-object "GList") - (c-name "g_list_append") - (return-type "GList*") - (parameters - '("gpointer" "data") - ) -) - -(define-method prepend - (of-object "GList") - (c-name "g_list_prepend") - (return-type "GList*") - (parameters - '("gpointer" "data") - ) -) - -(define-method insert - (of-object "GList") - (c-name "g_list_insert") - (return-type "GList*") - (parameters - '("gpointer" "data") - '("gint" "position") - ) -) - -(define-method insert_sorted - (of-object "GList") - (c-name "g_list_insert_sorted") - (return-type "GList*") - (parameters - '("gpointer" "data") - '("GCompareFunc" "func") - ) -) - -(define-method insert_sorted_with_data - (of-object "GList") - (c-name "g_list_insert_sorted_with_data") - (return-type "GList*") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method insert_before - (of-object "GList") - (c-name "g_list_insert_before") - (return-type "GList*") - (parameters - '("GList*" "sibling") - '("gpointer" "data") - ) -) - -(define-method concat - (of-object "GList") - (c-name "g_list_concat") - (return-type "GList*") - (parameters - '("GList*" "list2") - ) -) - -(define-method remove - (of-object "GList") - (c-name "g_list_remove") - (return-type "GList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method remove_all - (of-object "GList") - (c-name "g_list_remove_all") - (return-type "GList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method remove_link - (of-object "GList") - (c-name "g_list_remove_link") - (return-type "GList*") - (parameters - '("GList*" "llink") - ) -) - -(define-method delete_link - (of-object "GList") - (c-name "g_list_delete_link") - (return-type "GList*") - (parameters - '("GList*" "link_") - ) -) - -(define-method reverse - (of-object "GList") - (c-name "g_list_reverse") - (return-type "GList*") -) - -(define-method copy - (of-object "GList") - (c-name "g_list_copy") - (return-type "GList*") -) - -(define-method nth - (of-object "GList") - (c-name "g_list_nth") - (return-type "GList*") - (parameters - '("guint" "n") - ) -) - -(define-method nth_prev - (of-object "GList") - (c-name "g_list_nth_prev") - (return-type "GList*") - (parameters - '("guint" "n") - ) -) - -(define-method find - (of-object "GList") - (c-name "g_list_find") - (return-type "GList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method find_custom - (of-object "GList") - (c-name "g_list_find_custom") - (return-type "GList*") - (parameters - '("gconstpointer" "data") - '("GCompareFunc" "func") - ) -) - -(define-method position - (of-object "GList") - (c-name "g_list_position") - (return-type "gint") - (parameters - '("GList*" "llink") - ) -) - -(define-method index - (of-object "GList") - (c-name "g_list_index") - (return-type "gint") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method last - (of-object "GList") - (c-name "g_list_last") - (return-type "GList*") -) - -(define-method first - (of-object "GList") - (c-name "g_list_first") - (return-type "GList*") -) - -(define-method length - (of-object "GList") - (c-name "g_list_length") - (return-type "guint") -) - -(define-method foreach - (of-object "GList") - (c-name "g_list_foreach") - (return-type "none") - (parameters - '("GFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method sort - (of-object "GList") - (c-name "g_list_sort") - (return-type "GList*") - (parameters - '("GCompareFunc" "compare_func") - ) -) - -(define-method sort_with_data - (of-object "GList") - (c-name "g_list_sort_with_data") - (return-type "GList*") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - -(define-method nth_data - (of-object "GList") - (c-name "g_list_nth_data") - (return-type "gpointer") - (parameters - '("guint" "n") - ) -) - -(define-function g_list_push_allocator - (c-name "g_list_push_allocator") - (return-type "none") - (parameters - '("gpointer" "allocator") - ) -) - -(define-function g_list_pop_allocator - (c-name "g_list_pop_allocator") - (return-type "none") -) - - - -;; From gmacros.h - - - -;; From gmain.h - -(define-function g_main_context_new - (c-name "g_main_context_new") - (is-constructor-of "GMainContext") - (return-type "GMainContext*") -) - -(define-method ref - (of-object "GMainContext") - (c-name "g_main_context_ref") - (return-type "GMainContext*") -) - -(define-method unref - (of-object "GMainContext") - (c-name "g_main_context_unref") - (return-type "none") -) - -(define-function g_main_context_default - (c-name "g_main_context_default") - (return-type "GMainContext*") -) - -(define-method iteration - (of-object "GMainContext") - (c-name "g_main_context_iteration") - (return-type "gboolean") - (parameters - '("gboolean" "may_block") - ) -) - -(define-method pending - (of-object "GMainContext") - (c-name "g_main_context_pending") - (return-type "gboolean") -) - -(define-method find_source_by_id - (of-object "GMainContext") - (c-name "g_main_context_find_source_by_id") - (return-type "GSource*") - (parameters - '("guint" "source_id") - ) -) - -(define-method find_source_by_user_data - (of-object "GMainContext") - (c-name "g_main_context_find_source_by_user_data") - (return-type "GSource*") - (parameters - '("gpointer" "user_data") - ) -) - -(define-method find_source_by_funcs_user_data - (of-object "GMainContext") - (c-name "g_main_context_find_source_by_funcs_user_data") - (return-type "GSource*") - (parameters - '("GSourceFuncs*" "funcs") - '("gpointer" "user_data") - ) -) - -(define-method wakeup - (of-object "GMainContext") - (c-name "g_main_context_wakeup") - (return-type "none") -) - -(define-method acquire - (of-object "GMainContext") - (c-name "g_main_context_acquire") - (return-type "gboolean") -) - -(define-method release - (of-object "GMainContext") - (c-name "g_main_context_release") - (return-type "none") -) - -(define-method is_owner - (of-object "GMainContext") - (c-name "g_main_context_is_owner") - (return-type "gboolean") -) - -(define-method wait - (of-object "GMainContext") - (c-name "g_main_context_wait") - (return-type "gboolean") - (parameters - '("GCond*" "cond") - '("GMutex*" "mutex") - ) -) - -(define-method prepare - (of-object "GMainContext") - (c-name "g_main_context_prepare") - (return-type "gboolean") - (parameters - '("gint*" "priority") - ) -) - -(define-method query - (of-object "GMainContext") - (c-name "g_main_context_query") - (return-type "gint") - (parameters - '("gint" "max_priority") - '("gint*" "timeout_") - '("GPollFD*" "fds") - '("gint" "n_fds") - ) -) - -(define-method check - (of-object "GMainContext") - (c-name "g_main_context_check") - (return-type "gint") - (parameters - '("gint" "max_priority") - '("GPollFD*" "fds") - '("gint" "n_fds") - ) -) - -(define-method dispatch - (of-object "GMainContext") - (c-name "g_main_context_dispatch") - (return-type "none") -) - -(define-method set_poll_func - (of-object "GMainContext") - (c-name "g_main_context_set_poll_func") - (return-type "none") - (parameters - '("GPollFunc" "func") - ) -) - -(define-method get_poll_func - (of-object "GMainContext") - (c-name "g_main_context_get_poll_func") - (return-type "GPollFunc") -) - -(define-method add_poll - (of-object "GMainContext") - (c-name "g_main_context_add_poll") - (return-type "none") - (parameters - '("GPollFD*" "fd") - '("gint" "priority") - ) -) - -(define-method remove_poll - (of-object "GMainContext") - (c-name "g_main_context_remove_poll") - (return-type "none") - (parameters - '("GPollFD*" "fd") - ) -) - -(define-function g_main_depth - (c-name "g_main_depth") - (return-type "gint") -) - -(define-function g_main_current_source - (c-name "g_main_current_source") - (return-type "GSource*") -) - -(define-function g_main_loop_new - (c-name "g_main_loop_new") - (is-constructor-of "GMainLoop") - (return-type "GMainLoop*") - (parameters - '("GMainContext*" "context") - '("gboolean" "is_running") - ) -) - -(define-method run - (of-object "GMainLoop") - (c-name "g_main_loop_run") - (return-type "none") -) - -(define-method quit - (of-object "GMainLoop") - (c-name "g_main_loop_quit") - (return-type "none") -) - -(define-method ref - (of-object "GMainLoop") - (c-name "g_main_loop_ref") - (return-type "GMainLoop*") -) - -(define-method unref - (of-object "GMainLoop") - (c-name "g_main_loop_unref") - (return-type "none") -) - -(define-method is_running - (of-object "GMainLoop") - (c-name "g_main_loop_is_running") - (return-type "gboolean") -) - -(define-method get_context - (of-object "GMainLoop") - (c-name "g_main_loop_get_context") - (return-type "GMainContext*") -) - -(define-function g_source_new - (c-name "g_source_new") - (is-constructor-of "GSource") - (return-type "GSource*") - (parameters - '("GSourceFuncs*" "source_funcs") - '("guint" "struct_size") - ) -) - -(define-method ref - (of-object "GSource") - (c-name "g_source_ref") - (return-type "GSource*") -) - -(define-method unref - (of-object "GSource") - (c-name "g_source_unref") - (return-type "none") -) - -(define-method attach - (of-object "GSource") - (c-name "g_source_attach") - (return-type "guint") - (parameters - '("GMainContext*" "context") - ) -) - -(define-method destroy - (of-object "GSource") - (c-name "g_source_destroy") - (return-type "none") -) - -(define-method set_priority - (of-object "GSource") - (c-name "g_source_set_priority") - (return-type "none") - (parameters - '("gint" "priority") - ) -) - -(define-method get_priority - (of-object "GSource") - (c-name "g_source_get_priority") - (return-type "gint") -) - -(define-method set_can_recurse - (of-object "GSource") - (c-name "g_source_set_can_recurse") - (return-type "none") - (parameters - '("gboolean" "can_recurse") - ) -) - -(define-method get_can_recurse - (of-object "GSource") - (c-name "g_source_get_can_recurse") - (return-type "gboolean") -) - -(define-method get_id - (of-object "GSource") - (c-name "g_source_get_id") - (return-type "guint") -) - -(define-method get_context - (of-object "GSource") - (c-name "g_source_get_context") - (return-type "GMainContext*") -) - -(define-method set_callback - (of-object "GSource") - (c-name "g_source_set_callback") - (return-type "none") - (parameters - '("GSourceFunc" "func") - '("gpointer" "data") - '("GDestroyNotify" "notify") - ) -) - -(define-method set_funcs - (of-object "GSource") - (c-name "g_source_set_funcs") - (return-type "none") - (parameters - '("GSourceFuncs*" "funcs") - ) -) - -(define-method is_destroyed - (of-object "GSource") - (c-name "g_source_is_destroyed") - (return-type "gboolean") -) - -(define-method set_callback_indirect - (of-object "GSource") - (c-name "g_source_set_callback_indirect") - (return-type "none") - (parameters - '("gpointer" "callback_data") - '("GSourceCallbackFuncs*" "callback_funcs") - ) -) - -(define-method add_poll - (of-object "GSource") - (c-name "g_source_add_poll") - (return-type "none") - (parameters - '("GPollFD*" "fd") - ) -) - -(define-method remove_poll - (of-object "GSource") - (c-name "g_source_remove_poll") - (return-type "none") - (parameters - '("GPollFD*" "fd") - ) -) - -(define-method get_current_time - (of-object "GSource") - (c-name "g_source_get_current_time") - (return-type "none") - (parameters - '("GTimeVal*" "timeval") - ) -) - -(define-function g_idle_source_new - (c-name "g_idle_source_new") - (is-constructor-of "GIdleSource") - (return-type "GSource*") -) - -(define-function g_child_watch_source_new - (c-name "g_child_watch_source_new") - (is-constructor-of "GChildWatchSource") - (return-type "GSource*") - (parameters - '("GPid" "pid") - ) -) - -(define-function g_timeout_source_new - (c-name "g_timeout_source_new") - (is-constructor-of "GTimeoutSource") - (return-type "GSource*") - (parameters - '("guint" "interval") - ) -) - -(define-function g_timeout_source_new_seconds - (c-name "g_timeout_source_new_seconds") - (return-type "GSource*") - (parameters - '("guint" "interval") - ) -) - -(define-function g_get_current_time - (c-name "g_get_current_time") - (return-type "none") - (parameters - '("GTimeVal*" "result") - ) -) - -(define-function g_source_remove - (c-name "g_source_remove") - (return-type "gboolean") - (parameters - '("guint" "tag") - ) -) - -(define-function g_source_remove_by_user_data - (c-name "g_source_remove_by_user_data") - (return-type "gboolean") - (parameters - '("gpointer" "user_data") - ) -) - -(define-function g_source_remove_by_funcs_user_data - (c-name "g_source_remove_by_funcs_user_data") - (return-type "gboolean") - (parameters - '("GSourceFuncs*" "funcs") - '("gpointer" "user_data") - ) -) - -(define-function g_timeout_add_full - (c-name "g_timeout_add_full") - (return-type "guint") - (parameters - '("gint" "priority") - '("guint" "interval") - '("GSourceFunc" "function") - '("gpointer" "data") - '("GDestroyNotify" "notify") - ) -) - -(define-function g_timeout_add - (c-name "g_timeout_add") - (return-type "guint") - (parameters - '("guint" "interval") - '("GSourceFunc" "function") - '("gpointer" "data") - ) -) - -(define-function g_timeout_add_seconds_full - (c-name "g_timeout_add_seconds_full") - (return-type "guint") - (parameters - '("gint" "priority") - '("guint" "interval") - '("GSourceFunc" "function") - '("gpointer" "data") - '("GDestroyNotify" "notify") - ) -) - -(define-function g_timeout_add_seconds - (c-name "g_timeout_add_seconds") - (return-type "guint") - (parameters - '("guint" "interval") - '("GSourceFunc" "function") - '("gpointer" "data") - ) -) - -(define-function g_child_watch_add_full - (c-name "g_child_watch_add_full") - (return-type "guint") - (parameters - '("gint" "priority") - '("GPid" "pid") - '("GChildWatchFunc" "function") - '("gpointer" "data") - '("GDestroyNotify" "notify") - ) -) - -(define-function g_child_watch_add - (c-name "g_child_watch_add") - (return-type "guint") - (parameters - '("GPid" "pid") - '("GChildWatchFunc" "function") - '("gpointer" "data") - ) -) - -(define-function g_idle_add - (c-name "g_idle_add") - (return-type "guint") - (parameters - '("GSourceFunc" "function") - '("gpointer" "data") - ) -) - -(define-function g_idle_add_full - (c-name "g_idle_add_full") - (return-type "guint") - (parameters - '("gint" "priority") - '("GSourceFunc" "function") - '("gpointer" "data") - '("GDestroyNotify" "notify") - ) -) - -(define-function g_idle_remove_by_data - (c-name "g_idle_remove_by_data") - (return-type "gboolean") - (parameters - '("gpointer" "data") - ) -) - - - -;; From gmappedfile.h - -(define-function g_mapped_file_new - (c-name "g_mapped_file_new") - (is-constructor-of "GMappedFile") - (return-type "GMappedFile*") - (parameters - '("const-gchar*" "filename") - '("gboolean" "writable") - '("GError**" "error") - ) -) - -(define-method get_length - (of-object "GMappedFile") - (c-name "g_mapped_file_get_length") - (return-type "gsize") -) - -(define-method get_contents - (of-object "GMappedFile") - (c-name "g_mapped_file_get_contents") - (return-type "gchar*") -) - -(define-method free - (of-object "GMappedFile") - (c-name "g_mapped_file_free") - (return-type "none") -) - - - -;; From gmarkup.h - -(define-function g_markup_error_quark - (c-name "g_markup_error_quark") - (return-type "GQuark") -) - -(define-function g_markup_parse_context_new - (c-name "g_markup_parse_context_new") - (is-constructor-of "GMarkupParseContext") - (return-type "GMarkupParseContext*") - (parameters - '("const-GMarkupParser*" "parser") - '("GMarkupParseFlags" "flags") - '("gpointer" "user_data") - '("GDestroyNotify" "user_data_dnotify") - ) -) - -(define-method free - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_free") - (return-type "none") -) - -(define-method parse - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_parse") - (return-type "gboolean") - (parameters - '("const-gchar*" "text") - '("gssize" "text_len") - '("GError**" "error") - ) -) - -(define-method push - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_push") - (return-type "none") - (parameters - '("GMarkupParser*" "parser") - '("gpointer" "user_data") - ) -) - -(define-method pop - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_pop") - (return-type "gpointer") -) - -(define-method end_parse - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_end_parse") - (return-type "gboolean") - (parameters - '("GError**" "error") - ) -) - -(define-method get_element - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_get_element") - (return-type "const-gchar*") -) - -(define-method get_element_stack - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_get_element_stack") - (return-type "const-GSList*") -) - -(define-method get_position - (of-object "GMarkupParseContext") - (c-name "g_markup_parse_context_get_position") - (return-type "none") - (parameters - '("gint*" "line_number") - '("gint*" "char_number") - ) -) - -(define-function g_markup_escape_text - (c-name "g_markup_escape_text") - (return-type "gchar*") - (parameters - '("const-gchar*" "text") - '("gssize" "length") - ) -) - -(define-function g_markup_printf_escaped - (c-name "g_markup_printf_escaped") - (return-type "gchar*") - (parameters - '("const-char*" "format") - ) - (varargs #t) -) - -(define-function g_markup_vprintf_escaped - (c-name "g_markup_vprintf_escaped") - (return-type "gchar*") - (parameters - '("const-char*" "format") - '("va_list" "args") - ) -) - -(define-function g_markup_collect_attributes - (c-name "g_markup_collect_attributes") - (return-type "gboolean") - (parameters - '("const-gchar*" "element_name") - '("const-gchar**" "attribute_names") - '("const-gchar**" "attribute_values") - '("GError**" "error") - '("GMarkupCollectType" "first_type") - '("const-gchar*" "first_attr") - ) - (varargs #t) -) - - - -;; From gmem.h - -(define-function g_malloc - (c-name "g_malloc") - (return-type "gpointer") - (parameters - '("gsize" "n_bytes") - ) -) - -(define-function g_malloc0 - (c-name "g_malloc0") - (return-type "gpointer") - (parameters - '("gsize" "n_bytes") - ) -) - -(define-function g_realloc - (c-name "g_realloc") - (return-type "gpointer") - (parameters - '("gpointer" "mem") - '("gsize" "n_bytes") - ) -) - -(define-function g_free - (c-name "g_free") - (return-type "none") - (parameters - '("gpointer" "mem") - ) -) - -(define-function g_try_malloc - (c-name "g_try_malloc") - (return-type "gpointer") - (parameters - '("gsize" "n_bytes") - ) -) - -(define-function g_try_malloc0 - (c-name "g_try_malloc0") - (return-type "gpointer") - (parameters - '("gsize" "n_bytes") - ) -) - -(define-function g_try_realloc - (c-name "g_try_realloc") - (return-type "gpointer") - (parameters - '("gpointer" "mem") - '("gsize" "n_bytes") - ) -) - -(define-function g_mem_set_vtable - (c-name "g_mem_set_vtable") - (return-type "none") - (parameters - '("GMemVTable*" "vtable") - ) -) - -(define-function g_mem_is_system_malloc - (c-name "g_mem_is_system_malloc") - (return-type "gboolean") -) - -(define-function g_mem_profile - (c-name "g_mem_profile") - (return-type "none") -) - -(define-function g_mem_chunk_new - (c-name "g_mem_chunk_new") - (is-constructor-of "GMemChunk") - (return-type "GMemChunk*") - (parameters - '("const-gchar*" "name") - '("gint" "atom_size") - '("gsize" "area_size") - '("gint" "type") - ) -) - -(define-method destroy - (of-object "GMemChunk") - (c-name "g_mem_chunk_destroy") - (return-type "none") -) - -(define-method alloc - (of-object "GMemChunk") - (c-name "g_mem_chunk_alloc") - (return-type "gpointer") -) - -(define-method alloc0 - (of-object "GMemChunk") - (c-name "g_mem_chunk_alloc0") - (return-type "gpointer") -) - -(define-method free - (of-object "GMemChunk") - (c-name "g_mem_chunk_free") - (return-type "none") - (parameters - '("gpointer" "mem") - ) -) - -(define-method clean - (of-object "GMemChunk") - (c-name "g_mem_chunk_clean") - (return-type "none") -) - -(define-method reset - (of-object "GMemChunk") - (c-name "g_mem_chunk_reset") - (return-type "none") -) - -(define-method print - (of-object "GMemChunk") - (c-name "g_mem_chunk_print") - (return-type "none") -) - -(define-function g_mem_chunk_info - (c-name "g_mem_chunk_info") - (return-type "none") -) - -(define-function g_blow_chunks - (c-name "g_blow_chunks") - (return-type "none") -) - -(define-function g_allocator_new - (c-name "g_allocator_new") - (is-constructor-of "GAllocator") - (return-type "GAllocator*") - (parameters - '("const-gchar*" "name") - '("guint" "n_preallocs") - ) -) - -(define-method free - (of-object "GAllocator") - (c-name "g_allocator_free") - (return-type "none") -) - - - -;; From gmessages.h - -(define-function g_printf_string_upper_bound - (c-name "g_printf_string_upper_bound") - (return-type "gsize") - (parameters - '("const-gchar*" "format") - '("va_list" "args") - ) -) - -(define-function g_log_set_handler - (c-name "g_log_set_handler") - (return-type "guint") - (parameters - '("const-gchar*" "log_domain") - '("GLogLevelFlags" "log_levels") - '("GLogFunc" "log_func") - '("gpointer" "user_data") - ) -) - -(define-function g_log_remove_handler - (c-name "g_log_remove_handler") - (return-type "none") - (parameters - '("const-gchar*" "log_domain") - '("guint" "handler_id") - ) -) - -(define-function g_log_default_handler - (c-name "g_log_default_handler") - (return-type "none") - (parameters - '("const-gchar*" "log_domain") - '("GLogLevelFlags" "log_level") - '("const-gchar*" "message") - '("gpointer" "unused_data") - ) -) - -(define-function g_log_set_default_handler - (c-name "g_log_set_default_handler") - (return-type "GLogFunc") - (parameters - '("GLogFunc" "log_func") - '("gpointer" "user_data") - ) -) - -(define-function g_log - (c-name "g_log") - (return-type "none") - (parameters - '("const-gchar*" "log_domain") - '("GLogLevelFlags" "log_level") - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-function g_logv - (c-name "g_logv") - (return-type "none") - (parameters - '("const-gchar*" "log_domain") - '("GLogLevelFlags" "log_level") - '("const-gchar*" "format") - '("va_list" "args") - ) -) - -(define-function g_log_set_fatal_mask - (c-name "g_log_set_fatal_mask") - (return-type "GLogLevelFlags") - (parameters - '("const-gchar*" "log_domain") - '("GLogLevelFlags" "fatal_mask") - ) -) - -(define-function g_log_set_always_fatal - (c-name "g_log_set_always_fatal") - (return-type "GLogLevelFlags") - (parameters - '("GLogLevelFlags" "fatal_mask") - ) -) - -(define-function g_return_if_fail_warning - (c-name "g_return_if_fail_warning") - (return-type "none") - (parameters - '("const-char*" "log_domain") - '("const-char*" "pretty_function") - '("const-char*" "expression") - ) -) - -(define-function g_warn_message - (c-name "g_warn_message") - (return-type "none") - (parameters - '("const-char*" "domain") - '("const-char*" "file") - '("int" "line") - '("const-char*" "func") - '("const-char*" "warnexpr") - ) -) - -(define-function g_assert_warning - (c-name "g_assert_warning") - (return-type "none") - (parameters - '("const-char*" "log_domain") - '("const-char*" "file") - '("const-int" "line") - '("const-char*" "pretty_function") - '("const-char*" "expression") - ) -) - -(define-function g_set_print_handler - (c-name "g_set_print_handler") - (return-type "GPrintFunc") - (parameters - '("GPrintFunc" "func") - ) -) - -(define-function g_printerr - (c-name "g_printerr") - (return-type "none") - (parameters - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-function g_set_printerr_handler - (c-name "g_set_printerr_handler") - (return-type "GPrintFunc") - (parameters - '("GPrintFunc" "func") - ) -) - - - -;; From gmirroringtable.h - - - -;; From gnode.h - -(define-function g_node_new - (c-name "g_node_new") - (is-constructor-of "GNode") - (return-type "GNode*") - (parameters - '("gpointer" "data") - ) -) - -(define-method destroy - (of-object "GNode") - (c-name "g_node_destroy") - (return-type "none") -) - -(define-method unlink - (of-object "GNode") - (c-name "g_node_unlink") - (return-type "none") -) - -(define-method copy_deep - (of-object "GNode") - (c-name "g_node_copy_deep") - (return-type "GNode*") - (parameters - '("GCopyFunc" "copy_func") - '("gpointer" "data") - ) -) - -(define-method copy - (of-object "GNode") - (c-name "g_node_copy") - (return-type "GNode*") -) - -(define-method insert - (of-object "GNode") - (c-name "g_node_insert") - (return-type "GNode*") - (parameters - '("gint" "position") - '("GNode*" "node") - ) -) - -(define-method insert_before - (of-object "GNode") - (c-name "g_node_insert_before") - (return-type "GNode*") - (parameters - '("GNode*" "sibling") - '("GNode*" "node") - ) -) - -(define-method insert_after - (of-object "GNode") - (c-name "g_node_insert_after") - (return-type "GNode*") - (parameters - '("GNode*" "sibling") - '("GNode*" "node") - ) -) - -(define-method prepend - (of-object "GNode") - (c-name "g_node_prepend") - (return-type "GNode*") - (parameters - '("GNode*" "node") - ) -) - -(define-method n_nodes - (of-object "GNode") - (c-name "g_node_n_nodes") - (return-type "guint") - (parameters - '("GTraverseFlags" "flags") - ) -) - -(define-method get_root - (of-object "GNode") - (c-name "g_node_get_root") - (return-type "GNode*") -) - -(define-method is_ancestor - (of-object "GNode") - (c-name "g_node_is_ancestor") - (return-type "gboolean") - (parameters - '("GNode*" "descendant") - ) -) - -(define-method depth - (of-object "GNode") - (c-name "g_node_depth") - (return-type "guint") -) - -(define-method find - (of-object "GNode") - (c-name "g_node_find") - (return-type "GNode*") - (parameters - '("GTraverseType" "order") - '("GTraverseFlags" "flags") - '("gpointer" "data") - ) -) - -(define-method traverse - (of-object "GNode") - (c-name "g_node_traverse") - (return-type "none") - (parameters - '("GTraverseType" "order") - '("GTraverseFlags" "flags") - '("gint" "max_depth") - '("GNodeTraverseFunc" "func") - '("gpointer" "data") - ) -) - -(define-method max_height - (of-object "GNode") - (c-name "g_node_max_height") - (return-type "guint") -) - -(define-method children_foreach - (of-object "GNode") - (c-name "g_node_children_foreach") - (return-type "none") - (parameters - '("GTraverseFlags" "flags") - '("GNodeForeachFunc" "func") - '("gpointer" "data") - ) -) - -(define-method reverse_children - (of-object "GNode") - (c-name "g_node_reverse_children") - (return-type "none") -) - -(define-method n_children - (of-object "GNode") - (c-name "g_node_n_children") - (return-type "guint") -) - -(define-method nth_child - (of-object "GNode") - (c-name "g_node_nth_child") - (return-type "GNode*") - (parameters - '("guint" "n") - ) -) - -(define-method last_child - (of-object "GNode") - (c-name "g_node_last_child") - (return-type "GNode*") -) - -(define-method find_child - (of-object "GNode") - (c-name "g_node_find_child") - (return-type "GNode*") - (parameters - '("GTraverseFlags" "flags") - '("gpointer" "data") - ) -) - -(define-method child_position - (of-object "GNode") - (c-name "g_node_child_position") - (return-type "gint") - (parameters - '("GNode*" "child") - ) -) - -(define-method child_index - (of-object "GNode") - (c-name "g_node_child_index") - (return-type "gint") - (parameters - '("gpointer" "data") - ) -) - -(define-method first_sibling - (of-object "GNode") - (c-name "g_node_first_sibling") - (return-type "GNode*") -) - -(define-method last_sibling - (of-object "GNode") - (c-name "g_node_last_sibling") - (return-type "GNode*") -) - -(define-function g_node_push_allocator - (c-name "g_node_push_allocator") - (return-type "none") - (parameters - '("gpointer" "dummy") - ) -) - -(define-function g_node_pop_allocator - (c-name "g_node_pop_allocator") - (return-type "none") -) - - - -;; From goption.h - -(define-function g_option_error_quark - (c-name "g_option_error_quark") - (return-type "GQuark") -) - -(define-function g_option_context_new - (c-name "g_option_context_new") - (is-constructor-of "GOptionContext") - (return-type "GOptionContext*") - (parameters - '("const-gchar*" "parameter_string") - ) -) - -(define-method set_summary - (of-object "GOptionContext") - (c-name "g_option_context_set_summary") - (return-type "none") - (parameters - '("const-gchar*" "summary") - ) -) - -(define-method get_summary - (of-object "GOptionContext") - (c-name "g_option_context_get_summary") - (return-type "const-gchar*") -) - -(define-method set_description - (of-object "GOptionContext") - (c-name "g_option_context_set_description") - (return-type "none") - (parameters - '("const-gchar*" "description") - ) -) - -(define-method get_description - (of-object "GOptionContext") - (c-name "g_option_context_get_description") - (return-type "const-gchar*") -) - -(define-method free - (of-object "GOptionContext") - (c-name "g_option_context_free") - (return-type "none") -) - -(define-method set_help_enabled - (of-object "GOptionContext") - (c-name "g_option_context_set_help_enabled") - (return-type "none") - (parameters - '("gboolean" "help_enabled") - ) -) - -(define-method get_help_enabled - (of-object "GOptionContext") - (c-name "g_option_context_get_help_enabled") - (return-type "gboolean") -) - -(define-method set_ignore_unknown_options - (of-object "GOptionContext") - (c-name "g_option_context_set_ignore_unknown_options") - (return-type "none") - (parameters - '("gboolean" "ignore_unknown") - ) -) - -(define-method get_ignore_unknown_options - (of-object "GOptionContext") - (c-name "g_option_context_get_ignore_unknown_options") - (return-type "gboolean") -) - -(define-method add_main_entries - (of-object "GOptionContext") - (c-name "g_option_context_add_main_entries") - (return-type "none") - (parameters - '("const-GOptionEntry*" "entries") - '("const-gchar*" "translation_domain") - ) -) - -(define-method parse - (of-object "GOptionContext") - (c-name "g_option_context_parse") - (return-type "gboolean") - (parameters - '("gint*" "argc") - '("gchar***" "argv") - '("GError**" "error") - ) -) - -(define-method set_translate_func - (of-object "GOptionContext") - (c-name "g_option_context_set_translate_func") - (return-type "none") - (parameters - '("GTranslateFunc" "func") - '("gpointer" "data") - '("GDestroyNotify" "destroy_notify") - ) -) - -(define-method set_translation_domain - (of-object "GOptionContext") - (c-name "g_option_context_set_translation_domain") - (return-type "none") - (parameters - '("const-gchar*" "domain") - ) -) - -(define-method add_group - (of-object "GOptionContext") - (c-name "g_option_context_add_group") - (return-type "none") - (parameters - '("GOptionGroup*" "group") - ) -) - -(define-method set_main_group - (of-object "GOptionContext") - (c-name "g_option_context_set_main_group") - (return-type "none") - (parameters - '("GOptionGroup*" "group") - ) -) - -(define-method get_main_group - (of-object "GOptionContext") - (c-name "g_option_context_get_main_group") - (return-type "GOptionGroup*") -) - -(define-method get_help - (of-object "GOptionContext") - (c-name "g_option_context_get_help") - (return-type "gchar*") - (parameters - '("gboolean" "main_help") - '("GOptionGroup*" "group") - ) -) - -(define-function g_option_group_new - (c-name "g_option_group_new") - (is-constructor-of "GOptionGroup") - (return-type "GOptionGroup*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "description") - '("const-gchar*" "help_description") - '("gpointer" "user_data") - '("GDestroyNotify" "destroy") - ) -) - -(define-method set_parse_hooks - (of-object "GOptionGroup") - (c-name "g_option_group_set_parse_hooks") - (return-type "none") - (parameters - '("GOptionParseFunc" "pre_parse_func") - '("GOptionParseFunc" "post_parse_func") - ) -) - -(define-method set_error_hook - (of-object "GOptionGroup") - (c-name "g_option_group_set_error_hook") - (return-type "none") - (parameters - '("GOptionErrorFunc" "error_func") - ) -) - -(define-method free - (of-object "GOptionGroup") - (c-name "g_option_group_free") - (return-type "none") -) - -(define-method add_entries - (of-object "GOptionGroup") - (c-name "g_option_group_add_entries") - (return-type "none") - (parameters - '("const-GOptionEntry*" "entries") - ) -) - -(define-method set_translate_func - (of-object "GOptionGroup") - (c-name "g_option_group_set_translate_func") - (return-type "none") - (parameters - '("GTranslateFunc" "func") - '("gpointer" "data") - '("GDestroyNotify" "destroy_notify") - ) -) - -(define-method set_translation_domain - (of-object "GOptionGroup") - (c-name "g_option_group_set_translation_domain") - (return-type "none") - (parameters - '("const-gchar*" "domain") - ) -) - - - -;; From gpattern.h - -(define-function g_pattern_spec_new - (c-name "g_pattern_spec_new") - (is-constructor-of "GPatternSpec") - (return-type "GPatternSpec*") - (parameters - '("const-gchar*" "pattern") - ) -) - -(define-method free - (of-object "GPatternSpec") - (c-name "g_pattern_spec_free") - (return-type "none") -) - -(define-method equal - (of-object "GPatternSpec") - (c-name "g_pattern_spec_equal") - (return-type "gboolean") - (parameters - '("GPatternSpec*" "pspec2") - ) -) - -(define-function g_pattern_match - (c-name "g_pattern_match") - (return-type "gboolean") - (parameters - '("GPatternSpec*" "pspec") - '("guint" "string_length") - '("const-gchar*" "string") - '("const-gchar*" "string_reversed") - ) -) - -(define-function g_pattern_match_string - (c-name "g_pattern_match_string") - (return-type "gboolean") - (parameters - '("GPatternSpec*" "pspec") - '("const-gchar*" "string") - ) -) - -(define-function g_pattern_match_simple - (c-name "g_pattern_match_simple") - (return-type "gboolean") - (parameters - '("const-gchar*" "pattern") - '("const-gchar*" "string") - ) -) - - - -;; From gprimes.h - -(define-function g_spaced_primes_closest - (c-name "g_spaced_primes_closest") - (return-type "guint") - (parameters - '("guint" "num") - ) -) - - - -;; From gprintf.h - -(define-function g_printf - (c-name "g_printf") - (return-type "gint") - (parameters - '("gchar-const*" "format") - ) - (varargs #t) -) - -(define-function g_fprintf - (c-name "g_fprintf") - (return-type "gint") - (parameters - '("FILE*" "file") - '("gchar-const*" "format") - ) - (varargs #t) -) - -(define-function g_sprintf - (c-name "g_sprintf") - (return-type "gint") - (parameters - '("gchar*" "string") - '("gchar-const*" "format") - ) - (varargs #t) -) - -(define-function g_vprintf - (c-name "g_vprintf") - (return-type "gint") - (parameters - '("gchar-const*" "format") - '("va_list" "args") - ) -) - -(define-function g_vfprintf - (c-name "g_vfprintf") - (return-type "gint") - (parameters - '("FILE*" "file") - '("gchar-const*" "format") - '("va_list" "args") - ) -) - -(define-function g_vsprintf - (c-name "g_vsprintf") - (return-type "gint") - (parameters - '("gchar*" "string") - '("gchar-const*" "format") - '("va_list" "args") - ) -) - -(define-function g_vasprintf - (c-name "g_vasprintf") - (return-type "gint") - (parameters - '("gchar**" "string") - '("gchar-const*" "format") - '("va_list" "args") - ) -) - - - -;; From gprintfint.h - - - -;; From gqsort.h - -(define-function g_qsort_with_data - (c-name "g_qsort_with_data") - (return-type "none") - (parameters - '("gconstpointer" "pbase") - '("gint" "total_elems") - '("gsize" "size") - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - - - -;; From gquark.h - -(define-function g_quark_try_string - (c-name "g_quark_try_string") - (return-type "GQuark") - (parameters - '("const-gchar*" "string") - ) -) - -(define-function g_quark_from_static_string - (c-name "g_quark_from_static_string") - (return-type "GQuark") - (parameters - '("const-gchar*" "string") - ) -) - -(define-function g_quark_from_string - (c-name "g_quark_from_string") - (return-type "GQuark") - (parameters - '("const-gchar*" "string") - ) -) - -(define-method to_string - (of-object "GQuark") - (c-name "g_quark_to_string") - (return-type "const-gchar*") -) - -(define-function g_intern_string - (c-name "g_intern_string") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "string") - ) -) - -(define-function g_intern_static_string - (c-name "g_intern_static_string") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "string") - ) -) - - - -;; From gqueue.h - -(define-function g_queue_new - (c-name "g_queue_new") - (is-constructor-of "GQueue") - (return-type "GQueue*") -) - -(define-method free - (of-object "GQueue") - (c-name "g_queue_free") - (return-type "none") -) - -(define-method init - (of-object "GQueue") - (c-name "g_queue_init") - (return-type "none") -) - -(define-method clear - (of-object "GQueue") - (c-name "g_queue_clear") - (return-type "none") -) - -(define-method is_empty - (of-object "GQueue") - (c-name "g_queue_is_empty") - (return-type "gboolean") -) - -(define-method get_length - (of-object "GQueue") - (c-name "g_queue_get_length") - (return-type "guint") -) - -(define-method reverse - (of-object "GQueue") - (c-name "g_queue_reverse") - (return-type "none") -) - -(define-method copy - (of-object "GQueue") - (c-name "g_queue_copy") - (return-type "GQueue*") -) - -(define-method foreach - (of-object "GQueue") - (c-name "g_queue_foreach") - (return-type "none") - (parameters - '("GFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method find - (of-object "GQueue") - (c-name "g_queue_find") - (return-type "GList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method find_custom - (of-object "GQueue") - (c-name "g_queue_find_custom") - (return-type "GList*") - (parameters - '("gconstpointer" "data") - '("GCompareFunc" "func") - ) -) - -(define-method sort - (of-object "GQueue") - (c-name "g_queue_sort") - (return-type "none") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - -(define-method push_head - (of-object "GQueue") - (c-name "g_queue_push_head") - (return-type "none") - (parameters - '("gpointer" "data") - ) -) - -(define-method push_tail - (of-object "GQueue") - (c-name "g_queue_push_tail") - (return-type "none") - (parameters - '("gpointer" "data") - ) -) - -(define-method push_nth - (of-object "GQueue") - (c-name "g_queue_push_nth") - (return-type "none") - (parameters - '("gpointer" "data") - '("gint" "n") - ) -) - -(define-method pop_head - (of-object "GQueue") - (c-name "g_queue_pop_head") - (return-type "gpointer") -) - -(define-method pop_tail - (of-object "GQueue") - (c-name "g_queue_pop_tail") - (return-type "gpointer") -) - -(define-method pop_nth - (of-object "GQueue") - (c-name "g_queue_pop_nth") - (return-type "gpointer") - (parameters - '("guint" "n") - ) -) - -(define-method peek_head - (of-object "GQueue") - (c-name "g_queue_peek_head") - (return-type "gpointer") -) - -(define-method peek_tail - (of-object "GQueue") - (c-name "g_queue_peek_tail") - (return-type "gpointer") -) - -(define-method peek_nth - (of-object "GQueue") - (c-name "g_queue_peek_nth") - (return-type "gpointer") - (parameters - '("guint" "n") - ) -) - -(define-method index - (of-object "GQueue") - (c-name "g_queue_index") - (return-type "gint") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method remove - (of-object "GQueue") - (c-name "g_queue_remove") - (return-type "none") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method remove_all - (of-object "GQueue") - (c-name "g_queue_remove_all") - (return-type "none") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method insert_before - (of-object "GQueue") - (c-name "g_queue_insert_before") - (return-type "none") - (parameters - '("GList*" "sibling") - '("gpointer" "data") - ) -) - -(define-method insert_after - (of-object "GQueue") - (c-name "g_queue_insert_after") - (return-type "none") - (parameters - '("GList*" "sibling") - '("gpointer" "data") - ) -) - -(define-method insert_sorted - (of-object "GQueue") - (c-name "g_queue_insert_sorted") - (return-type "none") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method push_head_link - (of-object "GQueue") - (c-name "g_queue_push_head_link") - (return-type "none") - (parameters - '("GList*" "link_") - ) -) - -(define-method push_tail_link - (of-object "GQueue") - (c-name "g_queue_push_tail_link") - (return-type "none") - (parameters - '("GList*" "link_") - ) -) - -(define-method push_nth_link - (of-object "GQueue") - (c-name "g_queue_push_nth_link") - (return-type "none") - (parameters - '("gint" "n") - '("GList*" "link_") - ) -) - -(define-method pop_head_link - (of-object "GQueue") - (c-name "g_queue_pop_head_link") - (return-type "GList*") -) - -(define-method pop_tail_link - (of-object "GQueue") - (c-name "g_queue_pop_tail_link") - (return-type "GList*") -) - -(define-method pop_nth_link - (of-object "GQueue") - (c-name "g_queue_pop_nth_link") - (return-type "GList*") - (parameters - '("guint" "n") - ) -) - -(define-method peek_head_link - (of-object "GQueue") - (c-name "g_queue_peek_head_link") - (return-type "GList*") -) - -(define-method peek_tail_link - (of-object "GQueue") - (c-name "g_queue_peek_tail_link") - (return-type "GList*") -) - -(define-method peek_nth_link - (of-object "GQueue") - (c-name "g_queue_peek_nth_link") - (return-type "GList*") - (parameters - '("guint" "n") - ) -) - -(define-method link_index - (of-object "GQueue") - (c-name "g_queue_link_index") - (return-type "gint") - (parameters - '("GList*" "link_") - ) -) - -(define-method unlink - (of-object "GQueue") - (c-name "g_queue_unlink") - (return-type "none") - (parameters - '("GList*" "link_") - ) -) - -(define-method delete_link - (of-object "GQueue") - (c-name "g_queue_delete_link") - (return-type "none") - (parameters - '("GList*" "link_") - ) -) - - - -;; From grand.h - -(define-function g_rand_new_with_seed - (c-name "g_rand_new_with_seed") - (return-type "GRand*") - (parameters - '("guint32" "seed") - ) -) - -(define-function g_rand_new_with_seed_array - (c-name "g_rand_new_with_seed_array") - (return-type "GRand*") - (parameters - '("const-guint32*" "seed") - '("guint" "seed_length") - ) -) - -(define-function g_rand_new - (c-name "g_rand_new") - (is-constructor-of "GRand") - (return-type "GRand*") -) - -(define-method free - (of-object "GRand") - (c-name "g_rand_free") - (return-type "none") -) - -(define-method copy - (of-object "GRand") - (c-name "g_rand_copy") - (return-type "GRand*") -) - -(define-method set_seed - (of-object "GRand") - (c-name "g_rand_set_seed") - (return-type "none") - (parameters - '("guint32" "seed") - ) -) - -(define-method set_seed_array - (of-object "GRand") - (c-name "g_rand_set_seed_array") - (return-type "none") - (parameters - '("const-guint32*" "seed") - '("guint" "seed_length") - ) -) - -(define-method int - (of-object "GRand") - (c-name "g_rand_int") - (return-type "guint32") -) - -(define-method int_range - (of-object "GRand") - (c-name "g_rand_int_range") - (return-type "gint32") - (parameters - '("gint32" "begin") - '("gint32" "end") - ) -) - -(define-method double - (of-object "GRand") - (c-name "g_rand_double") - (return-type "gdouble") -) - -(define-method double_range - (of-object "GRand") - (c-name "g_rand_double_range") - (return-type "gdouble") - (parameters - '("gdouble" "begin") - '("gdouble" "end") - ) -) - -(define-function g_random_set_seed - (c-name "g_random_set_seed") - (return-type "none") - (parameters - '("guint32" "seed") - ) -) - -(define-function g_random_int - (c-name "g_random_int") - (return-type "guint32") -) - -(define-function g_random_int_range - (c-name "g_random_int_range") - (return-type "gint32") - (parameters - '("gint32" "begin") - '("gint32" "end") - ) -) - -(define-function g_random_double - (c-name "g_random_double") - (return-type "gdouble") -) - -(define-function g_random_double_range - (c-name "g_random_double_range") - (return-type "gdouble") - (parameters - '("gdouble" "begin") - '("gdouble" "end") - ) -) - - - -;; From gregex.h - -(define-function g_regex_error_quark - (c-name "g_regex_error_quark") - (return-type "GQuark") -) - -(define-function g_regex_new - (c-name "g_regex_new") - (is-constructor-of "GRegex") - (return-type "GRegex*") - (parameters - '("const-gchar*" "pattern") - '("GRegexCompileFlags" "compile_options") - '("GRegexMatchFlags" "match_options") - '("GError**" "error") - ) -) - -(define-method ref - (of-object "GRegex") - (c-name "g_regex_ref") - (return-type "GRegex*") -) - -(define-method unref - (of-object "GRegex") - (c-name "g_regex_unref") - (return-type "none") -) - -(define-method get_pattern - (of-object "GRegex") - (c-name "g_regex_get_pattern") - (return-type "const-gchar*") -) - -(define-method get_max_backref - (of-object "GRegex") - (c-name "g_regex_get_max_backref") - (return-type "gint") -) - -(define-method get_capture_count - (of-object "GRegex") - (c-name "g_regex_get_capture_count") - (return-type "gint") -) - -(define-method get_string_number - (of-object "GRegex") - (c-name "g_regex_get_string_number") - (return-type "gint") - (parameters - '("const-gchar*" "name") - ) -) - -(define-function g_regex_escape_string - (c-name "g_regex_escape_string") - (return-type "gchar*") - (parameters - '("const-gchar*" "string") - '("gint" "length") - ) -) - -(define-function g_regex_match_simple - (c-name "g_regex_match_simple") - (return-type "gboolean") - (parameters - '("const-gchar*" "pattern") - '("const-gchar*" "string") - '("GRegexCompileFlags" "compile_options") - '("GRegexMatchFlags" "match_options") - ) -) - -(define-method match - (of-object "GRegex") - (c-name "g_regex_match") - (return-type "gboolean") - (parameters - '("const-gchar*" "string") - '("GRegexMatchFlags" "match_options") - '("GMatchInfo**" "match_info") - ) -) - -(define-method match_full - (of-object "GRegex") - (c-name "g_regex_match_full") - (return-type "gboolean") - (parameters - '("const-gchar*" "string") - '("gssize" "string_len") - '("gint" "start_position") - '("GRegexMatchFlags" "match_options") - '("GMatchInfo**" "match_info") - '("GError**" "error") - ) -) - -(define-method match_all - (of-object "GRegex") - (c-name "g_regex_match_all") - (return-type "gboolean") - (parameters - '("const-gchar*" "string") - '("GRegexMatchFlags" "match_options") - '("GMatchInfo**" "match_info") - ) -) - -(define-method match_all_full - (of-object "GRegex") - (c-name "g_regex_match_all_full") - (return-type "gboolean") - (parameters - '("const-gchar*" "string") - '("gssize" "string_len") - '("gint" "start_position") - '("GRegexMatchFlags" "match_options") - '("GMatchInfo**" "match_info") - '("GError**" "error") - ) -) - -(define-function g_regex_split_simple - (c-name "g_regex_split_simple") - (return-type "gchar**") - (parameters - '("const-gchar*" "pattern") - '("const-gchar*" "string") - '("GRegexCompileFlags" "compile_options") - '("GRegexMatchFlags" "match_options") - ) -) - -(define-method split - (of-object "GRegex") - (c-name "g_regex_split") - (return-type "gchar**") - (parameters - '("const-gchar*" "string") - '("GRegexMatchFlags" "match_options") - ) -) - -(define-method split_full - (of-object "GRegex") - (c-name "g_regex_split_full") - (return-type "gchar**") - (parameters - '("const-gchar*" "string") - '("gssize" "string_len") - '("gint" "start_position") - '("GRegexMatchFlags" "match_options") - '("gint" "max_tokens") - '("GError**" "error") - ) -) - -(define-method replace - (of-object "GRegex") - (c-name "g_regex_replace") - (return-type "gchar*") - (parameters - '("const-gchar*" "string") - '("gssize" "string_len") - '("gint" "start_position") - '("const-gchar*" "replacement") - '("GRegexMatchFlags" "match_options") - '("GError**" "error") - ) -) - -(define-method replace_literal - (of-object "GRegex") - (c-name "g_regex_replace_literal") - (return-type "gchar*") - (parameters - '("const-gchar*" "string") - '("gssize" "string_len") - '("gint" "start_position") - '("const-gchar*" "replacement") - '("GRegexMatchFlags" "match_options") - '("GError**" "error") - ) -) - -(define-method replace_eval - (of-object "GRegex") - (c-name "g_regex_replace_eval") - (return-type "gchar*") - (parameters - '("const-gchar*" "string") - '("gssize" "string_len") - '("gint" "start_position") - '("GRegexMatchFlags" "match_options") - '("GRegexEvalCallback" "eval") - '("gpointer" "user_data") - '("GError**" "error") - ) -) - -(define-function g_regex_check_replacement - (c-name "g_regex_check_replacement") - (return-type "gboolean") - (parameters - '("const-gchar*" "replacement") - '("gboolean*" "has_references") - '("GError**" "error") - ) -) - -(define-method get_regex - (of-object "GMatchInfo") - (c-name "g_match_info_get_regex") - (return-type "GRegex*") -) - -(define-method get_string - (of-object "GMatchInfo") - (c-name "g_match_info_get_string") - (return-type "const-gchar*") -) - -(define-method free - (of-object "GMatchInfo") - (c-name "g_match_info_free") - (return-type "none") -) - -(define-method next - (of-object "GMatchInfo") - (c-name "g_match_info_next") - (return-type "gboolean") - (parameters - '("GError**" "error") - ) -) - -(define-method matches - (of-object "GMatchInfo") - (c-name "g_match_info_matches") - (return-type "gboolean") -) - -(define-method get_match_count - (of-object "GMatchInfo") - (c-name "g_match_info_get_match_count") - (return-type "gint") -) - -(define-method is_partial_match - (of-object "GMatchInfo") - (c-name "g_match_info_is_partial_match") - (return-type "gboolean") -) - -(define-method expand_references - (of-object "GMatchInfo") - (c-name "g_match_info_expand_references") - (return-type "gchar*") - (parameters - '("const-gchar*" "string_to_expand") - '("GError**" "error") - ) -) - -(define-method fetch - (of-object "GMatchInfo") - (c-name "g_match_info_fetch") - (return-type "gchar*") - (parameters - '("gint" "match_num") - ) -) - -(define-method fetch_pos - (of-object "GMatchInfo") - (c-name "g_match_info_fetch_pos") - (return-type "gboolean") - (parameters - '("gint" "match_num") - '("gint*" "start_pos") - '("gint*" "end_pos") - ) -) - -(define-method fetch_named - (of-object "GMatchInfo") - (c-name "g_match_info_fetch_named") - (return-type "gchar*") - (parameters - '("const-gchar*" "name") - ) -) - -(define-method fetch_named_pos - (of-object "GMatchInfo") - (c-name "g_match_info_fetch_named_pos") - (return-type "gboolean") - (parameters - '("const-gchar*" "name") - '("gint*" "start_pos") - '("gint*" "end_pos") - ) -) - -(define-method fetch_all - (of-object "GMatchInfo") - (c-name "g_match_info_fetch_all") - (return-type "gchar**") -) - - - -;; From grel.h - -(define-function g_relation_new - (c-name "g_relation_new") - (is-constructor-of "GRelation") - (return-type "GRelation*") - (parameters - '("gint" "fields") - ) -) - -(define-method destroy - (of-object "GRelation") - (c-name "g_relation_destroy") - (return-type "none") -) - -(define-method index - (of-object "GRelation") - (c-name "g_relation_index") - (return-type "none") - (parameters - '("gint" "field") - '("GHashFunc" "hash_func") - '("GEqualFunc" "key_equal_func") - ) -) - -(define-method insert - (of-object "GRelation") - (c-name "g_relation_insert") - (return-type "none") - (parameters - ) - (varargs #t) -) - -(define-method delete - (of-object "GRelation") - (c-name "g_relation_delete") - (return-type "gint") - (parameters - '("gconstpointer" "key") - '("gint" "field") - ) -) - -(define-method select - (of-object "GRelation") - (c-name "g_relation_select") - (return-type "GTuples*") - (parameters - '("gconstpointer" "key") - '("gint" "field") - ) -) - -(define-method count - (of-object "GRelation") - (c-name "g_relation_count") - (return-type "gint") - (parameters - '("gconstpointer" "key") - '("gint" "field") - ) -) - -(define-method exists - (of-object "GRelation") - (c-name "g_relation_exists") - (return-type "gboolean") - (parameters - ) - (varargs #t) -) - -(define-method print - (of-object "GRelation") - (c-name "g_relation_print") - (return-type "none") -) - -(define-method destroy - (of-object "GTuples") - (c-name "g_tuples_destroy") - (return-type "none") -) - -(define-method index - (of-object "GTuples") - (c-name "g_tuples_index") - (return-type "gpointer") - (parameters - '("gint" "index_") - '("gint" "field") - ) -) - - - -;; From gscanner.h - -(define-function g_scanner_new - (c-name "g_scanner_new") - (is-constructor-of "GScanner") - (return-type "GScanner*") - (parameters - '("const-GScannerConfig*" "config_templ") - ) -) - -(define-method destroy - (of-object "GScanner") - (c-name "g_scanner_destroy") - (return-type "none") -) - -(define-method input_file - (of-object "GScanner") - (c-name "g_scanner_input_file") - (return-type "none") - (parameters - '("gint" "input_fd") - ) -) - -(define-method sync_file_offset - (of-object "GScanner") - (c-name "g_scanner_sync_file_offset") - (return-type "none") -) - -(define-method input_text - (of-object "GScanner") - (c-name "g_scanner_input_text") - (return-type "none") - (parameters - '("const-gchar*" "text") - '("guint" "text_len") - ) -) - -(define-method get_next_token - (of-object "GScanner") - (c-name "g_scanner_get_next_token") - (return-type "GTokenType") -) - -(define-method peek_next_token - (of-object "GScanner") - (c-name "g_scanner_peek_next_token") - (return-type "GTokenType") -) - -(define-method cur_token - (of-object "GScanner") - (c-name "g_scanner_cur_token") - (return-type "GTokenType") -) - -(define-method cur_value - (of-object "GScanner") - (c-name "g_scanner_cur_value") - (return-type "GTokenValue") -) - -(define-method cur_line - (of-object "GScanner") - (c-name "g_scanner_cur_line") - (return-type "guint") -) - -(define-method cur_position - (of-object "GScanner") - (c-name "g_scanner_cur_position") - (return-type "guint") -) - -(define-method eof - (of-object "GScanner") - (c-name "g_scanner_eof") - (return-type "gboolean") -) - -(define-method set_scope - (of-object "GScanner") - (c-name "g_scanner_set_scope") - (return-type "guint") - (parameters - '("guint" "scope_id") - ) -) - -(define-method scope_add_symbol - (of-object "GScanner") - (c-name "g_scanner_scope_add_symbol") - (return-type "none") - (parameters - '("guint" "scope_id") - '("const-gchar*" "symbol") - '("gpointer" "value") - ) -) - -(define-method scope_remove_symbol - (of-object "GScanner") - (c-name "g_scanner_scope_remove_symbol") - (return-type "none") - (parameters - '("guint" "scope_id") - '("const-gchar*" "symbol") - ) -) - -(define-method scope_lookup_symbol - (of-object "GScanner") - (c-name "g_scanner_scope_lookup_symbol") - (return-type "gpointer") - (parameters - '("guint" "scope_id") - '("const-gchar*" "symbol") - ) -) - -(define-method scope_foreach_symbol - (of-object "GScanner") - (c-name "g_scanner_scope_foreach_symbol") - (return-type "none") - (parameters - '("guint" "scope_id") - '("GHFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method lookup_symbol - (of-object "GScanner") - (c-name "g_scanner_lookup_symbol") - (return-type "gpointer") - (parameters - '("const-gchar*" "symbol") - ) -) - -(define-method unexp_token - (of-object "GScanner") - (c-name "g_scanner_unexp_token") - (return-type "none") - (parameters - '("GTokenType" "expected_token") - '("const-gchar*" "identifier_spec") - '("const-gchar*" "symbol_spec") - '("const-gchar*" "symbol_name") - '("const-gchar*" "message") - '("gint" "is_error") - ) -) - -(define-method error - (of-object "GScanner") - (c-name "g_scanner_error") - (return-type "none") - (parameters - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-method warn - (of-object "GScanner") - (c-name "g_scanner_warn") - (return-type "none") - (parameters - '("const-gchar*" "format") - ) - (varargs #t) -) - - - -;; From gscripttable.h - - - -;; From gsequence.h - -(define-function g_sequence_new - (c-name "g_sequence_new") - (is-constructor-of "GSequence") - (return-type "GSequence*") - (parameters - '("GDestroyNotify" "data_destroy") - ) -) - -(define-method free - (of-object "GSequence") - (c-name "g_sequence_free") - (return-type "none") -) - -(define-method get_length - (of-object "GSequence") - (c-name "g_sequence_get_length") - (return-type "gint") -) - -(define-method foreach - (of-object "GSequence") - (c-name "g_sequence_foreach") - (return-type "none") - (parameters - '("GFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-function g_sequence_foreach_range - (c-name "g_sequence_foreach_range") - (return-type "none") - (parameters - '("GSequenceIter*" "begin") - '("GSequenceIter*" "end") - '("GFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method sort - (of-object "GSequence") - (c-name "g_sequence_sort") - (return-type "none") - (parameters - '("GCompareDataFunc" "cmp_func") - '("gpointer" "cmp_data") - ) -) - -(define-method sort_iter - (of-object "GSequence") - (c-name "g_sequence_sort_iter") - (return-type "none") - (parameters - '("GSequenceIterCompareFunc" "cmp_func") - '("gpointer" "cmp_data") - ) -) - -(define-method get_begin_iter - (of-object "GSequence") - (c-name "g_sequence_get_begin_iter") - (return-type "GSequenceIter*") -) - -(define-method get_end_iter - (of-object "GSequence") - (c-name "g_sequence_get_end_iter") - (return-type "GSequenceIter*") -) - -(define-method get_iter_at_pos - (of-object "GSequence") - (c-name "g_sequence_get_iter_at_pos") - (return-type "GSequenceIter*") - (parameters - '("gint" "pos") - ) -) - -(define-method append - (of-object "GSequence") - (c-name "g_sequence_append") - (return-type "GSequenceIter*") - (parameters - '("gpointer" "data") - ) -) - -(define-method prepend - (of-object "GSequence") - (c-name "g_sequence_prepend") - (return-type "GSequenceIter*") - (parameters - '("gpointer" "data") - ) -) - -(define-function g_sequence_insert_before - (c-name "g_sequence_insert_before") - (return-type "GSequenceIter*") - (parameters - '("GSequenceIter*" "iter") - '("gpointer" "data") - ) -) - -(define-function g_sequence_move - (c-name "g_sequence_move") - (return-type "none") - (parameters - '("GSequenceIter*" "src") - '("GSequenceIter*" "dest") - ) -) - -(define-function g_sequence_swap - (c-name "g_sequence_swap") - (return-type "none") - (parameters - '("GSequenceIter*" "a") - '("GSequenceIter*" "b") - ) -) - -(define-method insert_sorted - (of-object "GSequence") - (c-name "g_sequence_insert_sorted") - (return-type "GSequenceIter*") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "cmp_func") - '("gpointer" "cmp_data") - ) -) - -(define-method insert_sorted_iter - (of-object "GSequence") - (c-name "g_sequence_insert_sorted_iter") - (return-type "GSequenceIter*") - (parameters - '("gpointer" "data") - '("GSequenceIterCompareFunc" "iter_cmp") - '("gpointer" "cmp_data") - ) -) - -(define-function g_sequence_sort_changed - (c-name "g_sequence_sort_changed") - (return-type "none") - (parameters - '("GSequenceIter*" "iter") - '("GCompareDataFunc" "cmp_func") - '("gpointer" "cmp_data") - ) -) - -(define-function g_sequence_sort_changed_iter - (c-name "g_sequence_sort_changed_iter") - (return-type "none") - (parameters - '("GSequenceIter*" "iter") - '("GSequenceIterCompareFunc" "iter_cmp") - '("gpointer" "cmp_data") - ) -) - -(define-function g_sequence_remove - (c-name "g_sequence_remove") - (return-type "none") - (parameters - '("GSequenceIter*" "iter") - ) -) - -(define-function g_sequence_remove_range - (c-name "g_sequence_remove_range") - (return-type "none") - (parameters - '("GSequenceIter*" "begin") - '("GSequenceIter*" "end") - ) -) - -(define-function g_sequence_move_range - (c-name "g_sequence_move_range") - (return-type "none") - (parameters - '("GSequenceIter*" "dest") - '("GSequenceIter*" "begin") - '("GSequenceIter*" "end") - ) -) - -(define-method search - (of-object "GSequence") - (c-name "g_sequence_search") - (return-type "GSequenceIter*") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "cmp_func") - '("gpointer" "cmp_data") - ) -) - -(define-method search_iter - (of-object "GSequence") - (c-name "g_sequence_search_iter") - (return-type "GSequenceIter*") - (parameters - '("gpointer" "data") - '("GSequenceIterCompareFunc" "iter_cmp") - '("gpointer" "cmp_data") - ) -) - -(define-function g_sequence_get - (c-name "g_sequence_get") - (return-type "gpointer") - (parameters - '("GSequenceIter*" "iter") - ) -) - -(define-function g_sequence_set - (c-name "g_sequence_set") - (return-type "none") - (parameters - '("GSequenceIter*" "iter") - '("gpointer" "data") - ) -) - -(define-method is_begin - (of-object "GSequenceIter") - (c-name "g_sequence_iter_is_begin") - (return-type "gboolean") -) - -(define-method is_end - (of-object "GSequenceIter") - (c-name "g_sequence_iter_is_end") - (return-type "gboolean") -) - -(define-method next - (of-object "GSequenceIter") - (c-name "g_sequence_iter_next") - (return-type "GSequenceIter*") -) - -(define-method prev - (of-object "GSequenceIter") - (c-name "g_sequence_iter_prev") - (return-type "GSequenceIter*") -) - -(define-method get_position - (of-object "GSequenceIter") - (c-name "g_sequence_iter_get_position") - (return-type "gint") -) - -(define-method move - (of-object "GSequenceIter") - (c-name "g_sequence_iter_move") - (return-type "GSequenceIter*") - (parameters - '("gint" "delta") - ) -) - -(define-method get_sequence - (of-object "GSequenceIter") - (c-name "g_sequence_iter_get_sequence") - (return-type "GSequence*") -) - -(define-method compare - (of-object "GSequenceIter") - (c-name "g_sequence_iter_compare") - (return-type "gint") - (parameters - '("GSequenceIter*" "b") - ) -) - -(define-function g_sequence_range_get_midpoint - (c-name "g_sequence_range_get_midpoint") - (return-type "GSequenceIter*") - (parameters - '("GSequenceIter*" "begin") - '("GSequenceIter*" "end") - ) -) - - - -;; From gshell.h - -(define-function g_shell_error_quark - (c-name "g_shell_error_quark") - (return-type "GQuark") -) - -(define-function g_shell_quote - (c-name "g_shell_quote") - (return-type "gchar*") - (parameters - '("const-gchar*" "unquoted_string") - ) -) - -(define-function g_shell_unquote - (c-name "g_shell_unquote") - (return-type "gchar*") - (parameters - '("const-gchar*" "quoted_string") - '("GError**" "error") - ) -) - -(define-function g_shell_parse_argv - (c-name "g_shell_parse_argv") - (return-type "gboolean") - (parameters - '("const-gchar*" "command_line") - '("gint*" "argcp") - '("gchar***" "argvp") - '("GError**" "error") - ) -) - - - -;; From gslice.h - -(define-function g_slice_alloc - (c-name "g_slice_alloc") - (return-type "gpointer") - (parameters - '("gsize" "block_size") - ) -) - -(define-function g_slice_alloc0 - (c-name "g_slice_alloc0") - (return-type "gpointer") - (parameters - '("gsize" "block_size") - ) -) - -(define-function g_slice_copy - (c-name "g_slice_copy") - (return-type "gpointer") - (parameters - '("gsize" "block_size") - '("gconstpointer" "mem_block") - ) -) - -(define-function g_slice_free1 - (c-name "g_slice_free1") - (return-type "none") - (parameters - '("gsize" "block_size") - '("gpointer" "mem_block") - ) -) - -(define-function g_slice_free_chain_with_offset - (c-name "g_slice_free_chain_with_offset") - (return-type "none") - (parameters - '("gsize" "block_size") - '("gpointer" "mem_chain") - '("gsize" "next_offset") - ) -) - -(define-function g_slice_set_config - (c-name "g_slice_set_config") - (return-type "none") - (parameters - '("GSliceConfig" "ckey") - '("gint64" "value") - ) -) - -(define-function g_slice_get_config - (c-name "g_slice_get_config") - (return-type "gint64") - (parameters - '("GSliceConfig" "ckey") - ) -) - -(define-function g_slice_get_config_state - (c-name "g_slice_get_config_state") - (return-type "gint64*") - (parameters - '("GSliceConfig" "ckey") - '("gint64" "address") - '("guint*" "n_values") - ) -) - - - -;; From gslist.h - -(define-function g_slist_alloc - (c-name "g_slist_alloc") - (return-type "GSList*") -) - -(define-method free - (of-object "GSList") - (c-name "g_slist_free") - (return-type "none") -) - -(define-method free_1 - (of-object "GSList") - (c-name "g_slist_free_1") - (return-type "none") -) - -(define-method append - (of-object "GSList") - (c-name "g_slist_append") - (return-type "GSList*") - (parameters - '("gpointer" "data") - ) -) - -(define-method prepend - (of-object "GSList") - (c-name "g_slist_prepend") - (return-type "GSList*") - (parameters - '("gpointer" "data") - ) -) - -(define-method insert - (of-object "GSList") - (c-name "g_slist_insert") - (return-type "GSList*") - (parameters - '("gpointer" "data") - '("gint" "position") - ) -) - -(define-method insert_sorted - (of-object "GSList") - (c-name "g_slist_insert_sorted") - (return-type "GSList*") - (parameters - '("gpointer" "data") - '("GCompareFunc" "func") - ) -) - -(define-method insert_sorted_with_data - (of-object "GSList") - (c-name "g_slist_insert_sorted_with_data") - (return-type "GSList*") - (parameters - '("gpointer" "data") - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method insert_before - (of-object "GSList") - (c-name "g_slist_insert_before") - (return-type "GSList*") - (parameters - '("GSList*" "sibling") - '("gpointer" "data") - ) -) - -(define-method concat - (of-object "GSList") - (c-name "g_slist_concat") - (return-type "GSList*") - (parameters - '("GSList*" "list2") - ) -) - -(define-method remove - (of-object "GSList") - (c-name "g_slist_remove") - (return-type "GSList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method remove_all - (of-object "GSList") - (c-name "g_slist_remove_all") - (return-type "GSList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method remove_link - (of-object "GSList") - (c-name "g_slist_remove_link") - (return-type "GSList*") - (parameters - '("GSList*" "link_") - ) -) - -(define-method delete_link - (of-object "GSList") - (c-name "g_slist_delete_link") - (return-type "GSList*") - (parameters - '("GSList*" "link_") - ) -) - -(define-method reverse - (of-object "GSList") - (c-name "g_slist_reverse") - (return-type "GSList*") -) - -(define-method copy - (of-object "GSList") - (c-name "g_slist_copy") - (return-type "GSList*") -) - -(define-method nth - (of-object "GSList") - (c-name "g_slist_nth") - (return-type "GSList*") - (parameters - '("guint" "n") - ) -) - -(define-method find - (of-object "GSList") - (c-name "g_slist_find") - (return-type "GSList*") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method find_custom - (of-object "GSList") - (c-name "g_slist_find_custom") - (return-type "GSList*") - (parameters - '("gconstpointer" "data") - '("GCompareFunc" "func") - ) -) - -(define-method position - (of-object "GSList") - (c-name "g_slist_position") - (return-type "gint") - (parameters - '("GSList*" "llink") - ) -) - -(define-method index - (of-object "GSList") - (c-name "g_slist_index") - (return-type "gint") - (parameters - '("gconstpointer" "data") - ) -) - -(define-method last - (of-object "GSList") - (c-name "g_slist_last") - (return-type "GSList*") -) - -(define-method length - (of-object "GSList") - (c-name "g_slist_length") - (return-type "guint") -) - -(define-method foreach - (of-object "GSList") - (c-name "g_slist_foreach") - (return-type "none") - (parameters - '("GFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method sort - (of-object "GSList") - (c-name "g_slist_sort") - (return-type "GSList*") - (parameters - '("GCompareFunc" "compare_func") - ) -) - -(define-method sort_with_data - (of-object "GSList") - (c-name "g_slist_sort_with_data") - (return-type "GSList*") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - -(define-method nth_data - (of-object "GSList") - (c-name "g_slist_nth_data") - (return-type "gpointer") - (parameters - '("guint" "n") - ) -) - -(define-function g_slist_push_allocator - (c-name "g_slist_push_allocator") - (return-type "none") - (parameters - '("gpointer" "dummy") - ) -) - -(define-function g_slist_pop_allocator - (c-name "g_slist_pop_allocator") - (return-type "none") -) - - - -;; From gspawn.h - -(define-function g_spawn_error_quark - (c-name "g_spawn_error_quark") - (return-type "GQuark") -) - -(define-function g_spawn_async - (c-name "g_spawn_async") - (return-type "gboolean") - (parameters - '("const-gchar*" "working_directory") - '("gchar**" "argv") - '("gchar**" "envp") - '("GSpawnFlags" "flags") - '("GSpawnChildSetupFunc" "child_setup") - '("gpointer" "user_data") - '("GPid*" "child_pid") - '("GError**" "error") - ) -) - -(define-function g_spawn_async_with_pipes - (c-name "g_spawn_async_with_pipes") - (return-type "gboolean") - (parameters - '("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") - ) -) - -(define-function g_spawn_sync - (c-name "g_spawn_sync") - (return-type "gboolean") - (parameters - '("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") - ) -) - -(define-function g_spawn_command_line_sync - (c-name "g_spawn_command_line_sync") - (return-type "gboolean") - (parameters - '("const-gchar*" "command_line") - '("gchar**" "standard_output") - '("gchar**" "standard_error") - '("gint*" "exit_status") - '("GError**" "error") - ) -) - -(define-function g_spawn_command_line_async - (c-name "g_spawn_command_line_async") - (return-type "gboolean") - (parameters - '("const-gchar*" "command_line") - '("GError**" "error") - ) -) - -(define-function g_spawn_close_pid - (c-name "g_spawn_close_pid") - (return-type "none") - (parameters - '("GPid" "pid") - ) -) - - - -;; From gstdio.h - -(define-function g_access - (c-name "g_access") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("int" "mode") - ) -) - -(define-function g_chdir - (c-name "g_chdir") - (return-type "int") - (parameters - '("const-gchar*" "path") - ) -) - -(define-function g_unlink - (c-name "g_unlink") - (return-type "int") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_rmdir - (c-name "g_rmdir") - (return-type "int") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_access - (c-name "g_access") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("int" "mode") - ) -) - -(define-function g_chmod - (c-name "g_chmod") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("int" "mode") - ) -) - -(define-function g_open - (c-name "g_open") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("int" "flags") - '("int" "mode") - ) -) - -(define-function g_creat - (c-name "g_creat") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("int" "mode") - ) -) - -(define-function g_rename - (c-name "g_rename") - (return-type "int") - (parameters - '("const-gchar*" "oldfilename") - '("const-gchar*" "newfilename") - ) -) - -(define-function g_mkdir - (c-name "g_mkdir") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("int" "mode") - ) -) - -(define-function g_chdir - (c-name "g_chdir") - (return-type "int") - (parameters - '("const-gchar*" "path") - ) -) - -(define-function g_stat - (c-name "g_stat") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("struct-stat*" "buf") - ) -) - -(define-function g_lstat - (c-name "g_lstat") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("struct-stat*" "buf") - ) -) - -(define-function g_unlink - (c-name "g_unlink") - (return-type "int") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_remove - (c-name "g_remove") - (return-type "int") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_rmdir - (c-name "g_rmdir") - (return-type "int") - (parameters - '("const-gchar*" "filename") - ) -) - -(define-function g_fopen - (c-name "g_fopen") - (return-type "FILE*") - (parameters - '("const-gchar*" "filename") - '("const-gchar*" "mode") - ) -) - -(define-function g_freopen - (c-name "g_freopen") - (return-type "FILE*") - (parameters - '("const-gchar*" "filename") - '("const-gchar*" "mode") - '("FILE*" "stream") - ) -) - -(define-function g_utime - (c-name "g_utime") - (return-type "int") - (parameters - '("const-gchar*" "filename") - '("struct-utimbuf*" "utb") - ) -) - - - -;; From gstrfuncs.h - -(define-function g_ascii_tolower - (c-name "g_ascii_tolower") - (return-type "gchar") - (parameters - '("gchar" "c") - ) -) - -(define-function g_ascii_toupper - (c-name "g_ascii_toupper") - (return-type "gchar") - (parameters - '("gchar" "c") - ) -) - -(define-function g_ascii_digit_value - (c-name "g_ascii_digit_value") - (return-type "gint") - (parameters - '("gchar" "c") - ) -) - -(define-function g_ascii_xdigit_value - (c-name "g_ascii_xdigit_value") - (return-type "gint") - (parameters - '("gchar" "c") - ) -) - -(define-function g_strdelimit - (c-name "g_strdelimit") - (return-type "gchar*") - (parameters - '("gchar*" "string") - '("const-gchar*" "delimiters") - '("gchar" "new_delimiter") - ) -) - -(define-function g_strcanon - (c-name "g_strcanon") - (return-type "gchar*") - (parameters - '("gchar*" "string") - '("const-gchar*" "valid_chars") - '("gchar" "substitutor") - ) -) - -(define-function g_strerror - (c-name "g_strerror") - (return-type "const-gchar*") - (parameters - '("gint" "errnum") - ) -) - -(define-function g_strsignal - (c-name "g_strsignal") - (return-type "const-gchar*") - (parameters - '("gint" "signum") - ) -) - -(define-function g_strreverse - (c-name "g_strreverse") - (return-type "gchar*") - (parameters - '("gchar*" "string") - ) -) - -(define-function g_strlcpy - (c-name "g_strlcpy") - (return-type "gsize") - (parameters - '("gchar*" "dest") - '("const-gchar*" "src") - '("gsize" "dest_size") - ) -) - -(define-function g_strlcat - (c-name "g_strlcat") - (return-type "gsize") - (parameters - '("gchar*" "dest") - '("const-gchar*" "src") - '("gsize" "dest_size") - ) -) - -(define-function g_strstr_len - (c-name "g_strstr_len") - (return-type "gchar*") - (parameters - '("const-gchar*" "haystack") - '("gssize" "haystack_len") - '("const-gchar*" "needle") - ) -) - -(define-function g_strrstr - (c-name "g_strrstr") - (return-type "gchar*") - (parameters - '("const-gchar*" "haystack") - '("const-gchar*" "needle") - ) -) - -(define-function g_strrstr_len - (c-name "g_strrstr_len") - (return-type "gchar*") - (parameters - '("const-gchar*" "haystack") - '("gssize" "haystack_len") - '("const-gchar*" "needle") - ) -) - -(define-function g_str_has_suffix - (c-name "g_str_has_suffix") - (return-type "gboolean") - (parameters - '("const-gchar*" "str") - '("const-gchar*" "suffix") - ) -) - -(define-function g_str_has_prefix - (c-name "g_str_has_prefix") - (return-type "gboolean") - (parameters - '("const-gchar*" "str") - '("const-gchar*" "prefix") - ) -) - -(define-function g_strtod - (c-name "g_strtod") - (return-type "gdouble") - (parameters - '("const-gchar*" "nptr") - '("gchar**" "endptr") - ) -) - -(define-function g_ascii_strtod - (c-name "g_ascii_strtod") - (return-type "gdouble") - (parameters - '("const-gchar*" "nptr") - '("gchar**" "endptr") - ) -) - -(define-function g_ascii_strtoull - (c-name "g_ascii_strtoull") - (return-type "guint64") - (parameters - '("const-gchar*" "nptr") - '("gchar**" "endptr") - '("guint" "base") - ) -) - -(define-function g_ascii_strtoll - (c-name "g_ascii_strtoll") - (return-type "gint64") - (parameters - '("const-gchar*" "nptr") - '("gchar**" "endptr") - '("guint" "base") - ) -) - -(define-function g_ascii_dtostr - (c-name "g_ascii_dtostr") - (return-type "gchar*") - (parameters - '("gchar*" "buffer") - '("gint" "buf_len") - '("gdouble" "d") - ) -) - -(define-function g_ascii_formatd - (c-name "g_ascii_formatd") - (return-type "gchar*") - (parameters - '("gchar*" "buffer") - '("gint" "buf_len") - '("const-gchar*" "format") - '("gdouble" "d") - ) -) - -(define-function g_strchug - (c-name "g_strchug") - (return-type "gchar*") - (parameters - '("gchar*" "string") - ) -) - -(define-function g_strchomp - (c-name "g_strchomp") - (return-type "gchar*") - (parameters - '("gchar*" "string") - ) -) - -(define-function g_ascii_strcasecmp - (c-name "g_ascii_strcasecmp") - (return-type "gint") - (parameters - '("const-gchar*" "s1") - '("const-gchar*" "s2") - ) -) - -(define-function g_ascii_strncasecmp - (c-name "g_ascii_strncasecmp") - (return-type "gint") - (parameters - '("const-gchar*" "s1") - '("const-gchar*" "s2") - '("gsize" "n") - ) -) - -(define-function g_ascii_strdown - (c-name "g_ascii_strdown") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_ascii_strup - (c-name "g_ascii_strup") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_strcasecmp - (c-name "g_strcasecmp") - (return-type "gint") - (parameters - '("const-gchar*" "s1") - '("const-gchar*" "s2") - ) -) - -(define-function g_strncasecmp - (c-name "g_strncasecmp") - (return-type "gint") - (parameters - '("const-gchar*" "s1") - '("const-gchar*" "s2") - '("guint" "n") - ) -) - -(define-function g_strdown - (c-name "g_strdown") - (return-type "gchar*") - (parameters - '("gchar*" "string") - ) -) - -(define-function g_strup - (c-name "g_strup") - (return-type "gchar*") - (parameters - '("gchar*" "string") - ) -) - -(define-function g_strdup - (c-name "g_strdup") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - ) -) - -(define-function g_strdup_printf - (c-name "g_strdup_printf") - (return-type "gchar*") - (parameters - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-function g_strdup_vprintf - (c-name "g_strdup_vprintf") - (return-type "gchar*") - (parameters - '("const-gchar*" "format") - '("va_list" "args") - ) -) - -(define-function g_strndup - (c-name "g_strndup") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gsize" "n") - ) -) - -(define-function g_strnfill - (c-name "g_strnfill") - (return-type "gchar*") - (parameters - '("gsize" "length") - '("gchar" "fill_char") - ) -) - -(define-function g_strconcat - (c-name "g_strconcat") - (return-type "gchar*") - (parameters - '("const-gchar*" "string1") - ) - (varargs #t) -) - -(define-function g_strjoin - (c-name "g_strjoin") - (return-type "gchar*") - (parameters - '("const-gchar*" "separator") - ) - (varargs #t) -) - -(define-function g_strcompress - (c-name "g_strcompress") - (return-type "gchar*") - (parameters - '("const-gchar*" "source") - ) -) - -(define-function g_strescape - (c-name "g_strescape") - (return-type "gchar*") - (parameters - '("const-gchar*" "source") - '("const-gchar*" "exceptions") - ) -) - -(define-function g_memdup - (c-name "g_memdup") - (return-type "gpointer") - (parameters - '("gconstpointer" "mem") - '("guint" "byte_size") - ) -) - -(define-function g_strsplit - (c-name "g_strsplit") - (return-type "gchar**") - (parameters - '("const-gchar*" "string") - '("const-gchar*" "delimiter") - '("gint" "max_tokens") - ) -) - -(define-function g_strsplit_set - (c-name "g_strsplit_set") - (return-type "gchar**") - (parameters - '("const-gchar*" "string") - '("const-gchar*" "delimiters") - '("gint" "max_tokens") - ) -) - -(define-function g_strjoinv - (c-name "g_strjoinv") - (return-type "gchar*") - (parameters - '("const-gchar*" "separator") - '("gchar**" "str_array") - ) -) - -(define-function g_strfreev - (c-name "g_strfreev") - (return-type "none") - (parameters - '("gchar**" "str_array") - ) -) - -(define-function g_strdupv - (c-name "g_strdupv") - (return-type "gchar**") - (parameters - '("gchar**" "str_array") - ) -) - -(define-function g_strv_length - (c-name "g_strv_length") - (return-type "guint") - (parameters - '("gchar**" "str_array") - ) -) - -(define-function g_stpcpy - (c-name "g_stpcpy") - (return-type "gchar*") - (parameters - '("gchar*" "dest") - '("const-char*" "src") - ) -) - -(define-function g_strip_context - (c-name "g_strip_context") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "msgid") - '("const-gchar*" "msgval") - ) -) - -(define-function g_dgettext - (c-name "g_dgettext") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "domain") - '("const-gchar*" "msgid") - ) -) - -(define-function g_dngettext - (c-name "g_dngettext") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "domain") - '("const-gchar*" "msgid") - '("const-gchar*" "msgid_plural") - '("gulong" "n") - ) -) - -(define-function g_dpgettext - (c-name "g_dpgettext") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "domain") - '("const-gchar*" "msgctxtid") - '("gsize" "msgidoffset") - ) -) - - - -;; From gstring.h - -(define-function g_string_chunk_new - (c-name "g_string_chunk_new") - (is-constructor-of "GStringChunk") - (return-type "GStringChunk*") - (parameters - '("gsize" "size") - ) -) - -(define-method free - (of-object "GStringChunk") - (c-name "g_string_chunk_free") - (return-type "none") -) - -(define-method clear - (of-object "GStringChunk") - (c-name "g_string_chunk_clear") - (return-type "none") -) - -(define-method insert - (of-object "GStringChunk") - (c-name "g_string_chunk_insert") - (return-type "gchar*") - (parameters - '("const-gchar*" "string") - ) -) - -(define-method insert_len - (of-object "GStringChunk") - (c-name "g_string_chunk_insert_len") - (return-type "gchar*") - (parameters - '("const-gchar*" "string") - '("gssize" "len") - ) -) - -(define-function g_string_new - (c-name "g_string_new") - (is-constructor-of "GString") - (return-type "GString*") - (parameters - '("const-gchar*" "init") - ) -) - -(define-function g_string_new_len - (c-name "g_string_new_len") - (return-type "GString*") - (parameters - '("const-gchar*" "init") - '("gssize" "len") - ) -) - -(define-function g_string_sized_new - (c-name "g_string_sized_new") - (is-constructor-of "GStringSized") - (return-type "GString*") - (parameters - '("gsize" "dfl_size") - ) -) - -(define-method free - (of-object "GString") - (c-name "g_string_free") - (return-type "gchar*") - (parameters - '("gboolean" "free_segment") - ) -) - -(define-method equal - (of-object "GString") - (c-name "g_string_equal") - (return-type "gboolean") - (parameters - '("const-GString*" "v2") - ) -) - -(define-method hash - (of-object "GString") - (c-name "g_string_hash") - (return-type "guint") -) - -(define-method assign - (of-object "GString") - (c-name "g_string_assign") - (return-type "GString*") - (parameters - '("const-gchar*" "rval") - ) -) - -(define-method truncate - (of-object "GString") - (c-name "g_string_truncate") - (return-type "GString*") - (parameters - '("gsize" "len") - ) -) - -(define-method set_size - (of-object "GString") - (c-name "g_string_set_size") - (return-type "GString*") - (parameters - '("gsize" "len") - ) -) - -(define-method insert_len - (of-object "GString") - (c-name "g_string_insert_len") - (return-type "GString*") - (parameters - '("gssize" "pos") - '("const-gchar*" "val") - '("gssize" "len") - ) -) - -(define-method append - (of-object "GString") - (c-name "g_string_append") - (return-type "GString*") - (parameters - '("const-gchar*" "val") - ) -) - -(define-method append_len - (of-object "GString") - (c-name "g_string_append_len") - (return-type "GString*") - (parameters - '("const-gchar*" "val") - '("gssize" "len") - ) -) - -(define-method append_c - (of-object "GString") - (c-name "g_string_append_c") - (return-type "GString*") - (parameters - '("gchar" "c") - ) -) - -(define-method append_unichar - (of-object "GString") - (c-name "g_string_append_unichar") - (return-type "GString*") - (parameters - '("gunichar" "wc") - ) -) - -(define-method prepend - (of-object "GString") - (c-name "g_string_prepend") - (return-type "GString*") - (parameters - '("const-gchar*" "val") - ) -) - -(define-method prepend_c - (of-object "GString") - (c-name "g_string_prepend_c") - (return-type "GString*") - (parameters - '("gchar" "c") - ) -) - -(define-method prepend_unichar - (of-object "GString") - (c-name "g_string_prepend_unichar") - (return-type "GString*") - (parameters - '("gunichar" "wc") - ) -) - -(define-method prepend_len - (of-object "GString") - (c-name "g_string_prepend_len") - (return-type "GString*") - (parameters - '("const-gchar*" "val") - '("gssize" "len") - ) -) - -(define-method insert - (of-object "GString") - (c-name "g_string_insert") - (return-type "GString*") - (parameters - '("gssize" "pos") - '("const-gchar*" "val") - ) -) - -(define-method insert_c - (of-object "GString") - (c-name "g_string_insert_c") - (return-type "GString*") - (parameters - '("gssize" "pos") - '("gchar" "c") - ) -) - -(define-method insert_unichar - (of-object "GString") - (c-name "g_string_insert_unichar") - (return-type "GString*") - (parameters - '("gssize" "pos") - '("gunichar" "wc") - ) -) - -(define-method overwrite - (of-object "GString") - (c-name "g_string_overwrite") - (return-type "GString*") - (parameters - '("gsize" "pos") - '("const-gchar*" "val") - ) -) - -(define-method overwrite_len - (of-object "GString") - (c-name "g_string_overwrite_len") - (return-type "GString*") - (parameters - '("gsize" "pos") - '("const-gchar*" "val") - '("gssize" "len") - ) -) - -(define-method erase - (of-object "GString") - (c-name "g_string_erase") - (return-type "GString*") - (parameters - '("gssize" "pos") - '("gssize" "len") - ) -) - -(define-method ascii_down - (of-object "GString") - (c-name "g_string_ascii_down") - (return-type "GString*") -) - -(define-method ascii_up - (of-object "GString") - (c-name "g_string_ascii_up") - (return-type "GString*") -) - -(define-method vprintf - (of-object "GString") - (c-name "g_string_vprintf") - (return-type "none") - (parameters - '("const-gchar*" "format") - '("va_list" "args") - ) -) - -(define-method printf - (of-object "GString") - (c-name "g_string_printf") - (return-type "none") - (parameters - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-method append_vprintf - (of-object "GString") - (c-name "g_string_append_vprintf") - (return-type "none") - (parameters - '("const-gchar*" "format") - '("va_list" "args") - ) -) - -(define-method append_printf - (of-object "GString") - (c-name "g_string_append_printf") - (return-type "none") - (parameters - '("const-gchar*" "format") - ) - (varargs #t) -) - -(define-method append_uri_escaped - (of-object "GString") - (c-name "g_string_append_uri_escaped") - (return-type "GString*") - (parameters - '("const-char*" "unescaped") - '("const-char*" "reserved_chars_allowed") - '("gboolean" "allow_utf8") - ) -) - -(define-method up - (of-object "GString") - (c-name "g_string_up") - (return-type "GString*") -) - - - -;; From gtestutils.h - -(define-function g_strcmp0 - (c-name "g_strcmp0") - (return-type "int") - (parameters - '("const-char*" "str1") - '("const-char*" "str2") - ) -) - -(define-function g_test_minimized_result - (c-name "g_test_minimized_result") - (return-type "none") - (parameters - '("double" "minimized_quantity") - '("const-char*" "format") - ) - (varargs #t) -) - -(define-function g_test_maximized_result - (c-name "g_test_maximized_result") - (return-type "none") - (parameters - '("double" "maximized_quantity") - '("const-char*" "format") - ) - (varargs #t) -) - -(define-function g_test_init - (c-name "g_test_init") - (return-type "none") - (parameters - '("int*" "argc") - '("char***" "argv") - ) - (varargs #t) -) - -(define-function g_test_run - (c-name "g_test_run") - (return-type "int") -) - - -(define-function g_test_message - (c-name "g_test_message") - (return-type "none") - (parameters - '("const-char*" "format") - ) - (varargs #t) -) - -(define-function g_test_bug_base - (c-name "g_test_bug_base") - (return-type "none") - (parameters - '("const-char*" "uri_pattern") - ) -) - -(define-function g_test_bug - (c-name "g_test_bug") - (return-type "none") - (parameters - '("const-char*" "bug_uri_snippet") - ) -) - -(define-function g_test_timer_start - (c-name "g_test_timer_start") - (return-type "none") -) - -(define-function g_test_timer_elapsed - (c-name "g_test_timer_elapsed") - (return-type "double") -) - -(define-function g_test_timer_last - (c-name "g_test_timer_last") - (return-type "double") -) - -(define-function g_test_queue_free - (c-name "g_test_queue_free") - (return-type "none") - (parameters - '("gpointer" "gfree_pointer") - ) -) - -(define-function g_test_queue_destroy - (c-name "g_test_queue_destroy") - (return-type "none") - (parameters - '("GDestroyNotify" "destroy_func") - '("gpointer" "destroy_data") - ) -) - -(define-function g_test_trap_fork - (c-name "g_test_trap_fork") - (return-type "gboolean") - (parameters - '("guint64" "usec_timeout") - '("GTestTrapFlags" "test_trap_flags") - ) -) - -(define-function g_test_trap_has_passed - (c-name "g_test_trap_has_passed") - (return-type "gboolean") -) - -(define-function g_test_trap_reached_timeout - (c-name "g_test_trap_reached_timeout") - (return-type "gboolean") -) - -(define-function g_test_rand_int - (c-name "g_test_rand_int") - (return-type "gint32") -) - -(define-function g_test_rand_int_range - (c-name "g_test_rand_int_range") - (return-type "gint32") - (parameters - '("gint32" "begin") - '("gint32" "end") - ) -) - -(define-function g_test_rand_double - (c-name "g_test_rand_double") - (return-type "double") -) - -(define-function g_test_rand_double_range - (c-name "g_test_rand_double_range") - (return-type "double") - (parameters - '("double" "range_start") - '("double" "range_end") - ) -) - -(define-function g_test_create_suite - (c-name "g_test_create_suite") - (return-type "GTestSuite*") - (parameters - '("const-char*" "suite_name") - ) -) - -(define-function g_test_get_root - (c-name "g_test_get_root") - (return-type "GTestSuite*") -) - -(define-method add - (of-object "GTestSuite") - (c-name "g_test_suite_add") - (return-type "none") - (parameters - '("GTestCase*" "test_case") - ) -) - -(define-method add_suite - (of-object "GTestSuite") - (c-name "g_test_suite_add_suite") - (return-type "none") - (parameters - '("GTestSuite*" "nestedsuite") - ) -) - -(define-function g_test_run_suite - (c-name "g_test_run_suite") - (return-type "int") - (parameters - '("GTestSuite*" "suite") - ) -) - -(define-function g_test_trap_assertions - (c-name "g_test_trap_assertions") - (return-type "none") - (parameters - '("const-char*" "domain") - '("const-char*" "file") - '("int" "line") - '("const-char*" "func") - '("guint64" "assertion_flags") - '("const-char*" "pattern") - ) -) - -(define-function g_assertion_message - (c-name "g_assertion_message") - (return-type "none") - (parameters - '("const-char*" "domain") - '("const-char*" "file") - '("int" "line") - '("const-char*" "func") - '("const-char*" "message") - ) -) - -(define-function g_assertion_message_expr - (c-name "g_assertion_message_expr") - (return-type "none") - (parameters - '("const-char*" "domain") - '("const-char*" "file") - '("int" "line") - '("const-char*" "func") - '("const-char*" "expr") - ) -) - -(define-function g_assertion_message_cmpstr - (c-name "g_assertion_message_cmpstr") - (return-type "none") - (parameters - '("const-char*" "domain") - '("const-char*" "file") - '("int" "line") - '("const-char*" "func") - '("const-char*" "expr") - '("const-char*" "arg1") - '("const-char*" "cmp") - '("const-char*" "arg2") - ) -) - -(define-function g_assertion_message_cmpnum - (c-name "g_assertion_message_cmpnum") - (return-type "none") - (parameters - '("const-char*" "domain") - '("const-char*" "file") - '("int" "line") - '("const-char*" "func") - '("const-char*" "expr") - '("long-double" "arg1") - '("const-char*" "cmp") - '("long-double" "arg2") - '("char" "numtype") - ) -) - -(define-method name - (of-object "GTestLogType") - (c-name "g_test_log_type_name") - (return-type "const-char*") -) - -(define-function g_test_log_buffer_new - (c-name "g_test_log_buffer_new") - (is-constructor-of "GTestLogBuffer") - (return-type "GTestLogBuffer*") -) - -(define-method free - (of-object "GTestLogBuffer") - (c-name "g_test_log_buffer_free") - (return-type "none") -) - -(define-method push - (of-object "GTestLogBuffer") - (c-name "g_test_log_buffer_push") - (return-type "none") - (parameters - '("guint" "n_bytes") - '("const-guint8*" "bytes") - ) -) - -(define-method pop - (of-object "GTestLogBuffer") - (c-name "g_test_log_buffer_pop") - (return-type "GTestLogMsg*") -) - -(define-method free - (of-object "GTestLogMsg") - (c-name "g_test_log_msg_free") - (return-type "none") -) - - - -;; From gthread.h - -(define-function guint64 - (c-name "guint64") - (return-type "GLIB_VAR") - (parameters - '("*" "g_thread_gettime") - ) -) - -(define-function g_thread_init - (c-name "g_thread_init") - (return-type "none") - (parameters - '("GThreadFunctions*" "vtable") - ) -) - -(define-function g_thread_init_with_errorcheck_mutexes - (c-name "g_thread_init_with_errorcheck_mutexes") - (return-type "none") - (parameters - '("GThreadFunctions*" "vtable") - ) -) - -(define-function g_static_mutex_get_mutex_impl - (c-name "g_static_mutex_get_mutex_impl") - (return-type "GMutex*") - (parameters - '("GMutex**" "mutex") - ) -) - -(define-function g_thread_create_full - (c-name "g_thread_create_full") - (return-type "GThread*") - (parameters - '("GThreadFunc" "func") - '("gpointer" "data") - '("gulong" "stack_size") - '("gboolean" "joinable") - '("gboolean" "bound") - '("GThreadPriority" "priority") - '("GError**" "error") - ) -) - -(define-function g_thread_self - (c-name "g_thread_self") - (return-type "GThread*") -) - -(define-function g_thread_exit - (c-name "g_thread_exit") - (return-type "none") - (parameters - '("gpointer" "retval") - ) -) - -(define-method join - (of-object "GThread") - (c-name "g_thread_join") - (return-type "gpointer") -) - -(define-method set_priority - (of-object "GThread") - (c-name "g_thread_set_priority") - (return-type "none") - (parameters - '("GThreadPriority" "priority") - ) -) - -(define-method init - (of-object "GStaticMutex") - (c-name "g_static_mutex_init") - (return-type "none") -) - -(define-method free - (of-object "GStaticMutex") - (c-name "g_static_mutex_free") - (return-type "none") -) - -(define-method init - (of-object "GStaticPrivate") - (c-name "g_static_private_init") - (return-type "none") -) - -(define-method get - (of-object "GStaticPrivate") - (c-name "g_static_private_get") - (return-type "gpointer") -) - -(define-method set - (of-object "GStaticPrivate") - (c-name "g_static_private_set") - (return-type "none") - (parameters - '("gpointer" "data") - '("GDestroyNotify" "notify") - ) -) - -(define-method free - (of-object "GStaticPrivate") - (c-name "g_static_private_free") - (return-type "none") -) - -(define-method init - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_init") - (return-type "none") -) - -(define-method lock - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_lock") - (return-type "none") -) - -(define-method trylock - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_trylock") - (return-type "gboolean") -) - -(define-method unlock - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_unlock") - (return-type "none") -) - -(define-method lock_full - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_lock_full") - (return-type "none") - (parameters - '("guint" "depth") - ) -) - -(define-method unlock_full - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_unlock_full") - (return-type "guint") -) - -(define-method free - (of-object "GStaticRecMutex") - (c-name "g_static_rec_mutex_free") - (return-type "none") -) - -(define-method init - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_init") - (return-type "none") -) - -(define-method reader_lock - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_reader_lock") - (return-type "none") -) - -(define-method reader_trylock - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_reader_trylock") - (return-type "gboolean") -) - -(define-method reader_unlock - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_reader_unlock") - (return-type "none") -) - -(define-method writer_lock - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_writer_lock") - (return-type "none") -) - -(define-method writer_trylock - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_writer_trylock") - (return-type "gboolean") -) - -(define-method writer_unlock - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_writer_unlock") - (return-type "none") -) - -(define-method free - (of-object "GStaticRWLock") - (c-name "g_static_rw_lock_free") - (return-type "none") -) - -(define-function g_thread_foreach - (c-name "g_thread_foreach") - (return-type "none") - (parameters - '("GFunc" "thread_func") - '("gpointer" "user_data") - ) -) - -(define-method impl - (of-object "GOnce") - (c-name "g_once_impl") - (return-type "gpointer") - (parameters - '("GThreadFunc" "func") - '("gpointer" "arg") - ) -) - -(define-function g_once_init_enter_impl - (c-name "g_once_init_enter_impl") - (return-type "gboolean") - (parameters - '("volatile-gsize*" "value_location") - ) -) - -(define-function g_once_init_leave - (c-name "g_once_init_leave") - (return-type "none") - (parameters - '("volatile-gsize*" "value_location") - '("gsize" "initialization_value") - ) -) - - - -;; From gthreadpool.h - -(define-function g_thread_pool_new - (c-name "g_thread_pool_new") - (is-constructor-of "GThreadPool") - (return-type "GThreadPool*") - (parameters - '("GFunc" "func") - '("gpointer" "user_data") - '("gint" "max_threads") - '("gboolean" "exclusive") - '("GError**" "error") - ) -) - -(define-method push - (of-object "GThreadPool") - (c-name "g_thread_pool_push") - (return-type "none") - (parameters - '("gpointer" "data") - '("GError**" "error") - ) -) - -(define-method set_max_threads - (of-object "GThreadPool") - (c-name "g_thread_pool_set_max_threads") - (return-type "none") - (parameters - '("gint" "max_threads") - '("GError**" "error") - ) -) - -(define-method get_max_threads - (of-object "GThreadPool") - (c-name "g_thread_pool_get_max_threads") - (return-type "gint") -) - -(define-method get_num_threads - (of-object "GThreadPool") - (c-name "g_thread_pool_get_num_threads") - (return-type "guint") -) - -(define-method unprocessed - (of-object "GThreadPool") - (c-name "g_thread_pool_unprocessed") - (return-type "guint") -) - -(define-method free - (of-object "GThreadPool") - (c-name "g_thread_pool_free") - (return-type "none") - (parameters - '("gboolean" "immediate") - '("gboolean" "wait_") - ) -) - -(define-function g_thread_pool_set_max_unused_threads - (c-name "g_thread_pool_set_max_unused_threads") - (return-type "none") - (parameters - '("gint" "max_threads") - ) -) - -(define-function g_thread_pool_get_max_unused_threads - (c-name "g_thread_pool_get_max_unused_threads") - (return-type "gint") -) - -(define-function g_thread_pool_get_num_unused_threads - (c-name "g_thread_pool_get_num_unused_threads") - (return-type "guint") -) - -(define-function g_thread_pool_stop_unused_threads - (c-name "g_thread_pool_stop_unused_threads") - (return-type "none") -) - -(define-method set_sort_function - (of-object "GThreadPool") - (c-name "g_thread_pool_set_sort_function") - (return-type "none") - (parameters - '("GCompareDataFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-function g_thread_pool_set_max_idle_time - (c-name "g_thread_pool_set_max_idle_time") - (return-type "none") - (parameters - '("guint" "interval") - ) -) - -(define-function g_thread_pool_get_max_idle_time - (c-name "g_thread_pool_get_max_idle_time") - (return-type "guint") -) - - - -;; From gthreadprivate.h - -(define-function g_thread_init_glib - (c-name "g_thread_init_glib") - (return-type "none") -) - - - -;; From gtimer.h - -(define-function g_timer_new - (c-name "g_timer_new") - (is-constructor-of "GTimer") - (return-type "GTimer*") -) - -(define-method destroy - (of-object "GTimer") - (c-name "g_timer_destroy") - (return-type "none") -) - -(define-method start - (of-object "GTimer") - (c-name "g_timer_start") - (return-type "none") -) - -(define-method stop - (of-object "GTimer") - (c-name "g_timer_stop") - (return-type "none") -) - -(define-method reset - (of-object "GTimer") - (c-name "g_timer_reset") - (return-type "none") -) - -(define-method continue - (of-object "GTimer") - (c-name "g_timer_continue") - (return-type "none") -) - -(define-method elapsed - (of-object "GTimer") - (c-name "g_timer_elapsed") - (return-type "gdouble") - (parameters - '("gulong*" "microseconds") - ) -) - -(define-function g_usleep - (c-name "g_usleep") - (return-type "none") - (parameters - '("gulong" "microseconds") - ) -) - -(define-method add - (of-object "GTimeVal") - (c-name "g_time_val_add") - (return-type "none") - (parameters - '("glong" "microseconds") - ) -) - -(define-function g_time_val_from_iso8601 - (c-name "g_time_val_from_iso8601") - (return-type "gboolean") - (parameters - '("const-gchar*" "iso_date") - '("GTimeVal*" "time_") - ) -) - -(define-method to_iso8601 - (of-object "GTimeVal") - (c-name "g_time_val_to_iso8601") - (return-type "gchar*") -) - - - -;; From gtree.h - -(define-function g_tree_new - (c-name "g_tree_new") - (is-constructor-of "GTree") - (return-type "GTree*") - (parameters - '("GCompareFunc" "key_compare_func") - ) -) - -(define-function g_tree_new_with_data - (c-name "g_tree_new_with_data") - (return-type "GTree*") - (parameters - '("GCompareDataFunc" "key_compare_func") - '("gpointer" "key_compare_data") - ) -) - -(define-function g_tree_new_full - (c-name "g_tree_new_full") - (return-type "GTree*") - (parameters - '("GCompareDataFunc" "key_compare_func") - '("gpointer" "key_compare_data") - '("GDestroyNotify" "key_destroy_func") - '("GDestroyNotify" "value_destroy_func") - ) -) - -(define-method destroy - (of-object "GTree") - (c-name "g_tree_destroy") - (return-type "none") -) - -(define-method insert - (of-object "GTree") - (c-name "g_tree_insert") - (return-type "none") - (parameters - '("gpointer" "key") - '("gpointer" "value") - ) -) - -(define-method replace - (of-object "GTree") - (c-name "g_tree_replace") - (return-type "none") - (parameters - '("gpointer" "key") - '("gpointer" "value") - ) -) - -(define-method remove - (of-object "GTree") - (c-name "g_tree_remove") - (return-type "gboolean") - (parameters - '("gconstpointer" "key") - ) -) - -(define-method steal - (of-object "GTree") - (c-name "g_tree_steal") - (return-type "gboolean") - (parameters - '("gconstpointer" "key") - ) -) - -(define-method lookup - (of-object "GTree") - (c-name "g_tree_lookup") - (return-type "gpointer") - (parameters - '("gconstpointer" "key") - ) -) - -(define-method lookup_extended - (of-object "GTree") - (c-name "g_tree_lookup_extended") - (return-type "gboolean") - (parameters - '("gconstpointer" "lookup_key") - '("gpointer*" "orig_key") - '("gpointer*" "value") - ) -) - -(define-method foreach - (of-object "GTree") - (c-name "g_tree_foreach") - (return-type "none") - (parameters - '("GTraverseFunc" "func") - '("gpointer" "user_data") - ) -) - -(define-method traverse - (of-object "GTree") - (c-name "g_tree_traverse") - (return-type "none") - (parameters - '("GTraverseFunc" "traverse_func") - '("GTraverseType" "traverse_type") - '("gpointer" "user_data") - ) -) - -(define-method search - (of-object "GTree") - (c-name "g_tree_search") - (return-type "gpointer") - (parameters - '("GCompareFunc" "search_func") - '("gconstpointer" "user_data") - ) -) - -(define-method height - (of-object "GTree") - (c-name "g_tree_height") - (return-type "gint") -) - -(define-method nnodes - (of-object "GTree") - (c-name "g_tree_nnodes") - (return-type "gint") -) - - - -;; From gtypes.h - - - -;; From gunibreak.h - - - -;; From gunichartables.h - - - -;; From gunicode.h - -(define-function g_get_charset - (c-name "g_get_charset") - (return-type "gboolean") - (parameters - '("const-char**" "charset") - ) -) - -(define-method isalnum - (of-object "gunichar") - (c-name "g_unichar_isalnum") - (return-type "gboolean") -) - -(define-method isalpha - (of-object "gunichar") - (c-name "g_unichar_isalpha") - (return-type "gboolean") -) - -(define-method iscntrl - (of-object "gunichar") - (c-name "g_unichar_iscntrl") - (return-type "gboolean") -) - -(define-method isdigit - (of-object "gunichar") - (c-name "g_unichar_isdigit") - (return-type "gboolean") -) - -(define-method isgraph - (of-object "gunichar") - (c-name "g_unichar_isgraph") - (return-type "gboolean") -) - -(define-method islower - (of-object "gunichar") - (c-name "g_unichar_islower") - (return-type "gboolean") -) - -(define-method isprint - (of-object "gunichar") - (c-name "g_unichar_isprint") - (return-type "gboolean") -) - -(define-method ispunct - (of-object "gunichar") - (c-name "g_unichar_ispunct") - (return-type "gboolean") -) - -(define-method isspace - (of-object "gunichar") - (c-name "g_unichar_isspace") - (return-type "gboolean") -) - -(define-method isupper - (of-object "gunichar") - (c-name "g_unichar_isupper") - (return-type "gboolean") -) - -(define-method isxdigit - (of-object "gunichar") - (c-name "g_unichar_isxdigit") - (return-type "gboolean") -) - -(define-method istitle - (of-object "gunichar") - (c-name "g_unichar_istitle") - (return-type "gboolean") -) - -(define-method isdefined - (of-object "gunichar") - (c-name "g_unichar_isdefined") - (return-type "gboolean") -) - -(define-method iswide - (of-object "gunichar") - (c-name "g_unichar_iswide") - (return-type "gboolean") -) - -(define-method iswide_cjk - (of-object "gunichar") - (c-name "g_unichar_iswide_cjk") - (return-type "gboolean") -) - -(define-method iszerowidth - (of-object "gunichar") - (c-name "g_unichar_iszerowidth") - (return-type "gboolean") -) - -(define-method ismark - (of-object "gunichar") - (c-name "g_unichar_ismark") - (return-type "gboolean") -) - -(define-method toupper - (of-object "gunichar") - (c-name "g_unichar_toupper") - (return-type "gunichar") -) - -(define-method tolower - (of-object "gunichar") - (c-name "g_unichar_tolower") - (return-type "gunichar") -) - -(define-method totitle - (of-object "gunichar") - (c-name "g_unichar_totitle") - (return-type "gunichar") -) - -(define-method digit_value - (of-object "gunichar") - (c-name "g_unichar_digit_value") - (return-type "gint") -) - -(define-method xdigit_value - (of-object "gunichar") - (c-name "g_unichar_xdigit_value") - (return-type "gint") -) - -(define-method type - (of-object "gunichar") - (c-name "g_unichar_type") - (return-type "GUnicodeType") -) - -(define-method break_type - (of-object "gunichar") - (c-name "g_unichar_break_type") - (return-type "GUnicodeBreakType") -) - -(define-method combining_class - (of-object "gunichar") - (c-name "g_unichar_combining_class") - (return-type "gint") -) - -(define-function g_unicode_canonical_ordering - (c-name "g_unicode_canonical_ordering") - (return-type "none") - (parameters - '("gunichar*" "string") - '("gsize" "len") - ) -) - -(define-function g_unicode_canonical_decomposition - (c-name "g_unicode_canonical_decomposition") - (return-type "gunichar*") - (parameters - '("gunichar" "ch") - '("gsize*" "result_len") - ) -) - -(define-function g_utf8_get_char - (c-name "g_utf8_get_char") - (return-type "gunichar") - (parameters - '("const-gchar*" "p") - ) -) - -(define-function g_utf8_get_char_validated - (c-name "g_utf8_get_char_validated") - (return-type "gunichar") - (parameters - '("const-gchar*" "p") - '("gssize" "max_len") - ) -) - -(define-function g_utf8_offset_to_pointer - (c-name "g_utf8_offset_to_pointer") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("glong" "offset") - ) -) - -(define-function g_utf8_pointer_to_offset - (c-name "g_utf8_pointer_to_offset") - (return-type "glong") - (parameters - '("const-gchar*" "str") - '("const-gchar*" "pos") - ) -) - -(define-function g_utf8_prev_char - (c-name "g_utf8_prev_char") - (return-type "gchar*") - (parameters - '("const-gchar*" "p") - ) -) - -(define-function g_utf8_find_next_char - (c-name "g_utf8_find_next_char") - (return-type "gchar*") - (parameters - '("const-gchar*" "p") - '("const-gchar*" "end") - ) -) - -(define-function g_utf8_find_prev_char - (c-name "g_utf8_find_prev_char") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("const-gchar*" "p") - ) -) - -(define-function g_utf8_strlen - (c-name "g_utf8_strlen") - (return-type "glong") - (parameters - '("const-gchar*" "p") - '("gssize" "max") - ) -) - -(define-function g_utf8_strncpy - (c-name "g_utf8_strncpy") - (return-type "gchar*") - (parameters - '("gchar*" "dest") - '("const-gchar*" "src") - '("gsize" "n") - ) -) - -(define-function g_utf8_strchr - (c-name "g_utf8_strchr") - (return-type "gchar*") - (parameters - '("const-gchar*" "p") - '("gssize" "len") - '("gunichar" "c") - ) -) - -(define-function g_utf8_strrchr - (c-name "g_utf8_strrchr") - (return-type "gchar*") - (parameters - '("const-gchar*" "p") - '("gssize" "len") - '("gunichar" "c") - ) -) - -(define-function g_utf8_strreverse - (c-name "g_utf8_strreverse") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_utf8_to_utf16 - (c-name "g_utf8_to_utf16") - (return-type "gunichar2*") - (parameters - '("const-gchar*" "str") - '("glong" "len") - '("glong*" "items_read") - '("glong*" "items_written") - '("GError**" "error") - ) -) - -(define-function g_utf8_to_ucs4 - (c-name "g_utf8_to_ucs4") - (return-type "gunichar*") - (parameters - '("const-gchar*" "str") - '("glong" "len") - '("glong*" "items_read") - '("glong*" "items_written") - '("GError**" "error") - ) -) - -(define-function g_utf8_to_ucs4_fast - (c-name "g_utf8_to_ucs4_fast") - (return-type "gunichar*") - (parameters - '("const-gchar*" "str") - '("glong" "len") - '("glong*" "items_written") - ) -) - -(define-function g_utf16_to_ucs4 - (c-name "g_utf16_to_ucs4") - (return-type "gunichar*") - (parameters - '("const-gunichar2*" "str") - '("glong" "len") - '("glong*" "items_read") - '("glong*" "items_written") - '("GError**" "error") - ) -) - -(define-function g_utf16_to_utf8 - (c-name "g_utf16_to_utf8") - (return-type "gchar*") - (parameters - '("const-gunichar2*" "str") - '("glong" "len") - '("glong*" "items_read") - '("glong*" "items_written") - '("GError**" "error") - ) -) - -(define-function g_ucs4_to_utf16 - (c-name "g_ucs4_to_utf16") - (return-type "gunichar2*") - (parameters - '("const-gunichar*" "str") - '("glong" "len") - '("glong*" "items_read") - '("glong*" "items_written") - '("GError**" "error") - ) -) - -(define-function g_ucs4_to_utf8 - (c-name "g_ucs4_to_utf8") - (return-type "gchar*") - (parameters - '("const-gunichar*" "str") - '("glong" "len") - '("glong*" "items_read") - '("glong*" "items_written") - '("GError**" "error") - ) -) - -(define-method to_utf8 - (of-object "gunichar") - (c-name "g_unichar_to_utf8") - (return-type "gint") - (parameters - '("gchar*" "outbuf") - ) -) - -(define-function g_utf8_validate - (c-name "g_utf8_validate") - (return-type "gboolean") - (parameters - '("const-gchar*" "str") - '("gssize" "max_len") - '("const-gchar**" "end") - ) -) - -(define-method validate - (of-object "gunichar") - (c-name "g_unichar_validate") - (return-type "gboolean") -) - -(define-function g_utf8_strup - (c-name "g_utf8_strup") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_utf8_strdown - (c-name "g_utf8_strdown") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_utf8_casefold - (c-name "g_utf8_casefold") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_utf8_normalize - (c-name "g_utf8_normalize") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - '("GNormalizeMode" "mode") - ) -) - -(define-function g_utf8_collate - (c-name "g_utf8_collate") - (return-type "gint") - (parameters - '("const-gchar*" "str1") - '("const-gchar*" "str2") - ) -) - -(define-function g_utf8_collate_key - (c-name "g_utf8_collate_key") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-function g_utf8_collate_key_for_filename - (c-name "g_utf8_collate_key_for_filename") - (return-type "gchar*") - (parameters - '("const-gchar*" "str") - '("gssize" "len") - ) -) - -(define-method get_mirror_char - (of-object "gunichar") - (c-name "g_unichar_get_mirror_char") - (return-type "gboolean") - (parameters - '("gunichar*" "mirrored_ch") - ) -) - -(define-method get_script - (of-object "gunichar") - (c-name "g_unichar_get_script") - (return-type "GUnicodeScript") -) - - - -;; From gunicodeprivate.h - - - -;; From gunicomp.h - - - -;; From gunidecomp.h - - - -;; From gurifuncs.h - -(define-function g_uri_unescape_string - (c-name "g_uri_unescape_string") - (return-type "char*") - (parameters - '("const-char*" "escaped_string") - '("const-char*" "illegal_characters") - ) -) - -(define-function g_uri_unescape_segment - (c-name "g_uri_unescape_segment") - (return-type "char*") - (parameters - '("const-char*" "escaped_string") - '("const-char*" "escaped_string_end") - '("const-char*" "illegal_characters") - ) -) - -(define-function g_uri_parse_scheme - (c-name "g_uri_parse_scheme") - (return-type "char*") - (parameters - '("const-char*" "uri") - ) -) - -(define-function g_uri_escape_string - (c-name "g_uri_escape_string") - (return-type "char*") - (parameters - '("const-char*" "unescaped") - '("const-char*" "reserved_chars_allowed") - '("gboolean" "allow_utf8") - ) -) - - - -;; From gutils.h - -(define-function g_get_user_name - (c-name "g_get_user_name") - (return-type "const-gchar*") -) - -(define-function g_get_real_name - (c-name "g_get_real_name") - (return-type "const-gchar*") -) - -(define-function g_get_home_dir - (c-name "g_get_home_dir") - (return-type "const-gchar*") -) - -(define-function g_get_tmp_dir - (c-name "g_get_tmp_dir") - (return-type "const-gchar*") -) - -(define-function g_get_host_name - (c-name "g_get_host_name") - (return-type "const-gchar*") -) - -(define-function g_get_prgname - (c-name "g_get_prgname") - (return-type "gchar*") -) - -(define-function g_set_prgname - (c-name "g_set_prgname") - (return-type "none") - (parameters - '("const-gchar*" "prgname") - ) -) - -(define-function g_get_application_name - (c-name "g_get_application_name") - (return-type "const-gchar*") -) - -(define-function g_set_application_name - (c-name "g_set_application_name") - (return-type "none") - (parameters - '("const-gchar*" "application_name") - ) -) - -(define-function g_get_user_data_dir - (c-name "g_get_user_data_dir") - (return-type "const-gchar*") -) - -(define-function g_get_user_config_dir - (c-name "g_get_user_config_dir") - (return-type "const-gchar*") -) - -(define-function g_get_user_cache_dir - (c-name "g_get_user_cache_dir") - (return-type "const-gchar*") -) - -(define-function g_get_user_special_dir - (c-name "g_get_user_special_dir") - (return-type "const-gchar*") - (parameters - '("GUserDirectory" "directory") - ) -) - -(define-function g_parse_debug_string - (c-name "g_parse_debug_string") - (return-type "guint") - (parameters - '("const-gchar*" "string") - '("const-GDebugKey*" "keys") - '("guint" "nkeys") - ) -) - -(define-function g_snprintf - (c-name "g_snprintf") - (return-type "gint") - (parameters - '("gchar*" "string") - '("gulong" "n") - '("gchar-const*" "format") - ) - (varargs #t) -) - -(define-function g_vsnprintf - (c-name "g_vsnprintf") - (return-type "gint") - (parameters - '("gchar*" "string") - '("gulong" "n") - '("gchar-const*" "format") - '("va_list" "args") - ) -) - -(define-function g_path_is_absolute - (c-name "g_path_is_absolute") - (return-type "gboolean") - (parameters - '("const-gchar*" "file_name") - ) -) - -(define-function g_path_skip_root - (c-name "g_path_skip_root") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "file_name") - ) -) - -(define-function g_basename - (c-name "g_basename") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "file_name") - ) -) - -(define-function g_get_current_dir - (c-name "g_get_current_dir") - (return-type "gchar*") -) - -(define-function g_path_get_basename - (c-name "g_path_get_basename") - (return-type "gchar*") - (parameters - '("const-gchar*" "file_name") - ) -) - -(define-function g_path_get_dirname - (c-name "g_path_get_dirname") - (return-type "gchar*") - (parameters - '("const-gchar*" "file_name") - ) -) - -(define-function g_nullify_pointer - (c-name "g_nullify_pointer") - (return-type "none") - (parameters - '("gpointer*" "nullify_location") - ) -) - -(define-function g_getenv - (c-name "g_getenv") - (return-type "const-gchar*") - (parameters - '("const-gchar*" "variable") - ) -) - -(define-function g_setenv - (c-name "g_setenv") - (return-type "gboolean") - (parameters - '("const-gchar*" "variable") - '("const-gchar*" "value") - '("gboolean" "overwrite") - ) -) - -(define-function g_unsetenv - (c-name "g_unsetenv") - (return-type "none") - (parameters - '("const-gchar*" "variable") - ) -) - -(define-function g_listenv - (c-name "g_listenv") - (return-type "gchar**") -) - -(define-function g_atexit - (c-name "g_atexit") - (return-type "none") - (parameters - '("GVoidFunc" "func") - ) -) - -(define-function g_find_program_in_path - (c-name "g_find_program_in_path") - (return-type "gchar*") - (parameters - '("const-gchar*" "program") - ) -) - -(define-function glib_check_version - (c-name "glib_check_version") - (return-type "const-gchar*") - (parameters - '("guint" "required_major") - '("guint" "required_minor") - '("guint" "required_micro") - ) -) - - - -;; From gwin32.h - -(define-function g_win32_ftruncate - (c-name "g_win32_ftruncate") - (return-type "gint") - (parameters - '("gint" "f") - '("guint" "size") - ) -) - -(define-function g_win32_getlocale - (c-name "g_win32_getlocale") - (return-type "gchar*") -) - -(define-function g_win32_error_message - (c-name "g_win32_error_message") - (return-type "gchar*") - (parameters - '("gint" "error") - ) -) - -(define-function g_win32_get_package_installation_directory - (c-name "g_win32_get_package_installation_directory") - (return-type "gchar*") - (parameters - '("const-gchar*" "package") - '("const-gchar*" "dll_name") - ) -) - -(define-function g_win32_get_package_installation_subdirectory - (c-name "g_win32_get_package_installation_subdirectory") - (return-type "gchar*") - (parameters - '("const-gchar*" "package") - '("const-gchar*" "dll_name") - '("const-gchar*" "subdir") - ) -) - -(define-function g_win32_get_package_installation_directory_of_module - (c-name "g_win32_get_package_installation_directory_of_module") - (return-type "gchar*") - (parameters - '("gpointer" "hmodule") - ) -) - -(define-function g_win32_get_windows_version - (c-name "g_win32_get_windows_version") - (return-type "guint") -) - -(define-function g_win32_locale_filename_from_utf8 - (c-name "g_win32_locale_filename_from_utf8") - (return-type "gchar*") - (parameters - '("const-gchar*" "utf8filename") - ) -) - - diff --git a/libs/glibmm2/glib/src/gmodule_enums.defs b/libs/glibmm2/glib/src/gmodule_enums.defs deleted file mode 100644 index 16b781bd3e..0000000000 --- a/libs/glibmm2/glib/src/gmodule_enums.defs +++ /dev/null @@ -1,12 +0,0 @@ -;; From /home/murrayc/cvs/gnome212/glib/gmodule/gmodule.h - -(define-flags-extended ModuleFlags - (in-module "G") - (c-name "GModuleFlags") - (values - '("lazy" "G_MODULE_BIND_LAZY" "1 << 0") - '("local" "G_MODULE_BIND_LOCAL" "1 << 1") - '("mask" "G_MODULE_BIND_MASK" "0x03") - ) -) - diff --git a/libs/glibmm2/glib/src/gmodule_functions.defs b/libs/glibmm2/glib/src/gmodule_functions.defs deleted file mode 100644 index 220ab5148a..0000000000 --- a/libs/glibmm2/glib/src/gmodule_functions.defs +++ /dev/null @@ -1,79 +0,0 @@ -;; -*- scheme -*- -; object definitions ... -;; Enumerations and flags ... - -(define-flags Flags - (in-module "GModule") - (c-name "GModuleFlags") - (gtype-id "G_TYPE_MODULE_FLAGS") - (values - '("lazy" "G_MODULE_BIND_LAZY") - '("local" "G_MODULE_BIND_LOCAL") - '("mask" "G_MODULE_BIND_MASK") - ) -) - - -;; From /home/murrayc/cvs/gnome212/glib/gmodule/gmoduleconf.h - - - -;; From /home/murrayc/cvs/gnome212/glib/gmodule/gmodule.h - -(define-function g_module_supported - (c-name "g_module_supported") - (return-type "gboolean") -) - -(define-function g_module_open - (c-name "g_module_open") - (return-type "GModule*") - (parameters - '("const-gchar*" "file_name") - '("GModuleFlags" "flags") - ) -) - -(define-method close - (of-object "GModule") - (c-name "g_module_close") - (return-type "gboolean") -) - -(define-method make_resident - (of-object "GModule") - (c-name "g_module_make_resident") - (return-type "none") -) - -(define-function g_module_error - (c-name "g_module_error") - (return-type "const-gchar*") -) - -(define-method symbol - (of-object "GModule") - (c-name "g_module_symbol") - (return-type "gboolean") - (parameters - '("const-gchar*" "symbol_name") - '("gpointer*" "symbol") - ) -) - -(define-method name - (of-object "GModule") - (c-name "g_module_name") - (return-type "const-gchar*") -) - -(define-function g_module_build_path - (c-name "g_module_build_path") - (return-type "gchar*") - (parameters - '("const-gchar*" "directory") - '("const-gchar*" "module_name") - ) -) - - diff --git a/libs/glibmm2/glib/src/gobject.defs b/libs/glibmm2/glib/src/gobject.defs deleted file mode 100644 index 0c9f4b99ed..0000000000 --- a/libs/glibmm2/glib/src/gobject.defs +++ /dev/null @@ -1,3 +0,0 @@ -(include gobject_functions.defs) -(include gobject_enums.defs) - diff --git a/libs/glibmm2/glib/src/gobject_enums.defs b/libs/glibmm2/glib/src/gobject_enums.defs deleted file mode 100644 index d234bdb395..0000000000 --- a/libs/glibmm2/glib/src/gobject_enums.defs +++ /dev/null @@ -1,80 +0,0 @@ -;; From gobject/gparam.h - -(define-flags-extended ParamFlags - (in-module "G") - (c-name "GParamFlags") - (values - '("readable" "G_PARAM_READABLE" "1 << 0") - '("writable" "G_PARAM_WRITABLE" "1 << 1") - '("construct" "G_PARAM_CONSTRUCT" "1 << 2") - '("construct-only" "G_PARAM_CONSTRUCT_ONLY" "1 << 3") - '("lax-validation" "G_PARAM_LAX_VALIDATION" "1 << 4") - '("private" "G_PARAM_PRIVATE" "1 << 5") - ) -) - -;; From gobject/gsignal.h - -(define-flags-extended SignalFlags - (in-module "G") - (c-name "GSignalFlags") - (values - '("run-first" "G_SIGNAL_RUN_FIRST" "1 << 0") - '("run-last" "G_SIGNAL_RUN_LAST" "1 << 1") - '("run-cleanup" "G_SIGNAL_RUN_CLEANUP" "1 << 2") - '("no-recurse" "G_SIGNAL_NO_RECURSE" "1 << 3") - '("detailed" "G_SIGNAL_DETAILED" "1 << 4") - '("action" "G_SIGNAL_ACTION" "1 << 5") - '("no-hooks" "G_SIGNAL_NO_HOOKS" "1 << 6") - ) -) - -(define-flags-extended ConnectFlags - (in-module "G") - (c-name "GConnectFlags") - (values - '("after" "G_CONNECT_AFTER" "1 << 0") - '("swapped" "G_CONNECT_SWAPPED" "1 << 1") - ) -) - -(define-flags-extended SignalMatchType - (in-module "G") - (c-name "GSignalMatchType") - (values - '("id" "G_SIGNAL_MATCH_ID" "1 << 0") - '("detail" "G_SIGNAL_MATCH_DETAIL" "1 << 1") - '("closure" "G_SIGNAL_MATCH_CLOSURE" "1 << 2") - '("func" "G_SIGNAL_MATCH_FUNC" "1 << 3") - '("data" "G_SIGNAL_MATCH_DATA" "1 << 4") - '("unblocked" "G_SIGNAL_MATCH_UNBLOCKED" "1 << 5") - ) -) - -;; From gobject/gtype.h - -(define-flags-extended TypeDebugFlags - (in-module "G") - (c-name "GTypeDebugFlags") - (values - '("none" "G_TYPE_DEBUG_NONE" "0") - '("objects" "G_TYPE_DEBUG_OBJECTS" "1 << 0") - '("signals" "G_TYPE_DEBUG_SIGNALS" "1 << 1") - '("mask" "G_TYPE_DEBUG_MASK" "0x03") - ) -) - -(define-enum-extended TypeFundamentalFlags - (in-module "G") - (c-name "GTypeFundamentalFlags") - (values - ) -) - -(define-enum-extended TypeFlags - (in-module "G") - (c-name "GTypeFlags") - (values - ) -) - diff --git a/libs/glibmm2/glib/src/gobject_functions.defs b/libs/glibmm2/glib/src/gobject_functions.defs deleted file mode 100644 index f06327cace..0000000000 --- a/libs/glibmm2/glib/src/gobject_functions.defs +++ /dev/null @@ -1,2608 +0,0 @@ -;; -*- scheme -*- -; object definitions ... -(define-object TypeModule - (in-module "G") - (parent "GObject") - (c-name "GTypeModule") - (gtype-id "G_TYPE_TYPE_MODULE") -) - -;; Enumerations and flags ... - -(define-flags ParamFlags - (in-module "G") - (c-name "GParamFlags") - (gtype-id "G_TYPE_PARAM_FLAGS") - (values - '("readable" "G_PARAM_READABLE") - '("writable" "G_PARAM_WRITABLE") - '("construct" "G_PARAM_CONSTRUCT") - '("construct-only" "G_PARAM_CONSTRUCT_ONLY") - '("lax-validation" "G_PARAM_LAX_VALIDATION") - '("private" "G_PARAM_PRIVATE") - ) -) - -(define-flags SignalFlags - (in-module "G") - (c-name "GSignalFlags") - (gtype-id "G_TYPE_SIGNAL_FLAGS") - (values - '("run-first" "G_SIGNAL_RUN_FIRST") - '("run-last" "G_SIGNAL_RUN_LAST") - '("run-cleanup" "G_SIGNAL_RUN_CLEANUP") - '("no-recurse" "G_SIGNAL_NO_RECURSE") - '("detailed" "G_SIGNAL_DETAILED") - '("action" "G_SIGNAL_ACTION") - '("no-hooks" "G_SIGNAL_NO_HOOKS") - ) -) - -(define-flags ConnectFlags - (in-module "G") - (c-name "GConnectFlags") - (gtype-id "G_TYPE_CONNECT_FLAGS") - (values - '("after" "G_CONNECT_AFTER") - '("swapped" "G_CONNECT_SWAPPED") - ) -) - -(define-flags SignalMatchType - (in-module "G") - (c-name "GSignalMatchType") - (gtype-id "G_TYPE_SIGNAL_MATCH_TYPE") - (values - '("id" "G_SIGNAL_MATCH_ID") - '("detail" "G_SIGNAL_MATCH_DETAIL") - '("closure" "G_SIGNAL_MATCH_CLOSURE") - '("func" "G_SIGNAL_MATCH_FUNC") - '("data" "G_SIGNAL_MATCH_DATA") - '("unblocked" "G_SIGNAL_MATCH_UNBLOCKED") - ) -) - -(define-flags TypeDebugFlags - (in-module "G") - (c-name "GTypeDebugFlags") - (gtype-id "G_TYPE_TYPE_DEBUG_FLAGS") - (values - '("none" "G_TYPE_DEBUG_NONE") - '("objects" "G_TYPE_DEBUG_OBJECTS") - '("signals" "G_TYPE_DEBUG_SIGNALS") - '("mask" "G_TYPE_DEBUG_MASK") - ) -) - -(define-flags TypeFundamentalFlags - (in-module "G") - (c-name "GTypeFundamentalFlags") - (gtype-id "G_TYPE_TYPE_FUNDAMENTAL_FLAGS") - (values - '("classed" "G_TYPE_FLAG_CLASSED") - '("instantiatable" "G_TYPE_FLAG_INSTANTIATABLE") - '("derivable" "G_TYPE_FLAG_DERIVABLE") - '("deep-derivable" "G_TYPE_FLAG_DEEP_DERIVABLE") - ) -) - -(define-flags TypeFlags - (in-module "G") - (c-name "GTypeFlags") - (gtype-id "G_TYPE_TYPE_FLAGS") - (values - '("abstract" "G_TYPE_FLAG_ABSTRACT") - '("value-abstract" "G_TYPE_FLAG_VALUE_ABSTRACT") - ) -) - - -;; From gobject/gboxed.h - -(define-function g_boxed_free - (c-name "g_boxed_free") - (return-type "none") - (parameters - '("GType" "boxed_type") - '("gpointer" "boxed") - ) -) - -(define-method set_boxed - (of-object "GValue") - (c-name "g_value_set_boxed") - (return-type "none") - (parameters - '("gconstpointer" "v_boxed") - ) -) - -(define-method set_static_boxed - (of-object "GValue") - (c-name "g_value_set_static_boxed") - (return-type "none") - (parameters - '("gconstpointer" "v_boxed") - ) -) - -(define-method get_boxed - (of-object "GValue") - (c-name "g_value_get_boxed") - (return-type "gpointer") -) - -(define-method dup_boxed - (of-object "GValue") - (c-name "g_value_dup_boxed") - (return-type "gpointer") -) - -(define-function g_boxed_type_register_static - (c-name "g_boxed_type_register_static") - (return-type "GType") - (parameters - '("const-gchar*" "name") - '("GBoxedCopyFunc" "boxed_copy") - '("GBoxedFreeFunc" "boxed_free") - ) -) - -(define-method set_boxed_take_ownership - (of-object "GValue") - (c-name "g_value_set_boxed_take_ownership") - (return-type "none") - (parameters - '("gconstpointer" "v_boxed") - ) -) - -(define-function g_closure_get_type - (c-name "g_closure_get_type") - (return-type "GType") -) - -(define-function g_value_get_type - (c-name "g_value_get_type") - (return-type "GType") -) - -(define-function g_value_array_get_type - (c-name "g_value_array_get_type") - (return-type "GType") -) - -(define-function g_gstring_get_type - (c-name "g_gstring_get_type") - (return-type "GType") -) - - - -;; From gobject/gclosure.h - -(define-function g_cclosure_new - (c-name "g_cclosure_new") - (return-type "GClosure*") - (parameters - '("GCallback" "callback_func") - '("gpointer" "user_data") - '("GClosureNotify" "destroy_data") - ) -) - -(define-function g_cclosure_new_swap - (c-name "g_cclosure_new_swap") - (return-type "GClosure*") - (parameters - '("GCallback" "callback_func") - '("gpointer" "user_data") - '("GClosureNotify" "destroy_data") - ) -) - -(define-function g_signal_type_cclosure_new - (c-name "g_signal_type_cclosure_new") - (return-type "GClosure*") - (parameters - '("GType" "itype") - '("guint" "struct_offset") - ) -) - -(define-method ref - (of-object "GClosure") - (c-name "g_closure_ref") - (return-type "GClosure*") -) - -(define-method sink - (of-object "GClosure") - (c-name "g_closure_sink") - (return-type "none") -) - -(define-method unref - (of-object "GClosure") - (c-name "g_closure_unref") - (return-type "none") -) - -(define-function g_closure_new_simple - (c-name "g_closure_new_simple") - (return-type "GClosure*") - (parameters - '("guint" "sizeof_closure") - '("gpointer" "data") - ) -) - -(define-method add_finalize_notifier - (of-object "GClosure") - (c-name "g_closure_add_finalize_notifier") - (return-type "none") - (parameters - '("gpointer" "notify_data") - '("GClosureNotify" "notify_func") - ) -) - -(define-method remove_finalize_notifier - (of-object "GClosure") - (c-name "g_closure_remove_finalize_notifier") - (return-type "none") - (parameters - '("gpointer" "notify_data") - '("GClosureNotify" "notify_func") - ) -) - -(define-method add_invalidate_notifier - (of-object "GClosure") - (c-name "g_closure_add_invalidate_notifier") - (return-type "none") - (parameters - '("gpointer" "notify_data") - '("GClosureNotify" "notify_func") - ) -) - -(define-method remove_invalidate_notifier - (of-object "GClosure") - (c-name "g_closure_remove_invalidate_notifier") - (return-type "none") - (parameters - '("gpointer" "notify_data") - '("GClosureNotify" "notify_func") - ) -) - -(define-method add_marshal_guards - (of-object "GClosure") - (c-name "g_closure_add_marshal_guards") - (return-type "none") - (parameters - '("gpointer" "pre_marshal_data") - '("GClosureNotify" "pre_marshal_notify") - '("gpointer" "post_marshal_data") - '("GClosureNotify" "post_marshal_notify") - ) -) - -(define-method set_marshal - (of-object "GClosure") - (c-name "g_closure_set_marshal") - (return-type "none") - (parameters - '("GClosureMarshal" "marshal") - ) -) - -(define-method set_meta_marshal - (of-object "GClosure") - (c-name "g_closure_set_meta_marshal") - (return-type "none") - (parameters - '("gpointer" "marshal_data") - '("GClosureMarshal" "meta_marshal") - ) -) - -(define-method invalidate - (of-object "GClosure") - (c-name "g_closure_invalidate") - (return-type "none") -) - -(define-method invoke - (of-object "GClosure") - (c-name "g_closure_invoke") - (return-type "none") - (parameters - '("GValue*" "return_value") - '("guint" "n_param_values") - '("const-GValue*" "param_values") - '("gpointer" "invocation_hint") - ) -) - - - -;; From gobject/genums.h - -(define-function g_enum_get_value - (c-name "g_enum_get_value") - (return-type "GEnumValue*") - (parameters - '("GEnumClass*" "enum_class") - '("gint" "value") - ) -) - -(define-function g_enum_get_value_by_name - (c-name "g_enum_get_value_by_name") - (return-type "GEnumValue*") - (parameters - '("GEnumClass*" "enum_class") - '("const-gchar*" "name") - ) -) - -(define-function g_enum_get_value_by_nick - (c-name "g_enum_get_value_by_nick") - (return-type "GEnumValue*") - (parameters - '("GEnumClass*" "enum_class") - '("const-gchar*" "nick") - ) -) - -(define-function g_flags_get_first_value - (c-name "g_flags_get_first_value") - (return-type "GFlagsValue*") - (parameters - '("GFlagsClass*" "flags_class") - '("guint" "value") - ) -) - -(define-function g_flags_get_value_by_name - (c-name "g_flags_get_value_by_name") - (return-type "GFlagsValue*") - (parameters - '("GFlagsClass*" "flags_class") - '("const-gchar*" "name") - ) -) - -(define-function g_flags_get_value_by_nick - (c-name "g_flags_get_value_by_nick") - (return-type "GFlagsValue*") - (parameters - '("GFlagsClass*" "flags_class") - '("const-gchar*" "nick") - ) -) - -(define-method set_enum - (of-object "GValue") - (c-name "g_value_set_enum") - (return-type "none") - (parameters - '("gint" "v_enum") - ) -) - -(define-method get_enum - (of-object "GValue") - (c-name "g_value_get_enum") - (return-type "gint") -) - -(define-method set_flags - (of-object "GValue") - (c-name "g_value_set_flags") - (return-type "none") - (parameters - '("guint" "v_flags") - ) -) - -(define-method get_flags - (of-object "GValue") - (c-name "g_value_get_flags") - (return-type "guint") -) - -(define-function g_enum_register_static - (c-name "g_enum_register_static") - (return-type "GType") - (parameters - '("const-gchar*" "name") - '("const-GEnumValue*" "const_static_values") - ) -) - -(define-function g_flags_register_static - (c-name "g_flags_register_static") - (return-type "GType") - (parameters - '("const-gchar*" "name") - '("const-GFlagsValue*" "const_static_values") - ) -) - -(define-function g_enum_complete_type_info - (c-name "g_enum_complete_type_info") - (return-type "none") - (parameters - '("GType" "g_enum_type") - '("GTypeInfo*" "info") - '("const-GEnumValue*" "const_values") - ) -) - -(define-function g_flags_complete_type_info - (c-name "g_flags_complete_type_info") - (return-type "none") - (parameters - '("GType" "g_flags_type") - '("GTypeInfo*" "info") - '("const-GFlagsValue*" "const_values") - ) -) - - - -;; From gobject/gmarshal.h - - - -;; From gobject/gobject.h - -(define-method install_property - (of-object "GObjectClass") - (c-name "g_object_class_install_property") - (return-type "none") - (parameters - '("guint" "property_id") - '("GParamSpec*" "pspec") - ) -) - -(define-method find_property - (of-object "GObjectClass") - (c-name "g_object_class_find_property") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "property_name") - ) -) - -(define-function g_object_new - (c-name "g_object_new") - (return-type "gpointer") - (parameters - '("GType" "object_type") - '("const-gchar*" "first_property_name") - ) - (varargs #t) -) - -(define-function g_object_newv - (c-name "g_object_newv") - (return-type "gpointer") - (parameters - '("GType" "object_type") - '("guint" "n_parameters") - '("GParameter*" "parameters") - ) -) - -(define-function g_object_new_valist - (c-name "g_object_new_valist") - (return-type "GObject*") - (parameters - '("GType" "object_type") - '("const-gchar*" "first_property_name") - '("va_list" "var_args") - ) -) - -(define-function g_object_set - (c-name "g_object_set") - (return-type "none") - (parameters - '("gpointer" "object") - '("const-gchar*" "first_property_name") - ) - (varargs #t) -) - -(define-function g_object_get - (c-name "g_object_get") - (return-type "none") - (parameters - '("gpointer" "object") - '("const-gchar*" "first_property_name") - ) - (varargs #t) -) - -(define-function g_object_connect - (c-name "g_object_connect") - (return-type "gpointer") - (parameters - '("gpointer" "object") - '("const-gchar*" "signal_spec") - ) - (varargs #t) -) - -(define-function g_object_disconnect - (c-name "g_object_disconnect") - (return-type "none") - (parameters - '("gpointer" "object") - '("const-gchar*" "signal_spec") - ) - (varargs #t) -) - -(define-method set_valist - (of-object "GObject") - (c-name "g_object_set_valist") - (return-type "none") - (parameters - '("const-gchar*" "first_property_name") - '("va_list" "var_args") - ) -) - -(define-method get_valist - (of-object "GObject") - (c-name "g_object_get_valist") - (return-type "none") - (parameters - '("const-gchar*" "first_property_name") - '("va_list" "var_args") - ) -) - -(define-method set_property - (of-object "GObject") - (c-name "g_object_set_property") - (return-type "none") - (parameters - '("const-gchar*" "property_name") - '("const-GValue*" "value") - ) -) - -(define-method get_property - (of-object "GObject") - (c-name "g_object_get_property") - (return-type "none") - (parameters - '("const-gchar*" "property_name") - '("GValue*" "value") - ) -) - -(define-method freeze_notify - (of-object "GObject") - (c-name "g_object_freeze_notify") - (return-type "none") -) - -(define-method notify - (of-object "GObject") - (c-name "g_object_notify") - (return-type "none") - (parameters - '("const-gchar*" "property_name") - ) -) - -(define-method thaw_notify - (of-object "GObject") - (c-name "g_object_thaw_notify") - (return-type "none") -) - -(define-function g_object_ref - (c-name "g_object_ref") - (return-type "gpointer") - (parameters - '("gpointer" "object") - ) -) - -(define-function g_object_unref - (c-name "g_object_unref") - (return-type "none") - (parameters - '("gpointer" "object") - ) -) - -(define-method weak_ref - (of-object "GObject") - (c-name "g_object_weak_ref") - (return-type "none") - (parameters - '("GWeakNotify" "notify") - '("gpointer" "data") - ) -) - -(define-method weak_unref - (of-object "GObject") - (c-name "g_object_weak_unref") - (return-type "none") - (parameters - '("GWeakNotify" "notify") - '("gpointer" "data") - ) -) - -(define-method add_weak_pointer - (of-object "GObject") - (c-name "g_object_add_weak_pointer") - (return-type "none") - (parameters - '("gpointer*" "weak_pointer_location") - ) -) - -(define-method remove_weak_pointer - (of-object "GObject") - (c-name "g_object_remove_weak_pointer") - (return-type "none") - (parameters - '("gpointer*" "weak_pointer_location") - ) -) - -(define-method get_qdata - (of-object "GObject") - (c-name "g_object_get_qdata") - (return-type "gpointer") - (parameters - '("GQuark" "quark") - ) -) - -(define-method set_qdata - (of-object "GObject") - (c-name "g_object_set_qdata") - (return-type "none") - (parameters - '("GQuark" "quark") - '("gpointer" "data") - ) -) - -(define-method set_qdata_full - (of-object "GObject") - (c-name "g_object_set_qdata_full") - (return-type "none") - (parameters - '("GQuark" "quark") - '("gpointer" "data") - '("GDestroyNotify" "destroy") - ) -) - -(define-method steal_qdata - (of-object "GObject") - (c-name "g_object_steal_qdata") - (return-type "gpointer") - (parameters - '("GQuark" "quark") - ) -) - -(define-method get_data - (of-object "GObject") - (c-name "g_object_get_data") - (return-type "gpointer") - (parameters - '("const-gchar*" "key") - ) -) - -(define-method set_data - (of-object "GObject") - (c-name "g_object_set_data") - (return-type "none") - (parameters - '("const-gchar*" "key") - '("gpointer" "data") - ) -) - -(define-method set_data_full - (of-object "GObject") - (c-name "g_object_set_data_full") - (return-type "none") - (parameters - '("const-gchar*" "key") - '("gpointer" "data") - '("GDestroyNotify" "destroy") - ) -) - -(define-method steal_data - (of-object "GObject") - (c-name "g_object_steal_data") - (return-type "gpointer") - (parameters - '("const-gchar*" "key") - ) -) - -(define-method watch_closure - (of-object "GObject") - (c-name "g_object_watch_closure") - (return-type "none") - (parameters - '("GClosure*" "closure") - ) -) - -(define-function g_cclosure_new_object - (c-name "g_cclosure_new_object") - (return-type "GClosure*") - (parameters - '("GCallback" "callback_func") - '("GObject*" "object") - ) -) - -(define-function g_cclosure_new_object_swap - (c-name "g_cclosure_new_object_swap") - (return-type "GClosure*") - (parameters - '("GCallback" "callback_func") - '("GObject*" "object") - ) -) - -(define-function g_closure_new_object - (c-name "g_closure_new_object") - (return-type "GClosure*") - (parameters - '("guint" "sizeof_closure") - '("GObject*" "object") - ) -) - -(define-method set_object - (of-object "GValue") - (c-name "g_value_set_object") - (return-type "none") - (parameters - '("gpointer" "v_object") - ) -) - -(define-method get_object - (of-object "GValue") - (c-name "g_value_get_object") - (return-type "gpointer") -) - -(define-method dup_object - (of-object "GValue") - (c-name "g_value_dup_object") - (return-type "GObject*") -) - -(define-function g_signal_connect_object - (c-name "g_signal_connect_object") - (return-type "gulong") - (parameters - '("gpointer" "instance") - '("const-gchar*" "detailed_signal") - '("GCallback" "c_handler") - '("gpointer" "gobject") - '("GConnectFlags" "connect_flags") - ) -) - -(define-method run_dispose - (of-object "GObject") - (c-name "g_object_run_dispose") - (return-type "none") -) - -(define-method set_object_take_ownership - (of-object "GValue") - (c-name "g_value_set_object_take_ownership") - (return-type "none") - (parameters - '("gpointer" "v_object") - ) -) - - - -;; From gobject/gparam.h - -(define-method ref - (of-object "GParamSpec") - (c-name "g_param_spec_ref") - (return-type "GParamSpec*") -) - -(define-method unref - (of-object "GParamSpec") - (c-name "g_param_spec_unref") - (return-type "none") -) - -(define-method sink - (of-object "GParamSpec") - (c-name "g_param_spec_sink") - (return-type "none") -) - -(define-method get_qdata - (of-object "GParamSpec") - (c-name "g_param_spec_get_qdata") - (return-type "gpointer") - (parameters - '("GQuark" "quark") - ) -) - -(define-method set_qdata - (of-object "GParamSpec") - (c-name "g_param_spec_set_qdata") - (return-type "none") - (parameters - '("GQuark" "quark") - '("gpointer" "data") - ) -) - -(define-method set_qdata_full - (of-object "GParamSpec") - (c-name "g_param_spec_set_qdata_full") - (return-type "none") - (parameters - '("GQuark" "quark") - '("gpointer" "data") - '("GDestroyNotify" "destroy") - ) -) - -(define-method steal_qdata - (of-object "GParamSpec") - (c-name "g_param_spec_steal_qdata") - (return-type "gpointer") - (parameters - '("GQuark" "quark") - ) -) - -(define-function g_param_value_set_default - (c-name "g_param_value_set_default") - (return-type "none") - (parameters - '("GParamSpec*" "pspec") - '("GValue*" "value") - ) -) - -(define-function g_param_value_defaults - (c-name "g_param_value_defaults") - (return-type "gboolean") - (parameters - '("GParamSpec*" "pspec") - '("GValue*" "value") - ) -) - -(define-function g_param_value_validate - (c-name "g_param_value_validate") - (return-type "gboolean") - (parameters - '("GParamSpec*" "pspec") - '("GValue*" "value") - ) -) - -(define-function g_param_value_convert - (c-name "g_param_value_convert") - (return-type "gboolean") - (parameters - '("GParamSpec*" "pspec") - '("const-GValue*" "src_value") - '("GValue*" "dest_value") - '("gboolean" "strict_validation") - ) -) - -(define-function g_param_values_cmp - (c-name "g_param_values_cmp") - (return-type "gint") - (parameters - '("GParamSpec*" "pspec") - '("const-GValue*" "value1") - '("const-GValue*" "value2") - ) -) - -(define-method get_name - (of-object "GParamSpec") - (c-name "g_param_spec_get_name") - (return-type "const-gchar*") -) - -(define-method get_nick - (of-object "GParamSpec") - (c-name "g_param_spec_get_nick") - (return-type "const-gchar*") -) - -(define-method get_blurb - (of-object "GParamSpec") - (c-name "g_param_spec_get_blurb") - (return-type "const-gchar*") -) - -(define-method set_param - (of-object "GValue") - (c-name "g_value_set_param") - (return-type "none") - (parameters - '("GParamSpec*" "param") - ) -) - -(define-method get_param - (of-object "GValue") - (c-name "g_value_get_param") - (return-type "GParamSpec*") -) - -(define-method dup_param - (of-object "GValue") - (c-name "g_value_dup_param") - (return-type "GParamSpec*") -) - -(define-method set_param_take_ownership - (of-object "GValue") - (c-name "g_value_set_param_take_ownership") - (return-type "none") - (parameters - '("GParamSpec*" "param") - ) -) - -(define-function g_param_type_register_static - (c-name "g_param_type_register_static") - (return-type "GType") - (parameters - '("const-gchar*" "name") - '("const-GParamSpecTypeInfo*" "pspec_info") - ) -) - -(define-function _g_param_type_register_static_constant - (c-name "_g_param_type_register_static_constant") - (return-type "GType") - (parameters - '("const-gchar*" "name") - '("const-GParamSpecTypeInfo*" "pspec_info") - '("GType" "opt_type") - ) -) - -(define-function g_param_spec_internal - (c-name "g_param_spec_internal") - (return-type "gpointer") - (parameters - '("GType" "param_type") - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_pool_new - (c-name "g_param_spec_pool_new") - (return-type "GParamSpecPool*") - (parameters - '("gboolean" "type_prefixing") - ) -) - -(define-method insert - (of-object "GParamSpecPool") - (c-name "g_param_spec_pool_insert") - (return-type "none") - (parameters - '("GParamSpec*" "pspec") - '("GType" "owner_type") - ) -) - -(define-method remove - (of-object "GParamSpecPool") - (c-name "g_param_spec_pool_remove") - (return-type "none") - (parameters - '("GParamSpec*" "pspec") - ) -) - -(define-method lookup - (of-object "GParamSpecPool") - (c-name "g_param_spec_pool_lookup") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "param_name") - '("GType" "owner_type") - '("gboolean" "walk_ancestors") - ) -) - -(define-method list_owned - (of-object "GParamSpecPool") - (c-name "g_param_spec_pool_list_owned") - (return-type "GList*") - (parameters - '("GType" "owner_type") - ) -) - -(define-method list - (of-object "GParamSpecPool") - (c-name "g_param_spec_pool_list") - (return-type "GParamSpec**") - (parameters - '("GType" "owner_type") - '("guint*" "n_pspecs_p") - ) -) - - - -;; From gobject/gparamspecs.h - -(define-function g_param_spec_char - (c-name "g_param_spec_char") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gint8" "minimum") - '("gint8" "maximum") - '("gint8" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_uchar - (c-name "g_param_spec_uchar") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("guint8" "minimum") - '("guint8" "maximum") - '("guint8" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_boolean - (c-name "g_param_spec_boolean") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gboolean" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_int - (c-name "g_param_spec_int") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gint" "minimum") - '("gint" "maximum") - '("gint" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_uint - (c-name "g_param_spec_uint") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("guint" "minimum") - '("guint" "maximum") - '("guint" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_long - (c-name "g_param_spec_long") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("glong" "minimum") - '("glong" "maximum") - '("glong" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_ulong - (c-name "g_param_spec_ulong") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gulong" "minimum") - '("gulong" "maximum") - '("gulong" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_int64 - (c-name "g_param_spec_int64") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gint64" "minimum") - '("gint64" "maximum") - '("gint64" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_uint64 - (c-name "g_param_spec_uint64") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("guint64" "minimum") - '("guint64" "maximum") - '("guint64" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_unichar - (c-name "g_param_spec_unichar") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gunichar" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_enum - (c-name "g_param_spec_enum") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GType" "enum_type") - '("gint" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_flags - (c-name "g_param_spec_flags") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GType" "flags_type") - '("guint" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_float - (c-name "g_param_spec_float") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gfloat" "minimum") - '("gfloat" "maximum") - '("gfloat" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_double - (c-name "g_param_spec_double") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("gdouble" "minimum") - '("gdouble" "maximum") - '("gdouble" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_string - (c-name "g_param_spec_string") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("const-gchar*" "default_value") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_param - (c-name "g_param_spec_param") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GType" "param_type") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_boxed - (c-name "g_param_spec_boxed") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GType" "boxed_type") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_pointer - (c-name "g_param_spec_pointer") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_value_array - (c-name "g_param_spec_value_array") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GParamSpec*" "element_spec") - '("GParamFlags" "flags") - ) -) - -(define-function g_param_spec_object - (c-name "g_param_spec_object") - (return-type "GParamSpec*") - (parameters - '("const-gchar*" "name") - '("const-gchar*" "nick") - '("const-gchar*" "blurb") - '("GType" "object_type") - '("GParamFlags" "flags") - ) -) - - - -;; From gobject/gsignal.h - -(define-function g_signal_newv - (c-name "g_signal_newv") - (return-type "guint") - (parameters - '("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") - ) -) - -(define-function g_signal_new_valist - (c-name "g_signal_new_valist") - (return-type "guint") - (parameters - '("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") - ) -) - -(define-function g_signal_new - (c-name "g_signal_new") - (return-type "guint") - (parameters - '("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") - ) - (varargs #t) -) - -(define-function g_signal_emitv - (c-name "g_signal_emitv") - (return-type "none") - (parameters - '("const-GValue*" "instance_and_params") - '("guint" "signal_id") - '("GQuark" "detail") - '("GValue*" "return_value") - ) -) - -(define-function g_signal_emit_valist - (c-name "g_signal_emit_valist") - (return-type "none") - (parameters - '("gpointer" "instance") - '("guint" "signal_id") - '("GQuark" "detail") - '("va_list" "var_args") - ) -) - -(define-function g_signal_emit - (c-name "g_signal_emit") - (return-type "none") - (parameters - '("gpointer" "instance") - '("guint" "signal_id") - '("GQuark" "detail") - ) - (varargs #t) -) - -(define-function g_signal_emit_by_name - (c-name "g_signal_emit_by_name") - (return-type "none") - (parameters - '("gpointer" "instance") - '("const-gchar*" "detailed_signal") - ) - (varargs #t) -) - -(define-function g_signal_lookup - (c-name "g_signal_lookup") - (return-type "guint") - (parameters - '("const-gchar*" "name") - '("GType" "itype") - ) -) - -(define-function g_signal_name - (c-name "g_signal_name") - (return-type "const-gchar*") - (parameters - '("guint" "signal_id") - ) -) - -(define-function g_signal_query - (c-name "g_signal_query") - (return-type "none") - (parameters - '("guint" "signal_id") - '("GSignalQuery*" "query") - ) -) - -(define-function g_signal_list_ids - (c-name "g_signal_list_ids") - (return-type "guint*") - (parameters - '("GType" "itype") - '("guint*" "n_ids") - ) -) - -(define-function g_signal_parse_name - (c-name "g_signal_parse_name") - (return-type "gboolean") - (parameters - '("const-gchar*" "detailed_signal") - '("GType" "itype") - '("guint*" "signal_id_p") - '("GQuark*" "detail_p") - '("gboolean" "force_detail_quark") - ) -) - -(define-function g_signal_get_invocation_hint - (c-name "g_signal_get_invocation_hint") - (return-type "GSignalInvocationHint*") - (parameters - '("gpointer" "instance") - ) -) - -(define-function g_signal_stop_emission - (c-name "g_signal_stop_emission") - (return-type "none") - (parameters - '("gpointer" "instance") - '("guint" "signal_id") - '("GQuark" "detail") - ) -) - -(define-function g_signal_stop_emission_by_name - (c-name "g_signal_stop_emission_by_name") - (return-type "none") - (parameters - '("gpointer" "instance") - '("const-gchar*" "detailed_signal") - ) -) - -(define-function g_signal_add_emission_hook - (c-name "g_signal_add_emission_hook") - (return-type "gulong") - (parameters - '("guint" "signal_id") - '("GQuark" "quark") - '("GSignalEmissionHook" "hook_func") - '("gpointer" "hook_data") - '("GDestroyNotify" "data_destroy") - ) -) - -(define-function g_signal_remove_emission_hook - (c-name "g_signal_remove_emission_hook") - (return-type "none") - (parameters - '("guint" "signal_id") - '("gulong" "hook_id") - ) -) - -(define-function g_signal_has_handler_pending - (c-name "g_signal_has_handler_pending") - (return-type "gboolean") - (parameters - '("gpointer" "instance") - '("guint" "signal_id") - '("GQuark" "detail") - '("gboolean" "may_be_blocked") - ) -) - -(define-function g_signal_connect_closure_by_id - (c-name "g_signal_connect_closure_by_id") - (return-type "gulong") - (parameters - '("gpointer" "instance") - '("guint" "signal_id") - '("GQuark" "detail") - '("GClosure*" "closure") - '("gboolean" "after") - ) -) - -(define-function g_signal_connect_closure - (c-name "g_signal_connect_closure") - (return-type "gulong") - (parameters - '("gpointer" "instance") - '("const-gchar*" "detailed_signal") - '("GClosure*" "closure") - '("gboolean" "after") - ) -) - -(define-function g_signal_connect_data - (c-name "g_signal_connect_data") - (return-type "gulong") - (parameters - '("gpointer" "instance") - '("const-gchar*" "detailed_signal") - '("GCallback" "c_handler") - '("gpointer" "data") - '("GClosureNotify" "destroy_data") - '("GConnectFlags" "connect_flags") - ) -) - -(define-function g_signal_handler_block - (c-name "g_signal_handler_block") - (return-type "none") - (parameters - '("gpointer" "instance") - '("gulong" "handler_id") - ) -) - -(define-function g_signal_handler_unblock - (c-name "g_signal_handler_unblock") - (return-type "none") - (parameters - '("gpointer" "instance") - '("gulong" "handler_id") - ) -) - -(define-function g_signal_handler_disconnect - (c-name "g_signal_handler_disconnect") - (return-type "none") - (parameters - '("gpointer" "instance") - '("gulong" "handler_id") - ) -) - -(define-function g_signal_handler_is_connected - (c-name "g_signal_handler_is_connected") - (return-type "gboolean") - (parameters - '("gpointer" "instance") - '("gulong" "handler_id") - ) -) - -(define-function g_signal_handler_find - (c-name "g_signal_handler_find") - (return-type "gulong") - (parameters - '("gpointer" "instance") - '("GSignalMatchType" "mask") - '("guint" "signal_id") - '("GQuark" "detail") - '("GClosure*" "closure") - '("gpointer" "func") - '("gpointer" "data") - ) -) - -(define-function g_signal_handlers_block_matched - (c-name "g_signal_handlers_block_matched") - (return-type "guint") - (parameters - '("gpointer" "instance") - '("GSignalMatchType" "mask") - '("guint" "signal_id") - '("GQuark" "detail") - '("GClosure*" "closure") - '("gpointer" "func") - '("gpointer" "data") - ) -) - -(define-function g_signal_handlers_unblock_matched - (c-name "g_signal_handlers_unblock_matched") - (return-type "guint") - (parameters - '("gpointer" "instance") - '("GSignalMatchType" "mask") - '("guint" "signal_id") - '("GQuark" "detail") - '("GClosure*" "closure") - '("gpointer" "func") - '("gpointer" "data") - ) -) - -(define-function g_signal_handlers_disconnect_matched - (c-name "g_signal_handlers_disconnect_matched") - (return-type "guint") - (parameters - '("gpointer" "instance") - '("GSignalMatchType" "mask") - '("guint" "signal_id") - '("GQuark" "detail") - '("GClosure*" "closure") - '("gpointer" "func") - '("gpointer" "data") - ) -) - -(define-function g_signal_override_class_closure - (c-name "g_signal_override_class_closure") - (return-type "none") - (parameters - '("guint" "signal_id") - '("GType" "instance_type") - '("GClosure*" "class_closure") - ) -) - -(define-function g_signal_chain_from_overridden - (c-name "g_signal_chain_from_overridden") - (return-type "none") - (parameters - '("const-GValue*" "instance_and_params") - '("GValue*" "return_value") - ) -) - -(define-function _g_signals_destroy - (c-name "_g_signals_destroy") - (return-type "none") - (parameters - '("GType" "itype") - ) -) - - - -;; From gobject/gsourceclosure.h - -(define-function g_io_channel_get_type - (c-name "g_io_channel_get_type") - (return-type "GType") -) - -(define-function g_io_condition_get_type - (c-name "g_io_condition_get_type") - (return-type "GType") -) - - - -;; From gobject/gtype.h - -(define-function g_type_init - (c-name "g_type_init") - (return-type "none") -) - -(define-function g_type_init_with_debug_flags - (c-name "g_type_init_with_debug_flags") - (return-type "none") - (parameters - '("GTypeDebugFlags" "debug_flags") - ) -) - -(define-method name - (of-object "GType") - (c-name "g_type_name") - (return-type "const-gchar*") -) - -(define-method qname - (of-object "GType") - (c-name "g_type_qname") - (return-type "GQuark") -) - -(define-function g_type_from_name - (c-name "g_type_from_name") - (return-type "GType") - (parameters - '("const-gchar*" "name") - ) -) - -(define-method parent - (of-object "GType") - (c-name "g_type_parent") - (return-type "GType") -) - -(define-method depth - (of-object "GType") - (c-name "g_type_depth") - (return-type "guint") -) - -(define-method next_base - (of-object "GType") - (c-name "g_type_next_base") - (return-type "GType") - (parameters - '("GType" "root_type") - ) -) - -(define-method is_a - (of-object "GType") - (c-name "g_type_is_a") - (return-type "gboolean") - (parameters - '("GType" "is_a_type") - ) -) - -(define-method class_ref - (of-object "GType") - (c-name "g_type_class_ref") - (return-type "gpointer") -) - -(define-method class_peek - (of-object "GType") - (c-name "g_type_class_peek") - (return-type "gpointer") -) - -(define-function g_type_class_unref - (c-name "g_type_class_unref") - (return-type "none") - (parameters - '("gpointer" "g_class") - ) -) - -(define-function g_type_class_peek_parent - (c-name "g_type_class_peek_parent") - (return-type "gpointer") - (parameters - '("gpointer" "g_class") - ) -) - -(define-function g_type_interface_peek - (c-name "g_type_interface_peek") - (return-type "gpointer") - (parameters - '("gpointer" "instance_class") - '("GType" "iface_type") - ) -) - -(define-function g_type_interface_peek_parent - (c-name "g_type_interface_peek_parent") - (return-type "gpointer") - (parameters - '("gpointer" "g_iface") - ) -) - -(define-method children - (of-object "GType") - (c-name "g_type_children") - (return-type "GType*") - (parameters - '("guint*" "n_children") - ) -) - -(define-method interfaces - (of-object "GType") - (c-name "g_type_interfaces") - (return-type "GType*") - (parameters - '("guint*" "n_interfaces") - ) -) - -(define-method set_qdata - (of-object "GType") - (c-name "g_type_set_qdata") - (return-type "none") - (parameters - '("GQuark" "quark") - '("gpointer" "data") - ) -) - -(define-method get_qdata - (of-object "GType") - (c-name "g_type_get_qdata") - (return-type "gpointer") - (parameters - '("GQuark" "quark") - ) -) - -(define-method query - (of-object "GType") - (c-name "g_type_query") - (return-type "none") - (parameters - '("GTypeQuery*" "query") - ) -) - -(define-method register_static - (of-object "GType") - (c-name "g_type_register_static") - (return-type "GType") - (parameters - '("const-gchar*" "type_name") - '("const-GTypeInfo*" "info") - '("GTypeFlags" "flags") - ) -) - -(define-method register_dynamic - (of-object "GType") - (c-name "g_type_register_dynamic") - (return-type "GType") - (parameters - '("const-gchar*" "type_name") - '("GTypePlugin*" "plugin") - '("GTypeFlags" "flags") - ) -) - -(define-method register_fundamental - (of-object "GType") - (c-name "g_type_register_fundamental") - (return-type "GType") - (parameters - '("const-gchar*" "type_name") - '("const-GTypeInfo*" "info") - '("const-GTypeFundamentalInfo*" "finfo") - '("GTypeFlags" "flags") - ) -) - -(define-method add_interface_static - (of-object "GType") - (c-name "g_type_add_interface_static") - (return-type "none") - (parameters - '("GType" "interface_type") - '("const-GInterfaceInfo*" "info") - ) -) - -(define-method add_interface_dynamic - (of-object "GType") - (c-name "g_type_add_interface_dynamic") - (return-type "none") - (parameters - '("GType" "interface_type") - '("GTypePlugin*" "plugin") - ) -) - -(define-method interface_add_prerequisite - (of-object "GType") - (c-name "g_type_interface_add_prerequisite") - (return-type "none") - (parameters - '("GType" "prerequisite_type") - ) -) - -(define-method get_plugin - (of-object "GType") - (c-name "g_type_get_plugin") - (return-type "GTypePlugin*") -) - -(define-method interface_get_plugin - (of-object "GType") - (c-name "g_type_interface_get_plugin") - (return-type "GTypePlugin*") - (parameters - '("GType" "implementation_type") - ) -) - -(define-function g_type_fundamental_next - (c-name "g_type_fundamental_next") - (return-type "GType") -) - -(define-method fundamental - (of-object "GType") - (c-name "g_type_fundamental") - (return-type "GType") -) - -(define-method create_instance - (of-object "GType") - (c-name "g_type_create_instance") - (return-type "GTypeInstance*") -) - -(define-function g_type_free_instance - (c-name "g_type_free_instance") - (return-type "none") - (parameters - '("GTypeInstance*" "instance") - ) -) - -(define-function g_type_add_class_cache_func - (c-name "g_type_add_class_cache_func") - (return-type "none") - (parameters - '("gpointer" "cache_data") - '("GTypeClassCacheFunc" "cache_func") - ) -) - -(define-function g_type_remove_class_cache_func - (c-name "g_type_remove_class_cache_func") - (return-type "none") - (parameters - '("gpointer" "cache_data") - '("GTypeClassCacheFunc" "cache_func") - ) -) - -(define-function g_type_class_unref_uncached - (c-name "g_type_class_unref_uncached") - (return-type "none") - (parameters - '("gpointer" "g_class") - ) -) - -(define-method value_table_peek - (of-object "GType") - (c-name "g_type_value_table_peek") - (return-type "GTypeValueTable*") -) - -(define-function g_type_check_instance - (c-name "g_type_check_instance") - (return-type "gboolean") - (parameters - '("GTypeInstance*" "instance") - ) -) - -(define-function g_type_check_instance_cast - (c-name "g_type_check_instance_cast") - (return-type "GTypeInstance*") - (parameters - '("GTypeInstance*" "instance") - '("GType" "iface_type") - ) -) - -(define-function g_type_check_instance_is_a - (c-name "g_type_check_instance_is_a") - (return-type "gboolean") - (parameters - '("GTypeInstance*" "instance") - '("GType" "iface_type") - ) -) - -(define-function g_type_check_class_cast - (c-name "g_type_check_class_cast") - (return-type "GTypeClass*") - (parameters - '("GTypeClass*" "g_class") - '("GType" "is_a_type") - ) -) - -(define-function g_type_check_class_is_a - (c-name "g_type_check_class_is_a") - (return-type "gboolean") - (parameters - '("GTypeClass*" "g_class") - '("GType" "is_a_type") - ) -) - -(define-method check_is_value_type - (of-object "GType") - (c-name "g_type_check_is_value_type") - (return-type "gboolean") -) - -(define-function g_type_check_value - (c-name "g_type_check_value") - (return-type "gboolean") - (parameters - '("GValue*" "value") - ) -) - -(define-function g_type_check_value_holds - (c-name "g_type_check_value_holds") - (return-type "gboolean") - (parameters - '("GValue*" "value") - '("GType" "type") - ) -) - -(define-method test_flags - (of-object "GType") - (c-name "g_type_test_flags") - (return-type "gboolean") - (parameters - '("guint" "flags") - ) -) - -(define-function g_type_name_from_instance - (c-name "g_type_name_from_instance") - (return-type "const-gchar*") - (parameters - '("GTypeInstance*" "instance") - ) -) - -(define-function g_type_name_from_class - (c-name "g_type_name_from_class") - (return-type "const-gchar*") - (parameters - '("GTypeClass*" "g_class") - ) -) - - - -;; From gobject/gtypemodule.h - -(define-function g_type_module_get_type - (c-name "g_type_module_get_type") - (return-type "GType") -) - -(define-method use - (of-object "GTypeModule") - (c-name "g_type_module_use") - (return-type "gboolean") -) - -(define-method unuse - (of-object "GTypeModule") - (c-name "g_type_module_unuse") - (return-type "none") -) - -(define-method set_name - (of-object "GTypeModule") - (c-name "g_type_module_set_name") - (return-type "none") - (parameters - '("const-gchar*" "name") - ) -) - -(define-method register_type - (of-object "GTypeModule") - (c-name "g_type_module_register_type") - (return-type "GType") - (parameters - '("GType" "parent_type") - '("const-gchar*" "type_name") - '("const-GTypeInfo*" "type_info") - '("GTypeFlags" "flags") - ) -) - -(define-method add_interface - (of-object "GTypeModule") - (c-name "g_type_module_add_interface") - (return-type "none") - (parameters - '("GType" "instance_type") - '("GType" "interface_type") - '("const-GInterfaceInfo*" "interface_info") - ) -) - - - -;; From gobject/gtypeplugin.h - -(define-function g_type_plugin_get_type - (c-name "g_type_plugin_get_type") - (return-type "GType") -) - -(define-method use - (of-object "GTypePlugin") - (c-name "g_type_plugin_use") - (return-type "none") -) - -(define-method unuse - (of-object "GTypePlugin") - (c-name "g_type_plugin_unuse") - (return-type "none") -) - -(define-method complete_type_info - (of-object "GTypePlugin") - (c-name "g_type_plugin_complete_type_info") - (return-type "none") - (parameters - '("GType" "g_type") - '("GTypeInfo*" "info") - '("GTypeValueTable*" "value_table") - ) -) - -(define-method complete_interface_info - (of-object "GTypePlugin") - (c-name "g_type_plugin_complete_interface_info") - (return-type "none") - (parameters - '("GType" "interface_type") - '("GType" "instance_type") - '("GInterfaceInfo*" "info") - ) -) - - - -;; From gobject/gvaluearray.h - -(define-method get_nth - (of-object "GValueArray") - (c-name "g_value_array_get_nth") - (return-type "GValue*") - (parameters - '("guint" "index") - ) -) - -(define-function g_value_array_new - (c-name "g_value_array_new") - (return-type "GValueArray*") - (parameters - '("guint" "n_prealloced") - ) -) - -(define-method free - (of-object "GValueArray") - (c-name "g_value_array_free") - (return-type "none") -) - -(define-method copy - (of-object "GValueArray") - (c-name "g_value_array_copy") - (return-type "GValueArray*") -) - -(define-method prepend - (of-object "GValueArray") - (c-name "g_value_array_prepend") - (return-type "GValueArray*") - (parameters - '("const-GValue*" "value") - ) -) - -(define-method append - (of-object "GValueArray") - (c-name "g_value_array_append") - (return-type "GValueArray*") - (parameters - '("const-GValue*" "value") - ) -) - -(define-method insert - (of-object "GValueArray") - (c-name "g_value_array_insert") - (return-type "GValueArray*") - (parameters - '("guint" "index") - '("const-GValue*" "value") - ) -) - -(define-method remove - (of-object "GValueArray") - (c-name "g_value_array_remove") - (return-type "GValueArray*") - (parameters - '("guint" "index") - ) -) - -(define-method sort - (of-object "GValueArray") - (c-name "g_value_array_sort") - (return-type "GValueArray*") - (parameters - '("GCompareFunc" "compare_func") - ) -) - -(define-method sort_with_data - (of-object "GValueArray") - (c-name "g_value_array_sort_with_data") - (return-type "GValueArray*") - (parameters - '("GCompareDataFunc" "compare_func") - '("gpointer" "user_data") - ) -) - - - -;; From gobject/gvaluecollector.h - - - -;; From gobject/gvalue.h - -(define-method init - (of-object "GValue") - (c-name "g_value_init") - (return-type "GValue*") - (parameters - '("GType" "g_type") - ) -) - -(define-method copy - (of-object "GValue") - (c-name "g_value_copy") - (return-type "none") - (parameters - '("GValue*" "dest_value") - ) -) - -(define-method reset - (of-object "GValue") - (c-name "g_value_reset") - (return-type "GValue*") -) - -(define-method unset - (of-object "GValue") - (c-name "g_value_unset") - (return-type "none") -) - -(define-method set_instance - (of-object "GValue") - (c-name "g_value_set_instance") - (return-type "none") - (parameters - '("gpointer" "instance") - ) -) - -(define-method fits_pointer - (of-object "GValue") - (c-name "g_value_fits_pointer") - (return-type "gboolean") -) - -(define-method peek_pointer - (of-object "GValue") - (c-name "g_value_peek_pointer") - (return-type "gpointer") -) - -(define-function g_value_type_compatible - (c-name "g_value_type_compatible") - (return-type "gboolean") - (parameters - '("GType" "src_type") - '("GType" "dest_type") - ) -) - -(define-function g_value_type_transformable - (c-name "g_value_type_transformable") - (return-type "gboolean") - (parameters - '("GType" "src_type") - '("GType" "dest_type") - ) -) - -(define-method transform - (of-object "GValue") - (c-name "g_value_transform") - (return-type "gboolean") - (parameters - '("GValue*" "dest_value") - ) -) - -(define-function g_value_register_transform_func - (c-name "g_value_register_transform_func") - (return-type "none") - (parameters - '("GType" "src_type") - '("GType" "dest_type") - '("GValueTransform" "transform_func") - ) -) - - - -;; From gobject/gvaluetypes.h - -(define-method get_char - (of-object "GValue") - (c-name "g_value_get_char") - (return-type "gchar") -) - -(define-method set_uchar - (of-object "GValue") - (c-name "g_value_set_uchar") - (return-type "none") - (parameters - '("guchar" "v_uchar") - ) -) - -(define-method get_uchar - (of-object "GValue") - (c-name "g_value_get_uchar") - (return-type "guchar") -) - -(define-method set_boolean - (of-object "GValue") - (c-name "g_value_set_boolean") - (return-type "none") - (parameters - '("gboolean" "v_boolean") - ) -) - -(define-method get_boolean - (of-object "GValue") - (c-name "g_value_get_boolean") - (return-type "gboolean") -) - -(define-method set_int - (of-object "GValue") - (c-name "g_value_set_int") - (return-type "none") - (parameters - '("gint" "v_int") - ) -) - -(define-method get_int - (of-object "GValue") - (c-name "g_value_get_int") - (return-type "gint") -) - -(define-method set_uint - (of-object "GValue") - (c-name "g_value_set_uint") - (return-type "none") - (parameters - '("guint" "v_uint") - ) -) - -(define-method get_uint - (of-object "GValue") - (c-name "g_value_get_uint") - (return-type "guint") -) - -(define-method set_long - (of-object "GValue") - (c-name "g_value_set_long") - (return-type "none") - (parameters - '("glong" "v_long") - ) -) - -(define-method get_long - (of-object "GValue") - (c-name "g_value_get_long") - (return-type "glong") -) - -(define-method set_ulong - (of-object "GValue") - (c-name "g_value_set_ulong") - (return-type "none") - (parameters - '("gulong" "v_ulong") - ) -) - -(define-method get_ulong - (of-object "GValue") - (c-name "g_value_get_ulong") - (return-type "gulong") -) - -(define-method set_int64 - (of-object "GValue") - (c-name "g_value_set_int64") - (return-type "none") - (parameters - '("gint64" "v_int64") - ) -) - -(define-method get_int64 - (of-object "GValue") - (c-name "g_value_get_int64") - (return-type "gint64") -) - -(define-method set_uint64 - (of-object "GValue") - (c-name "g_value_set_uint64") - (return-type "none") - (parameters - '("guint64" "v_uint64") - ) -) - -(define-method get_uint64 - (of-object "GValue") - (c-name "g_value_get_uint64") - (return-type "guint64") -) - -(define-method set_float - (of-object "GValue") - (c-name "g_value_set_float") - (return-type "none") - (parameters - '("gfloat" "v_float") - ) -) - -(define-method get_float - (of-object "GValue") - (c-name "g_value_get_float") - (return-type "gfloat") -) - -(define-method set_double - (of-object "GValue") - (c-name "g_value_set_double") - (return-type "none") - (parameters - '("gdouble" "v_double") - ) -) - -(define-method get_double - (of-object "GValue") - (c-name "g_value_get_double") - (return-type "gdouble") -) - -(define-method set_string - (of-object "GValue") - (c-name "g_value_set_string") - (return-type "none") - (parameters - '("const-gchar*" "v_string") - ) -) - -(define-method set_static_string - (of-object "GValue") - (c-name "g_value_set_static_string") - (return-type "none") - (parameters - '("const-gchar*" "v_string") - ) -) - -(define-method get_string - (of-object "GValue") - (c-name "g_value_get_string") - (return-type "const-gchar*") -) - -(define-method dup_string - (of-object "GValue") - (c-name "g_value_dup_string") - (return-type "gchar*") -) - -(define-method set_pointer - (of-object "GValue") - (c-name "g_value_set_pointer") - (return-type "none") - (parameters - '("gpointer" "v_pointer") - ) -) - -(define-method get_pointer - (of-object "GValue") - (c-name "g_value_get_pointer") - (return-type "gpointer") -) - -(define-function g_pointer_type_register_static - (c-name "g_pointer_type_register_static") - (return-type "GType") - (parameters - '("const-gchar*" "name") - ) -) - -(define-function g_strdup_value_contents - (c-name "g_strdup_value_contents") - (return-type "gchar*") - (parameters - '("const-GValue*" "value") - ) -) - -(define-method set_string_take_ownership - (of-object "GValue") - (c-name "g_value_set_string_take_ownership") - (return-type "none") - (parameters - '("gchar*" "v_string") - ) -) - - diff --git a/libs/glibmm2/glib/src/iochannel.ccg b/libs/glibmm2/glib/src/iochannel.ccg deleted file mode 100644 index a220062b4f..0000000000 --- a/libs/glibmm2/glib/src/iochannel.ccg +++ /dev/null @@ -1,651 +0,0 @@ -// -*- c++ -*- -/* $Id: iochannel.ccg,v 1.6 2006/10/04 12:04:09 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace -{ - -// Glib::IOChannel reference counting issues: -// -// Normally, you'd expect that the C++ object stays around as long as the -// C instance does. Also Glib::wrap() usually returns always the same C++ -// wrapper object for a single C instance. -// -// Unfortunately it isn't possible to implement these features if we didn't -// create the underlying GIOChannel. That is, when wrapping existing -// GIOChannel instances such as returned by e.g. g_io_channel_unix_new() or -// g_io_channel_new_file(). Neither is there a way to hook up a wrapper -// object in an existing GIOChannel, nor exists any destroy notification. -// -// So that means: If the IOChannel is implemented in C++ -- that is, our -// GlibmmIOChannel backend is used -- we use the GIOChannel reference -// counting mechanism. If the IOChannel backend is unknown, then the -// wrapper instance holds always exactly one reference to the GIOChannel. -// The wrapper object itself is then managed via our own refcounting -// mechanism. To do that a utility class ForeignIOChannel is introduced to -// override reference() and unreference(). - -class ForeignIOChannel : public Glib::IOChannel -{ -public: - ForeignIOChannel(GIOChannel* gobject, bool take_copy) - : Glib::IOChannel(gobject, take_copy), ref_count_(0) {} - - virtual void reference() const; - virtual void unreference() const; - -private: - mutable int ref_count_; -}; - -void ForeignIOChannel::reference() const -{ - ++ref_count_; -} - -void ForeignIOChannel::unreference() const -{ - if (!(--ref_count_)) delete this; -} - -} // anonymous namespace - - -namespace Glib -{ - -class GlibmmIOChannel -{ -public: - GIOChannel base; - Glib::IOChannel* wrapper; - - static const GIOFuncs vfunc_table; - - static GIOStatus io_read(GIOChannel* channel, char* buf, gsize count, - gsize* bytes_read, GError** err); - - static GIOStatus io_write(GIOChannel* channel, const char* buf, gsize count, - gsize* bytes_written, GError** err); - - static GIOStatus io_seek (GIOChannel* channel, gint64 offset, GSeekType type, GError** err); - static GIOStatus io_close(GIOChannel* channel, GError** err); - - static GSource* io_create_watch(GIOChannel* channel, GIOCondition condition); - static void io_free(GIOChannel* channel); - - static GIOStatus io_set_flags(GIOChannel* channel, GIOFlags flags, GError** err); - static GIOFlags io_get_flags(GIOChannel* channel); -}; - -// static -const GIOFuncs GlibmmIOChannel::vfunc_table = -{ - &GlibmmIOChannel::io_read, - &GlibmmIOChannel::io_write, - &GlibmmIOChannel::io_seek, - &GlibmmIOChannel::io_close, - &GlibmmIOChannel::io_create_watch, - &GlibmmIOChannel::io_free, - &GlibmmIOChannel::io_set_flags, - &GlibmmIOChannel::io_get_flags, -}; - - -/**** GLib::IOChannel ******************************************************/ - -/* Construct a custom C++-implemented IOChannel. GlibmmIOChannel is an - * extended GIOChannel struct which allows us to hook up a pointer to this - * persistent wrapper instance. - */ -IOChannel::IOChannel() -: - gobject_ (static_cast(g_malloc(sizeof(GlibmmIOChannel)))) -{ - g_io_channel_init(gobject_); - gobject_->funcs = const_cast(&GlibmmIOChannel::vfunc_table); - - reinterpret_cast(gobject_)->wrapper = this; -} - -/* Construct an IOChannel wrapper for an already created GIOChannel. - * See the comment at the top of this file for an explanation of the - * problems with this approach. - */ -IOChannel::IOChannel(GIOChannel* gobject, bool take_copy) -: - gobject_ (gobject) -{ - // This ctor should never be called for GlibmmIOChannel instances. - g_assert(gobject != 0); - g_assert(gobject->funcs != &GlibmmIOChannel::vfunc_table); - - if(take_copy) - g_io_channel_ref(gobject_); -} - -IOChannel::~IOChannel() -{ - if(gobject_) - { - // Check whether this IOChannel is implemented in C++, i.e. whether it - // uses our GlibmmIOChannel forwarding backend. Normally, this will never - // be true because the wrapper should only be deleted in the io_free() - // callback, which clears gobject_ before deleting. But in case the ctor - // of a derived class threw an exception the GIOChannel must be destroyed - // prematurely. - // - if(gobject_->funcs == &GlibmmIOChannel::vfunc_table) - { - // Disconnect the wrapper object so that it won't be deleted twice. - reinterpret_cast(gobject_)->wrapper = 0; - } - - GIOChannel *const tmp_gobject = gobject_; - gobject_ = 0; - - g_io_channel_unref(tmp_gobject); - } -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr IOChannel::create_from_file(const std::string& filename, const std::string& mode) -#else -Glib::RefPtr IOChannel::create_from_file(const std::string& filename, const std::string& mode, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - GIOChannel *const channel = g_io_channel_new_file(filename.c_str(), mode.c_str(), &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return Glib::wrap(channel, false); -} - -Glib::RefPtr IOChannel::create_from_fd(int fd) -{ - return Glib::wrap(g_io_channel_unix_new(fd), false); -} - -#ifdef G_OS_WIN32 - -Glib::RefPtr IOChannel::create_from_win32_fd(int fd) -{ - return Glib::wrap(g_io_channel_win32_new_fd(fd), false); -} - -Glib::RefPtr IOChannel::create_from_win32_socket(int socket) -{ - return Glib::wrap(g_io_channel_win32_new_socket(socket), false); -} - -#endif /* G_OS_WIN32 */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::write(const Glib::ustring& str) -#else -IOStatus IOChannel::write(const Glib::ustring& str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - gsize bytes_written = 0; -#ifdef GLIBMM_EXCEPTIONS_ENABLED - return write(str.data(), str.bytes(), bytes_written); -#else - return write(str.data(), str.bytes(), bytes_written, error); -#endif //GLIBMM_EXCEPTIONS_ENABLED -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read_line(Glib::ustring& line) -#else -IOStatus IOChannel::read_line(Glib::ustring& line, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - Glib::ScopedPtr buf; - GError* gerror = 0; - gsize bytes = 0; - - const GIOStatus status = g_io_channel_read_line(gobj(), buf.addr(), &bytes, 0, &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(buf.get()) - line.assign(buf.get(), buf.get() + bytes); - else - line.erase(); - - return (IOStatus) status; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read_to_end(Glib::ustring& str) -#else -IOStatus IOChannel::read_to_end(Glib::ustring& str, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - Glib::ScopedPtr buf; - GError* gerror = 0; - gsize bytes = 0; - - const GIOStatus status = g_io_channel_read_to_end(gobj(), buf.addr(), &bytes, &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(buf.get()) - str.assign(buf.get(), buf.get() + bytes); - else - str.erase(); - - return (IOStatus) status; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::read(Glib::ustring& str, gsize count) -#else -IOStatus IOChannel::read(Glib::ustring& str, gsize count, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - Glib::ScopedPtr buf (g_new(char, count)); - GError* gerror = 0; - gsize bytes = 0; - - const GIOStatus status = g_io_channel_read_chars(gobj(), buf.get(), count, &bytes, &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - if(buf.get()) - str.assign(buf.get(), buf.get() + bytes); - else - str.erase(); - - return (IOStatus) status; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -IOStatus IOChannel::set_encoding(const std::string& encoding) -#else -IOStatus IOChannel::set_encoding(const std::string& encoding, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - - const GIOStatus status = g_io_channel_set_encoding( - gobj(), (encoding.empty()) ? 0 : encoding.c_str(), &gerror); - - if(gerror) - { - #ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); - #else - error = Glib::Error::throw_exception(gerror); - #endif //GLIBMM_EXCEPTIONS_ENABLED - } - - return (IOStatus) status; -} - -std::string IOChannel::get_encoding() const -{ - const char *const encoding = g_io_channel_get_encoding(gobject_); - return (encoding) ? std::string(encoding) : std::string(); -} - -void IOChannel::set_line_term(const std::string& term) -{ - if(term.empty()) - g_io_channel_set_line_term(gobj(), 0, 0); - else - g_io_channel_set_line_term(gobj(), term.data(), term.size()); -} - -std::string IOChannel::get_line_term() const -{ - int len = 0; - const char *const term = g_io_channel_get_line_term(gobject_, &len); - - return (term) ? std::string(term, len) : std::string(); -} - -Glib::RefPtr IOChannel::create_watch(IOCondition condition) -{ - // The corresponding unreference() takes place in the dtor - // of the Glib::RefPtr object below. - reference(); - return IOSource::create(Glib::RefPtr(this), condition); -} - -IOStatus IOChannel::read_vfunc(char*, gsize, gsize&) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOStatus IOChannel::write_vfunc(const char*, gsize, gsize&) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOStatus IOChannel::seek_vfunc(gint64, SeekType) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOStatus IOChannel::close_vfunc() -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -Glib::RefPtr IOChannel::create_watch_vfunc(IOCondition) -{ - g_assert_not_reached(); - return Glib::RefPtr(); -} - -IOStatus IOChannel::set_flags_vfunc(IOFlags) -{ - g_assert_not_reached(); - return IO_STATUS_ERROR; -} - -IOFlags IOChannel::get_flags_vfunc() -{ - g_assert_not_reached(); - return IOFlags(0); -} - -void IOChannel::reference() const -{ - g_io_channel_ref(gobject_); -} - -void IOChannel::unreference() const -{ - g_io_channel_unref(gobject_); -} - -Glib::RefPtr wrap(GIOChannel* gobject, bool take_copy) -{ - IOChannel* cpp_object = 0; - - if(gobject) - { - if(gobject->funcs == &GlibmmIOChannel::vfunc_table) - { - cpp_object = reinterpret_cast(gobject)->wrapper; - - if(take_copy && cpp_object) - cpp_object->reference(); - } - else - { - cpp_object = new ForeignIOChannel(gobject, take_copy); - cpp_object->reference(); // the refcount is initially 0 - } - } - - return Glib::RefPtr(cpp_object); -} - - -/**** Glib::GlibmmIOChannel ************************************************/ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_read(GIOChannel* channel, char* buf, gsize count, - gsize* bytes_read, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_read(GIOChannel* channel, char* buf, gsize count, - gsize* bytes_read, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->read_vfunc(buf, count, *bytes_read); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_write(GIOChannel* channel, const char* buf, gsize count, - gsize* bytes_written, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_write(GIOChannel* channel, const char* buf, gsize count, - gsize* bytes_written, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->write_vfunc(buf, count, *bytes_written); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_seek(GIOChannel* channel, gint64 offset, GSeekType type, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_seek(GIOChannel* channel, gint64 offset, GSeekType type, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->seek_vfunc(offset, (SeekType) type); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_close(GIOChannel* channel, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_close(GIOChannel* channel, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->close_vfunc(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - - return G_IO_STATUS_ERROR; -} - -// static -GSource* GlibmmIOChannel::io_create_watch(GIOChannel* channel, GIOCondition condition) -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - const Glib::RefPtr source = wrapper->create_watch_vfunc((IOCondition) condition); - return (source) ? source->gobj_copy() : 0; - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return 0; -} - -// static -void GlibmmIOChannel::io_free(GIOChannel* channel) -{ - if(IOChannel *const wrapper = reinterpret_cast(channel)->wrapper) - { - wrapper->gobject_ = 0; - delete wrapper; - } - - g_free(channel); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -GIOStatus GlibmmIOChannel::io_set_flags(GIOChannel* channel, GIOFlags flags, GError** err) -#else -//Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. -GIOStatus GlibmmIOChannel::io_set_flags(GIOChannel* channel, GIOFlags flags, GError** /* err */) -#endif -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOStatus) wrapper->set_flags_vfunc((IOFlags) flags); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Error& error) - { - error.propagate(err); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return G_IO_STATUS_ERROR; -} - -// static -GIOFlags GlibmmIOChannel::io_get_flags(GIOChannel* channel) -{ - IOChannel *const wrapper = reinterpret_cast(channel)->wrapper; - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - return (GIOFlags) wrapper->get_flags_vfunc(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - return GIOFlags(0); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/iochannel.hg b/libs/glibmm2/glib/src/iochannel.hg deleted file mode 100644 index cc44c1bdfb..0000000000 --- a/libs/glibmm2/glib/src/iochannel.hg +++ /dev/null @@ -1,476 +0,0 @@ -// -*- c++ -*- -/* $Id: iochannel.hg,v 1.8 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include -#include -#include - -#include -#include - -GLIBMM_USING_STD(string) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GIOChannel GIOChannel; } -#endif - - -namespace Glib -{ - -class Source; -class IOSource; - -_WRAP_ENUM(SeekType, GSeekType, NO_GTYPE, s#^SEEK_#SEEK_TYPE_#) -_WRAP_ENUM(IOStatus, GIOStatus, NO_GTYPE) -_WRAP_ENUM(IOFlags, GIOFlags, NO_GTYPE) - -/** Exception class for IOChannel errors. - */ -_WRAP_GERROR(IOChannelError, GIOChannelError, G_IO_CHANNEL_ERROR, NO_GTYPE, - s#^INVAL$#INVALID_ARGUMENT#, - s#^ISDIR$#IS_DIRECTORY#, - s#^PIPE$#BROKEN_PIPE#, - s#^NOSPC$#NO_SPACE_LEFT#, - s#^NXIO$#NO_SUCH_DEVICE#, - s#^ACCES$#ACCESS_DENIED#, - s#^FBIG$#FILE_TOO_BIG#, - s#^IO$#IO_ERROR#, - s#^OVERFLOW$#OVERFLOWN#) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class GlibmmIOChannel; -#endif - -/** IOChannel aims to provide portable I/O support for files, pipes - * and sockets, and to integrate them with the GLib main event loop. - * - * Note that IOChannels implement an automatic implicit character set - * conversion to the data stream, and usually will not pass by default - * binary data unchanged. To set the encoding of the channel, use e.g. - * set_encoding("ISO-8859-15"). To set the channel to no encoding, use - * set_encoding() without any arguments. - * - * You can create an IOChannel with one of the static create methods, or - * implement one yourself, in which case you have to 1) override all - * _vfunc() members. 2) set the GIOChannel flags in your constructor. - * - * @note This feature of being able to implement a custom Glib::IOChannel is - * deprecated in glibmm 2.2. The vfunc interface has not yet stabilized - * enough to allow that -- the C++ wrapper went in by pure accident. Besides, - * it isn't terribly useful either. Thus please refrain from overriding any - * IOChannel vfuncs. - */ -class IOChannel : public sigc::trackable -{ - _CLASS_GENERIC(IOChannel, GIOChannel) - - dnl // We can't support get_fd() properly because it is impossible - dnl // to detect the specific GIOChannel type at runtime. - _IGNORE(g_io_channel_unix_get_fd, g_io_channel_win32_get_fd) - - dnl // deprecated or internal - _IGNORE(g_io_channel_seek, g_io_channel_close, g_io_channel_read, - g_io_channel_write, g_io_channel_win32_make_pollfd) - -public: - virtual ~IOChannel(); - - /** Open a file @a filename as an I/O channel using mode @a mode. - * This channel will be closed when the last reference to it is dropped, - * so there is no need to call close() (though doing so will not cause - * problems, as long as no attempt is made to access the channel after - * it is closed). - * @param filename The name of the file to open. - * @param mode One of "r", "w", "a", - * "r+", "w+", "a+". These have the - * same meaning as in fopen(). - * @return An IOChannel for the opened file. - * @throw Glib::FileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static Glib::RefPtr create_from_file(const std::string& filename, const std::string& mode); -#else - static Glib::RefPtr create_from_file(const std::string& filename, const std::string& mode, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_io_channel_new_file) - - /** Creates an I/O channel from a file descriptor. - * On Unix, IOChannels created with this function work for any file - * descriptor or socket. - * - * On Win32, this can be used either for files opened with the MSVCRT (the - * Microsoft run-time C library) _open() or _pipe(), - * including file descriptors 0, 1 and 2 (corresponding to stdin, - * stdout and stderr), or for Winsock SOCKETs. If - * the parameter is a legal file descriptor, it is assumed to be such, - * otherwise it should be a SOCKET. This relies on SOCKETs - * and file descriptors not overlapping. If you want to be certain, call - * either create_from_win32_fd() or create_from_win32_socket() instead as - * appropriate. - * - * The term file descriptor as used in the context of Win32 refers to the - * emulated Unix-like file descriptors MSVCRT provides. The native - * corresponding concept is file HANDLE. There isn't as of yet - * a way to get IOChannels for Win32 file HANDLEs. - */ - static Glib::RefPtr create_from_fd(int fd); - _IGNORE(g_io_channel_unix_new) - -/* defined(DOXYGEN_SHOULD_SKIP_THIS) actually does the opposite of what it looks like... */ -#if defined(G_OS_WIN32) || defined(DOXYGEN_SHOULD_SKIP_THIS) - - /** Create an I/O channel for C runtime (emulated Unix-like) file descriptors. - * After calling add_watch() on a I/O channel returned by this function, you - * shouldn't call read() on the file descriptor. This is because adding - * polling for a file descriptor is implemented on Win32 by starting a thread - * that sits blocked in a %read() from the file descriptor most of - * the time. All reads from the file descriptor should be done by this - * internal GLib thread. Your code should call only IOChannel::read(). - */ - static Glib::RefPtr create_from_win32_fd(int fd); - _IGNORE(g_io_channel_win32_new_fd) - - /** Create an I/O channel for a winsock socket. The parameter should be a - * SOCKET. Contrary to I/O channels for file descriptors (on Win32), - * you can use normal recv() or recvfrom() on sockets even - * if GLib is polling them. - */ - static Glib::RefPtr create_from_win32_socket(int socket); - _IGNORE(g_io_channel_win32_new_socket) - -#endif /* defined(G_OS_WIN32) || defined(DOXYGEN_SHOULD_SKIP_THIS) */ - - /** Read a single UCS-4 character. - * @retval thechar The Unicode character. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - _WRAP_METHOD(IOStatus read(gunichar& thechar), g_io_channel_read_unichar, errthrow) - - /** Read a character sequence into memory. - * @param buf A buffer to read data into. - * @param count The size of the buffer in bytes. Note that the buffer may - * not be complelely filled even if there is data in the buffer if the - * remaining data is not a complete character. - * @retval bytes_read The number of bytes read. This may be zero even on - * success if @a count < 6 and the channel's encoding is not "". - * This indicates that the next UTF-8 character is too wide for the buffer. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - _WRAP_METHOD(IOStatus read(char* buf, gsize count, gsize& bytes_read), - g_io_channel_read_chars, errthrow) - - /** Read a maximum of @a count bytes into @a str. - * @param count The maximum number of bytes to read. - * @retval str The characters that have been read. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read(Glib::ustring& str, gsize count); -#else - IOStatus read(Glib::ustring& str, gsize count, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Read a whole line. - * Reads until the line separator is found, which is included - * in the result string. - * @retval line The line that was read. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read_line(Glib::ustring& line); -#else - IOStatus read_line(Glib::ustring& line, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_io_channel_read_line, g_io_channel_read_line_string) - - /** Reads all the remaining data from the file. - * @retval str The resulting string. - * @return Glib::IO_STATUS_NORMAL on success. This function never - * returns Glib::IO_STATUS_EOF. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus read_to_end(Glib::ustring& str); -#else - IOStatus read_to_end(Glib::ustring& str, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_io_channel_read_to_end) - - /** Write a string to the I/O channel. - * Note that this method does not return the number of characters written. - * If the channel is blocking and the returned value is - * Glib::IO_STATUS_NORMAL, the whole string was written. - * @param str the string to write. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus write(const Glib::ustring& str); -#else - IOStatus write(const Glib::ustring& str, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - /** Write a memory area of @a count bytes to the I/O channel. - * @param buf The start of the memory area. - * @param count The number of bytes to write. - * @retval bytes_written The number of bytes written to the channel. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - _WRAP_METHOD(IOStatus write(const char* buf, gssize count, gsize& bytes_written), - g_io_channel_write_chars, errthrow) - - /** Write a single UCS-4 character to the I/O channel. - * @param unichar The character to write. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - _WRAP_METHOD(IOStatus write(gunichar unichar), g_io_channel_write_unichar, errthrow) - - /** Seek the I/O channel to a specific position. - * @param offset The offset in bytes from the position specified by @a type. - * @param type A SeekType. The type Glib::SEEK_TYPE_CUR is only allowed in - * those cases where a call to set_encoding() is allowed. See the - * documentation for set_encoding() for details. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - _WRAP_METHOD(IOStatus seek(gint64 offset, SeekType type = SEEK_TYPE_SET), - g_io_channel_seek_position, errthrow) - - /** Flush the buffers of the I/O channel. - * @return The status of the operation. - * @throw Glib::IOChannelError - * @throw Glib::ConvertError - */ - _WRAP_METHOD(IOStatus flush(), g_io_channel_flush, errthrow) - - /** Close the I/O channel. - * Any pending data to be written will be flushed if @a flush is true. - * The channel will not be freed until the last reference is dropped. - * Accessing the channel after closing it is considered an error. - * @param flush Whether to flush() pending data before closing the channel. - * @return The status of the operation. - * @throw Glib::IOChannelError - */ - _WRAP_METHOD(IOStatus close(bool flush = true), g_io_channel_shutdown, errthrow) - - /** Get the IOChannel internal buffer size. - * @return The buffer size. - */ - _WRAP_METHOD(gsize get_buffer_size() const, g_io_channel_get_buffer_size) - - /** Set the internal IOChannel buffer size. - * @param size The buffer size the IOChannel should use. - */ - _WRAP_METHOD(void set_buffer_size(gsize size), g_io_channel_set_buffer_size) - - /** Get the current flags for a IOChannel, including read-only - * flags such as Glib::IO_FLAG_IS_READABLE. - * - * The values of the flags Glib::IO_FLAG_IS_READABLE and - * Glib::IO_FLAG_IS_WRITEABLE are cached for internal use by the channel when - * it is created. If they should change at some later point (e.g. partial - * shutdown of a socket with the UNIX shutdown() function), the user - * should immediately call get_flags() to update the internal values of these - * flags. - * @return Bitwise combination of the flags set on the channel. - */ - _WRAP_METHOD(IOFlags get_flags() const, g_io_channel_get_flags) - - /** Set flags on the IOChannel. - * @param flags Bitwise combination of the flags to set. - * @return The operation result code. - * @throw Glib::IOChannelError - */ - _WRAP_METHOD(IOStatus set_flags(IOFlags flags), g_io_channel_set_flags, errthrow) - - /** Set the buffering status of the I/O channel. - * The buffering state can only be set if the channel's encoding is - * "". For any other encoding, the channel must be buffered. - * - * A buffered channel can only be set unbuffered if the channel's internal - * buffers have been flushed. Newly created channels or channels which have - * returned Glib::IO_STATUS_EOF not require such a flush. For write-only - * channels, a call to flush() is sufficient. For all other channels, the - * buffers may be flushed by a call to seek(). This includes the possibility - * of seeking with seek type Glib::SEEK_TYPE_CUR and an offset of zero. Note - * that this means that socket-based channels cannot be set unbuffered once - * they have had data read from them. - * - * The default state of the channel is buffered. - * - * @param buffered Whether to set the channel buffered or unbuffered. - */ - _WRAP_METHOD(void set_buffered(bool buffered), g_io_channel_set_buffered) - - /** Get the buffering status of the I/O channel. - * @return The buffering status of the channel. - */ - _WRAP_METHOD(bool get_buffered() const, g_io_channel_get_buffered) - - /** Returns an IOCondition depending on whether there is data to be - * read/space to write data in the internal buffers in the I/O channel. - * Only the flags Glib::IO_IN and Glib::IO_OUT may be set. - * @return Bitwise combination of Glib::IOCondition flags. - */ - _WRAP_METHOD(IOCondition get_buffer_condition() const, g_io_channel_get_buffer_condition) - - /** Returns whether the file/socket/whatever associated with the I/O channel - * will be closed when the channel receives its final unref and is destroyed. - * The default value of this is true for channels created by - * create_from_file(), and false for all other channels. - * @return Whether the channel will be closed on the final unref of the - * IOChannel object. - */ - _WRAP_METHOD(bool get_close_on_unref() const, g_io_channel_get_close_on_unref) - - /** Setting this flag to true for a channel you have already closed - * can cause problems. - * @param do_close Whether to close the channel on the final unref of the - * IOChannel object. The default value of this is true for channels - * created by create_from_file(), and false for all other channels. - */ - _WRAP_METHOD(void set_close_on_unref(bool do_close), g_io_channel_set_close_on_unref) - - /** Sets the encoding for the input/output of the channel. - * The internal encoding is always UTF-8. The default encoding for the - * external file is UTF-8. The encoding "" is safe to use with - * binary data. - * - * The encoding can only be set if one of the following conditions - * is true: - * - * -# The channel was just created, and has not been written to or read from - * yet. - * -# The channel is write-only. - * -# The channel is a file, and the file pointer was just repositioned by a - * call to seek_position(). (This flushes all the internal buffers.) - * -# The current encoding is "" or UTF-8. - * -# One of the read methods has just returned Glib::IO_STATUS_EOF (or, in - * the case of read_to_end(), Glib::IO_STATUS_NORMAL). - * -# The read() method has returned Glib::IO_STATUS_AGAIN or thrown - * a Glib::Error exception. This may be useful in the case of - * ConvertError::ILLEGAL_SEQUENCE. Returning one of these statuses - * from read_line() or read_to_end() does not guarantee that - * the encoding can be changed. - * - * Channels which do not meet one of the above conditions cannot call - * seek_position() with a seek type of Glib::SEEK_TYPE_CUR and, if they - * are "seekable", cannot call write() after calling one of the API - * "read" methods. - * - * @param encoding The encoding name, or "" for binary. - * @return Glib::IO_STATUS_NORMAL if the encoding was successfully set. - * @throw Glib::IOChannelError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - IOStatus set_encoding(const std::string& encoding = std::string()); -#else - IOStatus set_encoding(const std::string& encoding, std::auto_ptr& error); -#endif //GLIBMM_EXCEPTIONS_ENABLED - _IGNORE(g_io_channel_set_encoding) - - /** Get the encoding of the I/O channel. - * @return The current encoding of the channel. - */ - std::string get_encoding() const; - _IGNORE(g_io_channel_get_encoding) - - void set_line_term(const std::string& term = std::string()); - _IGNORE(g_io_channel_set_line_term) - - std::string get_line_term() const; - _IGNORE(g_io_channel_get_line_term) - - /** Creates an IOSource object. - * Create a slot from a function to be called when condition is met - * for the channel with sigc::ptr_fun() or sigc::mem_fun() and pass - * it into the connect() function of the returned IOSource object. - * Polling of the channel will start when you attach a MainContext - * object to the returned IOSource object using its attach() function. - * - * Glib::signal_io().connect() is a simpler interface to the same - * functionality, for the case where you want to add the source to the - * default main context. - * @param condition The condition to watch for. - * @return An IOSource object that can be polled from a MainContext's event loop. - */ - Glib::RefPtr create_watch(IOCondition condition); - _IGNORE(g_io_channel_create_watch) - - virtual void reference() const; - virtual void unreference() const; - _IGNORE(g_io_channel_ref, g_io_channel_unref) - - GIOChannel* gobj() { return gobject_; } - const GIOChannel* gobj() const { return gobject_; } - -protected: - GIOChannel* gobject_; - - /** Constructor that should be used by derived classes. - * Use this constructor if you want to inherit from IOChannel. - * It will set up a GIOChannel that will call the vfuncs of your - * class even if it is being used from C code, and it will keep - * a reference to the C++ code while the GIOChannel exists. - */ - IOChannel(); - _IGNORE(g_io_channel_init) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - IOChannel(GIOChannel* gobject, bool take_copy); -#endif - - virtual IOStatus read_vfunc(char* buf, gsize count, gsize& bytes_read); - virtual IOStatus write_vfunc(const char* buf, gsize count, gsize& bytes_written); - virtual IOStatus seek_vfunc(gint64 offset, SeekType type); - virtual IOStatus close_vfunc(); - virtual IOStatus set_flags_vfunc(IOFlags flags); - virtual IOFlags get_flags_vfunc(); - virtual Glib::RefPtr create_watch_vfunc(IOCondition cond); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - friend class Glib::GlibmmIOChannel; -#endif -}; - -Glib::RefPtr wrap(GIOChannel* gobject, bool take_copy = false); - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/keyfile.ccg b/libs/glibmm2/glib/src/keyfile.ccg deleted file mode 100644 index 97eba368df..0000000000 --- a/libs/glibmm2/glib/src/keyfile.ccg +++ /dev/null @@ -1,340 +0,0 @@ -/* Copyright 2006 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -namespace Glib -{ - -/**** Glib::KeyFile ********************************************************/ - -KeyFile::KeyFile() -{ - gobject_ = g_key_file_new(); - owns_gobject_ = true; -} - -KeyFile::KeyFile(GKeyFile* castitem, bool takes_ownership) -{ - gobject_ = castitem; - owns_gobject_ = takes_ownership; -} - -KeyFile::~KeyFile() -{ - if (owns_gobject_) - g_key_file_free(gobject_); -} - -bool KeyFile::load_from_data(const Glib::ustring& data, KeyFileFlags flags) -{ - GError* error = 0; - - const gboolean result = g_key_file_load_from_data( - gobj(), data.c_str(), data.bytes(), - static_cast(unsigned(flags)), - &error); - - if(error) - Glib::Error::throw_exception(error); - - return (result != 0); -} - -bool KeyFile::load_from_data_dirs(const std::string& file, std::string& full_path, - KeyFileFlags flags) -{ - GError* error = 0; - char* full_path_c = 0; - - const gboolean result = g_key_file_load_from_data_dirs( - gobj(), file.c_str(), &full_path_c, - static_cast(unsigned(flags)), - &error); - - if(error) - Glib::Error::throw_exception(error); - - if(full_path_c) - full_path = Glib::ScopedPtr(full_path_c).get(); - else - full_path.erase(); - - return (result != 0); -} - -Glib::ustring KeyFile::to_data() -{ - GError* error = 0; - char *const str = g_key_file_to_data(gobj(), 0, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -Glib::ArrayHandle KeyFile::get_groups() const -{ - gsize length = 0; - char** const array = g_key_file_get_groups(const_cast(gobj()), &length); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ArrayHandle KeyFile::get_keys(const Glib::ustring& group_name) const -{ - gsize length = 0; - GError* error = 0; - - char** const array = g_key_file_get_keys( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - &length, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ustring KeyFile::get_locale_string(const Glib::ustring& group_name, - const Glib::ustring& key) const -{ - GError* error = 0; - char *const str = g_key_file_get_locale_string( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), 0, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -int KeyFile::get_integer(const Glib::ustring& key) const -#else -int KeyFile::get_integer(const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - const int value = g_key_file_get_integer(const_cast(gobj()), - 0, key.c_str(), &gerror); - if(gerror) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); -#else - error = Glib::Error::throw_exception(gerror); -#endif - return value; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -double KeyFile::get_double(const Glib::ustring& key) const -#else -double KeyFile::get_double(const Glib::ustring& key, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - double retvalue = g_key_file_get_double(const_cast(gobj()), NULL, key.c_str(), &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -void KeyFile::set_double(const Glib::ustring& key, double value) -{ - g_key_file_set_double(gobj(), 0, key.c_str(), value); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -# define GLIBMM_ERROR_ARG -# define GLIBMM_THROW(err) if (err) Glib::Error::throw_exception(err) -#else -# define GLIBMM_ERROR_ARG , std::auto_ptr& error -# define GLIBMM_THROW(err) if (err) error = Glib::Error::throw_exception(err) -#endif - -Glib::ArrayHandle KeyFile::get_string_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - char** const array = g_key_file_get_string_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ArrayHandle KeyFile::get_locale_string_list(const Glib::ustring& group_name, - const Glib::ustring& key, - const Glib::ustring& locale - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - char** const array = g_key_file_get_locale_string_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), locale.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_DEEP); -} - -Glib::ArrayHandle KeyFile::get_boolean_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - gboolean *const array = g_key_file_get_boolean_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_SHALLOW); -} - -Glib::ArrayHandle KeyFile::get_integer_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - int *const array = g_key_file_get_integer_list( - const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), &length, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_SHALLOW); -} - -Glib::ArrayHandle KeyFile::get_double_list(const Glib::ustring& group_name, - const Glib::ustring& key - GLIBMM_ERROR_ARG) const -{ - gsize length = 0; - GError* gerror = 0; - - double *const array = g_key_file_get_double_list(const_cast(gobj()), - group_name.c_str(), key.c_str(), - &length, &gerror); - GLIBMM_THROW(gerror); - - return Glib::ArrayHandle(array, length, Glib::OWNERSHIP_SHALLOW); -} - -void KeyFile::set_string_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_string_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), list.data(), list.size()); -} - -void KeyFile::set_locale_string_list(const Glib::ustring& group_name, - const Glib::ustring& key, const Glib::ustring& locale, - const Glib::ArrayHandle& list) -{ - g_key_file_set_locale_string_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), locale.c_str(), list.data(), list.size()); -} - -void KeyFile::set_integer_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_integer_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), const_cast(list.data()), list.size()); -} - -void KeyFile::set_double_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_double_list(gobj(), group_name.c_str(), key.c_str(), - const_cast(list.data()), list.size()); -} - -void KeyFile::set_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key, - const Glib::ArrayHandle& list) -{ - g_key_file_set_boolean_list(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - key.c_str(), const_cast(list.data()), list.size()); -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring KeyFile::get_comment() const -#else -Glib::ustring KeyFile::get_comment(std::auto_ptr& error) const -#endif -{ - GError* gerror = 0; - char *const str = g_key_file_get_comment(const_cast(gobj()), 0, 0, &gerror); - - GLIBMM_THROW(gerror); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -Glib::ustring KeyFile::get_comment(const Glib::ustring& group_name GLIBMM_ERROR_ARG) const -{ - GError* gerror = 0; - char *const str = g_key_file_get_comment(const_cast(gobj()), - (group_name.empty()) ? 0 : group_name.c_str(), - 0, &gerror); - GLIBMM_THROW(gerror); - - return Glib::convert_return_gchar_ptr_to_ustring(str); -} - -void KeyFile::set_comment(const Glib::ustring& comment GLIBMM_ERROR_ARG) -{ - GError* gerror = 0; - g_key_file_set_comment(gobj(), 0, 0, comment.c_str(), &gerror); - - GLIBMM_THROW(gerror); -} - -void KeyFile::set_comment(const Glib::ustring& group_name, const Glib::ustring& comment - GLIBMM_ERROR_ARG) -{ - GError* gerror = 0; - g_key_file_set_comment(gobj(), (group_name.empty()) ? 0 : group_name.c_str(), - 0, comment.c_str(), &gerror); - GLIBMM_THROW(gerror); -} - -} // namespace Glib diff --git a/libs/glibmm2/glib/src/keyfile.hg b/libs/glibmm2/glib/src/keyfile.hg deleted file mode 100644 index a7c969caf1..0000000000 --- a/libs/glibmm2/glib/src/keyfile.hg +++ /dev/null @@ -1,437 +0,0 @@ -/* Copyright(C) 2006 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or(at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GKeyFile GKeyFile; } -#endif - -namespace Glib -{ - - _WRAP_ENUM(KeyFileFlags, GKeyFileFlags, NO_GTYPE) - -/** Exception class for KeyFile errors. - */ -_WRAP_GERROR(KeyFileError, GKeyFileError, G_KEY_FILE_ERROR, NO_GTYPE) - -/** This class lets you parse, edit or create files containing groups of key-value pairs, which we call key files - * for lack of a better name. Several freedesktop.org specifications use key files now, e.g the Desktop Entry - * Specification and the Icon Theme Specification. - * - * The syntax of key files is described in detail in the Desktop Entry Specification, here is a quick summary: Key - * files consists of groups of key-value pairs, interspersed with comments. - * - * @code - * # this is just an example - * # there can be comments before the first group - * - * [First Group] - * - * Name=Key File Example\tthis value shows\nescaping - * - * # localized strings are stored in multiple key-value pairs - * Welcome=Hello - * Welcome[de]=Hallo - * Welcome[fr]=Bonjour - * Welcome[it]=Ciao - * - * [Another Group] - * - * Numbers=2;20;-200;0 - * - * Booleans=true;false;true;true - * @endcode - * - * Lines beginning with a '#' and blank lines are considered comments. - * - * Groups are started by a header line containing the group name enclosed in '[' and ']', and ended implicitly by - * the start of the next group or the end of the file. Each key-value pair must be contained in a group. - * - * Key-value pairs generally have the form key=value, with the exception of localized strings, which have the form - * key[locale]=value. Space before and after the '=' character are ignored. Newline, tab, carriage return and - * backslash characters in value are escaped as \\n, \\t, \\r, and \\\\, respectively. To preserve leading spaces in - * values, these can also be escaped as \\s. - * - * Key files can store strings (possibly with localized variants), integers, booleans and lists of these. Lists are - * separated by a separator character, typically ';' or ','. To use the list separator character in a value in a - * list, it has to be escaped by prefixing it with a backslash. - * - * This syntax is obviously inspired by the .ini files commonly met on Windows, but there are some important - * differences: - * - .ini files use the ';' character to begin comments, key files use the '#' character. - * - Key files allow only comments before the first group. - * - Key files are always encoded in UTF-8. - * - Key and Group names are case-sensitive, for example a group called [GROUP] is a different group from [group]. - * - * Note that in contrast to the Desktop Entry Specification, groups in key files may contain the same key multiple - * times; the last entry wins. Key files may also contain multiple groups with the same name; they are merged - * together. Another difference is that keys and group names in key files are not restricted to ASCII characters. - * - * @newin2p14 - */ -class KeyFile -{ - _CLASS_GENERIC(KeyFile, GKeyFile) -public: - - /** Creates a new, empty KeyFile object. - */ - KeyFile(); - - /** Destructor - */ - ~KeyFile(); - _IGNORE(g_key_file_free) - - /** Creates a glibmm KeyFile wrapper for a GKeyFile object. - * Note, when using this that when the wrapper is deleted, - * it will not automatically deleted the GKeyFile unless you - * set the delete_c_instance boolean to true. - * @param castitem The C instance to wrap - * @param delete_c_instance If the C instance should be deleted when - * the wrapper is deleted. - */ - KeyFile(GKeyFile* castitem, bool takes_ownership = false); - -public: - - _WRAP_METHOD(bool load_from_file(const std::string& filename, KeyFileFlags flags = Glib::KEY_FILE_NONE), g_key_file_load_from_file, errthrow) - - /** Loads a KeyFile from memory - * @param data The data to use as a KeyFile - * @param flags Bitwise combination of the flags to use for the KeyFile - * @return true if the KeyFile was successfully loaded, false otherwise - * @throw Glib::KeyFileError - */ - - bool load_from_data(const Glib::ustring& data, KeyFileFlags flags = Glib::KEY_FILE_NONE); - _IGNORE(g_key_file_load_from_data) - - //TODO: - /* - gboolean g_key_file_load_from_dirs (GKeyFile *key_file, - const gchar *file, - const gchar **search_dirs, - gchar **full_path, - GKeyFileFlags flags, - GError **error); - */ - - /** Looks for a KeyFile named @a file in the paths returned from - * g_get_user_data_dir() and g_get_system_data_dirs() and loads them - * into the keyfile object, placing the full path to the file in - * @a full_path. - * @param file The file to search for - * @param full_path Return location for a string containing the full path of the file - * @param flags Bitwise combination of the flags to use for the KeyFile - * @return true if the KeyFile was successfully loaded, false otherwise - * @throw Glib::KeyFileError - * @throw Glib::FileError - */ - bool load_from_data_dirs(const std::string& file, std::string& full_path, KeyFileFlags flags = Glib::KEY_FILE_NONE); - _IGNORE(g_key_file_load_from_data_dirs) - - /** Outputs the KeyFile as a string - * @return A string object holding the contents of KeyFile - */ - Glib::ustring to_data(); - _IGNORE(g_key_file_to_data) - - _WRAP_METHOD(Glib::ustring get_start_group() const, g_key_file_get_start_group) - - /** Gets a list of all groups in the KeyFile - * @returns A list containing the names of the groups - */ - Glib::ArrayHandle get_groups() const; - _IGNORE(g_key_file_get_groups) - - /** Gets a list of all keys from the group @a group_name. - * @param group_name The name of a group - * @returns A list containing the names of the keys in @a group_name - */ - Glib::ArrayHandle get_keys(const Glib::ustring& group_name) const; - _IGNORE(g_key_file_get_keys) - - _WRAP_METHOD(bool has_group(const Glib::ustring& group_name) const, g_key_file_has_group) - _WRAP_METHOD(bool has_key(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_has_key, errthrow) - - _WRAP_METHOD(Glib::ustring get_value(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_get_value, errthrow) - _WRAP_METHOD(Glib::ustring get_string(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_get_string, errthrow) - - /** Gets the value associated with @a key under @a group_name translated - * into the current locale. - */ - Glib::ustring get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key) const; - - _WRAP_METHOD(Glib::ustring get_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale) const, g_key_file_get_locale_string, errthrow) - _WRAP_METHOD(bool get_boolean(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_get_boolean, errthrow) - - /** Gets the value in the first group, under @a key, interpreting it as - * an integer. - * @param key The name of the key - * @return The value of @a key as an integer - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - int get_integer(const Glib::ustring& key) const; -#else - int get_integer(const Glib::ustring& key, std::auto_ptr& error) const; -#endif - _WRAP_METHOD(int get_integer(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_get_integer, errthrow) - - /** Gets the value in the first group, under @a key, interpreting it as - * a double. - * @param key The name of the key - * @return The value of @a key as an double - * @throws Glib::KeyFileError - * - * @newin2p14 - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - double get_double(const Glib::ustring& key) const; -#else - double get_double(const Glib::ustring& key, std::auto_ptr& error) const; -#endif - _WRAP_METHOD(double get_double(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_get_double, errthrow) - - _WRAP_METHOD(void set_double(const Glib::ustring& group_name, const Glib::ustring& key, double value), g_key_file_set_double) - - /** Associates a new double value with @a key under the start group. - * If @a key cannot be found then it is created. - * - * @newin2p12 - * @param key A key. - * @param value An double value. - */ - void set_double(const Glib::ustring& key, double value); - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list containing the values requested - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_string_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_string_list(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif - _IGNORE(g_key_file_get_string_list) - - /** Returns the values associated with @a key under @a group_name - * translated into the current locale, if available. - * @param group_name The name of a group - * @param key The name of a key - * @return A list containing the values requested - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, std::auto_ptr& error) const; -#endif - - /** Returns the values associated with @a key under @a group_name - * translated into @a locale, if available. - * @param group_name The name of a group - * @param key The name of a key - * @param locale The name of a locale - * @return A list containing the values requested - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale) const; -#else - Glib::ArrayHandle get_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, std::auto_ptr& error) const; -#endif - _IGNORE(g_key_file_get_locale_string_list) - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list of booleans - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key, - std::auto_ptr& error) const; -#endif - _IGNORE(g_key_file_get_boolean_list) - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list of integers - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_integer_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_integer_list(const Glib::ustring& group_name, const Glib::ustring& key, - std::auto_ptr& error) const; -#endif - _IGNORE(g_key_file_get_integer_list) - - /** Returns the values associated with @a key under @a group_name - * @param group_name The name of a group - * @param key The name of a key - * @return A list of doubles - * @throws Glib::KeyFileError - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ArrayHandle get_double_list(const Glib::ustring& group_name, const Glib::ustring& key) const; -#else - Glib::ArrayHandle get_double_list(const Glib::ustring& group_name, const Glib::ustring& key, - std::auto_ptr& error) const; -#endif - _IGNORE(g_key_file_get_double_list) - - /** Get comment from top of file - * @return The comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_comment() const; -#else - Glib::ustring get_comment(std::auto_ptr& error) const; -#endif - - /** Get comment from above a group - * @param group_name The group - * @return The comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring get_comment(const Glib::ustring& group_name) const; -#else - Glib::ustring get_comment(const Glib::ustring& group_name, std::auto_ptr& error) const; -#endif - - _WRAP_METHOD(Glib::ustring get_comment(const Glib::ustring& group_name, const Glib::ustring& key) const, g_key_file_get_comment, errthrow) - - _WRAP_METHOD(void set_list_separator(gchar separator), g_key_file_set_list_separator) - _WRAP_METHOD(void set_value(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& value), g_key_file_set_value) - _WRAP_METHOD(void set_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& string), g_key_file_set_string) - _WRAP_METHOD(void set_locale_string(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, const Glib::ustring& string), g_key_file_set_locale_string) - _WRAP_METHOD(void set_boolean(const Glib::ustring& group_name, const Glib::ustring& key, bool value), g_key_file_set_boolean) - _WRAP_METHOD(void set_integer(const Glib::ustring& group_name, const Glib::ustring& key, int value), g_key_file_set_integer) - - /** Sets a list of string values for @a key under @a group_name. If - * key cannot be found it is created. If @a group_name cannot be found - * it is created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding objects of type Glib::ustring - */ - void set_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - _IGNORE(g_key_file_set_string_list) - - /** Sets a list of string values for the @a key under @a group_name and marks - * them as being for @a locale. If the @a key or @a group_name cannot be - * found, they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param locale A locale - * @param list A list holding objects of type Glib::ustring - */ - void set_locale_string_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& locale, const Glib::ArrayHandle& list); - _IGNORE(g_key_file_set_locale_string_list) - - /** Sets a list of booleans for the @a key under @a group_name. - * If either the @a key or @a group_name cannot be found they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding object of type bool - */ - void set_boolean_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - _IGNORE(g_key_file_set_boolean_list) - - /** Sets a list of integers for the @a key under @a group_name. - * If either the @a key or @a group_name cannot be found they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding object of type int - */ - void set_integer_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - _IGNORE(g_key_file_set_integer_list) - - /** Sets a list of doubles for the @a key under @a group_name. - * If either the @a key or @a group_name cannot be found they are created. - * @param group_name The name of a group - * @param key The name of a key - * @param list A list holding object of type int - * - * @newin2p14 - */ - void set_double_list(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ArrayHandle& list); - _IGNORE(g_key_file_set_double_list) - - - /** Places @a comment at the start of the file, before the first group. - * @param comment The Comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void set_comment(const Glib::ustring& comment); -#else - void set_comment(const Glib::ustring& comment, std::auto_ptr& error); -#endif - - /** Places @a comment above @a group_name. - * @param group_name The Group the comment should be above - * @param comment The comment - */ -#ifdef GLIBMM_EXCEPTIONS_ENABLED - void set_comment(const Glib::ustring& group_name, const Glib::ustring& comment); -#else - void set_comment(const Glib::ustring& group_name, const Glib::ustring& comment, - std::auto_ptr& error); -#endif - - /** Places a comment above @a key from @a group_name. - * @param key Key comment should be above - * @param group_name Group comment is in - * @param comment The comment - */ - _WRAP_METHOD(void set_comment(const Glib::ustring& group_name, const Glib::ustring& key, const Glib::ustring& comment), g_key_file_set_comment, errthrow) - - _WRAP_METHOD(void remove_comment(const Glib::ustring& group_name, const Glib::ustring& key), g_key_file_remove_comment, errthrow) - _WRAP_METHOD(void remove_key(const Glib::ustring& group_name, const Glib::ustring& key), g_key_file_remove_key, errthrow) - _WRAP_METHOD(void remove_group(const Glib::ustring& group_name), g_key_file_remove_group, errthrow) - - GKeyFile* gobj() { return gobject_; } - const GKeyFile* gobj() const { return gobject_; } - -protected: - GKeyFile* gobject_; - bool owns_gobject_; - -private: - // noncopyable - KeyFile(const KeyFile&); - KeyFile& operator=(const KeyFile&); -}; - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/markup.ccg b/libs/glibmm2/glib/src/markup.ccg deleted file mode 100644 index 111db37ea8..0000000000 --- a/libs/glibmm2/glib/src/markup.ccg +++ /dev/null @@ -1,346 +0,0 @@ -// -*- c++ -*- -/* $Id: markup.ccg,v 1.5 2006/10/04 12:04:09 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -#include - - -namespace Glib -{ - -namespace Markup -{ - -Glib::ustring escape_text(const Glib::ustring& text) -{ - const Glib::ScopedPtr buf (g_markup_escape_text(text.data(), text.bytes())); - return Glib::ustring(buf.get()); -} - - -/**** Glib::Markup::AttributeKeyLess ***************************************/ - -bool AttributeKeyLess::operator()(const Glib::ustring& lhs, const Glib::ustring& rhs) const -{ - return (lhs.raw() < rhs.raw()); -} - - -/**** Glib::Markup::ParserCallbacks ****************************************/ - -class ParserCallbacks -{ -public: - static const GMarkupParser vfunc_table; - - static void start_element(GMarkupParseContext* context, - const char* element_name, - const char** attribute_names, - const char** attribute_values, - void* user_data, - GError** error); - - static void end_element(GMarkupParseContext* context, - const char* element_name, - void* user_data, - GError** error); - - static void text(GMarkupParseContext* context, - const char* text, - gsize text_len, - void* user_data, - GError** error); - - static void passthrough(GMarkupParseContext* context, - const char* passthrough_text, - gsize text_len, - void* user_data, - GError** error); - - static void error(GMarkupParseContext* context, - GError* error, - void* user_data); -}; - - -const GMarkupParser ParserCallbacks::vfunc_table = -{ - &ParserCallbacks::start_element, - &ParserCallbacks::end_element, - &ParserCallbacks::text, - &ParserCallbacks::passthrough, - &ParserCallbacks::error, -}; - -void ParserCallbacks::start_element(GMarkupParseContext* context, - const char* element_name, - const char** attribute_names, - const char** attribute_values, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - Parser::AttributeMap attributes; - - if(attribute_names && attribute_values) - { - const char *const * pname = attribute_names; - const char *const * pvalue = attribute_values; - - for(; *pname && *pvalue; ++pname, ++pvalue) - attributes.insert(Parser::AttributeMap::value_type(*pname, *pvalue)); - - g_return_if_fail(*pname == 0 && *pvalue == 0); - } - - cpp_context.get_parser()->on_start_element(cpp_context, element_name, attributes); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::end_element(GMarkupParseContext* context, - const char* element_name, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_end_element(cpp_context, element_name); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::text(GMarkupParseContext* context, - const char* text, - gsize text_len, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_text(cpp_context, Glib::ustring(text, text + text_len)); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::passthrough(GMarkupParseContext* context, - const char* passthrough_text, - gsize text_len, - void* user_data, - GError** error) -{ - (void)error; //Avoid an unused parameter warning when GLIBMM_EXCEPTIONS_ENABLED is used. - - ParseContext& cpp_context = *static_cast(user_data); - g_return_if_fail(context == cpp_context.gobj()); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_passthrough( - cpp_context, Glib::ustring(passthrough_text, passthrough_text + text_len)); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(MarkupError& err) - { - err.propagate(error); - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -void ParserCallbacks::error(GMarkupParseContext* context, - GError* error, - void* user_data) -{ - ParseContext& cpp_context = *static_cast(user_data); - - g_return_if_fail(context == cpp_context.gobj()); - g_return_if_fail(error->domain == G_MARKUP_ERROR); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - cpp_context.get_parser()->on_error(cpp_context, MarkupError(g_error_copy(error))); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - - -/**** Glib::Markup::Parser *************************************************/ - -Parser::Parser() -{} - -Parser::~Parser() -{} - -void Parser::on_start_element(ParseContext&, const Glib::ustring&, const Parser::AttributeMap&) -{} - -void Parser::on_end_element(ParseContext&, const Glib::ustring&) -{} - -void Parser::on_text(ParseContext&, const Glib::ustring&) -{} - -void Parser::on_passthrough(ParseContext&, const Glib::ustring&) -{} - -void Parser::on_error(ParseContext&, const MarkupError&) -{} - - -/**** Glib::Markup::ParseContext *******************************************/ - -ParseContext::ParseContext(Parser& parser, ParseFlags flags) -: - parser_ (&parser), - gobject_ (g_markup_parse_context_new(&ParserCallbacks::vfunc_table, (GMarkupParseFlags) flags, - this, &ParseContext::destroy_notify_callback)) -{} - -ParseContext::~ParseContext() -{ - parser_ = 0; - g_markup_parse_context_free(gobject_); -} - -void ParseContext::parse(const Glib::ustring& text) -{ - GError* error = 0; - g_markup_parse_context_parse(gobject_, text.data(), text.bytes(), &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void ParseContext::parse(const char* text_begin, const char* text_end) -{ - GError* error = 0; - g_markup_parse_context_parse(gobject_, text_begin, text_end - text_begin, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void ParseContext::end_parse() -{ - GError* error = 0; - g_markup_parse_context_end_parse(gobject_, &error); - - if(error) - Glib::Error::throw_exception(error); -} - -Glib::ustring ParseContext::get_element() const -{ - const char *const element_name = g_markup_parse_context_get_element(gobject_); - return (element_name) ? Glib::ustring(element_name) : Glib::ustring(); -} - -int ParseContext::get_line_number() const -{ - int line_number = 0; - g_markup_parse_context_get_position(gobject_, &line_number, 0); - return line_number; -} - -int ParseContext::get_char_number() const -{ - int char_number = 0; - g_markup_parse_context_get_position(gobject_, 0, &char_number); - return char_number; -} - -// static -void ParseContext::destroy_notify_callback(void* data) -{ - ParseContext *const self = static_cast(data); - - // Detect premature destruction. - g_return_if_fail(self->parser_ == 0); -} - -} // namespace Markup - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/markup.hg b/libs/glibmm2/glib/src/markup.hg deleted file mode 100644 index d43bd1442d..0000000000 --- a/libs/glibmm2/glib/src/markup.hg +++ /dev/null @@ -1,346 +0,0 @@ -/* $Id: markup.hg,v 1.5 2005/01/21 12:48:05 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include - -#include -#include - -GLIBMM_USING_STD(map) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GMarkupParseContext GMarkupParseContext; } -#endif - - -namespace Glib -{ - -/** @defgroup Markup Simple XML Subset Parser - * - * The Glib::Markup parser is intended to parse a simple markup format that's a - * subset of XML. This is a small, efficient, easy-to-use parser. It should not - * be used if you expect to interoperate with other applications generating - * full-scale XML. However, it's very useful for application data files, config - * files, etc. where you know your application will be the only one writing the - * file. Full-scale XML parsers should be able to parse the subset used by - * Glib::Markup parser, so you can easily migrate to full-scale XML at a later - * time if the need arises. - * - * Glib::Markup is not guaranteed to signal an error on all invalid XML; - * the parser may accept documents that an XML parser would not. However, - * invalid XML documents are not considered valid Glib::Markup documents. - * - * @par Simplifications to XML include: - * - * - Only UTF-8 encoding is allowed. - * - No user-defined entities. - * - Processing instructions, comments and the doctype declaration are "passed - * through" but are not interpreted in any way. - * - No DTD or validation. - * - * @par The markup format does support: - * - * - Elements - * - Attributes - * - 5 standard entities: \& \< \> \" \' - * - Character references - * - Sections marked as CDATA - * - * @{ - */ - -/** %Exception class for markup parsing errors. - */ -_WRAP_GERROR(MarkupError, GMarkupError, G_MARKUP_ERROR, NO_GTYPE) - -/*! @var MarkupError::Code MarkupError::BAD_UTF8 - * Text being parsed was not valid UTF-8. - */ -/*! @var MarkupError::Code MarkupError::EMPTY - * Document contained nothing, or only whitespace. - */ -/*! @var MarkupError::Code MarkupError::PARSE - * Document was ill-formed. - */ -/*! @var MarkupError::Code MarkupError::UNKNOWN_ELEMENT - * This error should be set by Glib::Markup::Parser virtual methods; - * element wasn't known. - */ -/*! @var MarkupError::Code MarkupError::UNKNOWN_ATTRIBUTE - * This error should be set by Glib::Markup::Parser virtual methods; - * attribute wasn't known. - */ -/*! @var MarkupError::Code MarkupError::INVALID_CONTENT - * This error should be set by Glib::Markup::Parser virtual methods; - * something was wrong with contents of the document, e.g. invalid attribute value. - */ - -/** @} group Markup */ - - -namespace Markup -{ - -class ParseContext; - -/** @ingroup Markup */ -typedef Glib::MarkupError Error; - - -/** Escapes text so that the markup parser will parse it verbatim. - * Less than, greater than, ampersand, etc. are replaced with the corresponding - * entities. This function would typically be used when writing out a file to - * be parsed with the markup parser. - * @ingroup Markup - * @param text Some valid UTF-8 text. - * @return Escaped text. - */ -Glib::ustring escape_text(const Glib::ustring& text); - - -/** There are no flags right now. Pass Glib::Markup::ParseFlags(0) for - * the flags argument to all functions (this should be the default argument - * anyway). - */ -_WRAP_ENUM(ParseFlags, GMarkupParseFlags, NO_GTYPE, s#^MARKUP_##) - -/*! @var Markup::ParseFlags DO_NOT_USE_THIS_UNSUPPORTED_FLAG - * Flag you should not use. - */ - - -/** Binary predicate used by Markup::Parser::AttributeMap. - * @ingroup Markup - * Unlike operator<(const ustring& lhs, const ustring& rhs) - * which would be used by the default std::less<> predicate, - * the AttributeKeyLess predicate is locale-independent. This is both - * more correct and much more efficient. - */ -class AttributeKeyLess -{ -public: - typedef Glib::ustring first_argument_type; - typedef Glib::ustring second_argument_type; - typedef bool result_type; - - bool operator()(const Glib::ustring& lhs, const Glib::ustring& rhs) const; -}; - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class ParserCallbacks; -#endif - -/** The abstract markup parser base class. - * @ingroup Markup - * To implement a parser for your markup format, derive from - * Glib::Markup::Parser and implement the virtual methods. - * - * You don't have to override all of the virtual methods. If a particular - * method is not implement the data passed to it will be ignored. Except for - * the error method, any of these callbacks can throw an error exception; in - * particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT errors - * are intended to be thrown from these overridden methods. If you throw an - * error from a method, Glib::Markup::ParseContext::parse() will report that - * error back to its caller. - */ -class Parser : public sigc::trackable -{ -public: - typedef std::map AttributeMap; - - virtual ~Parser() = 0; - -protected: - /** Constructs a Parser object. - * Note that Markup::Parser is an abstract class which can't be instantiated - * directly. To implement the parser for your markup format, derive from - * Markup::Parser and implement the virtual methods. - */ - Parser(); - - /** Called for open tags \. - * This virtual method is invoked when the opening tag of an element is seen. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param element_name The name of the element. - * @param attributes A map of attribute name/value pairs. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_start_element(ParseContext& context, - const Glib::ustring& element_name, - const AttributeMap& attributes); - - /** Called for close tags \. - * This virtual method is invoked when the closing tag of an element is seen. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param element_name The name of the element. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_end_element(ParseContext& context, const Glib::ustring& element_name); - - /** Called for character data. - * This virtual method is invoked when some text is seen (text is always - * inside an element). - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param text The parsed text in UTF-8 encoding. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_text(ParseContext& context, const Glib::ustring& text); - - /** Called for strings that should be re-saved verbatim in this same - * position, but are not otherwise interpretable. - * This virtual method is invoked for comments, processing instructions and - * doctype declarations; if you're re-writing the parsed document, write the - * passthrough text back out in the same position. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param passthrough_text The text that should be passed through. - * @throw Glib::MarkupError An exception you should throw if - * something went wrong, for instance if an unknown attribute name was - * encountered. In particular the MarkupError::UNKNOWN_ELEMENT, - * MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT - * errors are intended to be thrown from user-implemented methods. - */ - virtual void on_passthrough(ParseContext& context, const Glib::ustring& passthrough_text); - - /** Called on error, including one thrown by an overridden virtual method. - * @param context The Markup::ParseContext object the parsed data belongs to. - * @param error A MarkupError object with detailed information about the error. - */ - virtual void on_error(ParseContext& context, const MarkupError& error); - -private: - // noncopyable - Parser(const Parser&); - Parser& operator=(const Parser&); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - friend class Glib::Markup::ParserCallbacks; -#endif -}; - - -/** A parse context is used to parse marked-up documents. - * @ingroup Markup - * You can feed any number of documents into a context, as long as no errors - * occur; once an error occurs, the parse context can't continue to parse text - * (you have to destroy it and create a new parse context). - */ -class ParseContext : public sigc::trackable -{ -public: - /** Creates a new parse context. - * @param parser A Markup::Parser instance. - * @param flags Bitwise combination of Markup::ParseFlags. - */ - explicit ParseContext(Parser& parser, ParseFlags flags = ParseFlags(0)); - virtual ~ParseContext(); - - /** Feed some data to the ParseContext. - * The data need not be valid UTF-8; an error will be signalled if it's - * invalid. The data need not be an entire document; you can feed a document - * into the parser incrementally, via multiple calls to this function. - * Typically, as you receive data from a network connection or file, you feed - * each received chunk of data into this function, aborting the process if an - * error occurs. Once an error is reported, no further data may be fed to the - * ParseContext; all errors are fatal. - * @param text Chunk of text to parse. - * @throw Glib::MarkupError - */ - void parse(const Glib::ustring& text); - - /** Feed some data to the ParseContext. - * The data need not be valid UTF-8; an error will be signalled if it's - * invalid. The data need not be an entire document; you can feed a document - * into the parser incrementally, via multiple calls to this function. - * Typically, as you receive data from a network connection or file, you feed - * each received chunk of data into this function, aborting the process if an - * error occurs. Once an error is reported, no further data may be fed to the - * ParseContext; all errors are fatal. - * @param text_begin Begin of chunk of text to parse. - * @param text_end End of chunk of text to parse. - * @throw Glib::MarkupError - */ - void parse(const char* text_begin, const char* text_end); - - /** Signals to the ParseContext that all data has been fed into the parse - * context with parse(). This method reports an error if the document isn't - * complete, for example if elements are still open. - * @throw Glib::MarkupError - */ - void end_parse(); - - /** Retrieves the name of the currently open element. - * @return The name of the currently open element, or "". - */ - Glib::ustring get_element() const; - - /** Retrieves the current line number. - * Intended for use in error messages; there are no strict semantics for what - * constitutes the "current" line number other than "the best number we could - * come up with for error messages." - */ - int get_line_number() const; - - /** Retrieves the number of the current character on the current line. - * Intended for use in error messages; there are no strict semantics for what - * constitutes the "current" character number other than "the best number we - * could come up with for error messages." - */ - int get_char_number() const; - - Parser* get_parser() { return parser_; } - const Parser* get_parser() const { return parser_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GMarkupParseContext* gobj() { return gobject_; } - const GMarkupParseContext* gobj() const { return gobject_; } -#endif - -private: - Markup::Parser* parser_; - GMarkupParseContext* gobject_; - - // noncopyable - ParseContext(const ParseContext&); - ParseContext& operator=(const ParseContext&); - - static void destroy_notify_callback(void* data); -}; - -} // namespace Markup - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/module.ccg b/libs/glibmm2/glib/src/module.ccg deleted file mode 100644 index a57217ea92..0000000000 --- a/libs/glibmm2/glib/src/module.ccg +++ /dev/null @@ -1,44 +0,0 @@ -// -*- c++ -*- -/* $Id: module.ccg,v 1.2 2004/04/09 14:49:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -Module::Module(const std::string& file_name, ModuleFlags flags) -: - gobject_ (g_module_open(file_name.c_str(), (GModuleFlags) flags)) -{} - -Module::~Module() -{ - if(gobject_) - g_module_close(gobject_); -} - -Module::operator bool() const -{ - return (gobject_ != 0); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/module.hg b/libs/glibmm2/glib/src/module.hg deleted file mode 100644 index cace12a728..0000000000 --- a/libs/glibmm2/glib/src/module.hg +++ /dev/null @@ -1,153 +0,0 @@ -/* $Id: module.hg,v 1.5 2004/04/09 14:49:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include - -GLIBMM_USING_STD(string) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GModule GModule; } -#endif - - -namespace Glib -{ - -_WRAP_ENUM(ModuleFlags, GModuleFlags, NO_GTYPE) - -//TODO: Replace get_last_error() with exceptions? -//Provide operator()? - -/** Dynamic Loading of Modules - * These functions provide a portable way to dynamically load object - * files (commonly known as 'plug-ins'). The current implementation - * supports all systems that provide an implementation of dlopen() - * (e.g. Linux/Sun), as well as HP-UX via its shl_load() mechanism, - * and Windows platforms via DLLs. - */ -class Module -{ - _CLASS_GENERIC(Module, GModule) - _IGNORE(g_module_open, g_module_close) - -public: - - /** Opens a module. - * - * First of all it tries to open file_name as a module. If that - * fails and file_name has the ".la"-suffix (and is a libtool - * archive) it tries to open the corresponding module. If that fails - * and it doesn't have the proper module suffix for the platform - * (G_MODULE_SUFFIX), this suffix will be appended and the - * corresponding module will be opended. If that fails and file_name - * doesn't have the ".la"-suffix, this suffix is appended and - * it tries to open the corresponding module. - * - * Use operator bool() to see whether the operation succeeded. For instance, - * @code - * Glib::Module module("plugins/helloworld"); - * if(module) - * { - * void* func = 0; - * bool found = get_symbol("some_function", func); - * } - * @endcode - * - * @param file_name The library filename to open - * @param flags Flags to configure the load process - */ - explicit Module(const std::string& file_name, ModuleFlags flags = ModuleFlags(0)); - - /** Close a module. The module will be removed from memory, unless - * make_resident has been called. - */ - virtual ~Module(); - - /** Check whether the module was found. - */ - operator bool() const; - - /** Checks if modules are supported on the current platform. - * @returns true if available, false otherwise - */ - _WRAP_METHOD(static bool get_supported(), g_module_supported) - - /** Ensures that a module will never be unloaded. Any calls to the - * Glib::Module destructor will not unload the module. - */ - _WRAP_METHOD(void make_resident(), g_module_make_resident) - - /** Gets a string describing the last module error. - * @returns The error string - */ - _WRAP_METHOD(static std::string get_last_error(), g_module_error) - - /** Gets a symbol pointer from the module. - * @param symbol_name The name of the symbol to lookup - * @param symbol A pointer to set to the symbol - * @returns True if the symbol was found, false otherwise. - */ - _WRAP_METHOD(bool get_symbol(const std::string& symbol_name, void*& symbol) const, g_module_symbol) - - /** Get the name of the module. - * @returns The name of the module - */ - _WRAP_METHOD(std::string get_name() const, g_module_name) - - /** A portable way to build the filename of a module. The - * platform-specific prefix and suffix are added to the filename, if - * needed, and the result is added to the directory, using the - * correct separator character. - * - * The directory should specify the directory where the module can - * be found. It can be an empty string to indicate that the - * module is in a standard platform-specific directory, though this - * is not recommended since the wrong module may be found. - * - * For example, calling g_module_build_path() on a Linux - * system with a directory of /lib and a module_name of - * "mylibrary" will return /lib/libmylibrary.so. On a - * Windows system, using \\Windows as the directory it will - * return \\Windows\\mylibrary.dll. - * - * @param directory The directory the module is in - * @param module_name The name of the module - * @returns The system-specific filename of the module - */ - // TODO: add an override which doesn't take a directory - // TODO: check what happens when directory is "" - _WRAP_METHOD(static std::string build_path(const std::string& directory, const std::string& module_name), g_module_build_path) - - GModule* gobj() { return gobject_; } - const GModule* gobj() const { return gobject_; } - -protected: - GModule* gobject_; - -private: - // noncopyable - Module(const Module&); - Module& operator=(const Module&); -}; - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/nodetree.ccg b/libs/glibmm2/glib/src/nodetree.ccg deleted file mode 100644 index 6ee2218cfb..0000000000 --- a/libs/glibmm2/glib/src/nodetree.ccg +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/libs/glibmm2/glib/src/nodetree.hg b/libs/glibmm2/glib/src/nodetree.hg deleted file mode 100644 index 98199ffbd9..0000000000 --- a/libs/glibmm2/glib/src/nodetree.hg +++ /dev/null @@ -1,760 +0,0 @@ -/* Copyright (C) 2007 glibmm development team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include - -#include -#include -#include -#include -#include - -namespace Glib -{ - -//Hand-written, instead of using _WRAP_ENUM, -//because the C enum values don't have a prefix. - -/** Specifies the type of traveral performed by methods such as NodeTree::_traverse() and NodeTree::find(). - * - * @ingroup glibmmEnums - */ -enum TraverseType -{ - TRAVERSE_IN_ORDER = G_IN_ORDER, /*!< Visits a node's left child first, then the node itself, then its right child. This is the one to use if you want the output sorted according to the compare function. */ - TRAVERSE_PRE_ORDER = G_PRE_ORDER, /*!< Visits a node, then its children. */ - TRAVERSE_POST_ORDER = G_POST_ORDER, /*!< Visits the node's children, then the node itself. */ - TRAVERSE_LEVEL_ORDER = G_LEVEL_ORDER /*!< For NodeTree, it vists the root node first, then its children, then its grandchildren, and so on. Note that this is less efficient than the other orders. This is not implemented for Glib::Tree. */ -}; - -/** N-ary Trees - trees of data with any number of branches - * The NodeTree class and its associated functions provide an N-ary tree data structure, in which nodes in the tree can contain arbitrary data. - * - * To insert a node into a tree use insert(), insert_before(), append() or prepend(). - * - * To create a new node and insert it into a tree use insert_data(), insert_data_before(), append_data() and prepend_data(). - * - * To reverse the children of a node use reverse_children(). - * - * To find a node use root(), find(), find_child(), index_of(), child_index(), first_child(), last_child(), nth_child(), first_sibling(), prev_sibling(), next_sibling() or last_sibling(). - * - * To get information about a node or tree use is_leaf(), is_root(), depth(), node_count(), child_count(), is_ancestor() or max_height(). - * - * To traverse a tree, calling a function for each node visited in the traversal, use traverse() or foreach(). - * - * To remove a node or subtree from a tree use unlink(). - * - * @newin2p18 - */ -template -class NodeTree -{ - _CLASS_GENERIC(NodeTree, GNode) -public: - typedef sigc::slot&> TraverseFunc; - typedef sigc::slot&> ForeachFunc; - -private: - static NodeTree* wrap(GNode* node) - { - if (!node) - return 0; - - return reinterpret_cast* >(node->data); - } - -public: - NodeTree() - { - clone(); - } - - explicit NodeTree(const T& the_data) : - data_(the_data) - { - clone(); - } - _IGNORE(g_node_new) - - NodeTree(const NodeTree& node) : - data_(node.data()) - { - clone(&node); - } - - /** Removes the instance and its children from the tree, - * freeing any memory allocated. - */ - ~NodeTree() - { - if(!is_root()) - unlink(); - - clear(); - } - _IGNORE(g_node_destroy) - - NodeTree& operator=(const NodeTree& node) - { - clear(); - clone(&node); - - data_ = node.data(); - - return *this; - } - - /// Provides access to the underlying C GObject. - inline GNode* gobj() - { - return gobject_; - } - - /// Provides access to the underlying C GObject. - inline const GNode* gobj() const - { - return gobject_; - } - - /** Inserts a NodeTree beneath the parent at the given position. - * - * @param position the position to place node at, with respect to its siblings - * If position is -1, node is inserted as the last child of parent - * @param node the NodeTree to insert - * @return the inserted NodeTree - */ - NodeTree& insert(int position, NodeTree& node) - { - g_node_insert(gobj(), position, node.gobj()); - return node; - } - _IGNORE(g_node_insert) - - /** Inserts a NodeTree beneath the parent before the given sibling. - * - * @param sibling the sibling NodeTree to place node before. - * @param node the NodeTree to insert - * @return the inserted NodeTree - */ - NodeTree& insert_before(NodeTree& sibling, NodeTree& node) - { - g_node_insert_before(gobj(), sibling.gobj(), node.gobj()); - return node; - } - _IGNORE(g_node_insert_before) - - /** Inserts a NodeTree beneath the parent after the given sibling. - * - * @param sibling the sibling NodeTree to place node after. - * @param node the NodeTree to insert - * @return the inserted NodeTree - */ - NodeTree& insert_after(NodeTree& sibling, NodeTree& node) - { - g_node_insert_after(gobj(), sibling.gobj(), node.gobj()); - return node; - } - _IGNORE(g_node_insert_after) - - - /** Inserts a NodeTree as the last child. - * - * @param node the NodeTree to append - * @return the new NodeTree - */ - NodeTree& append(NodeTree& node) - { - g_node_append(gobj(), node.gobj()); - return node; - } - _IGNORE(g_node_append) - - /** Inserts a NodeTree as the first child. - * - * @param data the data for the NodeTree - * @return the NodeTree - */ - NodeTree& prepend(NodeTree& node) - { - g_node_prepend(gobj(), node.gobj()); - return node; - } - _IGNORE(g_node_prepend) - - /** Inserts a new NodeTree at the given position. - * - * @param position the position to place the new NodeTree at. - * If position is -1, the new NodeTree is inserted as the last child of parent - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* insert_data(int position, const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - insert(position, *node); - return node; - } - _IGNORE(g_node_insert_data) - - /** Inserts a new NodeTree before the given sibling. - * - * @param sibling the sibling NodeTree to place node before. - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* insert_data_before(NodeTree& sibling, const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - insert_before(sibling, *node); - return node; - } - _IGNORE(g_node_insert_data_before) - - /** Inserts a new NodeTree as the last child. - * - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* append_data(const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - append(*node); - return node; - } - _IGNORE(g_node_append_data) - - /** Inserts a new NodeTree as the first child. - * - * @param data the data for the new NodeTree - * @return the new NodeTree - */ - NodeTree* prepend_data(const T& the_data) - { - NodeTree* node = new NodeTree(the_data); - prepend(*node); - return node; - } - _IGNORE(g_node_prepend_data) - - /** Reverses the order of the children. - */ - void reverse_children() - { - g_node_reverse_children(gobj()); - } - _IGNORE(g_node_reverse_children) - - /** Returns a pointer to the root of the tree. - * - * @return A pointer to the root of the tree. - */ - NodeTree* get_root() - { - return wrap(g_node_get_root(gobj())); - } - - const NodeTree* get_root() const - { - return wrap(g_node_get_root(gobj())); - } - _IGNORE(g_node_get_root) - - - /** Specifies which nodes are visited during several of the NodeTree methods, - * including traverse() and find(). - * - * @ingroup glibmmEnums - */ - enum TraverseFlags - { - TRAVERSE_LEAVES = G_TRAVERSE_LEAVES, /*!< Only leaf nodes should be visited. */ - TRAVERSE_NON_LEAVES = G_TRAVERSE_NON_LEAVES, /*!< Only non-leaf nodes should be visited. */ - TRAVERSE_ALL = G_TRAVERSE_ALL, /*!< All nodes should be visited. */ - TRAVERSE_MASK = G_TRAVERSE_MASK /*!< A mask of all traverse flags. */ - }; - - /** Traverses a tree starting at the current node. - * It calls the given function for each node visited. - * The traversal can be halted at any point by returning true from @a func. - * - * @param order The order in which nodes are visited. - * @param flags Which types of children are to be visited. - * @param max_depth The maximum depth of the traversal. - * Nodes below this depth will not be visited. - * If max_depth is -1 all nodes in the tree are visited. - * If max_depth is 1, only the root is visited. - * If max_depth is 2, the root and its children are visited. And so on. - * @param func the slot to invoke for each visited child - */ - void traverse(const TraverseFunc& func, TraverseType order = TRAVERSE_IN_ORDER, TraverseFlags flags = TRAVERSE_ALL, int max_depth = -1) - { - TraverseFunc func_copy = func; - g_node_traverse(gobj(), (GTraverseType)order, (GTraverseFlags)flags, max_depth, c_callback_traverse, reinterpret_cast(&func_copy)); - } - _IGNORE(g_node_traverse); - - /** Calls a function for each of the children of a NodeTree. - * Note that it doesn't descend beneath the child nodes. - * - * @param flags Wwhich types of children are to be visited. - * @param func The slot to invoke for each visited node. - */ - void foreach(const ForeachFunc& func, TraverseFlags flags = TRAVERSE_ALL) - { - ForeachFunc func_copy = func; - g_node_children_foreach(gobj(), (GTraverseFlags)flags, c_callback_foreach, reinterpret_cast(&func_copy)); - } - _IGNORE(g_node_children_foreach) - - /** Finds the first child of a NodeTree with the given data. - * - * @param flags Which types of children are to be visited, one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES. - * @param data The data for which to search. - * @return the found child, or 0 if the data is not found - */ - NodeTree* find_child(const T& the_data, TraverseFlags flags = TRAVERSE_ALL) - { - sigc::slot real_slot = sigc::ptr_fun(on_compare_child); - - GNode* child = 0; - typedef sigc::slot type_foreach_gnode_slot; - type_foreach_gnode_slot bound_slot = sigc::bind(real_slot, the_data, &child); - - g_node_children_foreach(gobj(), (GTraverseFlags)flags, c_callback_foreach_compare_child, reinterpret_cast(&bound_slot)); - - return wrap(child); - } - - /** Finds the first child of a NodeTree with the given data. - * - * @param flags Which types of children are to be visited, one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES. - * @param data The data for which to search. - * @return the found child, or 0 if the data is not found - */ - const NodeTree* find_child(const T& the_data, TraverseFlags flags = TRAVERSE_ALL) const - { - return const_cast*>(this)->find_child(flags, the_data); - } - - _IGNORE(g_node_find_child) - - /** Finds a node in a tree. - * - * @param order The order in which nodes are visited: IN_ORDER, TRAVERSE_PRE_ORDER, TRAVERSE_POST_ORDER, or TRAVERSE_LEVEL_ORDER - * @param flags Which types of children are to be visited: one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES. - * @param data The data for which to search. - * @return The found node, or 0 if the data is not found. - */ - NodeTree* find(const T& the_data, TraverseType order = TRAVERSE_IN_ORDER, TraverseFlags flags = TRAVERSE_ALL) - { - //We use a sigc::slot for the C callback, so we can bind some extra data. - sigc::slot real_slot = sigc::ptr_fun(on_compare_node); - GNode* child = 0; - - typedef sigc::slot type_traverse_gnode_slot; - type_traverse_gnode_slot bound_slot = sigc::bind(real_slot, the_data, &child); - - g_node_traverse(const_cast(gobj()), (GTraverseType)order, (GTraverseFlags)flags, -1, c_callback_traverse_compare_node, reinterpret_cast(&bound_slot)); - - return wrap(child); - } - - /** Finds a node in a tree. - * - * @param order The order in which nodes are visited. - * @param flags Which types of children are to be visited. - * @param data The data for which to search. - * @return The found node, or 0 if the data is not found. - */ - const NodeTree* find(const T& the_data, TraverseType order = TRAVERSE_IN_ORDER, TraverseFlags flags = TRAVERSE_ALL) const - { - return const_cast*>(this)->find(order, flags, the_data); - } - _IGNORE(g_node_find) - - /** Gets the position of the first child which contains the given data. - * - * @param data The data to find. - * @return The index of the child which contains data, or -1 if the data is not found. - */ - int child_index(const T& the_data) const - { - int n = 0; - - for(const NodeTree* i = first_child(); i != 0; i = i->next_sibling()) - { - if((i->data()) == the_data) - return n; - - n++; - } - - return -1; - } - _IGNORE(g_node_child_index) - - /** Gets the position with respect to its siblings. - * child must be a child of node. - * The first child is numbered 0, the second 1, and so on. - * - * @param child A child - * @return The position of @a child with respect to its siblings. - */ - int child_position(const NodeTree& child) const - { - return g_node_child_position(const_cast(gobj()), const_cast(child.gobj())); - } - _IGNORE(g_node_child_position) - - /** Gets the first child. - * - * @return The first child, or 0 if the node has no children. - */ - NodeTree* first_child() - { - return wrap(g_node_first_child(gobj())); - } - - /** Gets the first child. - * - * @return The first child, or 0 if the node has no children. - */ - const NodeTree* first_child() const - { - return const_cast*>(this)->first_child(); - } - _IGNORE(g_node_first_child) - - /** Gets the last child. - * - * @return The last child, or 0 if the node has no children. - */ - NodeTree* last_child() - { - return wrap(g_node_last_child(gobj())); - } - - /** Gets the last child. - * - * @return The last child, or 0 if the node has no children. - */ - const NodeTree* last_child() const - { - return const_cast*>(this)->last_child(); - } - _IGNORE(g_node_last_child) - - /** Gets the nth child. - * - * @return The nth child, or 0 if n is too large. - */ - NodeTree* nth_child(int n) - { - return wrap(g_node_nth_child(gobj(), n)); - } - - /** Gets the nth child. - * - * @return The nth child, or 0 if n is too large. - */ - const NodeTree* nth_child(int n) const - { - return const_cast*>(this)->nth_child(n); - } - _IGNORE(g_node_nth_child) - - /** Gets the first sibling - * @return The first sibling, or 0 if the node has no siblings. - */ - NodeTree* first_sibling() - { - return wrap(g_node_first_sibling(gobj())); - } - - /** Gets the first sibling - * @return The first sibling, or 0 if the node has no siblings. - */ - const NodeTree* first_sibling() const - { - return const_cast*>(this)->first_sibling(); - } - _IGNORE(g_node_first_sibling) - - /** Gets the previous sibling. - * - * @return The previous sibling, or 0 if the node has no siblings. - */ - NodeTree* prev_sibling() - { - return wrap(g_node_prev_sibling(gobj())); - } - - /** Gets the previous sibling. - * - * @return The previous sibling, or 0 if the node has no siblings. - */ - const NodeTree* prev_sibling() const - { - return const_cast*>(this)->prev_sibling(); - } - _IGNORE(g_node_prev_sibling) - - /** Gets the next sibling - * - * @return The next sibling, or 0 if the node has no siblings. - */ - NodeTree* next_sibling() - { - return wrap(g_node_next_sibling(gobj())); - } - - /** Gets the next sibling - * - * @return The next sibling, or 0 if the node has no siblings. - */ - const NodeTree* next_sibling() const - { - return const_cast*>(this)->next_sibling(); - } - _IGNORE(g_node_next_sibling) - - /** Gets the last sibling. - * - * @return The last sibling, or 0 if the node has no siblings. - */ - NodeTree* last_sibling() - { - return wrap(g_node_last_sibling(gobj())); - } - - /** Gets the last sibling. - * - * @return The last sibling, or 0 if the node has no siblings. - */ - const NodeTree* last_sibling() const - { - return const_cast*>(this)->last_sibling(); - } - _IGNORE(g_node_last_sibling) - - /** Returns true if this is a leaf node. - * - * @return true if this is a leaf node. - */ - bool is_leaf() const - { - return G_NODE_IS_LEAF(const_cast(gobj())); - } - - /** Returns true if this is the root node. - * - * @return true if this is the root node. - */ - bool is_root() const - { - return G_NODE_IS_ROOT(const_cast(gobj())); - } - - /** Gets the depth of this node. - * The root node has a depth of 1. - * For the children of the root node the depth is 2. And so on. - * - * @return the depth of this node - */ - guint depth() const - { - return g_node_depth(const_cast(gobj())); - } - _IGNORE(g_node_depth) - - /** Gets the number of nodes in a tree. - * - * @param flags Which types of children are to be counted: one of TRAVERSE_ALL, TRAVERSE_LEAVES and TRAVERSE_NON_LEAVES - * @return The number of nodes in the tree. - */ - guint node_count(TraverseFlags flags = TRAVERSE_ALL) const - { - return g_node_n_nodes(const_cast(gobj()), (GTraverseFlags)flags); - } - _IGNORE(g_node_n_nodes) - - /** Gets the number children. - * - * @return The number of children. - */ - guint child_count() const - { - return g_node_n_children(const_cast(gobj())); - } - _IGNORE(g_node_n_children) - - /** Returns true if this is an ancestor of @a descendant. - * This is true if this is the parent of @a descendant, - * or if this is the grandparent of @a descendant etc. - * - * @param descendant A node. - * @return true if this is an ancestor of descendant. - */ - bool is_ancestor(const NodeTree& descendant) const - { - return g_node_is_ancestor(const_cast(gobj()), const_cast(descendant.gobj())); - } - _IGNORE(g_node_is_ancestor) - - /** Gets the maximum height of all branches beneath this node. - * This is the maximum distance from the node to all leaf nodes. - * If root has no children, 1 is returned. If root has children, 2 is returned. And so on. - * - * @return The maximum height of all branches. - */ - guint get_max_height() const - { - return g_node_max_height(const_cast(gobj())); - } - _IGNORE(g_node_max_height) - - /** Unlinks a node from a tree, resulting in two separate trees. - */ - void unlink() - { - g_node_unlink(gobj()); - } - _IGNORE(g_node_unlink) - -#if 0 //Commented-out because people can just use the copy constructor. - /** Recursively copies a node and it's data. - * - * Returns: a new node containing the copies of the data. - */ - NodeTree* copy_deep() const - { - //Use copy constructor instead of g_node_copy_deep to create C++ wrappers also not only the wrapped C objects. - return new NodeTree(*this); - } -#endif - _IGNORE(g_node_copy_deep) - - /// Accessor for this node's data - T& data() - { - return data_; - } - - /// Accessor for this node's data - const T& data() const - { - return data_; - } - - /** Accessor for this node's parent. - * - * @return The node's parent. - */ - const NodeTree* parent() const - { - return wrap(gobj()->parent); - } - - // Do not wrap this shallow copy function, because it is not useful: - _IGNORE(g_node_copy) - - -private: - - void clear() - { - //Free the children (not just with g_node_destroy(), to avoid the leaking of C++ wrapper objects): - while(NodeTree* i = first_child()) - delete i; - - //Free the wrapped object (g_node_free not available) - g_slice_free(GNode, gobject_); - gobject_ = 0; - } - - ///Create a new GNode, taking the contents of an existing node if one is specified. - void clone(const NodeTree* node = 0) - { - //Store the this pointer in the GNode so we can discover this wrapper later: - gobject_ = g_node_new(reinterpret_cast(this)); - - if(node) - { - //Prepend the copied children of @node to the constructing node. - for(const NodeTree* i = node->last_child(); i != 0; i = i->prev_sibling()) - prepend(*(new NodeTree(*i))); - } - } - - /// Wrapper for invoking a TraverseFunc. - static gboolean c_callback_traverse(GNode* node, gpointer slot) - { - const TraverseFunc* tf = reinterpret_cast(slot); - return (*tf)(*wrap(node)); - } - - /// Wrapper for invoking a ForeachFunc. - static void c_callback_foreach(GNode* node, gpointer slot) - { - const ForeachFunc* ff = reinterpret_cast(slot); - (*ff)(*wrap(node)); - } - - /// Method for comparing a single child (Internal use). - static void on_compare_child(GNode* node, const T& needle, GNode** result) - { - if((0 != result) && (wrap(node)->data() == needle)) - { - *result = node; - } - } - - /// Wrapper for invoking a sigc::slot (Internal use). - static void c_callback_foreach_compare_child(GNode* node, gpointer data) - { - const ForeachFunc* slot = reinterpret_cast(data); - (*slot)(*wrap(node)); - } - - /// Method for comparing a single node (Internal use). - static gboolean on_compare_node(GNode* node, const T& needle, GNode** result) - { - if(wrap(node)->data() == needle) - { - *result = node; - return TRUE; - } - return FALSE; - } - - /// Wrapper for invoking a sigc::slot (Internal use). - static gboolean c_callback_traverse_compare_node(GNode* node, gpointer data) - { - const TraverseFunc* slot = reinterpret_cast(data); - return (*slot)(*wrap(node)); - } - - - GNode* gobject_; - T data_; -}; - -} // namespace Glib diff --git a/libs/glibmm2/glib/src/optioncontext.ccg b/libs/glibmm2/glib/src/optioncontext.ccg deleted file mode 100644 index c7616247e9..0000000000 --- a/libs/glibmm2/glib/src/optioncontext.ccg +++ /dev/null @@ -1,117 +0,0 @@ -// -*- c++ -*- -/* $Id: optioncontext.ccg,v 1.4 2004/10/30 14:25:45 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -namespace Glib -{ - - namespace Private - { - static const gchar* SignalProxy_translate_gtk_callback (const gchar* str, gpointer data) - { - Glib::ustring translated_str; - Glib::OptionContext::SlotTranslate* the_slot = - static_cast(data); - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { -#endif //GLIBMM_EXCEPTIONS_ENABLED - translated_str = (*the_slot)(str); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } -#endif //GLIBMM_EXCEPTIONS_ENABLED - return translated_str.c_str (); - } - - static void SignalProxy_translate_gtk_callback_destroy (gpointer data) - { - delete static_cast(data); - } - - } //namespace Private - -OptionContext::OptionContext(const Glib::ustring& parameter_string) -: gobject_( g_option_context_new(parameter_string.c_str()) ), - has_ownership_(true) -{ -} - -OptionContext::OptionContext(GOptionContext* castitem, bool take_ownership) -: gobject_(castitem), - has_ownership_(take_ownership) -{ -} - -OptionContext::~OptionContext() -{ - if(has_ownership_) - g_option_context_free(gobj()); - - gobject_ = 0; -} - -void OptionContext::add_group(OptionGroup& group) -{ - //Strangely, GObjectContext actually takes ownership of the GOptionGroup, deleting it later. - g_option_context_add_group(gobj(), (group).gobj_give_ownership()); -} - -void OptionContext::set_main_group(OptionGroup& group) -{ - //Strangely, GObjectContext actually takes ownership of the GOptionGroup, deleting it later. - g_option_context_set_main_group(gobj(), (group).gobj_give_ownership()); -} - - -/* -OptionGroup OptionContext::get_main_group() const -{ - const GOptionGroup* cobj = g_option_context_get_main_group(const_cast( gobj()) ); - OptionGroup cppObj(const_cast(cobj), true); // take_copy - return cppObj; -} - -*/ - -void OptionContext::set_translate_func (const SlotTranslate& slot) -{ - //Create a copy of the slot. A pointer to this will be passed through the callback's data parameter. - //It will be deleted when SignalProxy_translate_gtk_callback_destroy() is called. - SlotTranslate* slot_copy = new SlotTranslate(slot); - - g_option_context_set_translate_func( - gobj(), &Private::SignalProxy_translate_gtk_callback, slot_copy, - &Private::SignalProxy_translate_gtk_callback_destroy); -} - -Glib::ustring OptionContext::get_help(bool main_help) const -{ - return Glib::convert_return_gchar_ptr_to_ustring(g_option_context_get_help(const_cast(gobj()), static_cast(main_help), NULL)); -} - -} // namespace Glib diff --git a/libs/glibmm2/glib/src/optioncontext.hg b/libs/glibmm2/glib/src/optioncontext.hg deleted file mode 100644 index ba9a423b5c..0000000000 --- a/libs/glibmm2/glib/src/optioncontext.hg +++ /dev/null @@ -1,133 +0,0 @@ -/* $Id: optioncontext.hg,v 1.6 2005/01/10 17:42:17 murrayc Exp $ */ - -/* Copyright (C) 2004 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GOptionContext GOptionContext; } -#endif - - -namespace Glib -{ - -/** Exception class for options. - */ -_WRAP_GERROR(OptionError, GOptionError, G_OPTION_ERROR, NO_GTYPE) - -/** An OptionContext defines which options are accepted by the commandline option parser. - */ -class OptionContext -{ - _CLASS_GENERIC(OptionContext, GOptionContext) - _IGNORE(g_option_context_free) -public: - - /** Creates a new option context. - * @param parameter_string A string which is displayed in the first line of --help output, after programname [OPTION...] - */ - explicit OptionContext(const Glib::ustring& parameter_string = Glib::ustring()); - - //Note that, unlike Glib::Wrap(), this would create a second C++ instance for the same C instance, - //so it should be used carefully. For instance you could not access data in a derived class via this second instance. - explicit OptionContext(GOptionContext* castitem, bool take_ownership = false); - virtual ~OptionContext(); - - _WRAP_METHOD(void set_help_enabled(bool help_enabled = true), g_option_context_set_help_enabled) - _WRAP_METHOD(bool get_help_enabled() const, g_option_context_get_help_enabled) - _WRAP_METHOD(void set_ignore_unknown_options(bool ignore_unknown = true), g_option_context_set_ignore_unknown_options) - _WRAP_METHOD(bool get_ignore_unknown_options() const, g_option_context_get_ignore_unknown_options) - -#m4 _CONVERSION(`char**&',`gchar***',`&($3)') - _WRAP_METHOD(bool parse(int& argc, char**& argv), g_option_context_parse, errthrow) - - //g_option_context_add_main_entries(), just creates a group internally, adds them to it, and does a set_main_group() - //- a group without callbacks seems to do some simple default parsing. - _IGNORE(g_option_context_add_main_entries) - - /** Adds an OptionGroup to the context, so that parsing with context will recognize the options in the group. - * Note that the group will not be copied, so it should exist for as long as the context exists. - * - * @param group The group to add. - */ - void add_group(OptionGroup& group); - _IGNORE(g_option_context_add_group) - - /** Sets an OptionGroup as the main group of the context. This has the same effect as calling add_group(), the only - * difference is that the options in the main group are treated differently when generating --help output. - * Note that the group will not be copied, so it should exist for as long as the context exists. - * - * @param group The group to add. - */ - void set_main_group(OptionGroup& group); - _IGNORE(g_option_context_set_main_group) - - //We don't need this (hopefully), and the memory management would be really awkward. - //OptionGroup& get_main_group(); - //const OptionGroup& get_main_group() const; - _IGNORE(g_option_context_get_main_group) - - #m4 _CONVERSION(`const OptionGroup&',`GOptionGroup*',`const_cast(($3).gobj())') - _WRAP_METHOD(Glib::ustring get_help(bool main_help, const OptionGroup& group) const, g_option_context_get_help) - - //TODO: Documentation. - Glib::ustring get_help(bool main_help = true) const; - - GOptionContext* gobj() { return gobject_; } - const GOptionContext* gobj() const { return gobject_; } - - _WRAP_METHOD(void set_summary(const Glib::ustring& summary), g_option_context_set_summary) - _WRAP_METHOD(Glib::ustring get_summary() const, g_option_context_get_summary) - _WRAP_METHOD(void set_description(const Glib::ustring& description), g_option_context_set_description) - _WRAP_METHOD(Glib::ustring get_description() const, g_option_context_get_description) - - _WRAP_METHOD(void set_translation_domain(const Glib::ustring& domain), g_option_context_set_translation_domain) - - /** - * This function is used to translate user-visible strings, for --help output. - * The function takes an untranslated string and returns a translated string - */ - typedef sigc::slot SlotTranslate; - - /** - * Sets the function which is used to translate user-visible - * strings, for --help output. Different groups can use different functions. - * - * If you are using gettext(), you only need to set the translation domain, - * see set_translation_domain(). - * - * @newin2p14 - */ - void set_translate_func (const SlotTranslate& slot); - _IGNORE(g_option_context_set_translate_func) - -protected: - - GOptionContext* gobject_; - bool has_ownership_; -}; - - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/optionentry.ccg b/libs/glibmm2/glib/src/optionentry.ccg deleted file mode 100644 index 7d48c948dd..0000000000 --- a/libs/glibmm2/glib/src/optionentry.ccg +++ /dev/null @@ -1,114 +0,0 @@ -// -*- c++ -*- -/* $Id: optionentry.ccg,v 1.8 2006/03/08 12:23:03 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -OptionEntry::OptionEntry() -{ - gobject_ = g_new0(GOptionEntry, 1); -} - -OptionEntry::~OptionEntry() -{ - g_free(const_cast(gobject_->long_name)); - g_free(const_cast(gobject_->description)); - g_free(const_cast(gobject_->arg_description)); - g_free(gobject_); -} - -OptionEntry::OptionEntry(const OptionEntry& src) -{ - gobject_ = g_new0(GOptionEntry, 1); - - operator=(src); -} - -OptionEntry& OptionEntry::operator=(const OptionEntry& src) -{ - if(this != &src) - { - if(gobject_->long_name) - g_free(const_cast(gobject_->long_name)); - - gobject_->long_name = g_strdup(src.gobject_->long_name); - - gobject_->short_name = src.gobject_->short_name; //It's just one char. - - gobject_->flags = src.gobject_->flags; - gobject_->arg = src.gobject_->arg; - gobject_->arg_data = src.gobject_->arg_data; //Shared, because it's not owned by any instance of this class anyway. - - if(gobject_->description) - g_free(const_cast(gobject_->description)); - - gobject_->description = g_strdup(src.gobject_->description); - - if(gobject_->arg_description) - g_free(const_cast(gobject_->arg_description)); - - gobject_->arg_description = g_strdup(src.gobject_->arg_description); - } - - return *this; -} - -void OptionEntry::set_long_name(const Glib::ustring& value) -{ - if(gobject_->long_name) - { - g_free((gchar*)(gobject_->long_name)); - gobject_->long_name = NULL; - } - - //Note that we do not use NULL for an empty string, - //because G_OPTION_REMAINING is actually a "", so it actually has a distinct meaning: - //TODO: Wrap G_OPTION_REMAINING in C++ somehow, maybe as an explicit set_long_name(void) or set_is_remaining()? murrayc. - gobj()->long_name = (value).c_str() ? g_strdup((value).c_str()) : NULL; -} - -void OptionEntry::set_description(const Glib::ustring& value) -{ - if(gobject_->description) - { - g_free((gchar*)(gobject_->description)); - gobject_->description = NULL; - } - - gobj()->description = (value).empty() ? NULL : g_strdup((value).c_str()); -} - -void OptionEntry::set_arg_description(const Glib::ustring& value) -{ - if(gobject_->arg_description) - { - g_free((gchar*)(gobject_->arg_description)); - gobject_->arg_description = NULL; - } - - gobj()->arg_description = (value).empty() ? NULL : g_strdup((value).c_str()); -} - - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/optionentry.hg b/libs/glibmm2/glib/src/optionentry.hg deleted file mode 100644 index 78d4d735ed..0000000000 --- a/libs/glibmm2/glib/src/optionentry.hg +++ /dev/null @@ -1,101 +0,0 @@ -/* $Id: optionentry.hg,v 1.11 2005/07/31 13:11:05 murrayc Exp $ */ - -/* Copyright (C) 2004 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GOptionEntry GOptionEntry; } -#endif - - -namespace Glib -{ - -/** An OptionEntry defines a single option. To have an effect, it must be added to an OptionGroup with - * OptionGroup::add_entry(). - * - * The long name of an option can be used to specify it in a commandline as --long_name. - * Every option must have a long name. To resolve conflicts if multiple option groups contain the same long name, it is also - * possible to specify the option as --groupname-long_name. - * - * If an option has a short name, it can be specified as -short_name in a commandline. - * - * The description for the option is shown in the --help output. - * - * The arg_descripton is the placeholder to use for the extra argument parsed by the option in --help output. - */ -class OptionEntry -{ - _CLASS_GENERIC(OptionEntry, GOptionEntry) -public: - - //Copied from goption.h, instead of generated, so that we can put it inside the class. - enum Flags - { - FLAG_HIDDEN = 1 << 0, - FLAG_IN_MAIN = 1 << 1, - FLAG_REVERSE = 1 << 2, - FLAG_NO_ARG = 1 << 3, - FLAG_FILENAME = 1 << 4, - FLAG_OPTIONAL_ARG = 1 << 5, - FLAG_NOALIAS = 1 << 6 - } GOptionFlags; - - OptionEntry(); - OptionEntry(const OptionEntry& src); - virtual ~OptionEntry(); - - OptionEntry& operator=(const OptionEntry& src); - - //#m4 _CONVERSION(`Glib::ustring',`const gchar*',`($3).empty() ? NULL : g_strdup(($3).c_str())') - - _MEMBER_GET(long_name, long_name, Glib::ustring, const char*) - - void set_long_name(const Glib::ustring& value); - - _MEMBER_GET(short_name, short_name, gchar, gchar) - _MEMBER_SET(short_name, short_name, gchar, gchar) - - _MEMBER_GET(flags, flags, int, int) - _MEMBER_SET(flags, flags, int, int) - - //TODO: G_OPTION_ARG_CALLBACK, - - _MEMBER_GET(description, description, Glib::ustring, const char*) - - void set_description(const Glib::ustring& value); - - - _MEMBER_GET(arg_description, arg_description, Glib::ustring, const char*) - - void set_arg_description(const Glib::ustring& value); - - - GOptionEntry* gobj() { return gobject_; } - const GOptionEntry* gobj() const { return gobject_; } - -protected: - - GOptionEntry* gobject_; -}; - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/optiongroup.ccg b/libs/glibmm2/glib/src/optiongroup.ccg deleted file mode 100644 index 5a34aebf92..0000000000 --- a/libs/glibmm2/glib/src/optiongroup.ccg +++ /dev/null @@ -1,517 +0,0 @@ -// -*- c++ -*- -/* $Id: optiongroup.ccg,v 1.15.4.3 2006/03/30 12:19:58 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include -//#include -#include // g_malloc - -namespace Glib -{ - -namespace //anonymous -{ - -extern "C" -{ - -static gboolean g_callback_pre_parse(GOptionContext* context, GOptionGroup* /* group */, gpointer data, GError** /* TODO error */) -{ - OptionContext cppContext(context, false /* take_ownership */); - //OptionGroup cppGroup(group, true /* take_copy */); //Maybe this should be option_group. - - OptionGroup* option_group = static_cast(data); - if(option_group) - return option_group->on_pre_parse(cppContext, *option_group); - else - return false; -} - -static gboolean g_callback_post_parse(GOptionContext* context, GOptionGroup* /* group */, gpointer data, GError** /* TODO error */) -{ - OptionContext cppContext(context, false /* take_ownership */); - //OptionGroup cppGroup(group, true /* take_copy */); //Maybe this should be option_group. - - OptionGroup* option_group = static_cast(data); - if(option_group) - { - return option_group->on_post_parse(cppContext, *option_group); - } - else - return false; -} - -static void g_callback_error(GOptionContext* context, GOptionGroup* /* group */, gpointer data, GError** /* TODO error*/) -{ - OptionContext cppContext(context, false /* take_ownership */); - //OptionGroup cppGroup(group); //Maybe this should be option_group. - - OptionGroup* option_group = static_cast(data); - if(option_group) - return option_group->on_error(cppContext, *option_group); -} - -} /* extern "C" */ - -} //anonymous namespace - - -OptionGroup::OptionGroup(const Glib::ustring& name, const Glib::ustring& description, const Glib::ustring& help_description) -: gobject_( g_option_group_new(name.c_str(), description.c_str(), help_description.c_str(), this, 0 /* destroy_func */) ), - has_ownership_(true) -{ - //Connect callbacks, so that derived classes can override the virtual methods: - g_option_group_set_parse_hooks(gobj(), &g_callback_pre_parse, &g_callback_post_parse); - g_option_group_set_error_hook(gobj(), &g_callback_error); -} - -OptionGroup::OptionGroup(GOptionGroup* castitem) -: gobject_(castitem), - has_ownership_(true) -{ - //Always takes ownership - never takes copy. -} - - -OptionGroup::~OptionGroup() -{ - //Free any C types that were allocated during add_entry(): - for(type_map_entries::iterator iter = map_entries_.begin(); iter != map_entries_.end(); ++iter) - { - CppOptionEntry& cpp_entry = iter->second; - cpp_entry.release_c_arg(); - } - - if(has_ownership_) - { - g_option_group_free(gobj()); - gobject_ = 0; - } -} - -void OptionGroup::add_entry(const OptionEntry& entry) -{ - //It does not copy the entry, so it needs to live as long as the group. - - //g_option_group_add_entries takes an array, with the last item in the array having a null long_name. - //Hopefully this will be properly documented eventually - see bug # - - //Create a temporary array, just so we can give the correct thing to g_option_group_add_entries: - GOptionEntry array[2]; - array[0] = *(entry.gobj()); //Copy contents. - GLIBMM_INITIALIZE_STRUCT(array[1], GOptionEntry); - - g_option_group_add_entries(gobj(), array); -} - -void OptionGroup::add_entry(const OptionEntry& entry, bool& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_NONE /* Actually a boolean on/off, depending on whether the argument name was given, without argument parameters. */, &arg); -} - -void OptionGroup::add_entry(const OptionEntry& entry, int& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_INT, &arg); -} - -void OptionGroup::add_entry(const OptionEntry& entry, Glib::ustring& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_STRING, &arg); -} - -void OptionGroup::add_entry(const OptionEntry& entry, vecustrings& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_STRING_ARRAY, &arg); -} - -void OptionGroup::add_entry_filename(const OptionEntry& entry, std::string& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_FILENAME, &arg); -} - -void OptionGroup::add_entry_filename(const OptionEntry& entry, vecstrings& arg) -{ - add_entry_with_wrapper(entry, G_OPTION_ARG_FILENAME_ARRAY, &arg); -} - -void OptionGroup::add_entry_with_wrapper(const OptionEntry& entry, GOptionArg arg_type, void* cpp_arg) -{ - const Glib::ustring name = entry.get_long_name(); - type_map_entries::iterator iterFind = map_entries_.find(name); - if( iterFind == map_entries_.end() ) //If we have not added this entry already - { - CppOptionEntry cppEntry; - cppEntry.carg_type_ = arg_type; - cppEntry.allocate_c_arg(); - cppEntry.set_c_arg_default(cpp_arg); - - cppEntry.cpparg_ = cpp_arg; - - //Give the information to the C API: - - cppEntry.entry_ = new OptionEntry(entry); //g_option_group_add_entry() does not take its own copy, so we must keep the instance alive. */ - //cppEntry.entry_ is deleted in release_c_arg(), via the destructor. - - cppEntry.entry_->gobj()->arg = arg_type; - cppEntry.entry_->gobj()->arg_data = cppEntry.carg_; - - //Remember the C++/C mapping so that we can use it later: - map_entries_[name] = cppEntry; - - add_entry(*(cppEntry.entry_)); - } -} - - -bool OptionGroup::on_pre_parse(OptionContext& /* context */, OptionGroup& /* group */) -{ - return true; -} - -bool OptionGroup::on_post_parse(OptionContext& /* context */, OptionGroup& /* group */) -{ - //Call this at the start of overrides. - - //TODO: Maybe put this in the C callback: - - //The C args have now been given values by GOption. - //Convert C values to C++ values: - - for(type_map_entries::iterator iter = map_entries_.begin(); iter != map_entries_.end(); ++iter) - { - CppOptionEntry& cpp_entry = iter->second; - cpp_entry.convert_c_to_cpp(); - } - - return true; -} - -void OptionGroup::on_error(OptionContext& /* context */, OptionGroup& /* group */) -{ -} - - -OptionGroup::CppOptionEntry::CppOptionEntry() -: carg_type_(G_OPTION_ARG_NONE), carg_(0), cpparg_(0), entry_(0) -{} - -void OptionGroup::CppOptionEntry::allocate_c_arg() -{ - //Create an instance of the appropriate C type. - //This will be destroyed in the OptionGroup destructor. - // - //We must also call set_c_arg_default() to give these C types the specified defaults based on the C++-typed arguments. - switch(carg_type_) - { - case G_OPTION_ARG_STRING: //The char* will be for UTF8 strins. - case G_OPTION_ARG_FILENAME: //The char* will be for strings in the current locale's encoding. - { - char** typed_arg = new char*; - //The C code will allocate a char* and put it here, for us to g_free() later. - //Alternatively, set_c_arg_default() might allocate a char*, and the C code might or might not free and replace that. - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - case G_OPTION_ARG_INT: - { - int* typed_arg = new int; - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - case G_OPTION_ARG_STRING_ARRAY: - case G_OPTION_ARG_FILENAME_ARRAY: - { - char*** typed_arg = new char**; - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - case G_OPTION_ARG_NONE: /* Actually a boolean. */ - { - gboolean* typed_arg = new gboolean; - *typed_arg = 0; - carg_ = typed_arg; - - break; - } - default: - { - break; - } - } -} - -void OptionGroup::CppOptionEntry::set_c_arg_default(void* cpp_arg) -{ - switch(carg_type_) - { - case G_OPTION_ARG_INT: - { - *static_cast(carg_) = *static_cast(cpp_arg); - break; - } - case G_OPTION_ARG_NONE: - { - *static_cast(carg_) = *static_cast(cpp_arg); - break; - } - case G_OPTION_ARG_STRING: - { - Glib::ustring* typed_cpp_arg = static_cast(cpp_arg); - if(typed_cpp_arg && !typed_cpp_arg->empty()) - { - const char** typed_c_arg = static_cast(carg_); - *typed_c_arg = g_strdup(typed_cpp_arg->c_str()); //Freed in release_c_arg(). - } - break; - } - case G_OPTION_ARG_FILENAME: - { - std::string* typed_cpp_arg = static_cast(cpp_arg); - if(typed_cpp_arg && !typed_cpp_arg->empty()) - { - const char** typed_c_arg = static_cast(carg_); - *typed_c_arg = g_strdup(typed_cpp_arg->c_str()); //Freed in release_c_arg(). - } - break; - } - case G_OPTION_ARG_STRING_ARRAY: - { - std::vector* typed_cpp_arg = static_cast*>(cpp_arg); - if(typed_cpp_arg) - { - std::vector& vec = *typed_cpp_arg; - const char** array = static_cast( g_malloc(sizeof(gchar*) * (vec.size() + 1)) ); - - for(std::vector::size_type i = 0; i < vec.size(); ++i) - { - array[i] = g_strdup( vec[i].c_str() ); - } - - array[vec.size()] = 0; - - const char*** typed_c_arg = static_cast(carg_); - *typed_c_arg = array; - } - break; - } - case G_OPTION_ARG_FILENAME_ARRAY: - { - std::vector* typed_cpp_arg = static_cast*>(cpp_arg); - if(typed_cpp_arg) - { - std::vector& vec = *typed_cpp_arg; - const char** array = static_cast( g_malloc(sizeof(gchar*) * (vec.size() + 1)) ); - - for(std::vector::size_type i = 0; i < vec.size(); ++i) - { - array[i] = g_strdup( vec[i].c_str() ); - } - - array[vec.size()] = 0; - - const char*** typed_c_arg = static_cast(carg_); - *typed_c_arg = array; - } - break; - } - default: - { - break; - } - } -} - -void OptionGroup::CppOptionEntry::release_c_arg() -{ - //Delete the instances that we created in allocate_c_arg(). - //Notice that we delete the type that we created, but not the value to which it points. - if(carg_) - { - switch(carg_type_) - { - case G_OPTION_ARG_STRING: - case G_OPTION_ARG_FILENAME: - { - char** typed_arg = static_cast(carg_); - g_free(*typed_arg); //Free the char* string at type_arg, which was allocated by the C code. - delete typed_arg; //Delete the char** that we allocated in allocate_c_arg; - - break; - } - case G_OPTION_ARG_INT: - { - int* typed_arg = static_cast(carg_); - delete typed_arg; - - break; - } - case G_OPTION_ARG_STRING_ARRAY: - case G_OPTION_ARG_FILENAME_ARRAY: - { - delete (char**)carg_; - break; - } - case G_OPTION_ARG_NONE: /* Actually a boolean. */ - { - gboolean* typed_arg = static_cast(carg_); - delete typed_arg; - - break; - } - default: - { - /* TODO: - G_OPTION_ARG_CALLBACK, - */ - break; - } - } - - carg_ = 0; - } - - if(entry_) - delete entry_; -} - -void OptionGroup::CppOptionEntry::convert_c_to_cpp() -{ - switch(carg_type_) - { - case G_OPTION_ARG_STRING: - { - char** typed_arg = static_cast(carg_); - Glib::ustring* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - char* pch = *typed_arg; - (*typed_cpp_arg) = Glib::convert_const_gchar_ptr_to_ustring(pch); - - break; - } - } - case G_OPTION_ARG_FILENAME: - { - char** typed_arg = static_cast(carg_); - std::string* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - char* pch = *typed_arg; - (*typed_cpp_arg) = Glib::convert_const_gchar_ptr_to_stdstring(pch); - - break; - } - } - case G_OPTION_ARG_INT: - { - *((int*)cpparg_) = *(static_cast(carg_)); - break; - } - case G_OPTION_ARG_STRING_ARRAY: - { - char*** typed_arg = static_cast(carg_); - vecustrings* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - typed_cpp_arg->clear(); - - //The C array seems to be null-terminated. - //Glib::StringArrayHandle array_handle(*typed_arg, Glib::OWNERSHIP_NONE); - - //The SUN Forte compiler complains about this: - // "optiongroup.cc", line 354: Error: Cannot assign Glib::ArrayHandle> to std::vector without - // "std::vector::operator=(const std::vector&)";. - // - //(*typed_cpp_arg) = array_handle; - // - //And the Tru64 compiler does not even like us to instantiate the StringArrayHandle: - // - // cxx: Error: ../../glib/glibmm/containerhandle_shared.h, line 149: the operand - // of a pointer dynamic_cast must be a pointer to a complete class type - // return dynamic_cast(Glib::wrap_auto(cobj, false /* take_copy */)); - - //for(Glib::StringArrayHandle::iterator iter = array_handle.begin(); iter != array_handle.end(); ++iter) - //{ - // typed_cpp_arg->push_back(*iter); - //} - - //So we do this: - - char** char_array_next = *typed_arg; - while(char_array_next && *char_array_next) - { - typed_cpp_arg->push_back(*char_array_next); - ++char_array_next; - } - } - - break; - } - case G_OPTION_ARG_FILENAME_ARRAY: - { - char*** typed_arg = static_cast(carg_); - vecustrings* typed_cpp_arg = static_cast(cpparg_); - if(typed_arg && typed_cpp_arg) - { - typed_cpp_arg->clear(); - - //See comments above about the SUN Forte and Tru64 compilers. - - char** char_array_next = *typed_arg; - while(char_array_next && *char_array_next) - { - typed_cpp_arg->push_back(*char_array_next); - ++char_array_next; - } - } - - break; - } - case G_OPTION_ARG_NONE: /* Actually a boolean. */ - { - *(static_cast(cpparg_)) = *(static_cast(carg_)); - break; - } - default: - { - /* TODO: - G_OPTION_ARG_CALLBACK, - */ - break; - } - } -} - -GOptionGroup* OptionGroup::gobj_give_ownership() -{ - has_ownership_ = false; - return gobj(); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/optiongroup.hg b/libs/glibmm2/glib/src/optiongroup.hg deleted file mode 100644 index fc559dbf87..0000000000 --- a/libs/glibmm2/glib/src/optiongroup.hg +++ /dev/null @@ -1,124 +0,0 @@ -/* $Id: optiongroup.hg,v 1.10.4.1 2006/03/30 12:19:58 murrayc Exp $ */ - -/* Copyright (C) 2004 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include -#include //TODO: Try to hide this. - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _GOptionGroup GOptionGroup; } -#endif //DOXYGEN_SHOULD_SKIP_THIS - - -namespace Glib -{ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -class OptionEntry; -class OptionContext; -#endif //DOXYGEN_SHOULD_SKIP_THIS - -/** An OptionGroup defines the options in a single group. - * Libraries which need to parse commandline options are expected to provide a function that allows their OptionGroups to - * be added to the application's OptionContext. - */ -class OptionGroup -{ - _CLASS_GENERIC(OptionGroup, GOptionGroup) -public: - OptionGroup(const Glib::ustring& name, const Glib::ustring& description, const Glib::ustring& help_description = Glib::ustring()); - - /** This always takes ownership of the underlying GOptionGroup, - * so it is only useful with C functions that return newly-allocated GOptionGroups. - */ - explicit OptionGroup(GOptionGroup* castitem); - _IGNORE(g_option_group_new) - virtual ~OptionGroup(); - _IGNORE(g_option_group_free) - - - virtual bool on_pre_parse(OptionContext& context, OptionGroup& group); - virtual bool on_post_parse(OptionContext& context, OptionGroup& group); - virtual void on_error(OptionContext& context, OptionGroup& group); - _IGNORE(g_option_group_set_parse_hooks, g_option_group_set_error_hook) - - void add_entry(const OptionEntry& entry); - _IGNORE(g_option_group_add_entries) - - - typedef std::vector vecustrings; - typedef std::vector vecstrings; - - void add_entry(const OptionEntry& entry, bool& arg); - void add_entry(const OptionEntry& entry, int& arg); - void add_entry(const OptionEntry& entry, Glib::ustring& arg); - void add_entry_filename(const OptionEntry& entry, std::string& arg); - void add_entry(const OptionEntry& entry, vecustrings& arg); - void add_entry_filename(const OptionEntry& entry, vecstrings& arg); - -/* TODO: -void g_option_group_set_translate_func (GOptionGroup *group, - GTranslateFunc func, - gpointer data, - GDestroyNotify destroy_notify); -*/ - _WRAP_METHOD(void set_translation_domain(const Glib::ustring& domain), g_option_group_set_translation_domain) - - GOptionGroup* gobj() { return gobject_; } - const GOptionGroup* gobj() const { return gobject_; } - GOptionGroup* gobj_give_ownership(); - -protected: - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - /** This is not public API. It is an implementation detail. - */ - class CppOptionEntry - { - public: - CppOptionEntry(); - - void allocate_c_arg(); - void set_c_arg_default(void* cpp_arg); - void convert_c_to_cpp(); - void release_c_arg(); - - GOptionArg carg_type_; - void* carg_; - void* cpparg_; - OptionEntry* entry_; - }; - - void add_entry_with_wrapper(const OptionEntry& entry, GOptionArg arg_type, void* cpp_arg); - - //Map of entry names to CppOptionEntry: - typedef std::map type_map_entries; - type_map_entries map_entries_; - - GOptionGroup* gobject_; - bool has_ownership_; //Whether the gobject_ belongs to this C++ instance. -#endif //DOXYGEN_SHOULD_SKIP_THIS -}; - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/regex.ccg b/libs/glibmm2/glib/src/regex.ccg deleted file mode 100644 index e087365ed6..0000000000 --- a/libs/glibmm2/glib/src/regex.ccg +++ /dev/null @@ -1,204 +0,0 @@ -/* Copyright (C) 2007 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - -namespace Glib -{ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::RefPtr Regex::create(const Glib::ustring& pattern, - RegexCompileFlags compile_options, - RegexMatchFlags match_options) -#else -Glib::RefPtr Regex::create(const Glib::ustring& pattern, - RegexCompileFlags compile_options, - RegexMatchFlags match_options, - std::auto_ptr& error) -#endif /* GLIBMM_EXCEPTIONS_ENABLED */ -{ - GError* gerror = 0; - GRegex* regex = g_regex_new(pattern.c_str(), (GRegexCompileFlags)compile_options, - (GRegexMatchFlags)match_options, &gerror); - - if(gerror) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::Error::throw_exception(gerror); -#else - error = Glib::Error::throw_exception(gerror); -#endif - return Glib::wrap(regex); -} - -// static -Glib::ustring Regex::escape_string(const Glib::ustring& string) -{ - const Glib::ScopedPtr buf (g_regex_escape_string(string.raw().c_str(), - string.raw().size())); - return Glib::ustring(buf.get()); -} - -bool Regex::match(const Glib::ustring& string, RegexMatchFlags match_options) -{ - return g_regex_match(gobj(), string.c_str(), (GRegexMatchFlags)(match_options), 0); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_full(gobj(), string.c_str(), -1, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_full(gobj(), string.c_str(), string_len, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -bool Regex::match_all(const Glib::ustring& string, RegexMatchFlags match_options) -{ - return g_regex_match_all(gobj(), string.c_str(), ((GRegexMatchFlags)(match_options)), 0); -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_all_full(gobj(), string.c_str(), -1, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -bool Regex::match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options) -#else -bool Regex::match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - bool retvalue = g_regex_match_all_full(gobj(), string.c_str(), string_len, start_position, ((GRegexMatchFlags)(match_options)), 0, &(gerror)); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options) -#else -Glib::ustring Regex::replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace(gobj(), string.c_str(), -1, start_position, replacement.c_str(), ((GRegexMatchFlags)(match_options)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::ustring Regex::replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options) -#else -Glib::ustring Regex::replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error) -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::ustring retvalue = Glib::convert_return_gchar_ptr_to_ustring(g_regex_replace_literal(gobj(), string.c_str(), -1, start_position, replacement.c_str(), ((GRegexMatchFlags)(match_options)), &(gerror))); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -#ifdef GLIBMM_EXCEPTIONS_ENABLED -Glib::StringArrayHandle Regex::split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens) const -#else -Glib::StringArrayHandle Regex::split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens, std::auto_ptr& error) const -#endif //GLIBMM_EXCEPTIONS_ENABLED -{ - GError* gerror = 0; - Glib::StringArrayHandle retvalue = Glib::StringArrayHandle(g_regex_split_full(const_cast(gobj()), string.c_str(), -1, start_position, ((GRegexMatchFlags)(match_options)), max_tokens, &(gerror)), Glib::OWNERSHIP_DEEP); -#ifdef GLIBMM_EXCEPTIONS_ENABLED - if(gerror) - ::Glib::Error::throw_exception(gerror); -#else - if(gerror) - error = ::Glib::Error::throw_exception(gerror); -#endif //GLIBMM_EXCEPTIONS_ENABLED - - return retvalue; -} - -} // namespace Glib diff --git a/libs/glibmm2/glib/src/regex.hg b/libs/glibmm2/glib/src/regex.hg deleted file mode 100644 index 6ff382fcc6..0000000000 --- a/libs/glibmm2/glib/src/regex.hg +++ /dev/null @@ -1,209 +0,0 @@ -/* Copyright (C) 2007 The glibmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include -#include -#include - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -typedef struct _GRegex GRegex; -#endif - -namespace Glib -{ - -_WRAP_ENUM(RegexCompileFlags, GRegexCompileFlags, NO_GTYPE) -_WRAP_ENUM(RegexMatchFlags, GRegexMatchFlags, NO_GTYPE) - -/** Exception class for Regex - */ -_WRAP_GERROR(RegexError, GRegexError, G_REGEX_ERROR, NO_GTYPE) - - -/** Perl-compatible regular expressions - matches strings against regular expressions. - * - * The Glib::Regex functions implement regular expression pattern matching using - * syntax and semantics similar to Perl regular expression. - * - * Some functions accept a start_position argument, setting it differs from just - * passing over a shortened string and setting REGEX_MATCH_NOTBOL in the case - * of a pattern that begins with any kind of lookbehind assertion. For example, - * consider the pattern "\Biss\B" which finds occurrences of "iss" in the middle - * of words. ("\B" matches only if the current position in the subject is not a - * word boundary.) When applied to the string "Mississipi" from the fourth byte, - * namely "issipi", it does not match, because "\B" is always false at the - * start of the subject, which is deemed to be a word boundary. However, if - * the entire string is passed , but with start_position set to 4, it finds the - * second occurrence of "iss" because it is able to look behind the starting point - * to discover that it is preceded by a letter. - * - * Note that, unless you set the REGEX_RAW flag, all the strings passed to these - * functions must be encoded in UTF-8. The lengths and the positions inside the - * strings are in bytes and not in characters, so, for instance, - * "\xc3\xa0" (i.e. "à") is two bytes long but it is treated as a single - * character. If you set REGEX_RAW the strings can be non-valid UTF-8 strings - * and a byte is treated as a character, so "\xc3\xa0" is two bytes and - * two characters long. - * - * When matching a pattern, "\n" matches only against a "\n" character in the - * string, and "\r" matches only a "\r" character. To match any newline sequence - * use "\R". This particular group matches either the two-character sequence - * CR + LF ("\r\n"), or one of the single characters LF (linefeed, U+000A, "\n"), - * VT (vertical tab, U+000B, "\v"), FF (formfeed, U+000C, "\f"), CR (carriage - * return, U+000D, "\r"), NEL (next line, U+0085), LS (line separator, U+2028), - * or PS (paragraph separator, U+2029). - * - * The behaviour of the dot, circumflex, and dollar metacharacters are affected - * by newline characters, the default is to recognize any newline character (the - * same characters recognized by "\R"). This can be changed with REGEX_NEWLINE_CR, - * REGEX_NEWLINE_LF and REGEX_NEWLINE_CRLF compile options, and with - * REGEX_MATCH_NEWLINE_ANY, REGEX_MATCH_NEWLINE_CR, REGEX_MATCH_NEWLINE_LF - * and REGEX_MATCH_NEWLINE_CRLF match options. These settings are also - * relevant when compiling a pattern if REGEX_EXTENDED is set, and an unescaped - * "#" outside a character class is encountered. This indicates a comment that - * lasts until after the next newline. - * - * Creating and manipulating the same Glib::Regex class from different threads is - * not a problem as Glib::Regex does not modify its internal state between creation and - * destruction, on the other hand Glib::MatchInfo is not threadsafe. - * - * The regular expressions low level functionalities are obtained through the - * excellent PCRE library written by Philip Hazel. - * - * @newin2p14 - */ -class Regex -{ - _CLASS_OPAQUE_REFCOUNTED(Regex, GRegex, NONE, g_regex_ref, g_regex_unref) - _IGNORE(g_regex_ref, g_regex_unref) -public: - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - static Glib::RefPtr create(const Glib::ustring& pattern, RegexCompileFlags compile_options = static_cast(0), RegexMatchFlags match_options = static_cast(0)); -#else - static Glib::RefPtr create(const Glib::ustring& pattern, RegexCompileFlags compile_options, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - _WRAP_METHOD(Glib::ustring get_pattern() const, g_regex_get_pattern) - _WRAP_METHOD(int get_max_backref() const, g_regex_get_max_backref) - _WRAP_METHOD(int get_capture_count() const, g_regex_get_capture_count) - _WRAP_METHOD(int get_string_number(const Glib::ustring& name) const, g_regex_get_string_number) - - static Glib::ustring escape_string(const Glib::ustring& string); - - _WRAP_METHOD(static bool match_simple(const Glib::ustring& pattern, const Glib::ustring& string, RegexCompileFlags compile_options = static_cast(0), RegexMatchFlags match_options = static_cast(0)), g_regex_match_simple) - - //TODO: _WRAP_METHOD(bool match(const Glib::ustring& string, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo **match_info = 0), g_regex_match) - bool match(const Glib::ustring& string, RegexMatchFlags match_options = static_cast(0)); - - //TODO: Wrap GMatchInfo as an iterator: - //_WRAP_METHOD(bool match_full(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo** match_info = 0), g_regex_match_full, errthrow) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options); -#else - bool match(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options); -#else - bool match(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - //TODO: _WRAP_METHOD(bool match_all(const Glib::ustring& string, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo ** match_info = 0), g_regex_match_all) - bool match_all(const Glib::ustring& string, RegexMatchFlags match_options = static_cast(0)); - - //TODO: _WRAP_METHOD(bool match_all_full(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options = (RegexMatchFlags)0, GMatchInfo** match_info = 0), g_regex_match_all_full, errthrow) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options); -#else - bool match_all(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - bool match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options); -#else - bool match_all(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - -#m4 _CONVERSION(`gchar**',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)') - - _WRAP_METHOD(static Glib::StringArrayHandle split_simple(const Glib::ustring& pattern, const Glib::ustring& string, RegexCompileFlags compile_options = static_cast(0), RegexMatchFlags match_options = static_cast(0)), g_regex_split_simple) - _WRAP_METHOD(Glib::StringArrayHandle split(const Glib::ustring& string, RegexMatchFlags match_options = static_cast(0)), g_regex_split) - - _WRAP_METHOD(Glib::StringArrayHandle split(const gchar* string, gssize string_len, int start_position, RegexMatchFlags match_options = static_cast(0), int max_tokens = 0) const, g_regex_split_full, errthrow) - -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::StringArrayHandle split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens) const; -#else - Glib::StringArrayHandle split(const Glib::ustring& string, int start_position, RegexMatchFlags match_options, int max_tokens, std::auto_ptr& error) const; -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - _WRAP_METHOD(Glib::ustring replace(const gchar* string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options = static_cast(0)), g_regex_replace, errthrow) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options); -#else - Glib::ustring replace(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - _WRAP_METHOD(Glib::ustring replace_literal(const gchar *string, gssize string_len, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options = static_cast(0)), g_regex_replace_literal, errthrow) -#ifdef GLIBMM_EXCEPTIONS_ENABLED - Glib::ustring replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options); -#else - Glib::ustring replace_literal(const Glib::ustring& string, int start_position, const Glib::ustring& replacement, RegexMatchFlags match_options, std::auto_ptr& error); -#endif /* !GLIBMM_EXCEPTIONS_ENABLED */ - - _WRAP_METHOD(Glib::ustring replace_eval(const Glib::ustring& string, gssize string_len, int start_position, RegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data), g_regex_replace_eval, errthrow) - _WRAP_METHOD(static bool check_replacement(const Glib::ustring& replacement, gboolean* has_references), g_regex_check_replacement, errthrow) - -/* Match info */ -/* -GRegex *g_match_info_get_regex (const GMatchInfo *match_info); -const gchar *g_match_info_get_string (const GMatchInfo *match_info); - -void g_match_info_free (GMatchInfo *match_info); - _WRAP_METHOD(bool g_match_info_next (GMatchInfo *match_info, - GError **error); - _WRAP_METHOD(bool g_match_info_matches (const GMatchInfo *match_info); - _WRAP_METHOD(int g_match_info_get_match_count (const GMatchInfo *match_info); - _WRAP_METHOD(bool g_match_info_is_partial_match (const GMatchInfo *match_info); -Glib::ustring g_match_info_expand_references(const GMatchInfo *match_info, - Glib::ustring& string_to_expand, - GError **error); -Glib::ustring g_match_info_fetch (const GMatchInfo *match_info, - int match_num); - _WRAP_METHOD(bool g_match_info_fetch_pos (const GMatchInfo *match_info, - int match_num, - int *start_pos, - int *end_pos); -Glib::ustring g_match_info_fetch_named (const GMatchInfo *match_info, - Glib::ustring& name); - _WRAP_METHOD(bool g_match_info_fetch_named_pos (const GMatchInfo *match_info, - Glib::ustring& name, - int *start_pos, - int *end_pos); -gchar **g_match_info_fetch_all (const GMatchInfo *match_info); -*/ -}; - -} // namespace Glib diff --git a/libs/glibmm2/glib/src/shell.ccg b/libs/glibmm2/glib/src/shell.ccg deleted file mode 100644 index eae98ef7d8..0000000000 --- a/libs/glibmm2/glib/src/shell.ccg +++ /dev/null @@ -1,61 +0,0 @@ -// -*- c++ -*- -/* $Id: shell.ccg,v 1.1 2003/01/07 16:58:38 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - - -namespace Glib -{ - -/**** shell utility functions **********************************************/ - -Glib::ArrayHandle shell_parse_argv(const std::string& command_line) -{ - char** argv = 0; - int argc = 0; - GError* error = 0; - - g_shell_parse_argv(command_line.c_str(), &argc, &argv, &error); - - if(error) - Glib::Error::throw_exception(error); - - return Glib::ArrayHandle(argv, argc, Glib::OWNERSHIP_DEEP); -} - -std::string shell_quote(const std::string& unquoted_string) -{ - const ScopedPtr buf (g_shell_quote(unquoted_string.c_str())); - return std::string(buf.get()); -} - -std::string shell_unquote(const std::string& quoted_string) -{ - GError* error = 0; - char *const buf = g_shell_unquote(quoted_string.c_str(), &error); - - if(error) - Glib::Error::throw_exception(error); - - return std::string(ScopedPtr(buf).get()); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/shell.hg b/libs/glibmm2/glib/src/shell.hg deleted file mode 100644 index f81d7e5ed4..0000000000 --- a/libs/glibmm2/glib/src/shell.hg +++ /dev/null @@ -1,96 +0,0 @@ -/* $Id: shell.hg,v 1.2 2003/01/22 21:38:35 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include - -#include -#include - -#include -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -/** @defgroup ShellUtils Shell-related Utilities - * Shell-like command line handling. - * @{ - */ - -/** Exception class for shell utility errors. - */ -_WRAP_GERROR(ShellError, GShellError, G_SHELL_ERROR, NO_GTYPE) - - -/** Parses a command line into an argument vector, in much the same way the - * shell would, but without many of the expansions the shell would perform - * (variable expansion, globs, operators, filename expansion, etc.\ are not - * supported). The results are defined to be the same as those you would - * get from a UNIX98 /bin/sh, as long as the input contains none of the - * unsupported shell expansions. If the input does contain such expansions, - * they are passed through literally. - * @param command_line Command line to parse. - * @return Array of args (The generic ArrayHandle will be implicitly - * converted to any STL compatible container type). - * @throw Glib::ShellError - */ -Glib::ArrayHandle shell_parse_argv(const std::string& command_line); - -/** Quotes a string so that the shell (/bin/sh) will interpret the quoted - * string to mean @a unquoted_string. If you pass a filename to the shell, - * for example, you should first quote it with this function. The quoting - * style used is undefined (single or double quotes may be used). - * @param unquoted_string A literal string. - * @return A quoted string. - */ -std::string shell_quote(const std::string& unquoted_string); - -/** Unquotes a string as the shell (/bin/sh) would. Only handles quotes; if - * a string contains file globs, arithmetic operators, variables, backticks, - * redirections, or other special-to-the-shell features, the result will be - * different from the result a real shell would produce (the variables, - * backticks, etc. will be passed through literally instead of being expanded). - * This function is guaranteed to succeed if applied to the result of - * shell_quote(). If it fails, it throws a Glib::ShellError exception. The - * @a quoted_string need not actually contain quoted or escaped text; - * shell_unquote() simply goes through the string and unquotes/unescapes - * anything that the shell would. Both single and double quotes are handled, - * as are escapes including escaped newlines. - * - * Shell quoting rules are a bit strange. Single quotes preserve the literal - * string exactly. Escape sequences are not allowed; not even \\' -- - * if you want a ' in the quoted text, you have to do something like - * 'foo'\\''bar'. Double quotes allow $, `, - * ", \\, and newline to be escaped with backslash. - * Otherwise double quotes preserve things literally. - * - * @param quoted_string Shell-quoted string. - * @return An unquoted string. - * @throw Glib::ShellError - */ -std::string shell_unquote(const std::string& quoted_string); - -/** @} group ShellUtils */ - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/signalproxy.h.m4 b/libs/glibmm2/glib/src/signalproxy.h.m4 deleted file mode 100644 index bf3d55baf9..0000000000 --- a/libs/glibmm2/glib/src/signalproxy.h.m4 +++ /dev/null @@ -1,200 +0,0 @@ -// -*- c++ -*- -dnl -dnl Glib SignalProxy Templates -dnl -dnl Copyright 2001 Free Software Foundation -dnl Copyright 1999 Karl Nelson -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Library General Public -dnl License as published by the Free Software Foundation; either -dnl version 2 of the License, or (at your option) any later version. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Library General Public License for more details. -dnl -dnl You should have received a copy of the GNU Library General Public -dnl License along with this library; if not, write to the Free -dnl Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -dnl -dnl Ignore the next line -/* This is a generated file, do not edit. Generated from __file__ */ -include(template.macros.m4) -#ifndef __header__ -#define __header__ - -extern "C" -{ - typedef void (*GCallback) (void); - typedef struct _GObject GObject; -} - -#include -#include - - -namespace Glib -{ - -// Forward declarations -class ObjectBase; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -struct SignalProxyInfo -{ - const char* signal_name; - GCallback callback; - GCallback notify_callback; -}; - -#endif //DOXYGEN_SHOULD_SKIP_THIS - -// This base class is used by SignalProxyNormal and SignalProxyProperty. -class SignalProxyBase -{ -public: - SignalProxyBase(Glib::ObjectBase* obj); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static inline sigc::slot_base* data_to_slot(void* data) - { - SignalProxyConnectionNode *const pConnectionNode = static_cast(data); - - // Return 0 if the connection is blocked. - return (!pConnectionNode->slot_.blocked()) ? &pConnectionNode->slot_ : 0; - } -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -protected: - ObjectBase* obj_; - -private: - SignalProxyBase& operator=(const SignalProxyBase&); // not implemented -}; - - -// shared portion of a Signal -/** The SignalProxy provides an API similar to sigc::signal that can be used to - * connect sigc::slots to glib signals. - * - * This holds the name of the glib signal and the object - * which might emit it. Actually, proxies are controlled by - * the template derivatives, which serve as gatekeepers for the - * types allowed on a particular signal. - * - */ -class SignalProxyNormal : public SignalProxyBase -{ -public: - ~SignalProxyNormal(); - - /// stops the current signal emmision (not in libsigc++) - void emission_stop(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // This callback for SignalProxy0 - // is defined here to avoid code duplication. - static void slot0_void_callback(GObject*, void* data); -#endif - -protected: - - /** Create a proxy for a signal that can be emitted by @a obj. - * @param obj The object that can emit the signal. - * @param info Information about the signal, including its name, and the C callbacks that should be called by glib. - */ - SignalProxyNormal(Glib::ObjectBase* obj, const SignalProxyInfo* info); - - /** Connects a signal to a generic signal handler. This is called by connect() in derived SignalProxy classes. - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::slot_base& connect_(const sigc::slot_base& slot, bool after); - - /** Connects a signal to a signal handler without a return value. - * This is called by connect() in derived SignalProxy classes. - * - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::slot_base& connect_notify_(const sigc::slot_base& slot, bool after); - -private: - const SignalProxyInfo* info_; - - //TODO: We could maybe replace both connect_ and connect_notify_ with this in future, because they don't do anything extra. - /** This is called by connect_ and connect_impl_. - */ - sigc::slot_base& connect_impl_(GCallback callback, const sigc::slot_base& slot, bool after); - - // no copy assignment - SignalProxyNormal& operator=(const SignalProxyNormal&); -}; - - -dnl -dnl GLIB_SIGNAL_PROXY([P1, P2, ...],return type) -dnl -define([GLIB_SIGNAL_PROXY],[dnl -LINE(]__line__[)dnl - -/**** Glib::[SignalProxy]NUM($1) ***************************************************/ - -/** Proxy for signals with NUM($1) arguments. - * Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers. - */ -template -class [SignalProxy]NUM($1) : public SignalProxyNormal -{ -public: - typedef sigc::slot SlotType; - typedef sigc::slot VoidSlotType; - - [SignalProxy]NUM($1)(ObjectBase* obj, const SignalProxyInfo* info) - : SignalProxyNormal(obj, info) {} - - /** Connects a signal to a signal handler. - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect(const SlotType& slot, bool after = true) - { return sigc::connection(connect_(slot, after)); } - - /** Connects a signal to a signal handler without a return value. - * By default, the signal handler will be called before the default signal handler, - * in which case any return value would be replaced anyway by that of the later signal handler. - * - * For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) ); - * - * @param slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun(). - * @param after Whether this signal handler should be called before or after the default signal handler. - */ - sigc::connection connect_notify(const VoidSlotType& slot, bool after = false) - { return sigc::connection(connect_notify_(slot, after)); } -}; -])dnl - -dnl Template forms of SignalProxy - -GLIB_SIGNAL_PROXY(ARGS(P,0)) -GLIB_SIGNAL_PROXY(ARGS(P,1)) -GLIB_SIGNAL_PROXY(ARGS(P,2)) -GLIB_SIGNAL_PROXY(ARGS(P,3)) -GLIB_SIGNAL_PROXY(ARGS(P,4)) -GLIB_SIGNAL_PROXY(ARGS(P,5)) -GLIB_SIGNAL_PROXY(ARGS(P,6)) - -} // namespace Glib - - -#endif /* __header__ */ - diff --git a/libs/glibmm2/glib/src/spawn.ccg b/libs/glibmm2/glib/src/spawn.ccg deleted file mode 100644 index bce50ed7ad..0000000000 --- a/libs/glibmm2/glib/src/spawn.ccg +++ /dev/null @@ -1,283 +0,0 @@ -// -*- c++ -*- -/* $Id: spawn.ccg,v 1.8 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - - -namespace -{ - -extern "C" -{ - -/* Helper callback to invoke the actual sigc++ slot. - * We don't need to worry about (un)referencing, since the - * child process gets its own copy of the parent's memory anyway. - */ -static void child_setup_callback(void* user_data) -{ - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - (*reinterpret_cast*>(user_data))(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED -} - -static void copy_output_buf(std::string* dest, const char* buf) -{ - if(dest) - { - if(buf) - *dest = buf; - else - dest->erase(); - } -} - -} //extern "C" - -} //anonymous namespace - - -namespace Glib -{ - -/**** process spawning functions *******************************************/ - -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid, - int* standard_input, - int* standard_output, - int* standard_error) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async_with_pipes( - working_directory.c_str(), - const_cast(argv.data()), - const_cast(envp.data()), - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - standard_input, standard_output, standard_error, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid, - int* standard_input, - int* standard_output, - int* standard_error) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async_with_pipes( - working_directory.c_str(), - const_cast(argv.data()), 0, - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - standard_input, standard_output, standard_error, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async( - working_directory.c_str(), - const_cast(argv.data()), - const_cast(envp.data()), - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags, - const sigc::slot& child_setup, - Pid* child_pid) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - GError* error = 0; - - g_spawn_async( - working_directory.c_str(), - const_cast(argv.data()), 0, - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - child_pid, - &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags, - const sigc::slot& child_setup, - std::string* standard_output, - std::string* standard_error, - int* exit_status) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - - Glib::ScopedPtr buf_standard_output; - Glib::ScopedPtr buf_standard_error; - GError* error = 0; - - g_spawn_sync( - working_directory.c_str(), - const_cast(argv.data()), - const_cast(envp.data()), - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - (standard_output) ? buf_standard_output.addr() : 0, - (standard_error) ? buf_standard_error.addr() : 0, - exit_status, - &error); - - if(error) - Glib::Error::throw_exception(error); - - copy_output_buf(standard_output, buf_standard_output.get()); - copy_output_buf(standard_error, buf_standard_error.get()); -} - -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags, - const sigc::slot& child_setup, - std::string* standard_output, - std::string* standard_error, - int* exit_status) -{ - const bool setup_slot = !child_setup.empty(); - sigc::slot child_setup_ = child_setup; - - Glib::ScopedPtr buf_standard_output; - Glib::ScopedPtr buf_standard_error; - GError* error = 0; - - g_spawn_sync( - working_directory.c_str(), - const_cast(argv.data()), 0, - static_cast(unsigned(flags)), - (setup_slot) ? &child_setup_callback : 0, - (setup_slot) ? &child_setup_ : 0, - (standard_output) ? buf_standard_output.addr() : 0, - (standard_error) ? buf_standard_error.addr() : 0, - exit_status, - &error); - - if(error) - Glib::Error::throw_exception(error); - - copy_output_buf(standard_output, buf_standard_output.get()); - copy_output_buf(standard_error, buf_standard_error.get()); -} - -void spawn_command_line_async(const std::string& command_line) -{ - GError* error = 0; - g_spawn_command_line_async(command_line.c_str(), &error); - - if(error) - Glib::Error::throw_exception(error); -} - -void spawn_command_line_sync(const std::string& command_line, - std::string* standard_output, - std::string* standard_error, - int* exit_status) -{ - Glib::ScopedPtr buf_standard_output; - Glib::ScopedPtr buf_standard_error; - GError* error = 0; - - g_spawn_command_line_sync( - command_line.c_str(), - (standard_output) ? buf_standard_output.addr() : 0, - (standard_error) ? buf_standard_error.addr() : 0, - exit_status, - &error); - - if(error) - Glib::Error::throw_exception(error); - - copy_output_buf(standard_output, buf_standard_output.get()); - copy_output_buf(standard_error, buf_standard_error.get()); -} - -void spawn_close_pid(Pid pid) -{ - g_spawn_close_pid(pid); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/spawn.hg b/libs/glibmm2/glib/src/spawn.hg deleted file mode 100644 index 40adfa602f..0000000000 --- a/libs/glibmm2/glib/src/spawn.hg +++ /dev/null @@ -1,414 +0,0 @@ -/* $Id: spawn.hg,v 1.4 2004/03/02 23:29:57 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include -#include -#include - -#include -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -typedef GPid Pid; - -_WRAP_ENUM(SpawnFlags, GSpawnFlags, NO_GTYPE) - -/** @defgroup Spawn Spawning Processes - * Process launching with fork()/exec(). - * @{ - */ - -/** Exception class for errors occuring when spawning processes. - */ -_WRAP_GERROR(SpawnError, GSpawnError, G_SPAWN_ERROR, NO_GTYPE, s#^2BIG$#TOOBIG#) - -/** Executes a child program asynchronously (your program will not - * block waiting for the child to exit). The child program is - * specified by the only argument that must be provided, @a argv. - * The first string in @a argv is of - * course the name of the program to execute. By default, the name of - * the program must be a full path; the PATH shell variable - * will only be searched if you pass the SPAWN_SEARCH_PATH flag. - * - * On Windows, note that all the string or string vector arguments to - * this function and the other spawn*() functions are in UTF-8, the - * GLib file name encoding. Unicode characters that are not part of - * the system codepage passed in these arguments will be correctly - * available in the spawned program only if it uses wide character API - * to retrieve its command line. For C programs built with Microsoft's - * tools it is enough to make the program have a wmain() instead of - * main(). wmain() has a wide character argument vector as parameter. - * - * At least currently, mingw doesn't support wmain(), so if you use - * mingw to develop the spawned program, it will have to call the - * undocumented function __wgetmainargs() to get the wide character - * argument vector and environment. See gspawn-win32-helper.c in the - * GLib sources or init.c in the mingw runtime sources for a prototype - * for that function. Alternatively, you can retrieve the Win32 system - * level wide character command line passed to the spawned program - * using the GetCommandLineW() function. - * - * On Windows the low-level child process creation API - * CreateProcess() doesn't use argument vectors, - * but a command line. The C runtime library's - * spawn*() family of functions (which - * spawn_async_with_pipes() eventually calls) paste the argument - * vector elements together into a command line, and the C runtime startup code - * does a corresponding reconstruction of an argument vector from the - * command line, to be passed to main(). Complications arise when you have - * argument vector elements that contain spaces of double quotes. The - * spawn*() functions don't do any quoting or - * escaping, but on the other hand the startup code does do unquoting - * and unescaping in order to enable receiving arguments with embedded - * spaces or double quotes. To work around this asymmetry, - * spawn_async_with_pipes() will do quoting and escaping on argument - * vector elements that need it before calling the C runtime - * spawn() function. - * - * @a envp is a lists of strings, where each string - * has the form KEY=VALUE. This will become - * the child's environment. - * - * @a flags should be the bitwise OR of any flags you want to affect the - * function's behaviour. The SPAWN_DO_NOT_REAP_CHILD flags means that - * the child will not automatically be reaped; you must use a - * ChildWatch source to be notified about the death of the child - * process. Eventually you must call spawn_close_pid() on the - * @a child_pid, in order to free resources which may be associated - * with the child process. (On Unix, using a ChildWatch source is - * equivalent to calling waitpid() or handling the SIGCHLD signal - * manually. On Windows, calling spawn_close_pid() is equivalent - * to calling CloseHandle() on the process handle returned in - * @a child_pid). - * - * PAWN_LEAVE_DESCRIPTORS_OPEN means that the parent's open file - * descriptors will be inherited by the child; otherwise all - * descriptors except stdin/stdout/stderr will be closed before - * calling exec() in the child. SPAWN_SEARCH_PATH - * means that argv[0] need not be an absolute path, it - * will be looked for in the user's PATH. - * SPAWN_STDOUT_TO_DEV_NULL means that the child's standard output will - * be discarded, instead of going to the same location as the parent's - * standard output. If you use this flag, @a standard_output must be NULL. - * SPAWN_STDERR_TO_DEV_NULL means that the child's standard error - * will be discarded, instead of going to the same location as the parent's - * standard error. If you use this flag, @a standard_error must be NULL. - * SPAWN_CHILD_INHERITS_STDIN means that the child will inherit the parent's - * standard input (by default, the child's standard input is attached to - * /dev/null). If you use this flag, @a standard_input must be NULL. - * G_SPAWN_FILE_AND_ARGV_ZERO means that the first element of @a argv is - * the file to execute, while the remaining elements are the - * actual argument vector to pass to the file. Normally - * spawn_async_with_pipes() uses argv[0] as the file to execute, and - * passes all of @a argv to the child. - * - * @a child_setup is a callback slot. On POSIX - * platforms, the function is called in the child after GLib has - * performed all the setup it plans to perform (including creating - * pipes, closing file descriptors, etc.) but before calling - * exec(). That is, @a child_setup is called just - * before calling exec() in the child. Obviously - * actions taken in this function will only affect the child, not the - * parent. On Windows, there is no separate fork() and exec() - * functionality. Child processes are created and run with - * a single API call, CreateProcess(). @a child_setup is - * called in the parent process just before creating the child - * process. You should carefully consider what you do in @a child_setup - * if you intend your software to be portable to Windows. - * - * If non-NULL, @a child_pid will on Unix be filled with the child's - * process ID. You can use the process ID to send signals to the - * child, or to use child_watch_add() (or waitpid()) if you specified the - * SPAWN_DO_NOT_REAP_CHILD flag. On Windows, @a child_pid will be - * filled with a handle to the child process only if you specified the - * SPAWN_DO_NOT_REAP_CHILD flag. You can then access the child - * process using the Win32 API, for example wait for its termination - * with the WaitFor*() functions, or examine its - * exit code with GetExitCodeProcess(). You should close the handle - * with CloseHandle() or spawn_close_pid() when you no longer need it. - * - * If non-NULL, the @a standard_input, @a standard_output, @a standard_error - * locations will be filled with file descriptors for writing to the child's - * standard input or reading from its standard output or standard error. - * The caller of pawn_async_with_pipes() must close these file descriptors - * when they are no longer in use. If these parameters are NULL, the corresponding - * pipe won't be created. - * - * If @a standard_input is NULL, the child's standard input is attached to - * /dev/null unless SPAWN_CHILD_INHERITS_STDIN is set. - * - * If @a standard_error is NULL, the child's standard error goes to the same - * location as the parent's standard error unless SPAWN_STDERR_TO_DEV_NULL - * is set. - * - * If @a standard_output is NULL, the child's standard output goes to the same - * location as the parent's standard output unless SPAWN_STDOUT_TO_DEV_NULL - * is set. - * - * If @a child_pid is not NULL and an error does not occur then the returned - * pid must be closed using spawn_close_pid(). - * - * @note - * If you are writing a gtkmm application, and the program you - * are spawning is a graphical application, too, then you may - * want to use spawn_on_screen_with_pipes() instead to ensure that - * the spawned program opens its windows on the right screen. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param envp Child's environment. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL. - * @param standard_input Return location for file descriptor to write to child's stdin, or NULL. - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0, - int* standard_input = 0, - int* standard_output = 0, - int* standard_error = 0); - -/** Like the main spawn_async_with_pipes() method, but inheriting the parent's environment. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL. - * @param standard_input Return location for file descriptor to write to child's stdin, or NULL. - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ - -void spawn_async_with_pipes(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0, - int* standard_input = 0, - int* standard_output = 0, - int* standard_error = 0); - -/** See pawn_async_with_pipes() for a full description. This function - * simply calls the spawn_async_with_pipes() without any pipes. - * - * @note - * If you are writing a GTK+ application, and the program you - * are spawning is a graphical application, too, then you may - * want to use gdk_spawn_on_screen() instead to ensure that - * the spawned program opens its windows on the right screen. - * - * @param working_directory Child's current working directory, or an empty string to inherit parent's. - * @param argv Child's argument vector. - * @param env Child's environment. - * @param flags Flags from SpawnFlags. - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - */ -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0); - -/** Like the main spawn_async() method, but inheriting the parent's environment. - * - * @param working_directory Child's current working directory, or an empty string to inherit parent's. - * @param argv Child's argument vector. - * @param env Child's environment. - * @param flags Flags from SpawnFlags. - * @param child_setup Slot to run in the child just before exec(). - * @param child_pid Return location for child process ID, or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - */ -void spawn_async(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - Pid* child_pid = 0); - -/** Executes a child synchronously (waits for the child to exit before returning). - * All output from the child is stored in @a standard_output and @a standard_error, - * if those parameters are non-NULL. Note that you must set the - * SPAWN_STDOUT_TO_DEV_NULL and SPAWN_STDERR_TO_DEV_NULL flags when - * passing NULL for @a standard_output and @a standard_error. - * If @a exit_status is non-NULL, the exit status of the child is stored - * there as it would be returned by waitpid(); standard UNIX macros such - * as WIFEXITED() and WEXITSTATUS() must be used to evaluate the exit status. - * Note that this function calls waitpid() even if @a exit_status is NULL, and - * does not accept the SPAWN_DO_NOT_REAP_CHILD flag. - * If an error occurs, no data is returned in @a standard_output, - * @a standard_error, or @a exit_status. - * - * This function calls spawn_async_with_pipes() internally; see that - * function for full details on the other parameters and details on - * how these functions work on Windows. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param envp Child's environment. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * @param exit_status Return location for child exit status, as returned by waitpid(), or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - const Glib::ArrayHandle& envp, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - std::string* standard_output = 0, - std::string* standard_error = 0, - int* exit_status = 0); - -/** Like the main spawn_sync() method, but inheriting the parent's environment. - * - * @param working_directory Child's current working directory, or an empty string to inherit the parent's, in the GLib file name encoding. - * @param argv Child's argument vector. - * @param flags Flags from SpawnFlags - * @param child_setup Slot to run in the child just before exec(). - * @param standard_output Return location for file descriptor to read child's stdout, or NULL. - * @param standard_error Return location for file descriptor to read child's stderr, or NULL. - * @param exit_status Return location for child exit status, as returned by waitpid(), or NULL - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. If an error occurs, @a child_pid, @a standard_input, @a standard_output, - * and @a standard_error will not be filled with valid values. - */ -void spawn_sync(const std::string& working_directory, - const Glib::ArrayHandle& argv, - SpawnFlags flags = SpawnFlags(0), - const sigc::slot& child_setup = sigc::slot(), - std::string* standard_output = 0, - std::string* standard_error = 0, - int* exit_status = 0); - -/** A simple version of spawn_async() that parses a command line with - * shell_parse_argv() and passes it to spawn_async(). It runs a - * command line in the background. Unlike spawn_async(), the - * SPAWN_SEARCH_PATH flag is enabled, other flags are not. Note - * that SPAWN_SEARCH_PATH can have security implications, so - * consider using spawn_async() directly if appropriate. - * - * The same concerns on Windows apply as for spawn_command_line_sync(). - * - * @param command_line A command line. - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - * @throws ShellError If the command line could not be parsed. - */ -void spawn_command_line_async(const std::string& command_line); - -/** A simple version of spawn_sync() with little-used parameters - * removed, taking a command line instead of an argument vector. See - * spawn_sync() for full details. @a command_line will be parsed by - * shell_parse_argv(). Unlike spawn_sync(), the SPAWN_SEARCH_PATH flag - * is enabled. Note that SPAWN_SEARCH_PATH can have security - * implications, so consider using spawn_sync() directly if - * appropriate. - * - * If @a exit_status is non-NULL, the exit status of the child is stored there as - * it would be returned by waitpid(); standard UNIX macros such as WIFEXITED() - * and WEXITSTATUS() must be used to evaluate the exit status. - * - * On Windows, please note the implications of shell_parse_argv() - * parsing @a command_line. Parsing is done according to Unix shell rules, not - * Windows command interpreter rules. - * Space is a separator, and backslashes are - * special. Thus you cannot simply pass a @a command_line containing - * canonical Windows paths, like "c:\\program files\\app\\app.exe", as - * the backslashes will be eaten, and the space will act as a - * separator. You need to enclose such paths with single quotes, like - * "'c:\\program files\\app\\app.exe' 'e:\\folder\\argument.txt'". - * - * @param command_line A command line. - * @param standard_output Return location for child output. - * @param standard_error Return location for child errors. - * @param exit_status Return location for child exit status, as returned by waitpid(). - * - * @throws SpawnError Errors are reported even if they occur in the child (for example if the - * executable in argv[0] is not found). Typically - * the message field of returned errors should be displayed - * to users. - * @throws ShellError If the command line could not be parsed. - */ -void spawn_command_line_sync(const std::string& command_line, - std::string* standard_output = 0, - std::string* standard_error = 0, - int* exit_status = 0); - -/** On some platforms, notably WIN32, the Pid type represents a resource - * which must be closed to prevent resource leaking. close_pid() - * is provided for this purpose. It should be used on all platforms, even - * though it doesn't do anything under UNIX. - * - * @param pid The process identifier to close. - */ -void spawn_close_pid(Pid pid); - -/** @} group Spawn */ - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/template.macros.m4 b/libs/glibmm2/glib/src/template.macros.m4 deleted file mode 100644 index 38e7927bfc..0000000000 --- a/libs/glibmm2/glib/src/template.macros.m4 +++ /dev/null @@ -1,229 +0,0 @@ -dnl----------------------------------------------------------------------- -dnl -dnl Karls M4 macros for the signal system used by gtk-- -dnl -dnl Copyright (C) 1998-2002 The gtkmm Development Team -dnl -dnl Currently maintained by Tero Pulkkinen. -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Library General Public -dnl License as published by the Free Software Foundation; either -dnl version 2 of the License, or (at your option) any later version. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Library General Public License for more details. -dnl -dnl You should have received a copy of the GNU Library General Public -dnl License along with this library; if not, write to the Free -dnl Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -dnl -dnl----------------------------------------------------------------------- -dnl Recursion prevention. (Don't attempt to understand why this works!) -changequote(, )dnl -changequote([, ])dnl -pushdef([DIVERSION],divnum)dnl -divert(-1)dnl - -ifdef([__template_macros__],[],[ -define(__template_macros__) -dnl----------------------------------------------------------------------- - - -dnl -dnl M4 macros for general sanity -dnl - -dnl M4 Quotas are hard to work with, so use braces like autoconf -dnl (which are matched by vi, emacs) -changequote(, ) -changequote([, ]) - -dnl -dnl M4 comments conflict with compiler directives -changecom(, ) - -dnl BRACE(text) => [text] -dnl When we want something to appear with braces -define([BRACE],[[[$*]]]) - -dnl -dnl PROT(macro) -dnl If a macro generates an output with commas we need to protect it -dnl from being broken down and interpreted -define([PROT],[[$*]]) - -dnl -dnl LOWER(string) -dnl lowercase a string -define([LOWER],[translit([$*],[ABCDEFGHIJKLMNOPQRSTUVWXYZ],[abcdefghijklmnopqrstuvwxyz])]) - -dnl -dnl UPPER(string) -dnl uppercase a string -define([UPPER],[translit([$*],[abcdefghijklmnopqrstuvwxyz],[ABCDEFGHIJKLMNOPQRSTUVWXYZ])]) -define([UPPER_SAFE],[translit([$*],[abcdefghijklmnopqrstuvwxyz.-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ__])]) - -dnl -dnl BASENAME(string) -dnl extract the basename of a string -define([BASENAME],[patsubst([$*],[^.*/],[])]) - -dnl -dnl M4NAME(string) -dnl extract the basename of a string -define([M4NAME],[patsubst(BASENAME([$*]),[\.m4$],[])]) - -dnl NUM(arg,arg,...) -dnl M4 defines $# very badly (empty list=1). So we need a better one -define([NUM],[ifelse(len([$*]),0,0,[$#])]) - -dnl -dnl IF(cond,string1,string2) -dnl places string1 if length (without spaces) of cond is zero, -dnl else string2 -define([IF],[ifelse(len(PROT(translit([$1],[ ]))),0,[$3],[$2])]) -dnl define([IF],[ifelse(len(PROT(patsubst([$1],[ ]))),0,[$3],[$2])]) - -dnl -dnl minclude(filename) -dnl This includes only the macros from a file but throws away the output. -dnl Used to take the macros from a file without getting it extra output. -define([minclude],[IF([$1],[dnl -pushdef([CURRENT_DIVERSION],divnum)dnl -divert(-1) -include($1) -divert(CURRENT_DIVERSION)dnl -popdef([CURRENT_DIVERSION])dnl],[[minclude]])]) - -dnl -dnl makes the current filename into a string approprate for use as -dnl C identified define. (Defaults to this library name) -dnl -dnl example: (filename test.hh.m4) -dnl __header__ => SIGCXX_TEST_H -dnl __header__(MYHEAD) => MYHEAD_TEST_H -dnl define([__header__],[ifelse($1,,[SIGCXX],UPPER($1))[_]UPPER(patsubst(translit(BASENAME(__file__),[.-],[__]),[_m4],[]))]) -define([__header__],[ifelse($1,,[_GLIBMM],UPPER($1))[_]UPPER_SAFE(M4NAME(__file__))]) - -dnl -dnl Set of M4 macros for variable argument template building -dnl - -dnl ARGS(name,number) -dnl Builds a comma seperated protected list of numbered names -dnl Use this as short hand to specify arguement names -dnl -dnl ARGS(arg,3) => ARG1,ARG2,ARG3 -define([_ARGS],[ifelse(eval($2<$3),0,[$1$2],[$1$2,_ARGS($1,eval($2+1),$3)])]) -define([ARGS],[ifelse(eval($2>0),1,[PROT(_ARGS(UPPER([$1]),1,$2))],[PROT])]) - -dnl -dnl LIST(string1,string2,...) -dnl These are intended for making extended argument lists -dnl parameters are in pairs, the first is output if the -dnl 2nd is nonzero length, the process is then repeated -dnl with the next set of arguments. -dnl -dnl Macro expansions that expand to result in commas must call -dnl PROT to prevent permature expansion. ARG* macros do -dnl this automatically. (If unsure, add braces until it stops -dnl interpreting inter macros, remove one set of braces, if -dnl still not right use PROT) -dnl -dnl (LIST is probably the most useful macro in the set.) -define([LIST],[ifelse($#,0,,$#,1,[$1],[$1],,[LIST(shift($@))],[__LIST($@)])]) -define([__LIST],[ifelse($#,0,,$#,1,[$1],[$1[]ifelse([$2],,,[[,]])__LIST(shift($@))])]) - -dnl -dnl ARG_LOOP(macro_name,seperator,argument_list) -dnl Very powerful macro for construction of list of variables -dnl formated in specify ways. To use define a macro taking -dnl one variable which is called the format. The second argument -dnl is a seperator which will appear between each argument. -dnl The rest is then interpreted as arguments to form the list. -dnl -dnl Example: -dnl define([FOO],[foo([$1])]) -dnl ARG_LOOP([FOO],[[, ]],A,B,C) -dnl -dnl Gives: foo(A), foo(B), foo(C) -dnl -define([_ARG_LOOP],[dnl -ifelse(NUM($*),0,,NUM($*),1,[dnl -indir(LOOP_FORMAT,[$1])],[dnl -indir(LOOP_FORMAT,[$1])[]LOOP_SEPERATOR[]_ARG_LOOP(shift($*))])]) - -define([ARG_LOOP],[dnl -pushdef([LOOP_FORMAT],[[$1]])dnl -pushdef([LOOP_SEPERATOR],[$2])dnl -_ARG_LOOP(shift(shift($*)))[]dnl -popdef([LOOP_FORMAT])dnl -popdef([LOOP_SEPERATOR])dnl -]) - - -dnl -dnl Define some useful formats for use with ARG_LOOP. -define([FORMAT_ARG_CLASS],[class [$1]]) -define([FORMAT_ARG_BOTH],[[$1] LOWER([$1])]) -define([FORMAT_ARG_REF],[Type<[$1]>::ref LOWER([$1])]) -define([FORMAT_ARG_TYPE],[[$1]]) -define([FORMAT_ARG_NAME],[LOWER($1)]) -define([FORMAT_ARG_CBNAME],[LOWER($1)_]) -define([FORMAT_ARG_CBDECL],[[$1] LOWER([$1])_;]) -define([FORMAT_ARG_CBINIT],[LOWER([$1])_(LOWER([$1]))]) - - -dnl -dnl The following functions generate various types of parameter lists -dnl For parameter lists -dnl ARG_CLASS([P1,P2]) -> class P1,class P2 -dnl ARG_BOTH([P1,P2]) -> P1 p1,P2 p2 -dnl ARG_TYPE([P1,P2]) -> P1,P2 -dnl ARG_NAME([P1,P2]) -> p1,p2 -dnl For callback lists -dnl ARG_CBNAME([C1,C2]) -> c1_,c2_ -dnl ARG_CBINIT([C1,C2]) -> c1_(c1),c2_(c2) -dnl ARG_CBDECL([C1,C2]) -> C1 c1_; C2 c2_; -dnl -define([ARG_CLASS],[PROT(ARG_LOOP([FORMAT_ARG_CLASS],[[,]],$*))]) -define([ARG_BOTH],[PROT(ARG_LOOP([FORMAT_ARG_BOTH],[[,]],$*))]) -define([ARG_REF],[PROT(ARG_LOOP([FORMAT_ARG_REF],[[,]],$*))]) -define([ARG_TYPE],[PROT([$*])]) -define([ARG_NAME],[PROT(LOWER($*))]) -define([ARG_CBNAME],[PROT(ARG_LOOP([FORMAT_ARG_CBNAME],[[,]],$*))]) -define([ARG_CBDECL],[PROT(ARG_LOOP([FORMAT_ARG_CBDECL],[ ],$*))]) -define([ARG_CBINIT],[PROT(ARG_LOOP([FORMAT_ARG_CBINIT],[[,]],$*))]) - - -dnl -dnl T_DROP(string) -dnl Removes unnecessary <> with empty templates -dnl (occasionally useful) -define([T_DROP],[ifelse([$1],<>,,[$*])]) - -dnl -dnl DROP(string,drop) -dnl Removes unnecessary strings if they match drop -dnl (occasionally useful) -define([DROP],[ifelse([$1],[$2],,[$*])]) - -dnl -dnl LINE(linenum) -dnl places a #line statement if __debug__ set -dnl Use this at top of macro template and following -dnl macros that contain newlines. -dnl -dnl example: -dnl LINE(]__line__[)dnl -define([LINE],[ifdef([__debug__],[#line $1 "]__file__[" -])]) - -dnl----------------------------------------------------------------------- -dnl End of recursion protection. Do not put anything below this line. -]) -divert(DIVERSION)dnl -popdef([DIVERSION])dnl diff --git a/libs/glibmm2/glib/src/thread.ccg b/libs/glibmm2/glib/src/thread.ccg deleted file mode 100644 index 5e3ff52d0d..0000000000 --- a/libs/glibmm2/glib/src/thread.ccg +++ /dev/null @@ -1,371 +0,0 @@ -// -*- c++ -*- -/* $Id: thread.ccg,v 1.9 2006/05/12 08:08:44 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - - -namespace -{ - -extern "C" -{ - -static void* call_thread_entry_slot(void* data) -{ - sigc::slot_base *const slot = reinterpret_cast(data); - - #ifdef GLIBMM_EXCEPTIONS_ENABLED - try - { - #endif //GLIBMM_EXCEPTIONS_ENABLED - // Recreate the specific slot, and drop the reference obtained by create(). - (*static_cast*>(slot))(); - #ifdef GLIBMM_EXCEPTIONS_ENABLED - } - catch(Glib::Thread::Exit&) - { - // Just exit from the thread. The Thread::Exit exception - // is our sane C++ replacement of g_thread_exit(). - } - catch(...) - { - Glib::exception_handlers_invoke(); - } - #endif //GLIBMM_EXCEPTIONS_ENABLED - - delete slot; - return 0; -} - -} //extern "C" - -} // anonymous namespace - - -namespace Glib -{ - -// internal -void thread_init_impl() -{ - // Make sure the exception map is initialized before creating any thread. - Glib::Error::register_init(); -} - - -/**** Glib::Thread *********************************************************/ - -// static -Thread* Thread::create(const sigc::slot& slot, bool joinable) -{ - // Make a copy of slot on the heap - sigc::slot_base *const slot_copy = new sigc::slot(slot); - - GError* error = 0; - - GThread *const thread = g_thread_create( - &call_thread_entry_slot, slot_copy, joinable, &error); - - if(error) - { - delete slot_copy; - Glib::Error::throw_exception(error); - } - - return reinterpret_cast(thread); -} - -// static -Thread* Thread::create(const sigc::slot& slot, unsigned long stack_size, - bool joinable, bool bound, ThreadPriority priority) -{ - // Make a copy of slot on the heap - sigc::slot_base *const slot_copy = new sigc::slot(slot); - - GError* error = 0; - - GThread *const thread = g_thread_create_full( - &call_thread_entry_slot, slot_copy, stack_size, joinable, - bound, (GThreadPriority) priority, &error); - - if(error) - { - delete slot_copy; - Glib::Error::throw_exception(error); - } - - return reinterpret_cast(thread); -} - -// static -Thread* Thread::self() -{ - return reinterpret_cast(g_thread_self()); -} - -bool Thread::joinable() const -{ - return gobject_.joinable; -} - -void Thread::join() -{ - g_thread_join(&gobject_); -} - -void Thread::set_priority(ThreadPriority priority) -{ - g_thread_set_priority(&gobject_, (GThreadPriority) priority); -} - -ThreadPriority Thread::get_priority() const -{ - return (ThreadPriority) gobject_.priority; -} - -// static -void Thread::yield() -{ - g_thread_yield(); -} - -Thread* wrap(GThread* gobject) -{ - return reinterpret_cast(gobject); -} - - -/**** Glib::StaticMutex ****************************************************/ - -void StaticMutex::lock() -{ - g_static_mutex_lock(&gobject_); -} - -bool StaticMutex::trylock() -{ - return g_static_mutex_trylock(&gobject_); -} - -void StaticMutex::unlock() -{ - g_static_mutex_unlock(&gobject_); -} - -StaticMutex::operator Mutex&() -{ - // If GStaticMutex is implemented as struct (e.g. on Linux), its first struct - // member (runtime_mutex) is a GMutex pointer. If the gthread implementation - // is native (i.e. the vtable pointer passed to g_thread_init() was 0), then - // the runtime_mutex pointer is unused, and the rest of the GStaticMutex - // struct resembles the mutex data. - // - // On Win32, GStaticMutex is just a typedef to struct _GMutex*. Either way, - // the first sizeof(GMutex*) bytes of GStaticMutex always resemble a GMutex - // pointer. The gthread implementation relies on that, and we'll also do so. - - GMutex*& runtime_mutex = reinterpret_cast(gobject_); - - // Fortunately, it cannot hurt if we set this to the GMutex pointer returned - // by g_static_mutex_get_mutex(). Either we just overwrite it with the same - // value, or it was unused anyway. Doing that allows casting the pointer - // location to a Glib::Mutex reference (its only data member is a GMutex*). - - runtime_mutex = g_static_mutex_get_mutex(&gobject_); - - return reinterpret_cast(runtime_mutex); -} - - -/**** Glib::Mutex **********************************************************/ - -Mutex::Mutex() -: - gobject_ (g_mutex_new()) -{} - -Mutex::~Mutex() -{ - g_mutex_free(gobject_); -} - -void Mutex::lock() -{ - g_mutex_lock(gobject_); -} - -bool Mutex::trylock() -{ - return g_mutex_trylock(gobject_); -} - -void Mutex::unlock() -{ - g_mutex_unlock(gobject_); -} - - -/**** Glib::StaticRecMutex *************************************************/ - -void StaticRecMutex::lock() -{ - g_static_rec_mutex_lock(&gobject_); -} - -bool StaticRecMutex::trylock() -{ - return g_static_rec_mutex_trylock(&gobject_); -} - -void StaticRecMutex::unlock() -{ - g_static_rec_mutex_unlock(&gobject_); -} - -void StaticRecMutex::lock_full(unsigned int depth) -{ - g_static_rec_mutex_lock_full(&gobject_, depth); -} - -unsigned int StaticRecMutex::unlock_full() -{ - return g_static_rec_mutex_unlock_full(&gobject_); -} - -StaticRecMutex::operator RecMutex&() -{ - return static_cast(*this); -} - - -/**** Glib::RecMutex *******************************************************/ - -RecMutex::RecMutex() -{ - g_static_rec_mutex_init(&gobject_); - - // GLib doesn't have GRecMutex, only GStaticRecMutex. Force initialization - // of the mutex now, to mimic the behaviour of a (hypothetical) GRecMutex. - g_static_mutex_get_mutex(&gobject_.mutex); -} - -RecMutex::~RecMutex() -{ - g_static_rec_mutex_free(&gobject_); -} - - -/**** Glib::StaticRWLock ***************************************************/ - -void StaticRWLock::reader_lock() -{ - g_static_rw_lock_reader_lock(&gobject_); -} - -bool StaticRWLock::reader_trylock() -{ - return g_static_rw_lock_reader_trylock(&gobject_); -} - -void StaticRWLock::reader_unlock() -{ - g_static_rw_lock_reader_unlock(&gobject_); -} - -void StaticRWLock::writer_lock() -{ - g_static_rw_lock_writer_lock(&gobject_); -} - -bool StaticRWLock::writer_trylock() -{ - return g_static_rw_lock_writer_trylock(&gobject_); -} - -void StaticRWLock::writer_unlock() -{ - g_static_rw_lock_writer_unlock(&gobject_); -} - -StaticRWLock::operator RWLock&() -{ - return static_cast(*this); -} - - -/**** Glib::RWLock *********************************************************/ - -RWLock::RWLock() -{ - g_static_rw_lock_init(&gobject_); - - // GLib doesn't have GRWLock, only GStaticRWLock. Force initialization - // of the mutex and the condition variables now, to mimic the behaviour - // of a (hypothetical) GRWLock. - - if(g_static_mutex_get_mutex(&gobject_.mutex)) - { - gobject_.read_cond = g_cond_new(); - gobject_.write_cond = g_cond_new(); - } -} - -RWLock::~RWLock() -{ - g_static_rw_lock_free(&gobject_); -} - - -/**** Glib::Cond ***********************************************************/ - -Cond::Cond() -: - gobject_ (g_cond_new()) -{} - -Cond::~Cond() -{ - g_cond_free(gobject_); -} - -void Cond::signal() -{ - g_cond_signal(gobject_); -} - -void Cond::broadcast() -{ - g_cond_broadcast(gobject_); -} - -void Cond::wait(Mutex& mutex) -{ - g_cond_wait(gobject_, mutex.gobj()); -} - -bool Cond::timed_wait(Mutex& mutex, const Glib::TimeVal& abs_time) -{ - return g_cond_timed_wait(gobject_, mutex.gobj(), const_cast(&abs_time)); -} - - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/thread.hg b/libs/glibmm2/glib/src/thread.hg deleted file mode 100644 index 5e689a64f2..0000000000 --- a/libs/glibmm2/glib/src/thread.hg +++ /dev/null @@ -1,1057 +0,0 @@ -/* $Id: thread.hg,v 1.13 2005/01/21 12:48:05 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include - -#include -#include -#include - -/* Shadow THREAD_PRIORITY_NORMAL macro (from winbase.h). - */ -#if defined(THREAD_PRIORITY_NORMAL) && !defined(GLIBMM_MACRO_SHADOW_THREAD_PRIORITY_NORMAL) -enum { GLIBMM_MACRO_DEFINITION_THREAD_PRIORITY_NORMAL = THREAD_PRIORITY_NORMAL }; -#undef THREAD_PRIORITY_NORMAL -enum { THREAD_PRIORITY_NORMAL = GLIBMM_MACRO_DEFINITION_THREAD_PRIORITY_NORMAL }; -#define THREAD_PRIORITY_NORMAL THREAD_PRIORITY_NORMAL -#define GLIBMM_MACRO_SHADOW_THREAD_PRIORITY_NORMAL 1 -#endif - - -/** Initializer macro for Glib::StaticMutex. - * @relates Glib::StaticMutex - * @hideinitializer - */ -#define GLIBMM_STATIC_MUTEX_INIT { G_STATIC_MUTEX_INIT } - -/** Initializer macro for Glib::StaticRecMutex. - * @relates Glib::StaticRecMutex - * @hideinitializer - */ -#define GLIBMM_STATIC_REC_MUTEX_INIT { G_STATIC_REC_MUTEX_INIT } - -/** Initializer macro for Glib::StaticRWLock. - * @relates Glib::StaticRWLock - * @hideinitializer - */ -#define GLIBMM_STATIC_RW_LOCK_INIT { G_STATIC_RW_LOCK_INIT } - -/** Initializer macro for Glib::StaticPrivate. - * @relates Glib::StaticPrivate - * @hideinitializer - */ -#define GLIBMM_STATIC_PRIVATE_INIT { G_STATIC_PRIVATE_INIT } - - -namespace Glib -{ - -/** Specifies the priority of a thread. - * @note It is not guaranteed, that threads with different priorities really - * behave accordingly. On some systems (e.g. Linux) only root can - * increase priorities. On other systems (e.g. Solaris) there doesn't seem to - * be different scheduling for different priorities. All in all try to avoid - * being dependent on priorities. - */ -_WRAP_ENUM(ThreadPriority, GThreadPriority, NO_GTYPE) - -/*! @var ThreadPriority THREAD_PRIORITY_LOW - * A priority lower than normal. - */ -/*! @var ThreadPriority THREAD_PRIORITY_NORMAL - * The default priority. - */ -/*! @var ThreadPriority THREAD_PRIORITY_HIGH - * A priority higher than normal. - */ -/*! @var ThreadPriority THREAD_PRIORITY_URGENT - * The highest priority. - */ - - -/** @defgroup Threads Threads - * Thread abstraction; including threads, different mutexes, - * conditions and thread private data. - * @{ - */ - -enum NotLock { NOT_LOCK }; -enum TryLock { TRY_LOCK }; - -/** Initializes the GLib thread system. - * Before you use a thread related function in glibmm, you should initialize - * the thread system. This is done by calling Glib::thread_init(). - * - * @note You should only call thread_init() with a non-0 parameter - * if you really know what you are doing. - * - * @note thread_init() must not be called directly or indirectly as - * a callback from glibmm. Also no mutexes may be currently locked while - * calling thread_init(). - * - * thread_init() might only be called once. On the second call it will - * abort with an error. If you want to make sure that the thread system - * is initialized, you can do that too: - * @code - * if(!Glib::thread_supported()) Glib::thread_init(); - * @endcode - * After that line either the thread system is initialized, or the program - * will abort if no thread system is available in GLib, i.e. either - * @c G_THREADS_ENABLED is not defined or @c G_THREADS_IMPL_NONE is defined. - * - * If no thread system is available and @a vtable is 0 or if not all - * elements of @a vtable are non-0, then thread_init() will abort. - * - * @note To use thread_init() in your program, you have to link with the - * libraries that the command pkg-config --libs gthread-2.0 - * outputs. This is not the case for all the other thread related functions - * of glibmm. Those can be used without having to link with the thread - * libraries. (You @em have to link with gthread-2.0 if you actually - * want to use threads in your application, though.) - * - * @param vtable A function table of type @c GThreadFunctions, that provides - * the entry points to the thread system to be used. - */ -inline void thread_init(GThreadFunctions* vtable = 0); - -/** Returns whether the thread system is initialized. - * @return @c true, if the thread system is initialized. - */ -inline bool thread_supported(); - - -class Mutex; -class RecMutex; -class RWLock; -struct StaticMutex; -struct StaticRecMutex; -struct StaticRWLock; - - -/** Exception class for thread-related errors. - */ -_WRAP_GERROR(ThreadError, GThreadError, G_THREAD_ERROR, NO_GTYPE) - - -/** Represents a running thread. - * An instance of this class can only be obtained with create(), self(), - * or wrap(GThread*). It's not possible to delete a Thread object. If the - * thread is @em not joinable, its resources will be freed automatically - * when it exits. Otherwise, if the thread @em is joinable, you must call - * join() to avoid a memory leak. - * - * @note g_thread_exit() is not wrapped, because that function exits a thread - * without any cleanup. That's especially dangerous in C++ code, since the - * destructors of automatic objects won't be invoked. Instead, you can throw - * a Thread::Exit exception, which will be caught by the internal thread - * entry function. - * - * @note You might have noticed that the thread entry slot doesn't have the - * usual void* return value. If you want to return any data from your thread - * you can pass an additional output argument to the thread's entry slot. - */ -class Thread -{ -public: - class Exit; - - //See http://bugzilla.gnome.org/show_bug.cgi?id=512348 about the sigc::trackable issue. - /** Creates a new thread with the priority THREAD_PRIORITY_NORMAL. - * If @a joinable is @c true, you can wait for this thread's termination by - * calling join(). Otherwise the thread will just disappear, when ready. - * - * The new thread executes the function or method @a slot points to. You can - * pass additional arguments using sigc::bind(). If the thread was created - * successfully, it is returned, otherwise a ThreadError exception is thrown. - * - * Because sigc::trackable is not thread safe, if the slot represents a - * non-static class method (that is, it is created by sigc::mem_fun()), the - * class concerned should not derive from sigc::trackable. - * - * @param slot A slot to execute in the new thread. - * @param joinable Should this thread be joinable? - * @return The new Thread* on success. - * @throw Glib::ThreadError - */ - static Thread* create(const sigc::slot& slot, bool joinable); - - //See http://bugzilla.gnome.org/show_bug.cgi?id=512348 about the sigc::trackable issue. - /** Creates a new thread with the priority @a priority. The stack gets the - * size @a stack_size or the default value for the current platform, if - * @a stack_size is 0. - * - * If @a joinable is @c true, you can wait for this thread's termination by - * calling join(). Otherwise the thread will just disappear, when ready. - * If @a bound is @c true, this thread will be scheduled in the system scope, - * otherwise the implementation is free to do scheduling in the process - * scope. The first variant is more expensive resource-wise, but generally - * faster. On some systems (e.g. Linux) all threads are bound. - * - * The new thread executes the function or method @a slot points to. You can - * pass additional arguments using sigc::bind(). If the thread was created - * successfully, it is returned. - * - * Because sigc::trackable is not thread safe, if the slot represents a - * non-static class method (that is, it is created by sigc::mem_fun()), the - * class concerned should not derive from sigc::trackable. - * - * @note It is not guaranteed, that threads with different priorities really - * behave accordingly. On some systems (e.g. Linux) only root can increase - * priorities. On other systems (e.g. Solaris) there doesn't seem to be - * different scheduling for different priorities. All in all try to avoid - * being dependent on priorities. Use Glib::THREAD_PRIORITY_NORMAL - * here as a default. - * - * @note Only use the extended - * create(const sigc::slot&, unsigned long, bool, bool, ThreadPriority) - * function, when you really can't use the simple - * create(const sigc::slot&, bool) - * instead. The latter overload does not take @a stack_size, @a bound and - * @a priority as arguments, as they should only be used for cases, where - * it is inevitable. - * - * @param slot A slot to execute in the new thread. - * @param stack_size A stack size for the new thread, or 0. - * @param joinable Should this thread be joinable? - * @param bound Should this thread be bound to a system thread? - * @param priority A priority for the thread. - * @return The new Thread* on success. - * @throw Glib::ThreadError - */ - static Thread* create(const sigc::slot& slot, unsigned long stack_size, - bool joinable, bool bound, ThreadPriority priority); - - /** Returns the Thread* corresponding to the calling thread. - * @return The current thread. - */ - static Thread* self(); - - /** Returns whether the thread is joinable. - * @return Whether the thread is joinable. - */ - bool joinable() const; - - /** Waits until the thread finishes. - * Waits until the thread finishes, i.e. the slot, as given to create(), - * returns or g_thread_exit() is called by the thread. (Calling - * g_thread_exit() in a C++ program should be avoided.) All resources of - * the thread including the Glib::Thread object are released. The thread - * must have been created with joinable = true. - */ - void join(); - - /** Changes the priority of the thread to @a priority. - * @note It is not guaranteed, that threads with different priorities really - * behave accordingly. On some systems (e.g. Linux) only @c root can - * increase priorities. On other systems (e.g. Solaris) there doesn't seem - * to be different scheduling for different priorities. All in all try to - * avoid being dependent on priorities. - * @param priority A new priority for the thread. - */ - void set_priority(ThreadPriority priority); - - /** Returns the priority of the thread. - * @return The thread's priority. - */ - ThreadPriority get_priority() const; - - /** Gives way to other threads waiting to be scheduled. - * This function is often used as a method to make busy wait less evil. But - * in most cases, you will encounter, there are better methods to do that. - * So in general you shouldn't use this function. - */ - static void yield(); - - GThread* gobj() { return &gobject_; } - const GThread* gobj() const { return &gobject_; } - -private: - GThread gobject_; - - // Glib::Thread can neither be constructed nor deleted. - Thread(); - void operator delete(void*, size_t); - - // noncopyable - Thread(const Thread&); - Thread& operator=(const Thread&); -}; - -/** %Exception class used to exit from a thread. - * @code - * throw Glib::Thread::Exit(); - * @endcode - * Write this if you want to exit from a thread created by Thread::create(). - * Of course you must make sure not to catch Thread::Exit by accident, i.e. - * when using catch(...) somewhere in your code. - */ -class Thread::Exit -{}; - -/** @relates Glib::Thread */ -Thread* wrap(GThread* gobject); - - -/** Like Glib::Mutex, but can be defined at compile time. - * Use @c GLIBMM_STATIC_MUTEX_INIT to initialize a StaticMutex: - * @code - * Glib::StaticMutex mutex = GLIBMM_STATIC_MUTEX_INIT; - * @endcode - * A StaticMutex can be used without calling Glib::thread_init(), it will - * silently do nothing then. That will also work when using the implicit - * conversion to Mutex&, thus you can safely use Mutex::Lock with a - * StaticMutex. - */ -struct StaticMutex -{ - void lock(); - bool trylock(); - void unlock(); - - operator Mutex&(); - - GStaticMutex* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticMutex gobject_; -#endif -}; - -/** Represents a mutex (mutual exclusion). - * It can be used to protect data against shared access. Try to use - * Mutex::Lock instead of calling lock() and unlock() directly -- - * it will make your life much easier. - * - * @note Before creating a Glib::Mutex, Glib::thread_init() has to be called. - * - * @note Glib::Mutex is not recursive, i.e. a thread will deadlock, if it - * already has locked the mutex while calling lock(). Use Glib::RecMutex - * instead, if you need recursive mutexes. - */ -class Mutex -{ -public: - class Lock; - - Mutex(); - ~Mutex(); - - /** Locks the mutex. - * If mutex is already locked by another thread, the current thread will - * block until mutex is unlocked by the other thread. - * @see Mutex::Lock - */ - void lock(); - - /** Tries to lock the mutex. - * If the mutex is already locked by another thread, it immediately returns - * @c false. Otherwise it locks the mutex and returns @c true. - * @return Whether the mutex could be locked. - * @see Mutex::Lock - */ - bool trylock(); - - /** Unlocks the mutex. - * If another thread is blocked in a lock() call for this mutex, it will be - * woken and can lock the mutex itself. - * @see Mutex::Lock - */ - void unlock(); - - GMutex* gobj() { return gobject_; } - -private: - GMutex* gobject_; - - // noncopyable - Mutex(const Mutex&); - Mutex& operator=(const Mutex&); -}; - -/** Utility class for exception-safe mutex locking. - * @par Usage example: - * @code - * { - * Glib::Mutex::Lock lock (mutex); // calls mutex.lock() - * do_something(); - * } // the destructor calls mutex.unlock() - * @endcode - * As you can see, the compiler takes care of the unlocking. This is not - * only exception safe but also much less error-prone. You could even - * return while still holding the lock and it will be released - * properly. - */ -class Mutex::Lock -{ -public: - explicit inline Lock(Mutex& mutex); - inline Lock(Mutex& mutex, NotLock); - inline Lock(Mutex& mutex, TryLock); - inline ~Lock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - Mutex& mutex_; - bool locked_; - - // noncopyable - Lock(const Mutex::Lock&); - Mutex::Lock& operator=(const Mutex::Lock&); -}; - - -/** Like Glib::RecMutex, but can be defined at compile time. - * Use @c GLIBMM_STATIC_REC_MUTEX_INIT to initialize a StaticRecMutex: - * @code - * Glib::StaticRecMutex mutex = GLIBMM_STATIC_REC_MUTEX_INIT; - * @endcode - * A StaticRecMutex can be used without calling Glib::thread_init(), it will - * silently do nothing then. That will also work when using the implicit - * conversion to RecMutex&, thus you can safely use RecMutex::Lock with a - * StaticRecMutex. - */ -struct StaticRecMutex -{ - void lock(); - bool trylock(); - void unlock(); - - void lock_full(unsigned int depth); - unsigned int unlock_full(); - - operator RecMutex&(); - - GStaticRecMutex* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticRecMutex gobject_; -#endif -}; - -class RecMutex : public StaticRecMutex -{ -public: - class Lock; - - RecMutex(); - ~RecMutex(); - -private: - // noncopyable - RecMutex(const RecMutex&); - RecMutex& operator=(const RecMutex&); -}; - -/** Utility class for exception-safe locking of recursive mutexes. - */ -class RecMutex::Lock -{ -public: - explicit inline Lock(RecMutex& mutex); - inline Lock(RecMutex& mutex, NotLock); - inline Lock(RecMutex& mutex, TryLock); - inline ~Lock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - RecMutex& mutex_; - bool locked_; - - // noncopyable - Lock(const RecMutex::Lock&); - RecMutex::Lock& operator=(const RecMutex::Lock&); -}; - - -/** Like Glib::RWLock, but can be defined at compile time. - * Use @c GLIBMM_STATIC_RW_LOCK_INIT to initialize a StaticRWLock: - * @code - * Glib::StaticRWLock rw_lock = GLIBMM_STATIC_RW_LOCK_INIT; - * @endcode - * A StaticRWLock can be used without calling Glib::thread_init(), it will - * silently do nothing then. That will also work when using the implicit - * conversion to RWLock&, thus you can safely use RWLock::ReaderLock and - * RWLock::WriterLock with a StaticRWLock. - */ -struct StaticRWLock -{ - void reader_lock(); - bool reader_trylock(); - void reader_unlock(); - - void writer_lock(); - bool writer_trylock(); - void writer_unlock(); - - operator RWLock&(); - - GStaticRWLock* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticRWLock gobject_; -#endif -}; - -class RWLock : public StaticRWLock -{ -public: - class ReaderLock; - class WriterLock; - - RWLock(); - ~RWLock(); - -private: - // noncopyable - RWLock(const RWLock&); - RWLock& operator=(const RWLock&); -}; - -/** Utility class for exception-safe locking of read/write locks. - */ -class RWLock::ReaderLock -{ -public: - explicit inline ReaderLock(RWLock& rwlock); - inline ReaderLock(RWLock& rwlock, NotLock); - inline ReaderLock(RWLock& rwlock, TryLock); - inline ~ReaderLock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - RWLock& rwlock_; - bool locked_; - - // noncopyable - ReaderLock(const RWLock::ReaderLock&); - RWLock::ReaderLock& operator=(const RWLock::ReaderLock&); -}; - -/** Utility class for exception-safe locking of read/write locks. - */ -class RWLock::WriterLock -{ -public: - explicit inline WriterLock(RWLock& rwlock); - inline WriterLock(RWLock& rwlock, NotLock); - inline WriterLock(RWLock& rwlock, TryLock); - inline ~WriterLock(); - - inline void acquire(); - inline bool try_acquire(); - inline void release(); - inline bool locked() const; - -private: - RWLock& rwlock_; - bool locked_; - - // noncopyable - WriterLock(const RWLock::WriterLock&); - RWLock::WriterLock& operator=(const RWLock::WriterLock&); -}; - -/** An opaque data structure to represent a condition. - * A @a Cond is an object that threads can block on, if they find a certain - * condition to be false. If other threads change the state of this condition - * they can signal the @a Cond, such that the waiting thread is woken up. - * @par Usage example: - * @code - * Glib::Cond data_cond; - * Glib::Mutex data_mutex; - * void* current_data = NULL; - * - * void push_data (void* data) - * { - * data_mutex.lock(); - * current_data = data; - * data_cond.signal(); - * data_mutex.unlock(); - * } - * - * void* pop_data () - * { - * void* data; - * - * data_mutex.lock(); - * while (!current_data) - * data_cond.wait(data_mutex); - * data = current_data; - * current_data = NULL; - * data_mutex.unlock(); - * return data; - * } - * @endcode -*/ -class Cond -{ -public: - Cond(); - ~Cond(); - - /** If threads are waiting for this @a Cond, exactly one of them is woken up. - * It is good practice to hold the same lock as the waiting thread, while calling - * this method, though not required. - * - * @note This method can also be used if @a Glib::thread_init() has not yet been - * called and will do nothing then. - */ - void signal(); - - /** If threads are waiting for this @a Cond, all of them are woken up. - * It is good practice to hold the same lock as the waiting thread, while calling - * this method, though not required. - * - * @note This method can also be used if @a Glib::thread_init() has not yet been - * called and will do nothing then. - */ - void broadcast(); - - /** Waits until this thread is woken up on this @a Cond. - * The mutex is unlocked before falling asleep and locked again before resuming. - * - * This method can also be used if @a Glib::thread_init() has not yet been - * called and will immediately return then. - * - * @param mutex a @a Mutex that is currently locked. - * - * @note It is important to use the @a wait() and @a timed_wait() methods - * only inside a loop, which checks for the condition to be true as it is not - * guaranteed that the waiting thread will find it fulfilled, even if the signaling - * thread left the condition in that state. This is because another thread can have - * altered the condition, before the waiting thread got the chance to be woken up, - * even if the condition itself is protected by a @a Mutex. - */ - void wait(Mutex& mutex); - - /** Waits until this thread is woken up on this @a Cond, but not longer than until the time, that is specified by @a abs_time. - * The mutex is unlocked before falling asleep and locked again before resuming. - * - * This function can also be used, if @a Glib::thread_init() has not yet been - * called and will immediately return @c true then. - * - * @param mutex a @a Mutex that is currently locked. - * @param abs_time a max time to wait. - * - * @note It is important to use the @a wait() and @a timed_wait() methods - * only inside a loop, which checks for the condition to be true as it is not - * guaranteed that the waiting thread will find it fulfilled, even if the signaling - * thread left the condition in that state. This is because another thread can have - * altered the condition, before the waiting thread got the chance to be woken up, - * even if the condition itself is protected by a @a Mutex. - */ - bool timed_wait(Mutex& mutex, const Glib::TimeVal& abs_time); - - GCond* gobj() { return gobject_; } - -private: - GCond* gobject_; - - // noncopyable - Cond(const Cond&); - Cond& operator=(const Cond&); -}; - - -template -struct StaticPrivate -{ - typedef void (*DestroyNotifyFunc) (void*); - - static void delete_ptr(void* data); - - inline T* get(); - inline void set(T* data, DestroyNotifyFunc notify_func = &StaticPrivate::delete_ptr); - - GStaticPrivate* gobj() { return &gobject_; } - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - // Must be public to allow initialization at compile time. - GStaticPrivate gobject_; -#endif -}; - -template -class Private -{ -public: - typedef void (*DestructorFunc) (void*); - - static void delete_ptr(void* data); - - explicit inline Private(DestructorFunc destructor_func = &Private::delete_ptr); - inline T* get(); - inline void set(T* data); - - GPrivate* gobj() { return gobject_; } - -private: - GPrivate* gobject_; - - // noncopyable - Private(const Private&); - Private& operator=(const Private&); -}; - -/** @} group Threads */ - -/*! A glibmm thread example. - * @example thread/thread.cc - */ - - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -/***************************************************************************/ -/* inline implementation */ -/***************************************************************************/ - -// internal -void thread_init_impl(); - -/* This function must be inline, to avoid an unnecessary dependency on - * libgthread even if the thread system is not used. libgthread might - * not even be available if GLib was compiled without thread support. - */ -inline -void thread_init(GThreadFunctions* vtable) -{ - g_thread_init(vtable); - Glib::thread_init_impl(); -} - -inline -bool thread_supported() -{ - //MSVC++ needs the != 0 to avoid an int -> bool cast warning. - return (g_thread_supported() != 0); -} - - -/**** Glib::Mutex::Lock ****************************************************/ - -inline -Mutex::Lock::Lock(Mutex& mutex) -: - mutex_ (mutex), - locked_ (true) -{ - mutex_.lock(); -} - -inline -Mutex::Lock::Lock(Mutex& mutex, NotLock) -: - mutex_ (mutex), - locked_ (false) -{} - -inline -Mutex::Lock::Lock(Mutex& mutex, TryLock) -: - mutex_ (mutex), - locked_ (mutex.trylock()) -{} - -inline -Mutex::Lock::~Lock() -{ - if(locked_) - mutex_.unlock(); -} - -inline -void Mutex::Lock::acquire() -{ - mutex_.lock(); - locked_ = true; -} - -inline -bool Mutex::Lock::try_acquire() -{ - locked_ = mutex_.trylock(); - return locked_; -} - -inline -void Mutex::Lock::release() -{ - mutex_.unlock(); - locked_ = false; -} - -inline -bool Mutex::Lock::locked() const -{ - return locked_; -} - - -/**** Glib::RecMutex::Lock *************************************************/ - -inline -RecMutex::Lock::Lock(RecMutex& mutex) -: - mutex_ (mutex), - locked_ (true) -{ - mutex_.lock(); -} - -inline -RecMutex::Lock::Lock(RecMutex& mutex, NotLock) -: - mutex_ (mutex), - locked_ (false) -{} - -inline -RecMutex::Lock::Lock(RecMutex& mutex, TryLock) -: - mutex_ (mutex), - locked_ (mutex.trylock()) -{} - -inline -RecMutex::Lock::~Lock() -{ - if(locked_) - mutex_.unlock(); -} - -inline -void RecMutex::Lock::acquire() -{ - mutex_.lock(); - locked_ = true; -} - -inline -bool RecMutex::Lock::try_acquire() -{ - locked_ = mutex_.trylock(); - return locked_; -} - -inline -void RecMutex::Lock::release() -{ - mutex_.unlock(); - locked_ = false; -} - -inline -bool RecMutex::Lock::locked() const -{ - return locked_; -} - - -/**** Glib::RWLock::ReaderLock *********************************************/ - -inline -RWLock::ReaderLock::ReaderLock(RWLock& rwlock) -: - rwlock_ (rwlock), - locked_ (true) -{ - rwlock_.reader_lock(); -} - -inline -RWLock::ReaderLock::ReaderLock(RWLock& rwlock, NotLock) -: - rwlock_ (rwlock), - locked_ (false) -{} - -inline -RWLock::ReaderLock::ReaderLock(RWLock& rwlock, TryLock) -: - rwlock_ (rwlock), - locked_ (rwlock.reader_trylock()) -{} - -inline -RWLock::ReaderLock::~ReaderLock() -{ - if(locked_) - rwlock_.reader_unlock(); -} - -inline -void RWLock::ReaderLock::acquire() -{ - rwlock_.reader_lock(); - locked_ = true; -} - -inline -bool RWLock::ReaderLock::try_acquire() -{ - locked_ = rwlock_.reader_trylock(); - return locked_; -} - -inline -void RWLock::ReaderLock::release() -{ - rwlock_.reader_unlock(); - locked_ = false; -} - -inline -bool RWLock::ReaderLock::locked() const -{ - return locked_; -} - - -/**** Glib::RWLock::WriterLock *********************************************/ - -inline -RWLock::WriterLock::WriterLock(RWLock& rwlock) -: - rwlock_ (rwlock), - locked_ (true) -{ - rwlock_.writer_lock(); -} - -inline -RWLock::WriterLock::WriterLock(RWLock& rwlock, NotLock) -: - rwlock_ (rwlock), - locked_ (false) -{} - -inline -RWLock::WriterLock::WriterLock(RWLock& rwlock, TryLock) -: - rwlock_ (rwlock), - locked_ (rwlock.writer_trylock()) -{} - -inline -RWLock::WriterLock::~WriterLock() -{ - if(locked_) - rwlock_.writer_unlock(); -} - -inline -void RWLock::WriterLock::acquire() -{ - rwlock_.writer_lock(); - locked_ = true; -} - -inline -bool RWLock::WriterLock::try_acquire() -{ - locked_ = rwlock_.writer_trylock(); - return locked_; -} - -inline -void RWLock::WriterLock::release() -{ - rwlock_.writer_unlock(); - locked_ = false; -} - -inline -bool RWLock::WriterLock::locked() const -{ - return locked_; -} - - -/**** Glib::StaticPrivate **************************************************/ - -// static -template -void StaticPrivate::delete_ptr(void* data) -{ - delete static_cast(data); -} - -template inline -T* StaticPrivate::get() -{ - return static_cast(g_static_private_get(&gobject_)); -} - -template inline -void StaticPrivate::set(T* data, typename StaticPrivate::DestroyNotifyFunc notify_func) -{ - g_static_private_set(&gobject_, data, notify_func); -} - - -/**** Glib::Private ********************************************************/ - -// static -template -void Private::delete_ptr(void* data) -{ - delete static_cast(data); -} - -template inline -Private::Private(typename Private::DestructorFunc destructor_func) -: - gobject_ (g_private_new(destructor_func)) -{} - -template inline -T* Private::get() -{ - return static_cast(g_private_get(gobject_)); -} - -template inline -void Private::set(T* data) -{ - g_private_set(gobject_, data); -} - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/unicode.ccg b/libs/glibmm2/glib/src/unicode.ccg deleted file mode 100644 index 7d994ef05b..0000000000 --- a/libs/glibmm2/glib/src/unicode.ccg +++ /dev/null @@ -1,22 +0,0 @@ -// -*- c++ -*- -/* $Id: unicode.ccg,v 1.1 2003/01/07 16:58:42 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include - diff --git a/libs/glibmm2/glib/src/unicode.hg b/libs/glibmm2/glib/src/unicode.hg deleted file mode 100644 index 8675293861..0000000000 --- a/libs/glibmm2/glib/src/unicode.hg +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id: unicode.hg,v 1.2 2003/08/20 10:31:23 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#m4begin -_PUSH() - -// m4 helper macros to generate the character-class inline functions. - -m4_define(`_UNICHAR_FUNC',`dnl -inline $1 $2(gunichar uc) - { return g_unichar_$2(uc); } -`'dnl`'') - -//MSVC++ needs the != 0 to avoid an int -> bool cast warning. -m4_define(`_UNICHAR_FUNC_BOOL',`dnl -inline $1 $2(gunichar uc) - { return (g_unichar_$2(uc) != 0); } -`'dnl`'') - -m4_define(`_ASCII_FUNC',`dnl -inline $1 $2(char c) - { return g_ascii_$2(c); } -`'dnl`'') - -_POP() -#m4end - -#include - -// Not used, but we want to get rid of possible macros. -#include - -#undef isalnum -#undef isalpha -#undef iscntrl -#undef isdigit -#undef isgraph -#undef islower -#undef isprint -#undef ispunct -#undef isspace -#undef isupper -#undef isxdigit -#undef istitle -#undef isdefined -#undef iswide -#undef toupper -#undef tolower -#undef totitle - - -namespace Glib -{ - -_WRAP_ENUM(UnicodeType, GUnicodeType, NO_GTYPE) -_WRAP_ENUM(UnicodeBreakType, GUnicodeBreakType, NO_GTYPE) -_WRAP_ENUM(AsciiType, GAsciiType, NO_GTYPE) -_WRAP_ENUM(NormalizeMode, GNormalizeMode, NO_GTYPE) - -/** @defgroup Unicode Unicode Manipulation - * Functions operating on Unicode characters and UTF-8 strings. - * @{ - */ - -namespace Unicode -{ - -_UNICHAR_FUNC_BOOL(bool, validate) -_UNICHAR_FUNC_BOOL(bool, isalnum) -_UNICHAR_FUNC_BOOL(bool, isalpha) -_UNICHAR_FUNC_BOOL(bool, iscntrl) -_UNICHAR_FUNC_BOOL(bool, isdigit) -_UNICHAR_FUNC_BOOL(bool, isgraph) -_UNICHAR_FUNC_BOOL(bool, islower) -_UNICHAR_FUNC_BOOL(bool, isprint) -_UNICHAR_FUNC_BOOL(bool, ispunct) -_UNICHAR_FUNC_BOOL(bool, isspace) -_UNICHAR_FUNC_BOOL(bool, isupper) -_UNICHAR_FUNC_BOOL(bool, isxdigit) -_UNICHAR_FUNC_BOOL(bool, istitle) -_UNICHAR_FUNC_BOOL(bool, isdefined) -_UNICHAR_FUNC_BOOL(bool, iswide) - -_UNICHAR_FUNC(gunichar, toupper) -_UNICHAR_FUNC(gunichar, tolower) -_UNICHAR_FUNC(gunichar, totitle) - -_UNICHAR_FUNC(int, digit_value) -_UNICHAR_FUNC(int, xdigit_value) - -inline Glib::UnicodeType type(gunichar uc) - { return static_cast(static_cast(g_unichar_type(uc))); } - -inline Glib::UnicodeBreakType break_type(gunichar uc) - { return static_cast(static_cast(g_unichar_break_type(uc))); } - -} // namespace Unicode - - -namespace Ascii -{ - -_ASCII_FUNC(bool, isalnum) -_ASCII_FUNC(bool, isalpha) -_ASCII_FUNC(bool, iscntrl) -_ASCII_FUNC(bool, isdigit) -_ASCII_FUNC(bool, isgraph) -_ASCII_FUNC(bool, islower) -_ASCII_FUNC(bool, isprint) -_ASCII_FUNC(bool, ispunct) -_ASCII_FUNC(bool, isspace) -_ASCII_FUNC(bool, isupper) -_ASCII_FUNC(bool, isxdigit) - -_ASCII_FUNC(char, tolower) -_ASCII_FUNC(char, toupper) - -_ASCII_FUNC(int, digit_value) -_ASCII_FUNC(int, xdigit_value) - -} // namespace Ascii - - -/** @} group Unicode */ - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/uriutils.ccg b/libs/glibmm2/glib/src/uriutils.ccg deleted file mode 100644 index ef212ab7ea..0000000000 --- a/libs/glibmm2/glib/src/uriutils.ccg +++ /dev/null @@ -1,45 +0,0 @@ -// -*- c++ -*- -/* $Id: fileutils.ccg,v 1.1 2003/01/07 16:58:25 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include - -namespace Glib -{ - -std::string uri_unescape_string(const std::string& escaped_string, const std::string& illegal_characters) -{ - gchar* cresult = g_uri_unescape_string(escaped_string.c_str(), illegal_characters.c_str()); - return Glib::convert_return_gchar_ptr_to_stdstring(cresult); -} - -std::string uri_parse_scheme(const std::string& uri) -{ - return Glib::convert_return_gchar_ptr_to_stdstring( g_uri_parse_scheme(uri.c_str()) ); -} - -std::string uri_escape_string(const std::string& unescaped, const std::string& reserved_chars_allowed, bool allow_utf8) -{ - gchar* cresult = g_uri_escape_string(unescaped.c_str(), reserved_chars_allowed.c_str(), allow_utf8); - return Glib::convert_return_gchar_ptr_to_stdstring(cresult); -} - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/uriutils.hg b/libs/glibmm2/glib/src/uriutils.hg deleted file mode 100644 index f2fb117b71..0000000000 --- a/libs/glibmm2/glib/src/uriutils.hg +++ /dev/null @@ -1,93 +0,0 @@ -/* $Id: fileutils.hg,v 1.3 2004/01/22 18:38:12 murrayc Exp $ */ - -/* Copyright (C) 2002 The gtkmm Development Team - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -_DEFS(glibmm,glib) - -#include -#include - -GLIBMM_USING_STD(string) - - -namespace Glib -{ - -/** @defgroup UriUtils URI Utilities - * Various uri-related functions. - */ - -//Note that the illegal_characters and reserved_chars_allowed parameters are bytes and may not be UTF-8 -//so they are not Glib::ustring. See http://bugzilla.gnome.org/show_bug.cgi?id=508773 - -/** Unescapes a whole escaped string. - * If any of the characters in @a illegal_characters or the character zero appears - * as an escaped character in @a escaped_string then that is an error and an empty string - * will be returned. This is useful it you want to avoid, for instance, having a - * slash being expanded in an escaped path element, which might confuse pathname - * handling. - * - * @param escaped_string An escaped string to be unescaped. - * @param illegal_characters An optional string of illegal characters not to be allowed. - * @result An unescaped version of @a escaped_string. - * - * @ingroup UriUtils - * @newin2p16 - */ -std::string uri_unescape_string(const std::string& escaped_string, const std::string& illegal_characters = std::string()); - -//TODO: Use iterator? -//char * g_uri_unescape_segment (const char *escaped_string, -// const char *escaped_string_end, -// const char *illegal_characters); - -/** Gets the scheme portion of a URI. RFC 3986 decodes the scheme as: - * @code - * URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] - * @endcode - * Common schemes include "file", "http", "svn+ssh", etc. - * - * @param uri - * @result The "Scheme" component of the URI, or an empty string on error. - * - * @ingroup UriUtils - * @newin2p16 - */ -std::string uri_parse_scheme(const std::string& uri); - -/** Escapes a string for use in a URI. - * - * Normally all characters that are not "unreserved" (i.e. ASCII alphanumerical - * characters plus dash, dot, underscore and tilde) are escaped. - * But if you specify characters in @a reserved_chars_allowed they are not - * escaped. This is useful for the "reserved" characters in the URI - * specification, since those are allowed unescaped in some portions of - * a URI. - * - * @param unescaped The unescaped input string. - * @param reserved_chars_allowed A string of reserved characters that are allowed to be used. - * @param allow_utf8 true if the result can include UTF-8 characters. - * @result An escaped version of @a unescaped. - * - * @ingroup UriUtils - * @newin2p16 - */ -std::string uri_escape_string(const std::string& unescaped, const std::string& reserved_chars_allowed = std::string(), bool allow_utf8 = true); - -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/value_basictypes.cc.m4 b/libs/glibmm2/glib/src/value_basictypes.cc.m4 deleted file mode 100644 index f87461aaf1..0000000000 --- a/libs/glibmm2/glib/src/value_basictypes.cc.m4 +++ /dev/null @@ -1,84 +0,0 @@ -divert(-1) - -dnl $Id: value_basictypes.cc.m4 348 2006-11-22 11:14:43Z murrayc $ - -dnl Glib::Value specializations for fundamental types -dnl -dnl Copyright 2002 The gtkmm Development Team -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Library General Public -dnl License as published by the Free Software Foundation; either -dnl version 2 of the License, or (at your option) any later version. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Library General Public License for more details. -dnl -dnl You should have received a copy of the GNU Library General Public -dnl License along with this library; if not, write to the Free -dnl Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -include(template.macros.m4) - -dnl -dnl GLIB_VALUE_BASIC(bool, boolean) -dnl -define([GLIB_VALUE_BASIC],[dnl -LINE(]__line__[)dnl - -dnl Please ignore the format stuff. I was just tired and played a little. -/**** Glib::Value<$1> translit(format([%]eval(57-len([$1]))[s],[****/]),[ ],[*]) - -// static -GType Value<$1>::value_type() -{ - return G_TYPE_[]UPPER($2); -} - -void Value<$1>::set($1 data) -{ - g_value_set_$2(&gobject_, data); -} - -$1 Value<$1>::get() const -{ - return g_value_get_$2(&gobject_); -} - -GParamSpec* Value<$1>::create_param_spec(const Glib::ustring& name) const -{ - return g_param_spec_$2( - name.c_str(), 0, 0,ifelse($2,pointer,,[ - ifelse($3,,,[$3, $4, ])[]g_value_get_$2(&gobject_),]) - GParamFlags(G_PARAM_READABLE | G_PARAM_WRITABLE)); -} -]) - -divert[]dnl -// -*- c++ -*- -// This is a generated file, do not edit. Generated from __file__ - -#include - -namespace Glib -{ - -G_GNUC_EXTENSION typedef long long long_long; -G_GNUC_EXTENSION typedef unsigned long long unsigned_long_long; - -GLIB_VALUE_BASIC(bool, boolean) -GLIB_VALUE_BASIC(char, char, -128, 127) -GLIB_VALUE_BASIC(unsigned char, uchar, 0, 255) -GLIB_VALUE_BASIC(int, int, G_MININT, G_MAXINT) -GLIB_VALUE_BASIC(unsigned int, uint, 0, G_MAXUINT) -GLIB_VALUE_BASIC(long, long, G_MINLONG, G_MAXLONG) -GLIB_VALUE_BASIC(unsigned long, ulong, 0, G_MAXULONG) -GLIB_VALUE_BASIC(long_long, int64, G_GINT64_CONSTANT[](0x8000000000000000), G_GINT64_CONSTANT[](0x7fffffffffffffff)) -GLIB_VALUE_BASIC(unsigned_long_long, uint64, G_GINT64_CONSTANT[](0U), G_GINT64_CONSTANT[](0xffffffffffffffffU)) -GLIB_VALUE_BASIC(float, float, -G_MAXFLOAT, G_MAXFLOAT) -GLIB_VALUE_BASIC(double, double, -G_MAXDOUBLE, G_MAXDOUBLE) -GLIB_VALUE_BASIC(void*, pointer) -} // namespace Glib - diff --git a/libs/glibmm2/glib/src/value_basictypes.h.m4 b/libs/glibmm2/glib/src/value_basictypes.h.m4 deleted file mode 100644 index 08c4a90998..0000000000 --- a/libs/glibmm2/glib/src/value_basictypes.h.m4 +++ /dev/null @@ -1,83 +0,0 @@ -divert(-1) - -dnl $Id: value_basictypes.h.m4 2 2003-01-07 16:59:16Z murrayc $ - -dnl Glib::Value specializations for fundamental types -dnl -dnl Copyright 2002 The gtkmm Development Team -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Library General Public -dnl License as published by the Free Software Foundation; either -dnl version 2 of the License, or (at your option) any later version. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Library General Public License for more details. -dnl -dnl You should have received a copy of the GNU Library General Public -dnl License along with this library; if not, write to the Free -dnl Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -include(template.macros.m4) - -dnl -dnl GLIB_VALUE_BASIC(bool, boolean) -dnl -define([GLIB_VALUE_BASIC],[dnl -LINE(]__line__[)dnl - -/** - * @ingroup glibmmValue - */ -template <> -class Value<$1> : public ValueBase -{ -public: - typedef $1 CppType; - typedef g$2 CType; - - static GType value_type() G_GNUC_CONST; - - void set($1 data); - $1 get() const; - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - GParamSpec* create_param_spec(const Glib::ustring& name) const; -#endif -}; -]) - -divert[]dnl -// -*- c++ -*- -// This is a generated file, do not edit. Generated from __file__ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -#ifndef _GLIBMM_VALUE_H_INCLUDE_VALUE_BASICTYPES_H -#error "glibmm/value_basictypes.h cannot be included directly" -#endif -#endif - -/* Suppress warnings about `long long' when GCC is in -pedantic mode. - */ -#if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)) -#pragma GCC system_header -#endif - -namespace Glib -{ -GLIB_VALUE_BASIC(bool, boolean) -GLIB_VALUE_BASIC(char, char) -GLIB_VALUE_BASIC(unsigned char, uchar) -GLIB_VALUE_BASIC(int, int) -GLIB_VALUE_BASIC(unsigned int, uint) -GLIB_VALUE_BASIC(long, long) -GLIB_VALUE_BASIC(unsigned long, ulong) -GLIB_VALUE_BASIC(long long, int64) -GLIB_VALUE_BASIC(unsigned long long, uint64) -GLIB_VALUE_BASIC(float, float) -GLIB_VALUE_BASIC(double, double) -GLIB_VALUE_BASIC(void*, pointer) -} // namespace Glib - diff --git a/libs/glibmm2/scripts/Makefile.am b/libs/glibmm2/scripts/Makefile.am deleted file mode 100644 index 6a38790971..0000000000 --- a/libs/glibmm2/scripts/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -# Install m4 macros needed by other *mm packages: -m4dir = $(datadir)/aclocal -m4_DATA = glibmm_check_perl.m4 - -EXTRA_DIST = README config.sub missing config.guess install-sh \ - ltmain.sh cxx.m4 cxx_std.m4 c_std.m4 docgen.m4 macros.m4 reduced.m4 \ - $(m4_DATA) - diff --git a/libs/glibmm2/scripts/Makefile.in b/libs/glibmm2/scripts/Makefile.in deleted file mode 100644 index 95d0827b38..0000000000 --- a/libs/glibmm2/scripts/Makefile.in +++ /dev/null @@ -1,396 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = scripts -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - config.guess config.sub depcomp install-sh ltmain.sh missing -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(m4dir)" -m4DATA_INSTALL = $(INSTALL_DATA) -DATA = $(m4_DATA) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ - -# Install m4 macros needed by other *mm packages: -m4dir = $(datadir)/aclocal -m4_DATA = glibmm_check_perl.m4 -EXTRA_DIST = README config.sub missing config.guess install-sh \ - ltmain.sh cxx.m4 cxx_std.m4 c_std.m4 docgen.m4 macros.m4 reduced.m4 \ - $(m4_DATA) - -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu scripts/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-m4DATA: $(m4_DATA) - @$(NORMAL_INSTALL) - test -z "$(m4dir)" || $(MKDIR_P) "$(DESTDIR)$(m4dir)" - @list='$(m4_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(m4DATA_INSTALL) '$$d$$p' '$(DESTDIR)$(m4dir)/$$f'"; \ - $(m4DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(m4dir)/$$f"; \ - done - -uninstall-m4DATA: - @$(NORMAL_UNINSTALL) - @list='$(m4_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(m4dir)/$$f'"; \ - rm -f "$(DESTDIR)$(m4dir)/$$f"; \ - done -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(DATA) -installdirs: - for dir in "$(DESTDIR)$(m4dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-m4DATA - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-m4DATA - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-m4DATA install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - uninstall uninstall-am uninstall-m4DATA - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/scripts/README b/libs/glibmm2/scripts/README deleted file mode 100644 index 8b13789179..0000000000 --- a/libs/glibmm2/scripts/README +++ /dev/null @@ -1 +0,0 @@ - diff --git a/libs/glibmm2/scripts/c_std.m4 b/libs/glibmm2/scripts/c_std.m4 deleted file mode 100644 index f4a8b56f8e..0000000000 --- a/libs/glibmm2/scripts/c_std.m4 +++ /dev/null @@ -1,43 +0,0 @@ -cv_c_std_time_t_is_not_int32 -## GLIBMM_CXX_HAS_NAMESPACE_STD() -## -## Test whether libstdc++ declares namespace std. For safety, -## also check whether several randomly selected STL symbols -## are available in namespace std. -## -## On success, #define GLIBMM_HAVE_NAMESPACE_STD to 1. -## -AC_DEFUN([GLIBMM_C_STD_TIME_T_IS_NOT_INT32], -[ - AC_CACHE_CHECK( - [whether time_t is not equivalent to gint32, meaning that it can be used for a method overload], - [gtkmm_cv_c_std_time_t_is_not_int32], - [ - AC_TRY_COMPILE( - [ - #include - ],[ - typedef signed int gint32; - class Test - { - void something(gint32 val) - {} - - void something(time_t val) - {} - }; - ], - [gtkmm_cv_c_std_time_t_is_not_int32="yes"], - [gtkmm_cv_c_std_time_t_is_not_int32="no"] - ) - ]) - - if test "x${gtkmm_cv_c_std_time_t_is_not_int32}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32],[1], [Defined when time_t is not equivalent to gint32, meaning that it can be used for a method overload]) - } - fi -]) - - - diff --git a/libs/glibmm2/scripts/cxx.m4 b/libs/glibmm2/scripts/cxx.m4 deleted file mode 100644 index 8dce019940..0000000000 --- a/libs/glibmm2/scripts/cxx.m4 +++ /dev/null @@ -1,364 +0,0 @@ - -dnl -dnl AC_CXX_NAMESPACES(ACTION_FOUND,ACTION_NOT_FOUND) -dnl -AC_DEFUN([AC_CXX_NAMESPACES],[ -AC_MSG_CHECKING(if C++ compiler supports namespaces) -AC_TRY_COMPILE( -[ -namespace Foo { struct A {}; } -using namespace Foo; -],[ -A a; -(void)a; -],[ - ac_cxx_namespaces=yes - AC_MSG_RESULT([$ac_cxx_namespaces]) - $1 -],[ - ac_cxx_namespaces=no - AC_MSG_RESULT([$ac_cxx_namespaces]) - $2 -]) -]) - -dnl -dnl AC_CXX_NAMESPACES(ACTION_FOUND,ACTION_NOT_FOUND) -dnl -AC_DEFUN([AC_CXX_BOOL],[ -AC_MSG_CHECKING(if C++ compiler supports bool) -AC_TRY_COMPILE( -[ -],[ - bool b=true; - bool b1=false; - (void)b; - (void)b1; -],[ - ac_cxx_bool=yes - AC_MSG_RESULT([$ac_cxx_bool]) - $1 -],[ - ac_cxx_bool=no - AC_MSG_RESULT([$ac_cxx_bool]) - $2 -]) -]) - -dnl -dnl AC_CXX_MUTABLE(ACTION_FOUND,ACTION_NOT_FOUND) -dnl -AC_DEFUN([AC_CXX_MUTABLE],[ -AC_MSG_CHECKING(if C++ compiler supports mutable) -AC_TRY_COMPILE( -[ -class k { - mutable char *c; -public: - void foo() const { c=0; } -}; -],[ -],[ - ac_cxx_mutable=yes - AC_MSG_RESULT([$ac_cxx_mutable]) - $1 -],[ - ac_cxx_mutable=no - AC_MSG_RESULT([$ac_cxx_mutable]) - $2 -]) -]) - - -dnl -dnl AC_CXX_CONST_CAST(ACTION_FOUND,ACTION_NOT_FOUND) -dnl -AC_DEFUN([AC_CXX_CONST_CAST],[ -AC_MSG_CHECKING([if C++ compiler supports const_cast<>]) -AC_TRY_COMPILE( -[ - class foo; -],[ - const foo *c=0; - foo *c1=const_cast(c); - (void)c1; -],[ - ac_cxx_const_cast=yes - AC_MSG_RESULT([$ac_cxx_const_cast]) -],[ - ac_cxx_const_cast=no - AC_MSG_RESULT([$ac_cxx_const_cast]) -]) -]) - - -dnl -dnl GLIBMM_CXX_MEMBER_FUNCTIONS_MEMBER_TEMPLATES(ACTION_FOUND,ACTION_NOT_FOUND) -dnl -dnl Test whether the compiler allows member functions to refer to spezialized member function templates. -dnl Some compilers have problems with this. gcc 2.95.3 aborts with an internal compiler error. -dnl -AC_DEFUN([GLIBMM_CXX_MEMBER_FUNCTIONS_MEMBER_TEMPLATES],[ -AC_MSG_CHECKING([if C++ compiler allows member functions to refer to member templates]) -AC_TRY_COMPILE( -[ - struct foo { - template inline - void doit(); - void thebug(); - }; - - template inline - void foo::doit() { - } - - struct bar { - void neitherabug(); - }; - - void notabug() { - void (foo::*func)(); - func = &foo::doit; - (void)func; - } - - void bar::neitherabug() { - void (foo::*func)(); - func = &foo::doit; - (void)func; - } - - void foo::thebug() { - void (foo::*func)(); - func = &foo::doit; //Compiler bugs usually show here. - (void)func; - } -],[],[ - glibmm_cxx_member_functions_member_templates=yes - AC_DEFINE([GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES],[1],[does the C++ compiler allow member functions to refer to member templates]) - AC_MSG_RESULT([$glibmm_cxx_member_functions_member_templates]) -],[ - glibmm_cxx_member_functions_member_templates=no - AC_DEFINE([GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES],[0]) - AC_MSG_RESULT([$glibmm_cxx_member_functions_member_templates]) -]) -]) - -## GLIBMM_CXX_CAN_DISAMBIGUATE_CONST_TEMPLATE_SPECIALIZATIONS() -## -## Check whether the compiler finds it ambiguous to have both -## const and non-const template specializations, -## The SUN Forte compiler has this problem, though we are -## not 100% sure that it's a C++ standards violation. -## -AC_DEFUN([GLIBMM_CXX_CAN_DISAMBIGUATE_CONST_TEMPLATE_SPECIALIZATIONS], -[ - AC_REQUIRE([GLIBMM_CXX_HAS_NAMESPACE_STD]) - - AC_CACHE_CHECK( - [whether the compiler finds it ambiguous to have both const and non-const template specializations], - [glibmm_cv_cxx_can_disambiguate_const_template_specializations], - [ - AC_TRY_COMPILE( - [ - #include - - template class Foo {}; - - template class Traits { - public: - const char* whoami() { - return "generic template"; - } - }; - - template class Traits > { - public: - const char* whoami() { - return "partial specialization for Foo"; - } - }; - - template class Traits > { - public: - const char* whoami() { - return "partial specialization for Foo"; - } - }; - - ],[ - Traits it; - Traits > fit; - Traits > cfit; - - std::cout << "Traits --> " - << it.whoami() << std::endl; - std::cout << "Traits> --> " - << fit.whoami() << std::endl; - std::cout << "Traits> --> " - << cfit.whoami() << std::endl; - ], - [glibmm_cv_cxx_can_disambiguate_const_template_specializations="yes"], - [glibmm_cv_cxx_can_disambiguate_const_template_specializations="no"] - ) - ]) - - if test "x${glibmm_cv_cxx_can_disambiguate_const_template_specializations}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS],[1], [Defined if the compiler does not find it ambiguous to have both const and non-const template specializations]) - } - fi -]) - - - -## GLIBMM_CXX_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION() -## -## Check whether the compiler allows us to define a template that uses -## dynamic_cast<> with an object whose type is not defined, -## even if we do not use that template before we have defined the type. -## This should probably not be allowed anyway. -## -AC_DEFUN([GLIBMM_CXX_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION], -[ - AC_CACHE_CHECK( - [whether the compiler allows us to define a template that uses dynamic_cast<> with an object whose type is not yet defined], - [glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition], - [ - AC_TRY_COMPILE( - [ - class SomeClass; - - SomeClass* some_function(); - - template - class SomeTemplate - { - static bool do_something() - { - //This does not compile, with the MipsPro (IRIX) compiler - //even if we don't use this template at all. - //(We would use it later, after we have defined the type). - return dynamic_cast(some_function()); - } - }; - - ],[ - - ], - [glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition="yes"], - [glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition="no"] - ) - ]) - - if test "x${glibmm_cv_cxx_can_use_dynamic_cast_in_unused_template_without_definition}" = "xyes"; then - { - AC_DEFINE([GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION],[1], [Defined if the compiler allows us to define a template that uses dynamic_cast<> with an object whose type is not yet defined.]) - } - fi -]) - - -## GLIBMM_CXX_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS() -## -## Check whether the compiler allows us to use a non-extern "C" function, -## such as a static member function, to an extern "C" function pointer, -## such as a GTK+ callback. -## This should not be allowed anyway. -## -AC_DEFUN([GLIBMM_CXX_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS], -[ - AC_CACHE_CHECK( - [whether the the compilerallows us to use a non-extern "C" function for an extern "C" function pointer.], - [glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks], - [ - AC_TRY_COMPILE( - [ - extern "C" - { - struct somestruct - { - void (*callback) (int); - }; - - } // extern "C" - - void somefunction(int) - { - } - - ],[ - somestruct something; - something.callback = &somefunction; - ], - [glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks="yes"], - [glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks="no"] - ) - ]) - - if test "x${glibmm_cv_cxx_can_assign_non_extern_c_functions_to_extern_c_callbacks}" = "xyes"; then - { - AC_DEFINE([GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS],[1], [Defined if the compiler allows us to use a non-extern "C" function for an extern "C" function pointer.]) - } - fi -]) - -## GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC() -## -## Check whether the compiler puts extern "C" functions in the global namespace, -## even inside a namespace declaration. The AIX xlC compiler does this, and also -## gets confused if we declare the namespace again inside the extern "C" block. -## This seems like a compiler bug, but not a serious one. -## -AC_DEFUN([GLIBMM_CXX_CAN_USE_NAMESPACES_INSIDE_EXTERNC], -[ - AC_CACHE_CHECK( - [whether the compiler uses namespace declarations inside extern "C" blocks.], - [glibmm_cv_cxx_can_use_namespaces_inside_externc], - [ - AC_TRY_COMPILE( - [ - namespace test - { - - extern "C" - { - - void do_something(); - - } //extern C - - - class Something - { - protected: - int i; - - friend void do_something(); - }; - - void do_something() - { - Something something; - something.i = 1; - } - - } //namespace - - - ],[ - - ], - [glibmm_cv_cxx_can_use_namespaces_inside_externc="yes"], - [glibmm_cv_cxx_can_use_namespaces_inside_externc="no"] - ) - ]) - - if test "x${glibmm_cv_cxx_can_use_namespaces_inside_externc}" = "xyes"; then - { - AC_DEFINE([GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC],[1], [Defined if the compiler whether the compiler uses namespace declarations inside extern "C" blocks.]) - } - fi -]) - - diff --git a/libs/glibmm2/scripts/cxx_std.m4 b/libs/glibmm2/scripts/cxx_std.m4 deleted file mode 100644 index cb64fd4afe..0000000000 --- a/libs/glibmm2/scripts/cxx_std.m4 +++ /dev/null @@ -1,195 +0,0 @@ -cv_cxx_has_namespace_std -## GLIBMM_CXX_HAS_NAMESPACE_STD() -## -## Test whether libstdc++ declares namespace std. For safety, -## also check whether several randomly selected STL symbols -## are available in namespace std. -## -## On success, #define GLIBMM_HAVE_NAMESPACE_STD to 1. -## -AC_DEFUN([GLIBMM_CXX_HAS_NAMESPACE_STD], -[ - AC_CACHE_CHECK( - [whether C++ library symbols are declared in namespace std], - [gtkmm_cv_cxx_has_namespace_std], - [ - AC_TRY_COMPILE( - [ - #include - #include - #include - #include - ],[ - using std::min; - using std::find; - using std::copy; - using std::bidirectional_iterator_tag; - using std::string; - using std::istream; - using std::cout; - ], - [gtkmm_cv_cxx_has_namespace_std="yes"], - [gtkmm_cv_cxx_has_namespace_std="no"] - ) - ]) - - if test "x${gtkmm_cv_cxx_has_namespace_std}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_NAMESPACE_STD],[1], [Defined when the libstdc++ declares the std-namespace]) - } - fi -]) - - -## GLIBMM_CXX_HAS_STD_ITERATOR_TRAITS() -## -## Check for standard-conform std::iterator_traits<>, and -## #define GLIBMM_HAVE_STD_ITERATOR_TRAITS on success. -## -AC_DEFUN([GLIBMM_CXX_HAS_STD_ITERATOR_TRAITS], -[ - AC_REQUIRE([GLIBMM_CXX_HAS_NAMESPACE_STD]) - - AC_CACHE_CHECK( - [whether the C++ library supports std::iterator_traits], - [gtkmm_cv_cxx_has_std_iterator_traits], - [ - AC_TRY_COMPILE( - [ - #include - #ifdef GLIBMM_HAVE_NAMESPACE_STD - using namespace std; - #endif - ],[ - typedef iterator_traits::value_type ValueType; - ], - [gtkmm_cv_cxx_has_std_iterator_traits="yes"], - [gtkmm_cv_cxx_has_std_iterator_traits="no"] - ) - ]) - - if test "x${gtkmm_cv_cxx_has_std_iterator_traits}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_STD_ITERATOR_TRAITS],[1], [Defined if std::iterator_traits<> is standard-conforming]) - } - fi -]) - - -## GLIBMM_CXX_HAS_SUN_REVERSE_ITERATOR() -## -## Check for Sun libCstd style std::reverse_iterator, -## and #define GLIBMM_HAVE_SUN_REVERSE_ITERATOR if found. -## -AC_DEFUN([GLIBMM_CXX_HAS_SUN_REVERSE_ITERATOR], -[ - AC_REQUIRE([GLIBMM_CXX_HAS_NAMESPACE_STD]) - - AC_CACHE_CHECK( - [for non-standard Sun libCstd reverse_iterator], - [gtkmm_cv_cxx_has_sun_reverse_iterator], - [ - AC_TRY_COMPILE( - [ - #include - #ifdef GLIBMM_HAVE_NAMESPACE_STD - using namespace std; - #endif - ],[ - typedef reverse_iterator ReverseIter; - ], - [gtkmm_cv_cxx_has_sun_reverse_iterator="yes"], - [gtkmm_cv_cxx_has_sun_reverse_iterator="no"] - ) - ]) - - if test "x${gtkmm_cv_cxx_has_sun_reverse_iterator}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_SUN_REVERSE_ITERATOR],[1], [Defined if std::reverse_iterator is in Sun libCstd style]) - } - fi -]) - - -## GLIBMM_CXX_HAS_TEMPLATE_SEQUENCE_CTORS() -## -## Check whether the STL containers have templated sequence ctors, -## and #define GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS on success. -## -AC_DEFUN([GLIBMM_CXX_HAS_TEMPLATE_SEQUENCE_CTORS], -[ - AC_REQUIRE([GLIBMM_CXX_HAS_NAMESPACE_STD]) - - AC_CACHE_CHECK( - [whether STL containers have templated sequence constructors], - [gtkmm_cv_cxx_has_template_sequence_ctors], - [ - AC_TRY_COMPILE( - [ - #include - #include - #include - #ifdef GLIBMM_HAVE_NAMESPACE_STD - using namespace std; - #endif - ],[ - const int array[8] = { 0, }; - vector test_vector (&array[0], &array[8]); - deque test_deque (test_vector.begin(), test_vector.end()); - list test_list (test_deque.begin(), test_deque.end()); - test_vector.assign(test_list.begin(), test_list.end()); - ], - [gtkmm_cv_cxx_has_template_sequence_ctors="yes"], - [gtkmm_cv_cxx_has_template_sequence_ctors="no"] - ) - ]) - - if test "x${gtkmm_cv_cxx_has_template_sequence_ctors}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS],[1], [Defined if the STL containers have templated sequence ctors]) - } - fi -]) - -## GLIBMM_CXX_ALLOWS_STATIC_INLINE_NPOS() -## -## Check whether the a static member variable may be initialized inline to std::string::npos. -## The MipsPro (IRIX) compiler does not like this. -## and #define GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS on success. -## -AC_DEFUN([GLIBMM_CXX_ALLOWS_STATIC_INLINE_NPOS], -[ - AC_REQUIRE([GLIBMM_CXX_HAS_NAMESPACE_STD]) - - AC_CACHE_CHECK( - [whether the compiler allows a static member variable to be initialized inline to std::string::npos], - [gtkmm_cv_cxx_has_allows_static_inline_npos], - [ - AC_TRY_COMPILE( - [ - #include - #include - - class ustringtest - { - public: - //The MipsPro compiler (IRIX) says "The indicated constant value is not known", - //so we need to initalize the static member data elsewhere. - static const std::string::size_type ustringnpos = std::string::npos; - }; - ],[ - std::cout << "npos=" << ustringtest::ustringnpos << std::endl; - ], - [gtkmm_cv_cxx_has_allows_static_inline_npos="yes"], - [gtkmm_cv_cxx_has_allows_static_inline_npos="no"] - ) - ]) - - if test "x${gtkmm_cv_cxx_has_allows_static_inline_npos}" = "xyes"; then - { - AC_DEFINE([GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS],[1], [Defined if a static member variable may be initialized inline to std::string::npos]) - } - fi -]) - - diff --git a/libs/glibmm2/scripts/depcomp b/libs/glibmm2/scripts/depcomp deleted file mode 100755 index e5f9736c72..0000000000 --- a/libs/glibmm2/scripts/depcomp +++ /dev/null @@ -1,589 +0,0 @@ -#! /bin/sh -# depcomp - compile a program generating dependencies as side-effects - -scriptversion=2007-03-29.01 - -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software -# Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# Originally written by Alexandre Oliva . - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: depcomp [--help] [--version] PROGRAM [ARGS] - -Run PROGRAMS ARGS to compile a file, generating dependencies -as side-effects. - -Environment variables: - depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. - DEPDIR directory where to store dependencies. - depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. - libtool Whether libtool is used (yes/no). - -Report bugs to . -EOF - exit $? - ;; - -v | --v*) - echo "depcomp $scriptversion" - exit $? - ;; -esac - -if test -z "$depmode" || test -z "$source" || test -z "$object"; then - echo "depcomp: Variables source, object and depmode must be set" 1>&2 - exit 1 -fi - -# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. -depfile=${depfile-`echo "$object" | - sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} -tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} - -rm -f "$tmpdepfile" - -# Some modes work just like other modes, but use different flags. We -# parameterize here, but still list the modes in the big case below, -# to make depend.m4 easier to write. Note that we *cannot* use a case -# here, because this file can only contain one case statement. -if test "$depmode" = hp; then - # HP compiler uses -M and no extra arg. - gccflag=-M - depmode=gcc -fi - -if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout -fi - -case "$depmode" in -gcc3) -## gcc 3 implements dependency tracking that does exactly what -## we want. Yay! Note: for some reason libtool 1.4 doesn't like -## it if -MD -MP comes after the -MF stuff. Hmm. -## Unfortunately, FreeBSD c89 acceptance of flags depends upon -## the command line argument order; so add the flags where they -## appear in depend2.am. Note that the slowdown incurred here -## affects only configure: in makefiles, %FASTDEP% shortcuts this. - for arg - do - case $arg in - -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; - *) set fnord "$@" "$arg" ;; - esac - shift # fnord - shift # $arg - done - "$@" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - mv "$tmpdepfile" "$depfile" - ;; - -gcc) -## There are various ways to get dependency output from gcc. Here's -## why we pick this rather obscure method: -## - Don't want to use -MD because we'd like the dependencies to end -## up in a subdir. Having to rename by hand is ugly. -## (We might end up doing this anyway to support other compilers.) -## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). -## - Using -M directly means running the compiler twice (even worse -## than renaming). - if test -z "$gccflag"; then - gccflag=-MD, - fi - "$@" -Wp,"$gccflag$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. - sed -e 's/^[^:]*: / /' \ - -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. -## The problem is that when a header file which appears in a .P file -## is deleted, the dependency causes make to die (because there is -## typically no way to rebuild the header). We avoid this by adding -## dummy dependencies for each header file. Too bad gcc doesn't do -## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory -## that the space means something, we add a space to the output as -## well. -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp) - # This case exists only to let depend.m4 do its work. It works by - # looking at the text of this script. This case will never be run, - # since it is checked for above. - exit 1 - ;; - -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the - # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> $depfile - echo >> $depfile - - # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> $depfile - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -aix) - # The C for AIX Compiler uses -M and outputs the dependencies - # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the - # start of each line; $object doesn't have directory information. - # Version 6 uses the directory in both cases. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.u - tmpdepfile2=$base.u - tmpdepfile3=$dir.libs/$base.u - "$@" -Wc,-M - else - tmpdepfile1=$dir$base.u - tmpdepfile2=$dir$base.u - tmpdepfile3=$dir$base.u - "$@" -M - fi - stat=$? - - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output - # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : - # foo.o: sub/foo.c ... \ - # sub/foo.h ... \ - # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - # Each line is of the form `foo.o: dependent.h', - # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" - # Some versions of the HPUX 10.20 sed can't process this invocation - # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -hp2) - # The "hp" stanza above does not work with aCC (C++) and HP's ia64 - # compilers, which have integrated preprocessors. The correct option - # to use with these is +Maked; it writes dependencies to a file named - # 'foo.d', which lands next to the object file, wherever that - # happens to be. - # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - if test "$libtool" = yes; then - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir.libs/$base.d - "$@" -Wc,+Maked - else - tmpdepfile1=$dir$base.d - tmpdepfile2=$dir$base.d - "$@" +Maked - fi - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" "$tmpdepfile2" - ;; - -tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; - -#nosideeffect) - # This comment above is used by automake to tell side-effect - # dependency tracking mechanisms from slower ones. - -dashmstdout) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' - # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. - "$@" $dashmflag | - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -dashXmstdout) - # This case only exists to satisfy depend.m4. It is never actually - # run, as this mode is specially recognized in the preamble. - exit 1 - ;; - -makedepend) - "$@" || exit $? - # Remove any Libtool call - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - # X makedepend - shift - cleared=no - for arg in "$@"; do - case $cleared in - no) - set ""; shift - cleared=yes ;; - esac - case "$arg" in - -D*|-I*) - set fnord "$@" "$arg"; shift ;; - # Strip any option that makedepend may not understand. Remove - # the object too, otherwise makedepend will parse it as a source file. - -*|$object) - ;; - *) - set fnord "$@" "$arg"; shift ;; - esac - done - obj_suffix="`echo $object | sed 's/^.*\././'`" - touch "$tmpdepfile" - ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" - rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" "$tmpdepfile".bak - ;; - -cpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout. - "$@" || exit $? - - # Remove the call to Libtool. - if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do - shift - done - shift - fi - - # Remove `-o $object'. - IFS=" " - for arg - do - case $arg in - -o) - shift - ;; - $object) - shift - ;; - *) - set fnord "$@" "$arg" - shift # fnord - shift # $arg - ;; - esac - done - - "$@" -E | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - cat < "$tmpdepfile" >> "$depfile" - sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -msvisualcpp) - # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o, - # because we must use -o when running libtool. - "$@" || exit $? - IFS=" " - for arg - do - case "$arg" in - "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; - *) - set fnord "$@" "$arg" - shift - shift - ;; - esac - done - "$@" -E | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" - rm -f "$depfile" - echo "$object : \\" > "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" - rm -f "$tmpdepfile" - ;; - -none) - exec "$@" - ;; - -*) - echo "Unknown depmode $depmode" 1>&2 - exit 1 - ;; -esac - -exit 0 - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/libs/glibmm2/scripts/dk-feature.m4 b/libs/glibmm2/scripts/dk-feature.m4 deleted file mode 100644 index 87a0e26e3e..0000000000 --- a/libs/glibmm2/scripts/dk-feature.m4 +++ /dev/null @@ -1,101 +0,0 @@ -## Copyright (c) 2004-2007 Daniel Elstner -## -## This file is part of danielk's Autostuff. -## -## danielk's Autostuff is free software; you can redistribute it and/or -## modify it under the terms of the GNU General Public License as published -## by the Free Software Foundation; either version 2 of the License, or (at -## your option) any later version. -## -## danielk's Autostuff is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -## for more details. -## -## You should have received a copy of the GNU General Public License along -## with danielk's Autostuff; if not, write to the Free Software Foundation, -## Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -#serial 20070105 - -## _DK_SH_VAR_PUSH_DEPTH(depth, variable, [value]) -## -m4_define([_DK_SH_VAR_PUSH_DEPTH], -[dnl -m4_pushdef([_DK_SH_VAR_DEPTH_$2], [$1])[]dnl -dk_save_sh_var_$2_$1=$$2 -m4_if([$3], [],, [$2=$3 -])[]dnl -]) - -## _DK_SH_VAR_POP_DEPTH(depth, variable) -## -m4_define([_DK_SH_VAR_POP_DEPTH], -[dnl -$2=$dk_save_sh_var_$2_$1 -m4_popdef([_DK_SH_VAR_DEPTH_$2])[]dnl -]) - -## DK_SH_VAR_PUSH(variable, [value]) -## -## Temporarily replace the current value of the shell variable -## with until DK_SH_VAR_POP() is invoked to restore the -## original value. If is empty, is left unchanged but -## its current value is still saved. -## -## This macro may safely be used repeatedly on the same shell variable, -## as long as each DK_SH_VAR_PUSH(variable) is matched by a corresponding -## DK_SH_VAR_POP(variable). -## -AC_DEFUN([DK_SH_VAR_PUSH], -[dnl -m4_if([$1],, [AC_FATAL([argument expected])])[]dnl -_DK_SH_VAR_PUSH_DEPTH(m4_ifdef([_DK_SH_VAR_DEPTH_$1], - [m4_incr(_DK_SH_VAR_DEPTH_$1)], - [1]), - [$1], [$2])[]dnl -]) - -## DK_SH_VAR_POP(variable) -## -## Restore the original value of the shell variable which it had -## before the corresponding invocation of DK_SH_VAR_PUSH(). -## -AC_DEFUN([DK_SH_VAR_POP], -[dnl -m4_if([$1],, [AC_FATAL([argument expected])])[]dnl -_DK_SH_VAR_POP_DEPTH(_DK_SH_VAR_DEPTH_$1, [$1])[]dnl -]) - -## _DK_CHECK_FEATURE_VAR(feature, source, cache var, shell var, cpp define) -## -m4_define([_DK_CHECK_FEATURE_VAR], -[dnl -AC_CACHE_CHECK([for $1], [$3], - [AC_LINK_IFELSE([$2], [$3=yes], [$3=no])]) -$4=$$3 - -AS_IF([test "x$$4" = xyes], - [AC_DEFINE([$5], [1], [Define to 1 if $1 is available.]) -])[]dnl -]) - -## DK_CHECK_FEATURE(feature, test source) -## -## Check for a feature of the C/C++ environment. If compiling and linking -## the supplied test program is successful, the configuration header macro -## _HAVE_ is defined to 1 and "yes" is assigned -## to the shell variable _FEATURE_. Otherwise, -## _FEATURE_ is set to "no". -## -## This macro is intended to be used in conjunction with AC_LANG_PROGRAM -## or AC_LANG_SOURCE. -## -AC_DEFUN([DK_CHECK_FEATURE], -[dnl -m4_if([$2],, [AC_FATAL([2 arguments expected])])[]dnl -_DK_CHECK_FEATURE_VAR([$1], [$2], - m4_quote(AS_TR_SH([dk_cv_feature_$1])), - m4_quote(AS_TR_CPP(AC_PACKAGE_TARNAME[_FEATURE_$1])), - m4_quote(AS_TR_CPP(AC_PACKAGE_TARNAME[_HAVE_$1])))[]dnl -]) diff --git a/libs/glibmm2/scripts/docgen.m4 b/libs/glibmm2/scripts/docgen.m4 deleted file mode 100644 index 8a04aaaab7..0000000000 --- a/libs/glibmm2/scripts/docgen.m4 +++ /dev/null @@ -1,75 +0,0 @@ - -## GTKMM_DOXYGEN_INPUT_SUBDIRS(subdirectory list) -## -AC_DEFUN([GTKMM_DOXYGEN_INPUT_SUBDIRS], -[ -GTKMM_DOXYGEN_INPUT= -gtkmm_srcdir=`cd "$srcdir" >/dev/null && pwd` - -gtkmm_list="$@" -for gtkmm_sublib in $gtkmm_list -do - GTKMM_DOXYGEN_INPUT="$GTKMM_DOXYGEN_INPUT ${gtkmm_srcdir}/${gtkmm_sublib}/${gtkmm_sublib}mm/" -done - -AC_SUBST(GTKMM_DOXYGEN_INPUT) -]) - - -## GTKMM_ARG_ENABLE_FULLDOCS() -## -## Check whether to build the full docs into the generated source. If yes, -## set GTKMMPROC_MERGECDOCS='--mergecdocs', which will be passed to gtkmmproc -## (in build_shared/Makefile_gensrc.am_fragment). This will be much slower. -## -AC_DEFUN([GTKMM_ARG_ENABLE_FULLDOCS], -[ -AC_REQUIRE([GLIBMM_CHECK_PERL]) - -AC_MSG_CHECKING([[whether to merge C reference docs into generated headers]]) - -AC_ARG_ENABLE([fulldocs], - [ --enable-fulldocs Generate fully-documented reference docs, takes - longer to build. [[default=enabled for CVS builds]]], - [gtkmm_enable_fulldocs=$enableval], - [gtkmm_enable_fulldocs=$USE_MAINTAINER_MODE]) - -AC_MSG_RESULT([${gtkmm_enable_fulldocs}]) - -GTKMMPROC_MERGECDOCS= - -if test "x$gtkmm_enable_fulldocs" = xyes; then -{ - GTKMMPROC_MERGECDOCS='--mergecdocs' - - if test "x$USE_MAINTAINER_MODE" != xyes; then - { - AC_MSG_WARN([[ -*** --enable-fulldocs only works if --enable-maintainer-mode is also set. -*** gtkmm source tarballs should be packaged with --enable-fulldocs, so -*** usually you don't need this option unless you got gtkmm from CVS. -]]) - } - fi - - AC_CACHE_CHECK( - [whether the XML::Parser module is available], - [gtkmm_cv_have_xml_parser], - [ - gtkmm_cv_have_xml_parser=no - "$PERL_PATH" -e 'use strict; use XML::Parser; exit 0;' >&5 2>&5 && gtkmm_cv_have_xml_parser=yes - ]) - - if test "x$gtkmm_cv_have_xml_parser" = xno; then - { - AC_MSG_ERROR([[ -*** The Perl module XML::Parser is required to build $PACKAGE from CVS. -]]) - } - fi -} -fi - -AC_SUBST(GTKMMPROC_MERGECDOCS) -]) - diff --git a/libs/glibmm2/scripts/glibmm_check_perl.m4 b/libs/glibmm2/scripts/glibmm_check_perl.m4 deleted file mode 100644 index 62519e5c43..0000000000 --- a/libs/glibmm2/scripts/glibmm_check_perl.m4 +++ /dev/null @@ -1,54 +0,0 @@ -dnl -dnl Some macros needed for autoconf -dnl - - -## GLIBMM_CV_PERL_VERSION(version) -## -## Helper macro of GLIBMM_CHECK_PERL(). It generates a cache variable -## name that includes the version number, in order to avoid clashes. -## -AC_DEFUN([GLIBMM_CV_PERL_VERSION],[glibmm_cv_perl_version_[]m4_translit([$1],[.${}],[____])]) - - -## GLIBMM_CHECK_PERL(version) -## -## Check for Perl >= version and set PERL_PATH. If Perl is not found -## and maintainer-mode is enabled, abort with an error message. If not -## in maintainer-mode, set PERL_PATH=perl on failure. -## -AC_DEFUN([GLIBMM_CHECK_PERL], -[ - glibmm_perl_result=no - - AC_PATH_PROGS([PERL_PATH], [perl perl5], [not found]) - - if test "x$PERL_PATH" != "xnot found"; then - { - AC_CACHE_CHECK( - [whether Perl is new enough], - GLIBMM_CV_PERL_VERSION([$1]), - [ - ]GLIBMM_CV_PERL_VERSION([$1])[=no - "$PERL_PATH" -e "require v$1; exit 0;" >/dev/null 2>&1 && ]GLIBMM_CV_PERL_VERSION([$1])[=yes - ]) - test "x${GLIBMM_CV_PERL_VERSION([$1])}" = xyes && glibmm_perl_result=yes - } - else - { - # Make sure we have something sensible, even if it doesn't work. - PERL_PATH=perl - } - fi - - if test "x$glibmm_perl_result" = xno && test "x$USE_MAINTAINER_MODE" = xyes; then - { - AC_MSG_ERROR([[ -*** Perl >= ]$1[ is required for building $PACKAGE in maintainer-mode. -]]) - } - fi - - AC_SUBST([PERL_PATH]) -]) - diff --git a/libs/glibmm2/scripts/macros.m4 b/libs/glibmm2/scripts/macros.m4 deleted file mode 100644 index 71afb22b67..0000000000 --- a/libs/glibmm2/scripts/macros.m4 +++ /dev/null @@ -1,134 +0,0 @@ -dnl -dnl Some macros needed for autoconf -dnl - -dnl AL_PROG_GNU_M4(ACTION_NOT_FOUND) -dnl Check for GNU m4. (sun won't do.) -dnl -AC_DEFUN([AL_PROG_GNU_M4],[ -AC_CHECK_PROGS(M4, gm4 m4, m4) - -if test "$M4" = "m4"; then - AC_MSG_CHECKING(whether m4 is GNU m4) - if $M4 --version /dev/null | grep -i '^GNU M4 ' >/dev/null ; then - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - if test "$host_vendor" = "sun"; then - $1 - fi - fi -fi -]) - - -dnl AL_PROG_GNU_MAKE(ACTION_NOT_FOUND) -dnl Check for GNU make (no sun make) -dnl -AC_DEFUN([AL_PROG_GNU_MAKE],[ -dnl -dnl Check for GNU make (stolen from gtk+/configure.in) -AC_MSG_CHECKING(whether make is GNU Make) -if ${MAKE-make} --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) - if test "$host_vendor" = "sun" ; then - $1 - fi -fi -]) - -dnl AL_ACLOCAL_INCLUDE(macrodir) -dnl Add a directory to macro search (from gnome) -AC_DEFUN([AL_ACLOCAL_INCLUDE], -[ - test "x$ACLOCAL_FLAGS" = "x" || ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" - for dir in $1 - do - ACLOCAL="$ACLOCAL -I $srcdir/$dir" - done -]) - - -## GLIBMM_ARG_ENABLE_DEBUG_REFCOUNTING() -## -## Provide the --enable-debug-refcounting configure argument, disabled -## by default. If enabled, #define GTKMM_DEBUG_REFCOUNTING. -## -AC_DEFUN([GLIBMM_ARG_ENABLE_DEBUG_REFCOUNTING], -[ - AC_ARG_ENABLE([debug-refcounting], - [ --enable-debug-refcounting Print a debug message on every ref/unref. - [[default=disabled]]], - [glibmm_debug_refcounting="$enableval"], - [glibmm_debug_refcounting='no']) - - if test "x$glibmm_debug_refcounting" = "xyes"; then - { - AC_DEFINE([GLIBMM_DEBUG_REFCOUNTING],[1], [Defined when the --enable-debug-refcounting configure argument was given]) - } - fi -]) - - -## GTKMM_ARG_ENABLE_WARNINGS() -## -## Provide the --enable-warnings configure argument, set to 'minimum' -## by default. -## -AC_DEFUN([GTKMM_ARG_ENABLE_WARNINGS], -[ - AC_ARG_ENABLE([warnings], - [ --enable-warnings=[[none|minimum|maximum|hardcore]] - Control compiler pickyness. [[default=minimum]]], - [gtkmm_enable_warnings="$enableval"], - [gtkmm_enable_warnings='minimum']) - - AC_MSG_CHECKING([for compiler warning flags to use]) - - gtkmm_warning_flags='' - - case "$gtkmm_enable_warnings" in - minimum|yes) gtkmm_warning_flags='-Wall -Wno-long-long';; - maximum) gtkmm_warning_flags='-pedantic -W -Wall -Wno-long-long';; - hardcore) gtkmm_warning_flags='-pedantic -W -Wall -Wno-long-long -Werror';; - esac - - gtkmm_use_flags='' - - if test "x$gtkmm_warning_flags" != "x" - then - echo 'int foo() { return 0; }' > conftest.cc - - for flag in $gtkmm_warning_flags - do - # Test whether the compiler accepts the flag. GCC doesn't bail - # out when given an unsupported flag but prints a warning, so - # check the compiler output instead. - gtkmm_cxx_out="`$CXX $flag -c conftest.cc 2>&1`" - rm -f conftest.$OBJEXT - test "x${gtkmm_cxx_out}" = "x" && \ - gtkmm_use_flags="${gtkmm_use_flags:+$gtkmm_use_flags }$flag" - done - - rm -f conftest.cc - gtkmm_cxx_out='' - fi - - if test "x$gtkmm_use_flags" != "x" - then - for flag in $gtkmm_use_flags - do - case " $CXXFLAGS " in - *" $flag "*) ;; # don't add flags twice - *) CXXFLAGS="${CXXFLAGS:+$CXXFLAGS }$flag";; - esac - done - else - gtkmm_use_flags='none' - fi - - AC_MSG_RESULT([$gtkmm_use_flags]) -]) - diff --git a/libs/glibmm2/scripts/reduced.m4 b/libs/glibmm2/scripts/reduced.m4 deleted file mode 100644 index 9411a57824..0000000000 --- a/libs/glibmm2/scripts/reduced.m4 +++ /dev/null @@ -1,106 +0,0 @@ -## GLIBMM_ARG_ENABLE_API_PROPERTIES() -## -## Provide the --enable-api-properties configure argument, enabled -## by default. -## -AC_DEFUN([GLIBMM_ARG_ENABLE_API_PROPERTIES], -[ - AC_ARG_ENABLE([api-properties], - [ --enable-api-properties Build properties API. - [[default=yes]]], - [glibmm_enable_api_properties="$enableval"], - [glibmm_enable_api_properties='yes']) - - if test "x$glibmm_enable_api_properties" = "xyes"; then - { - AC_DEFINE([GLIBMM_PROPERTIES_ENABLED],[1], [Defined when the --enable-api-properties configure argument was given]) - } - fi -]) - -## GLIBMM_ARG_ENABLE_API_VFUNCS() -## -## Provide the --enable-api-vfuncs configure argument, enabled -## by default. -## -AC_DEFUN([GLIBMM_ARG_ENABLE_API_VFUNCS], -[ - AC_ARG_ENABLE([api-vfuncs], - [ --enable-api-vfuncs Build vfuncs API. - [[default=yes]]], - [glibmm_enable_api_vfuncs="$enableval"], - [glibmm_enable_api_vfuncs='yes']) - - if test "x$glibmm_enable_api_vfuncs" = "xyes"; then - { - AC_DEFINE([GLIBMM_VFUNCS_ENABLED],[1], [Defined when the --enable-api-vfuncs configure argument was given]) - } - fi -]) - -## GLIBMM_ARG_ENABLE_API_EXCEPTIONS() -## -## Provide the --enable-api-exceptions configure argument, enabled -## by default. -## -AC_DEFUN([GLIBMM_ARG_ENABLE_API_EXCEPTIONS], -[ - AC_ARG_ENABLE([api-exceptions], - [ --enable-api-exceptions Build exceptions API. - [[default=yes]]], - [glibmm_enable_api_exceptions="$enableval"], - [glibmm_enable_api_exceptions='yes']) - - if test "x$glibmm_enable_api_exceptions" = "xyes"; then - { - AC_DEFINE([GLIBMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given]) - } - fi -]) - -## GLIBMM_ARG_ENABLE_API_DEPRECATED() -## -## Provide the --enable-deprecated-api configure argument, enabled -## by default. -## -AC_DEFUN([GLIBMM_ARG_ENABLE_API_DEPRECATED], -[ - AC_ARG_ENABLE(deprecated-api, - [ --enable-deprecated-api Include (build) deprecated API in the libraries. - [[default=yes]]], - [glibmm_enable_api_deprecated="$enableval"], - [glibmm_enable_api_deprecated='yes']) - - if test "x$glibmm_enable_api_deprecated" = "xyes"; then - { - AC_MSG_WARN([Deprecated API will be built, for backwards-compatibility.]) - } - else - { - AC_MSG_WARN([Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages.]) - DISABLE_DEPRECATED_API_CFLAGS="-DGLIBMM_DISABLE_DEPRECATED" - AC_SUBST(DISABLE_DEPRECATED_API_CFLAGS) - } - fi -]) - - -## GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS() -## -## Provide the --enable-api-default-signal-handlers configure argument, enabled -## by default. -## -AC_DEFUN([GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS], -[ - AC_ARG_ENABLE([api-default-signal-handlers], - [ --enable-api-default-signal-handlers Build default signal handlers API. - [[default=yes]]], - [glibmm_enable_api_default_signal_handlers="$enableval"], - [glibmm_enable_api_default_signal_handlers='yes']) - - if test "x$glibmm_enable_api_default_signal_handlers" = "xyes"; then - { - AC_DEFINE([GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED],[1], [Defined when the --enable-api-default-signal-handlers configure argument was given]) - } - fi -]) diff --git a/libs/glibmm2/scripts/sun.m4 b/libs/glibmm2/scripts/sun.m4 deleted file mode 100644 index 6b8950f798..0000000000 --- a/libs/glibmm2/scripts/sun.m4 +++ /dev/null @@ -1,15 +0,0 @@ -AC_DEFUN([GLIBMM_PROG_CXX_SUN], - [AC_CACHE_CHECK(whether we are using SUN CC compiler, ac_cv_prog_sun_cxx, - [if AC_TRY_COMMAND(${CXX-g++} -V 2>&1) | egrep "Sun WorkShop" >/dev/null 2>&1; then - ac_cv_prog_sun_cxx=yes - else - ac_cv_prog_sun_cxx=no - fi] - )] - - if test "x${ac_cv_prog_sun_cxx}" = "xyes"; then - { - AC_DEFINE([GLIBMM_COMPILER_SUN_FORTE],[1], [Defined when the SUN Forte C++ compiler is being used.]) - } - fi -) diff --git a/libs/glibmm2/tools/Makefile.am b/libs/glibmm2/tools/Makefile.am deleted file mode 100644 index 7efc4e05f2..0000000000 --- a/libs/glibmm2/tools/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ - -include $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment - -SUBDIRS = m4 pm extra_defs_gen - -EXTRA_DIST = Makefile_list_of_sources.am_fragment $(files_tools_perl) README TODO enum.pl - -gmmproc_bin_SCRIPTS = gmmproc $(files_tools_genwrap) -gmmproc_bindir = $(GMMPROC_DIR) - - diff --git a/libs/glibmm2/tools/Makefile.in b/libs/glibmm2/tools/Makefile.in deleted file mode 100644 index 170e587c9b..0000000000 --- a/libs/glibmm2/tools/Makefile.in +++ /dev/null @@ -1,565 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/generate_wrap_init.pl.in $(srcdir)/gmmproc.in \ - $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment \ - $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment \ - TODO -subdir = tools -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = gmmproc generate_wrap_init.pl -am__installdirs = "$(DESTDIR)$(gmmproc_bindir)" -gmmproc_binSCRIPT_INSTALL = $(INSTALL_SCRIPT) -SCRIPTS = $(gmmproc_bin_SCRIPTS) -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ - distclean-recursive maintainer-clean-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -files_tools_m4 = base.m4 class_shared.m4 class_boxedtype.m4 class_boxedtype_static.m4 \ - class_generic.m4 class_gobject.m4 class_gtkobject.m4 \ - class_interface.m4 class_opaque_refcounted.m4 class_opaque_copyable.m4 \ - gerror.m4 \ - compare.m4 convert.m4 convert_base.m4 convert_gtkmm.m4 convert_atk.m4 convert_gdk.m4 \ - convert_glib.m4 convert_gio.m4 convert_gtk.m4 convert_pango.m4 ctor.m4 doc.m4 enum.m4 list.m4 member.m4 \ - method.m4 property.m4 signal.m4 vfunc.m4 - -files_tools_pm = DocsParser.pm GtkDefs.pm Enum.pm Function.pm FunctionBase.pm Object.pm Output.pm Property.pm Util.pm WrapParser.pm -files_tools_genwrap = generate_wrap_init.pl -files_tools_perl = $(files_tools_genwrap) gmmproc.in -SUBDIRS = m4 pm extra_defs_gen -EXTRA_DIST = Makefile_list_of_sources.am_fragment $(files_tools_perl) README TODO enum.pl -gmmproc_bin_SCRIPTS = gmmproc $(files_tools_genwrap) -gmmproc_bindir = $(GMMPROC_DIR) -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu tools/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -gmmproc: $(top_builddir)/config.status $(srcdir)/gmmproc.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -generate_wrap_init.pl: $(top_builddir)/config.status $(srcdir)/generate_wrap_init.pl.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -install-gmmproc_binSCRIPTS: $(gmmproc_bin_SCRIPTS) - @$(NORMAL_INSTALL) - test -z "$(gmmproc_bindir)" || $(MKDIR_P) "$(DESTDIR)$(gmmproc_bindir)" - @list='$(gmmproc_bin_SCRIPTS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - if test -f $$d$$p; then \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " $(gmmproc_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(gmmproc_bindir)/$$f'"; \ - $(gmmproc_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(gmmproc_bindir)/$$f"; \ - else :; fi; \ - done - -uninstall-gmmproc_binSCRIPTS: - @$(NORMAL_UNINSTALL) - @list='$(gmmproc_bin_SCRIPTS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ - echo " rm -f '$(DESTDIR)$(gmmproc_bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(gmmproc_bindir)/$$f"; \ - done - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -$(RECURSIVE_CLEAN_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - am__remove_distdir=: \ - am__skip_length_check=: \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(SCRIPTS) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(gmmproc_bindir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: install-gmmproc_binSCRIPTS - -install-dvi: install-dvi-recursive - -install-exec-am: - -install-html: install-html-recursive - -install-info: install-info-recursive - -install-man: - -install-pdf: install-pdf-recursive - -install-ps: install-ps-recursive - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-gmmproc_binSCRIPTS - -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ - install-strip - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am check check-am clean clean-generic clean-libtool \ - ctags ctags-recursive distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-gmmproc_binSCRIPTS install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-gmmproc_binSCRIPTS - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/tools/Makefile_list_of_sources.am_fragment b/libs/glibmm2/tools/Makefile_list_of_sources.am_fragment deleted file mode 100644 index dcdc9ab416..0000000000 --- a/libs/glibmm2/tools/Makefile_list_of_sources.am_fragment +++ /dev/null @@ -1,5 +0,0 @@ -include $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment -include $(top_srcdir)/tools/pm/Makefile_list_of_sources.am_fragment - -files_tools_genwrap = generate_wrap_init.pl -files_tools_perl = $(files_tools_genwrap) gmmproc.in diff --git a/libs/glibmm2/tools/README b/libs/glibmm2/tools/README deleted file mode 100644 index ae015279d7..0000000000 --- a/libs/glibmm2/tools/README +++ /dev/null @@ -1,4 +0,0 @@ -This directory contains the gtkmm preprocessor used for wrapping -gtk+ objects. - -See docs/internal/ for some gtkmmproc documentation. diff --git a/libs/glibmm2/tools/TODO b/libs/glibmm2/tools/TODO deleted file mode 100644 index 75598b9523..0000000000 --- a/libs/glibmm2/tools/TODO +++ /dev/null @@ -1,12 +0,0 @@ -* streams - - Please give more information. murrayc - -* Incorporate new GtkDefs parser. - What does this mean? murrayc. - -* Get gtkmmproc to run outside install directory. - What does this mean? It runs for gtkmm and it runs installed for libgnome*mm. - - - - diff --git a/libs/glibmm2/tools/enum.pl b/libs/glibmm2/tools/enum.pl deleted file mode 100644 index 97804c5f2f..0000000000 --- a/libs/glibmm2/tools/enum.pl +++ /dev/null @@ -1,233 +0,0 @@ -#! /usr/bin/perl - -# The lisp definitions for flags does not include order. -# thus we must extract it ourselves. -# Usage: ./enum.pl /gnome/head/cvs/gconf/gconf/*.h > gconf_enums.defs - -use warnings; - -my %token; -$module="none"; - -while ($ARGV[0] =~ /^--(\S+)/) -{ - shift @ARGV; - $module=shift @ARGV if ($1 eq "module"); - if ($1 eq "help") - { - print "enum.pl [--module modname] header_files ....\n"; - exit 0; - } -} - -foreach $file (@ARGV) -{ - &parse($file); -} - -exit; - - - -# parse enums from C -sub parse -{ - my ($file)=@_; - - $from=0; - open(FILE,$file); - - $enum=0; - $deprecated=0; - $comment=0; - - while() - { - if($comment) - { - # end of multiline comment - $comment = 0 if(/\*\//); - next; - } - - $deprecated = 1 if(s/^#ifndef [A-Z_]+_DISABLE_DEPRECATED//); - - ++$deprecated if($deprecated > 0 && /^#\s*if/); - --$deprecated if($deprecated > 0 && /^#\s*endif/); - - next if($deprecated > 0); - - # filter single-line comments - s/\/\*.*\*\///g; - - # begin of multiline comment - if(/\/\*/) - { - $comment = 1; - next; - } - - s/','/\%\%COMMA\%\%/; - s/'}'/\%\%RBRACE\%\%/; - if (/^\s*typedef enum/ ) - { - print ";; From $file\n\n" if (!$from); - $from=1; - $enum=1; - next; - } - - if ($enum && /\}/) - { - $enum=0; - &process($line,$_); - $line=""; - } - $line.=$_ if ($enum); - } -} - - -# convert enums to lisp -sub process -{ - my ($line,$def)=@_; - - $def=~s/\s*\}\s*//g; - $def=~s/\s*;\s*$//; - my $c_name=$def; - - $line=~s/\s+/ /g; - $line=~s/\/\*.*\*\///g; - $line=~s/\s*{\s*//; - - my $entity = "enum"; - $c_name =~ /^([A-Z][a-z]*)/; - $module = $1; - $def =~ s/$module//; - - @c_name=(); - @name=(); - @number=(); - - $val=0; - foreach $i (split(/,/,$line)) - { - $i=~s/^\s+//; - $i=~s/\s+$//; - if ($i =~ /^\S+$/) - { - push(@c_name,$i); - push(@number,sprintf("%d",$val)); - $token{$i}=$val; - } - elsif ($i =~ /^(\S+)\s*=\s*(0x[0-9a-fA-F]+)$/ || - $i =~ /^(\S+)\s*=\s*(-?[0-9]+)$/ || - $i =~ /^(\S+)\s*=\s*\(?(1\s*<<\s*[0-9]+)\)?$/ - ) - { - my ($tmp1, $tmp2) = ($1, $2); - push(@c_name, $tmp1); - eval("\$val = $tmp2;"); - $entity = "flags" if($tmp2 =~ /^1\s*< -#include - -int main (int argc, char** argv) -{ - g_type_init (); - - std::cout << get_defs(G_TYPE_ASYNC_RESULT) - << get_defs(G_TYPE_CANCELLABLE) - << get_defs(G_TYPE_BUFFERED_INPUT_STREAM) - << get_defs(G_TYPE_BUFFERED_OUTPUT_STREAM) - << get_defs(G_TYPE_DATA_INPUT_STREAM) - << get_defs(G_TYPE_DATA_OUTPUT_STREAM) - << get_defs(G_TYPE_DRIVE) - << get_defs(G_TYPE_FILE) - << get_defs(G_TYPE_FILE_ENUMERATOR) - << get_defs(G_TYPE_FILE_INFO) - << get_defs(G_TYPE_FILE_ICON) - << get_defs(G_TYPE_FILE_MONITOR) - << get_defs(G_TYPE_FILENAME_COMPLETER) -// << get_defs(G_TYPE_FILE_ATTRIBUTE_INFO_LIST) -// << get_defs(G_TYPE_FILE_ATTRIBUTE_MATCHER) - << get_defs(G_TYPE_FILE_INPUT_STREAM) - << get_defs(G_TYPE_FILE_OUTPUT_STREAM) - << get_defs(G_TYPE_FILTER_INPUT_STREAM) - << get_defs(G_TYPE_FILTER_OUTPUT_STREAM) - - << get_defs(G_TYPE_INPUT_STREAM) - << get_defs(G_TYPE_LOADABLE_ICON) - << get_defs(G_TYPE_MEMORY_INPUT_STREAM) - << get_defs(G_TYPE_MEMORY_OUTPUT_STREAM) - << get_defs(G_TYPE_MOUNT) - << get_defs(G_TYPE_MOUNT_OPERATION) - << get_defs(G_TYPE_SEEKABLE) - << get_defs(G_TYPE_SIMPLE_ASYNC_RESULT) - << get_defs(G_TYPE_THEMED_ICON) - - //TODO: This causes a g_warning: - //GLib-GObject-CRITICAL **: g_param_spec_pool_list: assertion `pool != NULL' failed" - << get_defs(G_TYPE_VOLUME) - - << get_defs(G_TYPE_VOLUME_MONITOR) - - << std::endl; - - return 0; -} diff --git a/libs/glibmm2/tools/extra_defs_gen/generate_defs_glib.cc b/libs/glibmm2/tools/extra_defs_gen/generate_defs_glib.cc deleted file mode 100644 index d643e0c46a..0000000000 --- a/libs/glibmm2/tools/extra_defs_gen/generate_defs_glib.cc +++ /dev/null @@ -1,34 +0,0 @@ -/* $Id: generate_defs_glib.cc 29 2003-04-19 12:39:06Z murrayc $ */ - -/* generate_defs_gtk.cc - * - * Copyright (C) 2001 The Free Software Foundation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include "generate_extra_defs.h" -//#include - -int main (int, char**) -{ - //glib_init(&argc, &argv); - - //std::cout << get_defs( ATK_TYPE_HYPERLINK ) - - std::cout << "No glib types were examined."; - - return 0; -} diff --git a/libs/glibmm2/tools/extra_defs_gen/generate_extra_defs.cc b/libs/glibmm2/tools/extra_defs_gen/generate_extra_defs.cc deleted file mode 100644 index 7d7426344d..0000000000 --- a/libs/glibmm2/tools/extra_defs_gen/generate_extra_defs.cc +++ /dev/null @@ -1,252 +0,0 @@ -/* $Id: generate_extra_defs.cc 793 2009-03-09 17:49:00Z daniel $ */ - -/* generate_extra_defs.cc - * - * Copyright (C) 2001 The Free Software Foundation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include "generate_extra_defs.h" -#include - -std::string get_properties(GType gtype) -{ - std::string strResult; - std::string strObjectName = g_type_name(gtype); - - //Get the list of properties: - GParamSpec** ppParamSpec = 0; - guint iCount = 0; - if(G_TYPE_IS_OBJECT(gtype)) - { - GObjectClass* pGClass = G_OBJECT_CLASS(g_type_class_ref(gtype)); - ppParamSpec = g_object_class_list_properties (pGClass, &iCount); - g_type_class_unref(pGClass); - - if(!ppParamSpec) - { - strResult += ";; Warning: g_object_class_list_properties() returned NULL for " + std::string(g_type_name(gtype)) + "\n"; - } - } - else if (G_TYPE_IS_INTERFACE(gtype)) - { - gpointer pGInterface = g_type_default_interface_ref(gtype); - if(pGInterface) //We check because this fails for G_TYPE_VOLUME, for some reason. - { - ppParamSpec = g_object_interface_list_properties(pGInterface, &iCount); - g_type_default_interface_unref(pGInterface); - - if(!ppParamSpec) - { - strResult += ";; Warning: g_object_interface_list_properties() returned NULL for " + std::string(g_type_name(gtype)) + "\n"; - } - } - } - - //This extra check avoids an occasional crash, for instance for GVolume - if(!ppParamSpec) - iCount = 0; - - for(guint i = 0; i < iCount; i++) - { - GParamSpec* pParamSpec = ppParamSpec[i]; - if(pParamSpec) - { - //Name and type: - const std::string strName = g_param_spec_get_name(pParamSpec); - const std::string strTypeName = G_PARAM_SPEC_TYPE_NAME(pParamSpec); - - const gchar* pchBlurb = g_param_spec_get_blurb(pParamSpec); - std::string strDocs = (pchBlurb) ? pchBlurb : ""; - // Quick hack to get rid of nested double quotes: - std::replace(strDocs.begin(), strDocs.end(), '"', '\''); - - strResult += "(define-property " + strName + "\n"; - strResult += " (of-object \"" + strObjectName + "\")\n"; - strResult += " (prop-type \"" + strTypeName + "\")\n"; - strResult += " (docs \"" + strDocs + "\")\n"; - - //Flags: - GParamFlags flags = pParamSpec->flags; - bool bReadable = (flags & G_PARAM_READABLE) == G_PARAM_READABLE; - bool bWritable = (flags & G_PARAM_WRITABLE) == G_PARAM_WRITABLE; - bool bConstructOnly = (flags & G_PARAM_CONSTRUCT_ONLY) == G_PARAM_CONSTRUCT_ONLY; - - //#t and #f aren't documented, but I guess that it's correct based on the example in the .defs spec. - const std::string strTrue = "#t"; - const std::string strFalse = "#f"; - - strResult += " (readable " + (bReadable ? strTrue : strFalse) + ")\n"; - strResult += " (writable " + (bWritable ? strTrue : strFalse) + ")\n"; - strResult += " (construct-only " + (bConstructOnly ? strTrue : strFalse) + ")\n"; - - strResult += ")\n\n"; //close (define-property - } - } - - g_free(ppParamSpec); - - return strResult; -} - -std::string get_type_name(GType gtype) //Adds a * if necessary. -{ - std::string strTypeName = g_type_name(gtype); - - if( g_type_is_a(gtype, G_TYPE_OBJECT) || g_type_is_a(gtype, G_TYPE_BOXED) ) - strTypeName += "*"; //Add * to show that it's a pointer. - else if( g_type_is_a(gtype, G_TYPE_STRING) ) - strTypeName = "gchar*"; //g_type_name() returns "gchararray". - - return strTypeName; -} - -std::string get_type_name_parameter(GType gtype) -{ - std::string strTypeName = get_type_name(gtype); - - //All signal parameters that are registered as GTK_TYPE_STRING are actually const gchar*. - if(strTypeName == "gchar*") - strTypeName = "const-gchar*"; - - return strTypeName; -} - -std::string get_type_name_signal(GType gtype) -{ - return get_type_name_parameter(gtype); //At the moment, it needs the same stuff. -} - - -std::string get_signals(GType gtype) -{ - std::string strResult; - std::string strObjectName = g_type_name(gtype); - - gpointer gclass_ref = 0; - gpointer ginterface_ref = 0; - - if(G_TYPE_IS_OBJECT(gtype)) - gclass_ref = g_type_class_ref(gtype); //Ensures that class_init() is called. - else if(G_TYPE_IS_INTERFACE(gtype)) - ginterface_ref = g_type_default_interface_ref(gtype); //install signals. - - //Get the list of signals: - guint iCount = 0; - guint* pIDs = g_signal_list_ids (gtype, &iCount); - - //Loop through the list of signals: - if(pIDs) - { - for(guint i = 0; i < iCount; i++) - { - guint signal_id = pIDs[i]; - - //Name: - std::string strName = g_signal_name(signal_id); - strResult += "(define-signal " + strName + "\n"; - strResult += " (of-object \"" + strObjectName + "\")\n"; - - - - //Other information about the signal: - GSignalQuery signalQuery = { 0, 0, 0, GSignalFlags(0), 0, 0, 0, }; - g_signal_query(signal_id, &signalQuery); - - //Return type: - std::string strReturnTypeName = get_type_name_signal( signalQuery.return_type & ~G_SIGNAL_TYPE_STATIC_SCOPE ); //The type is mangled with a flag. Hacky. - //bool bReturnTypeHasStaticScope = (signalQuery.return_type & G_SIGNAL_TYPE_STATIC_SCOPE) == G_SIGNAL_TYPE_STATIC_SCOPE; - strResult += " (return-type \"" + strReturnTypeName + "\")\n"; - - - //When: - { - bool bWhenFirst = (signalQuery.signal_flags & G_SIGNAL_RUN_FIRST) == G_SIGNAL_RUN_FIRST; - bool bWhenLast = (signalQuery.signal_flags & G_SIGNAL_RUN_LAST) == G_SIGNAL_RUN_LAST; - - std::string strWhen = "unknown"; - - if(bWhenFirst && bWhenLast) - strWhen = "both"; - else if(bWhenFirst) - strWhen = "first"; - else if(bWhenLast) - strWhen = "last"; - - strResult += " (when \"" + strWhen + "\")\n"; - } - - - //Loop through the list of parameters: - const GType* pParameters = signalQuery.param_types; - if(pParameters) - { - strResult += " (parameters\n"; - - for(unsigned i = 0; i < signalQuery.n_params; i++) - { - GType typeParamMangled = pParameters[i]; - - //Parameter name: - //TODO: How can we get the real parameter name? - gchar* pchNum = g_strdup_printf("%d", i); - std::string strParamName = "p" + std::string(pchNum); - g_free(pchNum); - pchNum = 0; - - //Just like above, for the return type: - std::string strTypeName = get_type_name_signal( typeParamMangled & ~G_SIGNAL_TYPE_STATIC_SCOPE ); //The type is mangled with a flag. Hacky. - //bool bReturnTypeHasStaticScope = (typeParamMangled & G_SIGNAL_TYPE_STATIC_SCOPE) == G_SIGNAL_TYPE_STATIC_SCOPE; - - strResult += " '(\"" + strTypeName + "\" \"" + strParamName + "\")\n"; - } - - strResult += " )\n"; //close (properties - } - - strResult += ")\n\n"; //close (define=signal - } - } - - g_free(pIDs); - - if(gclass_ref) - g_type_class_unref(gclass_ref); //to match the g_type_class_ref() above. - else if(ginterface_ref) - g_type_default_interface_unref(ginterface_ref); // for interface ref above. - - return strResult; -} - - - -std::string get_defs(GType gtype) -{ - std::string strObjectName = g_type_name(gtype); - std::string strDefs = ";; From " + strObjectName + "\n\n"; - - if(G_TYPE_IS_OBJECT(gtype) || G_TYPE_IS_INTERFACE(gtype)) - { - strDefs += get_signals(gtype); - strDefs += get_properties(gtype); - } - - return strDefs; -} - - - diff --git a/libs/glibmm2/tools/extra_defs_gen/generate_extra_defs.h b/libs/glibmm2/tools/extra_defs_gen/generate_extra_defs.h deleted file mode 100644 index fa046a92a0..0000000000 --- a/libs/glibmm2/tools/extra_defs_gen/generate_extra_defs.h +++ /dev/null @@ -1,33 +0,0 @@ -/* $Id: generate_extra_defs.h 775 2009-01-12 00:41:05Z jaalburqu $ */ - -/* generate_extra_defs.h - * - * Copyright (C) 2001 The Free Software Foundation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - - -#include -#include -#include - -std::string get_defs(GType gtype); - -std::string get_properties(GType gtype); -std::string get_type_name(GType gtype); -std::string get_type_name_parameter(GType gtype); -std::string get_type_name_signal(GType gtype); -std::string get_signals(GType gtype); diff --git a/libs/glibmm2/tools/generate_wrap_init.pl b/libs/glibmm2/tools/generate_wrap_init.pl deleted file mode 100644 index 88220e23af..0000000000 --- a/libs/glibmm2/tools/generate_wrap_init.pl +++ /dev/null @@ -1,392 +0,0 @@ -#! /usr/bin/perl -# -# tools/generate_wrap_init.pl. Generated from generate_wrap_init.pl.in by configure. -# - -use strict; - -my @namespace_whole = (); # list of strings. -my $function_prefix = ""; -my $parent_dir = ""; # e.g. gtkmm -my $path = "gtk--"; -my $debug = 0; -my @filenames_headers = (); -my %objects = (); -my %exceptions = (); -my %namespaces = (); # hashmap of lists of strings. -my %basenames = (); -my %win32_nowrap = (); -my %deprecated = (); - -# Loop through command line arguments, setting variables: -while ($ARGV[0] =~ /^-/) -{ - if ($ARGV[0] =~ /--namespace=(\S+)/) - { - push(@namespace_whole, $1); - - if($parent_dir eq "") - { $parent_dir = lc($1) . "mm"; } - } - elsif ($ARGV[0] =~ /--function_prefix=(\S+)/) - { - $function_prefix = "$1"; - } - elsif ($ARGV[0] =~ /--parent_dir=(\S+)/) - { - $parent_dir = "$1"; - } - elsif - ( - $ARGV[0] =~ /--debug/) {$debug = 1; - } - elsif ($ARGV[0] =~ /--path=(\S+)/) - { - $path = "$1"; - } - else - { - print "Error: unknown option $ARGV[0]\n"; - exit; - } - - shift @ARGV; -} - - - -while ($ARGV[0]) -{ - if ($debug) {warn "Processing file : $ARGV[0]\n";} - - my $filename = $ARGV[0]; - open FILE, $filename or die "Couldn't open file $ARGV[0] : $!\n"; - - # my $file = $ARGV[0]; - # $file =~ s/.*\/([^\/]+)$/$1/; - # $file =~ s/\.hg//; - my @tmpnamespace = @namespace_whole; - my $cppname = ""; - my $cname = ""; - my $ccast = ""; - while () - { - if (/CLASS_START\((\w+)\)/) #We need a new way to get the namespace. - { - print "generate_wrap_init: namespace found: $1\n"; - push(@tmpnamespace, $1); - } - elsif (/_CLASS_GOBJECT\s*\(/) #TODO: There is duplication of code here. - { - my $line = $_; - while ($line !~ /\)/ && ($_ = )) - { - $line .= $_; - } - - $line =~ s/^.*_CLASS_GOBJECT\s*\(//; - $line =~ s/\s+//g; - ($cppname, $cname, $ccast) = split(/,/, $line); - - $objects{$cppname} = $cname; - @{$namespaces{$cppname}} = ( @tmpnamespace ); #both are lists of strings - $basenames{$cppname} = lc($ccast); - } - elsif (/_CLASS_GTKOBJECT\s*\(/) - { - my $line = $_; - while ($line !~ /\)/ && ($_ = )) - { - $line .= $_; - } - - $line =~ s/^.*_CLASS_GTKOBJECT\s*\(//; - $line =~ s/\s+//g; - ($cppname, $cname, $ccast) = split(/,/, $line); - - #TODO: Remove this hack eventually. - if( ($cname ne "GtkTree") && ($cname ne "GtkTreeItem") && ($cname ne "GtkText") ) - { - $objects{$cppname} = $cname; - @{$namespaces{$cppname}} = ( @tmpnamespace ); #both are lists of strings - $basenames{$cppname} = lc($ccast); - } - } - elsif (/_WRAP_GERROR\s*\(/) #TODO: There is duplication of code here. - { - my $line = $_; - while ($line !~ /\)/ && ($_ = )) - { - $line .= $_; - } - - $line =~ s/^.*_WRAP_GERROR\s*\(//; - $line =~ s/\s+//g; - $line =~ s/\)//; - ($cppname, $cname, $ccast) = split(/,/, $line); - - $exceptions{$cppname} = $cname; - @{$namespaces{$cppname}} = ( @tmpnamespace ); #both are lists of strings - $basenames{$cppname} = lc($ccast); - } - elsif (/_GTKMMPROC_WIN32_NO_WRAP/) - { - $win32_nowrap{$cppname} = 1; - } - elsif (/_IS_DEPRECATED/) - { - $deprecated{$cppname} = 1; - } - } - - # Store header filename so that we can #include it later: - my $filename_header = $filename; - $filename_header =~ s/.*\/([^\/]+)\.hg/$1.h/; - push(@filenames_headers, $filename_header); - - shift @ARGV; - close(FILE); -} - -# my $namespace_whole_lower = lc($namespace_whole); - -print << "EOF"; - -#include - -// Disable the 'const' function attribute of the get_type() functions. -// GCC would optimize them out because we don't use the return value. -#undef G_GNUC_CONST -#define G_GNUC_CONST /* empty */ - -#include <${parent_dir}/wrap_init.h> -#include -#include - -// #include the widget headers so that we can call the get_type() static methods: - -EOF - -foreach( @filenames_headers ) -{ - print "#include \"" . $_ . "\"\n"; -} - -print "\n"; - -# Here we have to be subtle. The gtkmm objects are easy, they all go -# into the Gtk namespace. But in gnomemm, some go into the Gnome -# namespace (most of them), and some into the Gtk one (because the -# corresponding widget is Gtk-prefixed, e.g. GtkTed, GtkDial, etc... - -# First, the Gtk namespace - -print "extern \"C\"\n"; -print "{\n"; -print "\n//Declarations of the *_get_type() functions:\n\n"; - -my $i = 0; -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - print "GType $basenames{$i}_get_type(void);\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -print "\n//Declarations of the *_error_quark() functions:\n\n"; - -my $i = 0; -foreach $i (sort keys %exceptions) -{ - print "GQuark $basenames{$i}_quark(void);\n"; -} - -print "} // extern \"C\"\n"; -print "\n"; - -print "\n//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers:\n\n"; - -my $i = 0; -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - my $namespace_declarations = ""; - my $namespace_close = ""; - foreach ( @{$namespaces{$i}} ) - { - $namespace_declarations .= "namespace $_ { "; - $namespace_close .= " }"; - } - - print "${namespace_declarations} class ${i}_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; ${namespace_close}\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -# print "\n//Declarations of the *Error::throw_func() methods:\n\n"; -# -# my $i = 0; -# foreach $i (sort keys %exceptions) -# { -# my $namespace_declarations = ""; -# my $namespace_close = ""; -# foreach ( @{$namespaces{$i}} ) -# { -# $namespace_declarations .= "namespace $_ { "; -# $namespace_close .= " }"; -# } -# -# print "${namespace_declarations} class ${i} { public: static void throw_func(GError*); }; ${namespace_close}\n"; -# } - -my $namespace_whole_declarations = ""; -my $namespace_whole_close = ""; -foreach( @namespace_whole ) -{ - $namespace_whole_declarations .= "namespace " . $_ ." { "; - $namespace_whole_close = "} //" . $_ . "\n" . $namespace_whole_close; -} - -print "\n"; -print "$namespace_whole_declarations\n"; -print "\n"; -print "void " .$function_prefix . "wrap_init()\n{\n"; - - -# Generate namespace::wrap_init() body -# - -print " // Register Error domains:\n"; - -foreach $i (sort keys %exceptions) -{ - my $namespace_prefix = ""; - foreach( @{$namespaces{$i}} ) - { - $namespace_prefix .= $_ ."::"; - } - - print " Glib::Error::register_domain($basenames{$i}_quark(), &", "${namespace_prefix}${i}::throw_func);\n"; -} - -print "\n"; -print "// Map gtypes to gtkmm wrapper-creation functions:\n"; - -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - my $namespace_prefix = ""; - foreach( @{$namespaces{$i}} ) - { - $namespace_prefix .= $_ ."::"; - } - - print " Glib::wrap_register($basenames{$i}_get_type(), &", "${namespace_prefix}${i}_Class::wrap_new);\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -print "\n"; -print " // Register the gtkmm gtypes:\n"; - -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - my $namespace_prefix = ""; - foreach( @{$namespaces{$i}} ) - { - $namespace_prefix .= $_ ."::"; - } - - print " ${namespace_prefix}${i}::get_type();\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -print << "EOF"; - -} // wrap_init() - -$namespace_whole_close - -EOF - -exit 0; - diff --git a/libs/glibmm2/tools/generate_wrap_init.pl.in b/libs/glibmm2/tools/generate_wrap_init.pl.in deleted file mode 100644 index 57a9cff578..0000000000 --- a/libs/glibmm2/tools/generate_wrap_init.pl.in +++ /dev/null @@ -1,392 +0,0 @@ -#! @PERL_PATH@ -# -# @configure_input@ -# - -use strict; - -my @namespace_whole = (); # list of strings. -my $function_prefix = ""; -my $parent_dir = ""; # e.g. gtkmm -my $path = "gtk--"; -my $debug = 0; -my @filenames_headers = (); -my %objects = (); -my %exceptions = (); -my %namespaces = (); # hashmap of lists of strings. -my %basenames = (); -my %win32_nowrap = (); -my %deprecated = (); - -# Loop through command line arguments, setting variables: -while ($ARGV[0] =~ /^-/) -{ - if ($ARGV[0] =~ /--namespace=(\S+)/) - { - push(@namespace_whole, $1); - - if($parent_dir eq "") - { $parent_dir = lc($1) . "mm"; } - } - elsif ($ARGV[0] =~ /--function_prefix=(\S+)/) - { - $function_prefix = "$1"; - } - elsif ($ARGV[0] =~ /--parent_dir=(\S+)/) - { - $parent_dir = "$1"; - } - elsif - ( - $ARGV[0] =~ /--debug/) {$debug = 1; - } - elsif ($ARGV[0] =~ /--path=(\S+)/) - { - $path = "$1"; - } - else - { - print "Error: unknown option $ARGV[0]\n"; - exit; - } - - shift @ARGV; -} - - - -while ($ARGV[0]) -{ - if ($debug) {warn "Processing file : $ARGV[0]\n";} - - my $filename = $ARGV[0]; - open FILE, $filename or die "Couldn't open file $ARGV[0] : $!\n"; - - # my $file = $ARGV[0]; - # $file =~ s/.*\/([^\/]+)$/$1/; - # $file =~ s/\.hg//; - my @tmpnamespace = @namespace_whole; - my $cppname = ""; - my $cname = ""; - my $ccast = ""; - while () - { - if (/CLASS_START\((\w+)\)/) #We need a new way to get the namespace. - { - print "generate_wrap_init: namespace found: $1\n"; - push(@tmpnamespace, $1); - } - elsif (/_CLASS_GOBJECT\s*\(/) #TODO: There is duplication of code here. - { - my $line = $_; - while ($line !~ /\)/ && ($_ = )) - { - $line .= $_; - } - - $line =~ s/^.*_CLASS_GOBJECT\s*\(//; - $line =~ s/\s+//g; - ($cppname, $cname, $ccast) = split(/,/, $line); - - $objects{$cppname} = $cname; - @{$namespaces{$cppname}} = ( @tmpnamespace ); #both are lists of strings - $basenames{$cppname} = lc($ccast); - } - elsif (/_CLASS_GTKOBJECT\s*\(/) - { - my $line = $_; - while ($line !~ /\)/ && ($_ = )) - { - $line .= $_; - } - - $line =~ s/^.*_CLASS_GTKOBJECT\s*\(//; - $line =~ s/\s+//g; - ($cppname, $cname, $ccast) = split(/,/, $line); - - #TODO: Remove this hack eventually. - if( ($cname ne "GtkTree") && ($cname ne "GtkTreeItem") && ($cname ne "GtkText") ) - { - $objects{$cppname} = $cname; - @{$namespaces{$cppname}} = ( @tmpnamespace ); #both are lists of strings - $basenames{$cppname} = lc($ccast); - } - } - elsif (/_WRAP_GERROR\s*\(/) #TODO: There is duplication of code here. - { - my $line = $_; - while ($line !~ /\)/ && ($_ = )) - { - $line .= $_; - } - - $line =~ s/^.*_WRAP_GERROR\s*\(//; - $line =~ s/\s+//g; - $line =~ s/\)//; - ($cppname, $cname, $ccast) = split(/,/, $line); - - $exceptions{$cppname} = $cname; - @{$namespaces{$cppname}} = ( @tmpnamespace ); #both are lists of strings - $basenames{$cppname} = lc($ccast); - } - elsif (/_GTKMMPROC_WIN32_NO_WRAP/) - { - $win32_nowrap{$cppname} = 1; - } - elsif (/_IS_DEPRECATED/) - { - $deprecated{$cppname} = 1; - } - } - - # Store header filename so that we can #include it later: - my $filename_header = $filename; - $filename_header =~ s/.*\/([^\/]+)\.hg/$1.h/; - push(@filenames_headers, $filename_header); - - shift @ARGV; - close(FILE); -} - -# my $namespace_whole_lower = lc($namespace_whole); - -print << "EOF"; - -#include - -// Disable the 'const' function attribute of the get_type() functions. -// GCC would optimize them out because we don't use the return value. -#undef G_GNUC_CONST -#define G_GNUC_CONST /* empty */ - -#include <${parent_dir}/wrap_init.h> -#include -#include - -// #include the widget headers so that we can call the get_type() static methods: - -EOF - -foreach( @filenames_headers ) -{ - print "#include \"" . $_ . "\"\n"; -} - -print "\n"; - -# Here we have to be subtle. The gtkmm objects are easy, they all go -# into the Gtk namespace. But in gnomemm, some go into the Gnome -# namespace (most of them), and some into the Gtk one (because the -# corresponding widget is Gtk-prefixed, e.g. GtkTed, GtkDial, etc... - -# First, the Gtk namespace - -print "extern \"C\"\n"; -print "{\n"; -print "\n//Declarations of the *_get_type() functions:\n\n"; - -my $i = 0; -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - print "GType $basenames{$i}_get_type(void);\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -print "\n//Declarations of the *_error_quark() functions:\n\n"; - -my $i = 0; -foreach $i (sort keys %exceptions) -{ - print "GQuark $basenames{$i}_quark(void);\n"; -} - -print "} // extern \"C\"\n"; -print "\n"; - -print "\n//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers:\n\n"; - -my $i = 0; -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - my $namespace_declarations = ""; - my $namespace_close = ""; - foreach ( @{$namespaces{$i}} ) - { - $namespace_declarations .= "namespace $_ { "; - $namespace_close .= " }"; - } - - print "${namespace_declarations} class ${i}_Class { public: static Glib::ObjectBase* wrap_new(GObject*); }; ${namespace_close}\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -# print "\n//Declarations of the *Error::throw_func() methods:\n\n"; -# -# my $i = 0; -# foreach $i (sort keys %exceptions) -# { -# my $namespace_declarations = ""; -# my $namespace_close = ""; -# foreach ( @{$namespaces{$i}} ) -# { -# $namespace_declarations .= "namespace $_ { "; -# $namespace_close .= " }"; -# } -# -# print "${namespace_declarations} class ${i} { public: static void throw_func(GError*); }; ${namespace_close}\n"; -# } - -my $namespace_whole_declarations = ""; -my $namespace_whole_close = ""; -foreach( @namespace_whole ) -{ - $namespace_whole_declarations .= "namespace " . $_ ." { "; - $namespace_whole_close = "} //" . $_ . "\n" . $namespace_whole_close; -} - -print "\n"; -print "$namespace_whole_declarations\n"; -print "\n"; -print "void " .$function_prefix . "wrap_init()\n{\n"; - - -# Generate namespace::wrap_init() body -# - -print " // Register Error domains:\n"; - -foreach $i (sort keys %exceptions) -{ - my $namespace_prefix = ""; - foreach( @{$namespaces{$i}} ) - { - $namespace_prefix .= $_ ."::"; - } - - print " Glib::Error::register_domain($basenames{$i}_quark(), &", "${namespace_prefix}${i}::throw_func);\n"; -} - -print "\n"; -print "// Map gtypes to gtkmm wrapper-creation functions:\n"; - -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - my $namespace_prefix = ""; - foreach( @{$namespaces{$i}} ) - { - $namespace_prefix .= $_ ."::"; - } - - print " Glib::wrap_register($basenames{$i}_get_type(), &", "${namespace_prefix}${i}_Class::wrap_new);\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -print "\n"; -print " // Register the gtkmm gtypes:\n"; - -foreach $i (sort keys %objects) -{ - if( $deprecated{$i} eq 1 ) - { - # The uc(parent_dir) is a bit of a hack. One day it will get it wrong. - print "#ifndef " . uc($parent_dir) ."_DISABLE_DEPRECATED\n" - } - - #On Win32, these classes are not compiled: - if( $win32_nowrap{$i} eq 1 ) - { - print "#ifndef G_OS_WIN32\n" - } - - my $namespace_prefix = ""; - foreach( @{$namespaces{$i}} ) - { - $namespace_prefix .= $_ ."::"; - } - - print " ${namespace_prefix}${i}::get_type();\n"; - - if( $win32_nowrap{$i} eq 1 ) - { - print "#endif //G_OS_WIN32\n" - } - - if( $deprecated{$i} eq 1 ) - { - print "#endif // *_DISABLE_DEPRECATED\n" - } -} - -print << "EOF"; - -} // wrap_init() - -$namespace_whole_close - -EOF - -exit 0; - diff --git a/libs/glibmm2/tools/gmmproc.in b/libs/glibmm2/tools/gmmproc.in deleted file mode 100644 index f809817371..0000000000 --- a/libs/glibmm2/tools/gmmproc.in +++ /dev/null @@ -1,239 +0,0 @@ -#! @PERL_PATH@ -# -# @configure_input@ -# -###################################################################### -# gmmproc (version 4) -###################################################################### -# -# *** WARNING: Only modify gmmproc.in. gmmproc is built. *** -# -# Copyright 2001, Karl Einar Nelson, Murray Cumming -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -# -# -# 'classes': -# WrapParser: steps through .hg and .ccg files, outputting appropriate m4 code with Outputter. -# Outputter: Used by WrapParser to ouput wrapper code. Ouputs *.g1 temp file and uses m4 to generate *.g2 from it. Then outputs .h and .cc files. -# Function: Contains information about C and C++ functions and signals. -# -###################################################################### - -########################## 'main()' ################################## - -$main::procdir; -$main::m4path; - -BEGIN { - # get prefix info from configure - my $prefix = "@prefix@"; - my $exec_prefix = "@exec_prefix@"; - my $libdir = "@libdir@"; - - # This line must match the install directory in m4/Makefile.am - $main::procdir = "$libdir/glibmm-2.4/proc"; - $main::m4path = "@M4@"; - - # This line must match install dir from pm/Makefile.am - push @INC,"$main::procdir/pm"; -} - -use strict; -use warnings; - -use Output; -use WrapParser; - -# initialize globals -@main::macrodirs = (); -$main::srcdir = "."; -$main::defsdir = "."; -$main::source = ""; -$main::debug = 0; -$main::unwrapped = 1; - -{ # checking the environment for a set variable can trigger a warning - no warnings; - $main::debug = 1 if ($ENV{'GMMPROC_DEBUG'} eq 1); -} - -# prototypes -sub parse_command_line_args(); - - -#main() -parse_command_line_args(); - -my $objOutputter = &Output::new($main::m4path, \@main::macrodirs); -my $objWrapParser = &WrapParser::new($objOutputter); - -$$objWrapParser{srcdir} = $main::srcdir; -$$objWrapParser{defsdir} = $main::defsdir; -$$objWrapParser{source} = $main::source; -$$objOutputter{source} = $main::source; -$$objOutputter{destdir} = $ARGV[1]; - -# Merge the C docs, e.g. gtk_docs.xml - -# Suck the whole file into one big string, breaking it into tokens: -$objWrapParser->read_file($main::srcdir, $main::source); - -# Parse output -$objWrapParser->parse_and_build_output(); - -# Write out *.g1 temporary file: -$objOutputter->output_temp_g1($$objWrapParser{module}); # e.g. "gtk" - -# Execute m4 to get *.g2 file: -{ - my $exitcode = $objOutputter->make_g2_from_g1(); - if ($exitcode != 0) - { - if (!$main::debug) - { - $objOutputter->remove_temp_files(); - } - print STDERR "m4 failed with exit code $exitcode. Aborting...\n"; - exit ($exitcode); - } -} - -# Section out the resulting output -$objOutputter->write_sections_to_files(); - -# Remove temp files. -if (!$main::debug) -{ - $objOutputter->remove_temp_files(); -} - -#Warn about any unwrapped function/signals: -if ($main::unwrapped) -{ - my @unwrapped = GtkDefs::get_unwrapped(); - if (@unwrapped) - { - no warnings; - - my @methods = - grep {$$_{entity_type} eq "method" & $$_{c_name}!~/^_/ } @unwrapped; - my @signals = - grep {$$_{entity_type} eq "signal"} @unwrapped; - my @properties = - grep {$$_{entity_type} eq "property"} @unwrapped; - - if (@methods) - { - print "Unwrapped functions:\n"; - map { print " $$_{c_name}\n"} @methods; - } - if (@properties) - { - print "Unwrapped properties:\n"; - map { print " $$_{class}::$$_{name}\n"} @properties; - } - if (@signals) - { - print "Unwrapped signals:\n"; - map { print " $$_{class}::$$_{name}\n"} @signals; - } - } -} - -# end of program -exit(); - - -#################################################################### - - -sub print_usage() -{ - print -'Usage: gmmproc [options] name srcdir destdir - -h - --help This usage message. - - --doc Produces a header file for documentation. (FIXME) - - --debug Leave intermediate output arround for analysis. - Alternatively, set GMMPROC_DEBUG=1 in the environment. - - --unwrapped Warn about possible unwrapped functions. - - --defs dir Change the directory to seach for defs. - - -I dir Specify the directory with m4 files. - - -Note: This will read srcdir/name.{hg,ccg} file and generates destdir/name.cc -'; - exit (1); -} - -# void parse_command_line_args() -sub parse_command_line_args() -{ - print_usage() if ($#ARGV == -1); - - while ($#ARGV != -1) - { - $_ = shift @ARGV; - - if (/^-/) - { - print_usage() if ( /^--help/); - print_usage() if ( /^-h/); - if (/^-I/) - { - push @main::macrodirs, shift @ARGV; - } - elsif (/^--unwrapped/) - { - $main::unwrapped = 1; - } - elsif (/^--defs/) - { - $main::defsdir = shift @ARGV; - } - elsif (/^--debug/) - { - $main::debug = 1; - } - else - { - print "unknown parameter $_\n"; - } - next; - } - - last; - } - - # we already have one argument - - if ($#ARGV != 1) - { - print STDERR "Invalid number of arguments (", $#ARGV+2, ")\n"; - print_usage(); - } - - $main::srcdir = $ARGV[0]; - $main::source = $_; - - push @main::macrodirs,"$main::procdir/m4"; -} - diff --git a/libs/glibmm2/tools/m4/Makefile.am b/libs/glibmm2/tools/m4/Makefile.am deleted file mode 100644 index 218150d697..0000000000 --- a/libs/glibmm2/tools/m4/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ - -include $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment - -EXTRA_DIST = Makefile_list_of_sources.am_fragment $(files_tools_m4) - -# Install the .m4, files: - -tools_m4_includedir = $(GMMPROC_DIR)/m4 -tools_m4_include_HEADERS = $(files_tools_m4) - diff --git a/libs/glibmm2/tools/m4/Makefile.in b/libs/glibmm2/tools/m4/Makefile.in deleted file mode 100644 index 4116da92ae..0000000000 --- a/libs/glibmm2/tools/m4/Makefile.in +++ /dev/null @@ -1,447 +0,0 @@ -# Makefile.in generated by automake 1.10.1 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(tools_m4_include_HEADERS) \ - $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment -subdir = tools/m4 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/scripts/c_std.m4 \ - $(top_srcdir)/scripts/cxx.m4 $(top_srcdir)/scripts/cxx_std.m4 \ - $(top_srcdir)/scripts/dk-feature.m4 \ - $(top_srcdir)/scripts/docgen.m4 \ - $(top_srcdir)/scripts/glibmm_check_perl.m4 \ - $(top_srcdir)/scripts/macros.m4 \ - $(top_srcdir)/scripts/reduced.m4 $(top_srcdir)/scripts/sun.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/config.h \ - $(top_builddir)/glib/glibmmconfig.h \ - $(top_builddir)/gio/giommconfig.h -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(tools_m4_includedir)" -tools_m4_includeHEADERS_INSTALL = $(INSTALL_HEADER) -HEADERS = $(tools_m4_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AS = @AS@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DISABLE_DEPRECATED_API_CFLAGS = @DISABLE_DEPRECATED_API_CFLAGS@ -DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@ -DLLTOOL = @DLLTOOL@ -DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -GIOMM_CFLAGS = @GIOMM_CFLAGS@ -GIOMM_LIBS = @GIOMM_LIBS@ -GLIBMM_CFLAGS = @GLIBMM_CFLAGS@ -GLIBMM_LIBS = @GLIBMM_LIBS@ -GLIBMM_MAJOR_VERSION = @GLIBMM_MAJOR_VERSION@ -GLIBMM_MICRO_VERSION = @GLIBMM_MICRO_VERSION@ -GLIBMM_MINOR_VERSION = @GLIBMM_MINOR_VERSION@ -GLIBMM_RELEASE = @GLIBMM_RELEASE@ -GLIBMM_VERSION = @GLIBMM_VERSION@ -GMMPROC_DIR = @GMMPROC_DIR@ -GREP = @GREP@ -GTHREAD_CFLAGS = @GTHREAD_CFLAGS@ -GTHREAD_LIBS = @GTHREAD_LIBS@ -GTKMMPROC_MERGECDOCS = @GTKMMPROC_MERGECDOCS@ -GTKMM_DOXYGEN_INPUT = @GTKMM_DOXYGEN_INPUT@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBGLIBMM_SO_VERSION = @LIBGLIBMM_SO_VERSION@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -M4 = @M4@ -MAINT = @MAINT@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PERL_PATH = @PERL_PATH@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -files_tools_m4 = base.m4 class_shared.m4 class_boxedtype.m4 class_boxedtype_static.m4 \ - class_generic.m4 class_gobject.m4 class_gtkobject.m4 \ - class_interface.m4 class_opaque_refcounted.m4 class_opaque_copyable.m4 \ - gerror.m4 \ - compare.m4 convert.m4 convert_base.m4 convert_gtkmm.m4 convert_atk.m4 convert_gdk.m4 \ - convert_glib.m4 convert_gio.m4 convert_gtk.m4 convert_pango.m4 ctor.m4 doc.m4 enum.m4 list.m4 member.m4 \ - method.m4 property.m4 signal.m4 vfunc.m4 - -EXTRA_DIST = Makefile_list_of_sources.am_fragment $(files_tools_m4) - -# Install the .m4, files: -tools_m4_includedir = $(GMMPROC_DIR)/m4 -tools_m4_include_HEADERS = $(files_tools_m4) -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/tools/m4/Makefile_list_of_sources.am_fragment $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/m4/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu tools/m4/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-tools_m4_includeHEADERS: $(tools_m4_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(tools_m4_includedir)" || $(MKDIR_P) "$(DESTDIR)$(tools_m4_includedir)" - @list='$(tools_m4_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ - echo " $(tools_m4_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(tools_m4_includedir)/$$f'"; \ - $(tools_m4_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(tools_m4_includedir)/$$f"; \ - done - -uninstall-tools_m4_includeHEADERS: - @$(NORMAL_UNINSTALL) - @list='$(tools_m4_include_HEADERS)'; for p in $$list; do \ - f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(tools_m4_includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(tools_m4_includedir)/$$f"; \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(tools_m4_includedir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-tools_m4_includeHEADERS - -install-dvi: install-dvi-am - -install-exec-am: - -install-html: install-html-am - -install-info: install-info-am - -install-man: - -install-pdf: install-pdf-am - -install-ps: install-ps-am - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-tools_m4_includeHEADERS - -.MAKE: install-am install-strip - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip \ - install-tools_m4_includeHEADERS installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags uninstall uninstall-am \ - uninstall-tools_m4_includeHEADERS - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/libs/glibmm2/tools/m4/Makefile_list_of_sources.am_fragment b/libs/glibmm2/tools/m4/Makefile_list_of_sources.am_fragment deleted file mode 100644 index 0eaa3e6fd1..0000000000 --- a/libs/glibmm2/tools/m4/Makefile_list_of_sources.am_fragment +++ /dev/null @@ -1,8 +0,0 @@ -files_tools_m4 = base.m4 class_shared.m4 class_boxedtype.m4 class_boxedtype_static.m4 \ - class_generic.m4 class_gobject.m4 class_gtkobject.m4 \ - class_interface.m4 class_opaque_refcounted.m4 class_opaque_copyable.m4 \ - gerror.m4 \ - compare.m4 convert.m4 convert_base.m4 convert_gtkmm.m4 convert_atk.m4 convert_gdk.m4 \ - convert_glib.m4 convert_gio.m4 convert_gtk.m4 convert_pango.m4 ctor.m4 doc.m4 enum.m4 list.m4 member.m4 \ - method.m4 property.m4 signal.m4 vfunc.m4 - diff --git a/libs/glibmm2/tools/m4/base.m4 b/libs/glibmm2/tools/m4/base.m4 deleted file mode 100644 index 74881c5100..0000000000 --- a/libs/glibmm2/tools/m4/base.m4 +++ /dev/null @@ -1,442 +0,0 @@ -dnl $Id: base.m4 797 2009-03-19 00:17:42Z jaalburqu $ -divert(-1) - -dnl -dnl The general convention is -dnl _* are macros -dnl __*__ are variables - -dnl -dnl rename several m4 builtins to avoid name clashes -dnl - -define(`_PREFIX_BUILTIN_ALIAS', `define(`m4_$1', defn(`$1'))') -define(`_PREFIX_BUILTIN', `_PREFIX_BUILTIN_ALIAS(`$1')`'undefine(`$1')') - -_PREFIX_BUILTIN(`builtin') -_PREFIX_BUILTIN(`decr') -_PREFIX_BUILTIN(`errprint') -_PREFIX_BUILTIN(`esyscmd') -_PREFIX_BUILTIN(`eval') -_PREFIX_BUILTIN(`format') -_PREFIX_BUILTIN(`incr') -_PREFIX_BUILTIN(`index') -_PREFIX_BUILTIN(`indir') -_PREFIX_BUILTIN(`len') -_PREFIX_BUILTIN(`maketemp') -_PREFIX_BUILTIN(`syscmd') -_PREFIX_BUILTIN(`substr') -_PREFIX_BUILTIN(`sysval') -_PREFIX_BUILTIN(`mkstemp') - -dnl -dnl More alternative names for m4 macros, not undefined (yet!). -dnl - -_PREFIX_BUILTIN_ALIAS(`changecom') -_PREFIX_BUILTIN_ALIAS(`changequote') -_PREFIX_BUILTIN_ALIAS(`define') -_PREFIX_BUILTIN_ALIAS(`divert') -_PREFIX_BUILTIN_ALIAS(`divnum') -_PREFIX_BUILTIN_ALIAS(`ifdef') -_PREFIX_BUILTIN_ALIAS(`ifelse') -_PREFIX_BUILTIN_ALIAS(`include') -_PREFIX_BUILTIN_ALIAS(`m4exit') -_PREFIX_BUILTIN_ALIAS(`m4wrap') -_PREFIX_BUILTIN_ALIAS(`patsubst') -_PREFIX_BUILTIN_ALIAS(`popdef') -_PREFIX_BUILTIN_ALIAS(`pushdef') -_PREFIX_BUILTIN_ALIAS(`shift') -_PREFIX_BUILTIN_ALIAS(`undefine') -_PREFIX_BUILTIN_ALIAS(`undivert') -_PREFIX_BUILTIN_ALIAS(`regexp') -_PREFIX_BUILTIN_ALIAS(`translit') - -dnl -dnl Type Conversion Macros -dnl - -m4_include(convert.m4) - -dnl -dnl ----------------------- Utility Macros ------------------------- -dnl - -dnl -dnl Add a comma before the arg if any, do nothing otherwise -dnl _COMMA_PREFIX(a) -> ,a -dnl _COMMA_PREFIX() -> `' -dnl -define(`_COMMA_PREFIX', `m4_ifelse(m4_eval(m4_len(`$*') >= 1), 1, `,$*')')dnl - -dnl -dnl Add a comma after the arg if any, do nothing otherwise -dnl _COMMA_SUFFIX(a) -> a, -dnl _COMMA_SUFFIX() -> `' -dnl -define(`_COMMA_SUFFIX', `m4_ifelse(m4_eval(m4_len(`$*') >= 1), 1, `$*,')')dnl - - -dnl -dnl _UPPER(string) -dnl uppercase a string -define(`_UPPER',`m4_translit(`$*',`abcdefghijklmnopqrstuvwxyz',`ABCDEFGHIJKLMNOPQRSTUVWXYZ')') - -dnl -dnl _LOWER(string) -dnl lower a string -define(`_LOWER',`m4_translit(`$*',`ABCDEFGHIJKLMNOPQRSTUVWXYZ',`abcdefghijklmnopqrstuvwxyz')') - -dnl -dnl _QUOTE(macro) -dnl If a macro generates an output with commas we need to protect it -dnl from being broken down and interpreted -define(`_QUOTE',``$*'') - -dnl -dnl _NUM(arglist) -dnl count number of arguments -define(`_NUM',`m4_ifelse(m4_len(`$*'),0,0,`$#')') - -dnl -dnl For handling of included macro files. -dnl - -dnl _PUSH(section_name) -dnl Uses pushdef() to redefine the __DIV__ macro -dnl so that it diverts ouput to the section_name, -dnl or discards it (-1) if no section_name is given. -dnl TODO: However, as far as I can tell, __DIV__ is not used anywhere. murrayc. -define(`_PUSH',`pushdef(`__DIV__',divnum)m4_divert(m4_ifelse($1,,-1,__SEC_$1))dnl`'') - -dnl _POP(section_name) -dnl Uses popdef() to go back to the previous definition of the __DIV__ macro. -define(`_POP',`m4_divert(__DIV__)popdef(`__DIV__')dnl`'') - -dnl _SECTION(section_name): -dnl m4_divert() sends subsequent output to the specified file: -define(`_SECTION',`m4_divert(__SEC_$1)dnl') - -dnl _IMPORT(section_name): -define(`_IMPORT',`m4_undivert(__SEC_$1)dnl') - -dnl _GET_TYPE_FUNC(GtkWidget) -> gtk_widget_get_type() -dnl The way the macro works is that (in the inner patsubst) it first finds -dnl groups of caps, pre-pending an '_' to the groups . After (in the outer -dnl patsubst), it finds pairs of a caps and a lowercase (like 'Fo' or 'Ba'), -dnl also pre-pending an '_' to the pairs. Finally, it converts all characters -dnl to lowercase (with the translit), removing the first '_' (with substr) and -dnl appending _get_type(). This works with regular types like GtkWidget, but -dnl also multi-cap types like GdkGCFooBar or GdkFOOBar. -define(`_GET_TYPE_FUNC',`dnl -m4_translit(m4_substr(m4_patsubst(m4_patsubst(`$1',`[A-Z][A-Z]+',`_\&'),`[A-Z][a-z]',`_\&'),1),`[A-Z]',`[a-z]')_get_type()`'dnl -') - -dnl Define a new diversion -dnl In m4, m4_divert() selects the output file to be used for subsequent text output. -dnl 0 is the normal output. We define extra output files with _NEW_SECTION(). -dnl This macro seems to redefine __SEC_COUNT as __SEC_COUNT+1, and also -dnl define __SEC_ as __SEC_COUNT. -dnl So it just sets that section identifier to the next number. - -define(`__SEC_COUNT__',0) - -define(`_NEW_SECTION',`dnl -define(`__SEC_COUNT__',m4_eval(__SEC_COUNT__+1))dnl -define(`__SEC_$1',__SEC_COUNT__)dnl -') - - -changequote([,]) -define([__BT__],[changequote(,)`changequote(`,')]) -define([__FT__],[changequote(,)'changequote(`,')]) -changequote(`,') - -changecom() - -dnl -dnl ----------------------- Main Headers ------------------------- -dnl - -_NEW_SECTION(SECTION_HEADER_FIRST)dnl Before any generated code -_NEW_SECTION(SECTION_HEADER1) dnl header up to the first namespace -_NEW_SECTION(SECTION_HEADER2) dnl header after the first namespace -_NEW_SECTION(SECTION_HEADER3) dnl header after the first namespace -_NEW_SECTION(SECTION_PHEADER) dnl private header -_NEW_SECTION(SECTION_CC_INCLUDES) dnl section for additional includes -_NEW_SECTION(SECTION_SRC_CUSTOM) dnl user supplied implementation -_NEW_SECTION(SECTION_ANONYMOUS_NAMESPACE) dnl built implementation in anonymous namespace -_NEW_SECTION(SECTION_SRC_GENERATED) dnl built implementation -_NEW_SECTION(SECTION_CLASS1) dnl decl to _CLASS -_NEW_SECTION(SECTION_CLASS2) dnl _CLASS to end of class -_NEW_SECTION(SECTION_CC) dnl section for methods (in current namespace) - -_NEW_SECTION(SECTION_CC_IMPLEMENTS_INTERFACES) dnl Calls SomeBaseInterface::add_interface(get_type()). - -dnl Virtual Functions and Default Signal Handlers (Very similar) -_NEW_SECTION(SECTION_H_VFUNCS) dnl Declaration of vfunc hooks. -_NEW_SECTION(SECTION_H_VFUNCS_CPPWRAPPER) dnl Convenience method, using C++ types, that just calls the vfunc. -_NEW_SECTION(SECTION_H_DEFAULT_SIGNAL_HANDLERS) dnl Declaration of default signal handler' hooks. - -_NEW_SECTION(SECTION_CC_DEFAULT_SIGNAL_HANDLERS) -_NEW_SECTION(SECTION_CC_VFUNCS) -_NEW_SECTION(SECTION_CC_VFUNCS_CPPWRAPPER) dnl Convenience method, using C++ types, that just calls the vfunc. - -_NEW_SECTION(SECTION_PH_DEFAULT_SIGNAL_HANDLERS) dnl private class declaration -_NEW_SECTION(SECTION_PH_VFUNCS) dnl private class declaration - -_NEW_SECTION(SECTION_PCC_DEFAULT_SIGNAL_HANDLERS) dnl private class implementation -_NEW_SECTION(SECTION_PCC_VFUNCS) dnl private class implementation - -_NEW_SECTION(SECTION_PCC_CLASS_INIT_DEFAULT_SIGNAL_HANDLERS) dnl gtk+ class_init function -_NEW_SECTION(SECTION_PCC_CLASS_INIT_VFUNCS) dnl gtk+ class_init function - - -dnl Signal Proxies: -dnl _NEW_SECTION(SECTION_H_SIGNALPROXIES) dnl signal member objects -_NEW_SECTION(SECTION_CC_SIGNALPROXIES) dnl signal member objects - -dnl Property Proxies: -dnl _NEW_SECTION(SECTION_H_PROPERTYPROXIES) -_NEW_SECTION(SECTION_CC_PROPERTYPROXIES) - -_NEW_SECTION(SECTION_CC_INITIALIZE_CLASS_EXTRA) dnl For instance, to initialize special member data from all constructors. Not commonly used. - -dnl _NEW_SECTION(PROXY) -dnl _NEW_SECTION(SECTION_PCC_OBJECT_INIT) dnl gtk+ object_init function - - -_NEW_SECTION(SECTION_CHECK) -_NEW_SECTION(SECTION_USR) - -define(`_CHECK',`dnl -_PUSH(SECTION_CHECK) - $* -_POP() -') - -dnl This macro is for including the config header before any code (such as -dnl the #ifndef *_DISABLE_DEPRECATED in deprecated classes) is generated. -define(`_CONFIGINCLUDE',`dnl -_PUSH(SECTION_HEADER_FIRST) -#include <$1> -_POP() -') - -dnl Start of processing -dnl -dnl _START(filname, module,modulecanonical) .e.g _START(button, gtkmm, gtkmm) -define(`_START',`dnl -define(`__MODULE__',$2)dnl -define(`__MODULE_CANONICAL__',$3)dnl -define(`__HEADER_GUARD__',`_`'_UPPER(m4_translit(`$3`'_`'$1', `-', `_'))')dnl -define(`__FILE__',$1)dnl -define(`__DEPRECATION_GUARD__',`_UPPER($3)'`_DISABLE_DEPRECATED')dnl -_SECTION(SECTION_HEADER1) -') - -dnl Start deprecation of individual methods: -define(`_DEPRECATE_IFDEF_START',`dnl -#ifndef __DEPRECATION_GUARD__' -) - -dnl end deprecation of individual methods: -define(`_DEPRECATE_IFDEF_END',`dnl -#endif // __DEPRECATION_GUARD__' -) - -dnl begin optional deprecation of whole class -define(`_DEPRECATE_IFDEF_CLASS_START',`dnl -ifdef(`__BOOL_DEPRECATED__',`dnl -_DEPRECATE_IFDEF_START',`dnl -') -') - -dnl end optional deprecation of whole class -define(`_DEPRECATE_IFDEF_CLASS_END',`dnl -ifdef(`__BOOL_DEPRECATED__',`dnl -_DEPRECATE_IFDEF_END',`dnl -') -') - -dnl This does all the work of assembling the final output -dnl -dnl _END() -dnl -define(`_END',`dnl -m4_divert(0)dnl -#S 0 dnl Marks the beginning of the header file. - -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef __HEADER_GUARD__`'_H -#define __HEADER_GUARD__`'_H - -_IMPORT(SECTION_HEADER_FIRST) - -_DEPRECATE_IFDEF_CLASS_START - -m4_ifelse(__MODULE__,glibmm,,`dnl else -#include -')dnl -_IMPORT(SECTION_HEADER1) -_IMPORT(SECTION_HEADER2) -_IMPORT(SECTION_HEADER3) - -_DEPRECATE_IFDEF_CLASS_END - -#endif /* __HEADER_GUARD__`'_H */ - -#S 1 dnl Marks the beginning of the private header file. - -// -*- c++ -*- -// Generated by gtkmmproc -- DO NOT MODIFY! -#ifndef __HEADER_GUARD__`'_P_H -#define __HEADER_GUARD__`'_P_H -_DEPRECATE_IFDEF_CLASS_START -_IMPORT(SECTION_PHEADER) -_DEPRECATE_IFDEF_CLASS_END -#endif /* __HEADER_GUARD__`'_P_H */ - -#S 2 dnl Marks the beginning of the source file. - -// Generated by gtkmmproc -- DO NOT MODIFY! - -_DEPRECATE_IFDEF_CLASS_START - -#include <__MODULE__/__FILE__.h> -#include <__MODULE__/private/__FILE__`'_p.h> - -_IMPORT(SECTION_CC_INCLUDES) -_IMPORT(SECTION_SRC_CUSTOM) - -namespace -{ -_IMPORT(SECTION_ANONYMOUS_NAMESPACE) -} // anonymous namespace - -_IMPORT(SECTION_SRC_GENERATED) -_DEPRECATE_IFDEF_CLASS_END - -m4_divert(-1) -m4_undivert() -') - -define(`_NAMESPACE',`dnl -_PUSH() -m4_ifdef(`__NAMESPACE__',`dnl -pushdef(`__NAMESPACE__',__NAMESPACE__`::'$1) -pushdef(`__NAMESPACE_BEGIN__',__NAMESPACE_BEGIN__` - -namespace '$1` -{') -pushdef(`__NAMESPACE_END__',`} // namespace '$1` - -'__NAMESPACE_END__) -',`dnl else -pushdef(`__NAMESPACE__',$1) -pushdef(`__NAMESPACE_BEGIN__',`namespace '$1` -{') -pushdef(`__NAMESPACE_END__',`} // namespace '$1) -')dnl endif __NAMESPACE__ -_POP() -')dnl enddef _NAMESPACE - -define(`_END_NAMESPACE',`dnl -_PUSH() -popdef(`__NAMESPACE__') -popdef(`__NAMESPACE_BEGIN__') -popdef(`__NAMESPACE_END__') -_POP() -')dnl enddef _END_NAMESPACE - -define(`_INCLUDE_FLAG',`__FLAG_$1_INCLUDE_`'_UPPER(m4_translit(`$2',`/.-',`___'))__')dnl - -define(`_PH_INCLUDE',`dnl -m4_ifdef(_INCLUDE_FLAG(PH,`$*'),,`dnl else -define(_INCLUDE_FLAG(PH,`$*'))dnl -_PUSH(SECTION_PHEADER) -#include <$*> -_POP() -')dnl endif -')dnl - -define(`_CC_INCLUDE',`dnl -m4_ifdef(_INCLUDE_FLAG(CC,`$*'),,`dnl else -define(_INCLUDE_FLAG(CC,`$*'))dnl -_PUSH(SECTION_CC_INCLUDES) -#include <$*> -_POP() -')dnl endif -')dnl - -define(`_PINCLUDE', defn(`_PH_INCLUDE')) - -# Put these, for instance, around gtkmmproc macros (_WRAP_SIGNAL) -# to make the #ifndef appear around the generated code in both the .h -# and .cc files. -# e.g. _GTKMMPROC_H_AND_CC(#ifndef _SUN_CC_) -# e.g. _GTKMMPROC_H_AND_CC(#endif //_SUN_CC_) -# _GTKMMPROC_H_AND_CC(code) -define(`_GTKMMPROC_H_AND_CC',`dnl -$1 -_PUSH(SECTION_CC) -$1 - -_POP() -')dnl - -# Same thing as _GTKMMPROC_H_AND_CC but for signals (_WRAP_SIGNAL) -define(`_GTKMMPROC_SIGNAL_H_AND_CC',`dnl -$1 -_PUSH(SECTION_ANONYMOUS_NAMESPACE) -$1 -_POP() - -$1 -_PUSH(SECTION_H_DEFAULT_SIGNAL_HANDLERS) -$1 -_POP() - -$1 -_PUSH(SECTION_PCC_CLASS_INIT_DEFAULT_SIGNAL_HANDLERS) -$1 -_POP() - -$1 -_PUSH(SECTION_CC_DEFAULT_SIGNAL_HANDLERS) -$1 -_POP() - -$1 -_PUSH(SECTION_PCC_DEFAULT_SIGNAL_HANDLERS) -$1 -_POP() - -$1 -_PUSH(SECTION_CC_SIGNALPROXIES) -$1 -_POP() -')dnl - -m4_include(class_shared.m4) -m4_include(class_generic.m4) -m4_include(class_gobject.m4) -m4_include(class_gtkobject.m4) -m4_include(class_boxedtype.m4) -m4_include(class_boxedtype_static.m4) -m4_include(class_interface.m4) -m4_include(class_opaque_copyable.m4) -m4_include(class_opaque_refcounted.m4) -m4_include(gerror.m4) -m4_include(signal.m4) -m4_include(vfunc.m4) -m4_include(method.m4) -m4_include(member.m4) -m4_include(compare.m4) -m4_include(ctor.m4) -m4_include(property.m4) -m4_include(enum.m4) - -_SECTION(SECTION_HEADER1) - diff --git a/libs/glibmm2/tools/m4/class_boxedtype.m4 b/libs/glibmm2/tools/m4/class_boxedtype.m4 deleted file mode 100644 index 228183def6..0000000000 --- a/libs/glibmm2/tools/m4/class_boxedtype.m4 +++ /dev/null @@ -1,218 +0,0 @@ -dnl $Id: class_boxedtype.m4 413 2007-05-14 19:28:31Z murrayc $ - -dnl -dnl _CLASS_BOXEDTYPE(Region, GdkRegion, gdk_region_new, gdk_region_copy, gdk_region_destroy) -dnl - -define(`_CLASS_BOXEDTYPE',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') -define(`__BOXEDTYPE_FUNC_NEW',`$3') -define(`__BOXEDTYPE_FUNC_COPY',`$4') -define(`__BOXEDTYPE_FUNC_FREE',`$5') - -define(`_CUSTOM_DEFAULT_CTOR',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_DEFAULT_CTOR__',`$1') -_POP() -') - - -_POP() -_SECTION(SECTION_CLASS2) -') dnl End of _CLASS_BOXEDTYPE. - -dnl Some of the Gdk types are unions - e.g. GdkEvent. -define(`_CUSTOM_STRUCT_PROTOTYPE',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_STRUCT_PROTOTYPE__',`$1') -_POP() -') - -dnl -dnl _END_CLASS_BOXEDTYPE() -dnl denotes the end of a class -dnl -define(`_END_CLASS_BOXEDTYPE',` -_SECTION(SECTION_HEADER1) -ifdef(`__BOOL_CUSTOM_STRUCT_PROTOTYPE__',`dnl -',`dnl -#ifndef DOXYGEN_SHOULD_SKIP_THIS -extern "C" { typedef struct _`'__CNAME__ __CNAME__; } -#endif -')dnl - -_SECTION(SECTION_HEADER3) - -__NAMESPACE_BEGIN__ - -/** @relates __NAMESPACE__::__CPPNAME__ - * @param lhs The left-hand side - * @param rhs The right-hand side - */ -inline void swap(__CPPNAME__& lhs, __CPPNAME__& rhs) - { lhs.swap(rhs); } - -__NAMESPACE_END__ - -namespace Glib -{ -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else - -/** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates __NAMESPACE__::__CPPNAME__ - */ -__NAMESPACE__::__CPPNAME__ wrap(__CNAME__* object, bool take_copy = false); -')dnl endif __BOOL_NO_WRAP_FUNCTION__ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -template <> -class Value<__NAMESPACE__::__CPPNAME__> : public Glib::Value_Boxed<__NAMESPACE__::__CPPNAME__> -{}; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - -_SECTION(SECTION_SRC_GENERATED) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else -namespace Glib -{ - -__NAMESPACE__::__CPPNAME__ wrap(__CNAME__* object, bool take_copy) -{ - return __NAMESPACE__::__CPPNAME__`'(object, take_copy); -} - -} // namespace Glib -')dnl endif - - -__NAMESPACE_BEGIN__ - -dnl -dnl The implementation: -dnl - -// static -GType __CPPNAME__::get_type() -{ - return _GET_TYPE_FUNC(__CNAME__); -} - -ifdef(`__BOOL_CUSTOM_DEFAULT_CTOR__',`dnl -',`dnl else -__CPPNAME__::__CPPNAME__`'() -: -ifelse(__BOXEDTYPE_FUNC_NEW,NONE,`dnl - gobject_ (0) // Allows creation of invalid wrapper, e.g. for output arguments to methods. -',`dnl else - gobject_ (__BOXEDTYPE_FUNC_NEW`'()) -')dnl -{} -')dnl endif __BOOL_CUSTOM_DEFAULT_CTOR__ - -__CPPNAME__::__CPPNAME__`'(const __CPPNAME__& other) -: - gobject_ ((other.gobject_) ? __BOXEDTYPE_FUNC_COPY`'(other.gobject_) : 0) -{} - -__CPPNAME__::__CPPNAME__`'(__CNAME__* gobject, bool make_a_copy) -: - // For BoxedType wrappers, make_a_copy is true by default. The static - // BoxedType wrappers must always take a copy, thus make_a_copy = true - // ensures identical behaviour if the default argument is used. - gobject_ ((make_a_copy && gobject) ? __BOXEDTYPE_FUNC_COPY`'(gobject) : gobject) -{} - -__CPPNAME__& __CPPNAME__::operator=(const __CPPNAME__`'& other) -{ - __CPPNAME__ temp (other); - swap(temp); - return *this; -} - -__CPPNAME__::~__CPPNAME__`'() -{ -dnl This could be a free or an unref, we do not need to know. - if(gobject_) - __BOXEDTYPE_FUNC_FREE`'(gobject_); -} - -void __CPPNAME__::swap(__CPPNAME__& other) -{ - __CNAME__ *const temp = gobject_; - gobject_ = other.gobject_; - other.gobject_ = temp; -} - -__CNAME__* __CPPNAME__::gobj_copy() const -{ - return __BOXEDTYPE_FUNC_COPY`'(gobject_); -} - -_IMPORT(SECTION_CC) - -__NAMESPACE_END__ - - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl -dnl The actual class, e.g. Pango::FontDescription, declaration: -dnl -_IMPORT(SECTION_CLASS1) -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __CNAME__ BaseObjectType; - - static GType get_type() G_GNUC_CONST; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -ifdef(`__BOOL_CUSTOM_DEFAULT_CTOR__',`dnl -',`dnl else - __CPPNAME__`'(); -')dnl - - explicit __CPPNAME__`'(__CNAME__* gobject, bool make_a_copy = true); - - __CPPNAME__`'(const __CPPNAME__& other); - __CPPNAME__& operator=(const __CPPNAME__& other); - - ~__CPPNAME__`'(); - - void swap(__CPPNAME__& other); - - ///Provides access to the underlying C instance. - __CNAME__* gobj() { return gobject_; } - - ///Provides access to the underlying C instance. - const __CNAME__* gobj() const { return gobject_; } - - ///Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. - __CNAME__* gobj_copy() const; - -protected: - __CNAME__* gobject_; - -private: -_IMPORT(SECTION_CLASS2) -') - diff --git a/libs/glibmm2/tools/m4/class_boxedtype_static.m4 b/libs/glibmm2/tools/m4/class_boxedtype_static.m4 deleted file mode 100644 index ede3fd06ed..0000000000 --- a/libs/glibmm2/tools/m4/class_boxedtype_static.m4 +++ /dev/null @@ -1,169 +0,0 @@ -dnl $Id: class_boxedtype_static.m4 58 2003-12-14 11:53:04Z murrayc $ - -dnl -dnl _CLASS_BOXEDTYPE_STATIC(TreeIter, GtkTreeIter) -dnl -define(`_CLASS_BOXEDTYPE_STATIC',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') - -define(`_CUSTOM_DEFAULT_CTOR',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_DEFAULT_CTOR__',`$1') -_POP() -') - -define(`_CUSTOM_CTOR_CAST',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_CTOR_CAST__',`$1') -_POP() -') - -_POP() -_SECTION(SECTION_CLASS2) -') dnl End of _CLASS_BOXEDTYPE_STATIC. - -dnl TreeIterBase shouldn't have a wrap() method - we'll custom implement them for TreeIter and TreeRow: -define(`_NO_WRAP_FUNCTION',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_NO_WRAP_FUNCTION__',`$1') -_POP() -') - -dnl -dnl _END_CLASS_BOXEDTYPE_STATIC() -dnl denotes the end of a class -dnl -define(`_END_CLASS_BOXEDTYPE_STATIC',` - -_SECTION(SECTION_HEADER3) - -namespace Glib -{ -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else - -/** @relates __NAMESPACE__::__CPPNAME__ - * @param object The C instance - * @result A C++ instance that wraps this C instance. - */ -__NAMESPACE__::__CPPNAME__& wrap(__CNAME__* object); - -/** @relates __NAMESPACE__::__CPPNAME__ - * @param object The C instance - * @result A C++ instance that wraps this C instance. - */ -const __NAMESPACE__::__CPPNAME__& wrap(const __CNAME__* object); -')dnl endif __BOOL_NO_WRAP_FUNCTION__ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -template <> -class Value<__NAMESPACE__::__CPPNAME__> : public Glib::Value_Boxed<__NAMESPACE__::__CPPNAME__> -{}; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -} // namespace Glib - -_SECTION(SECTION_SRC_GENERATED) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else -namespace Glib -{ - -__NAMESPACE__::__CPPNAME__& wrap(__CNAME__* object) -{ - return *reinterpret_cast<__NAMESPACE__::__CPPNAME__*>(object); -} - -const __NAMESPACE__::__CPPNAME__& wrap(const __CNAME__* object) -{ - return *reinterpret_cast(object); -} - -} // namespace Glib -')dnl endif __BOOL_NO_WRAP_FUNCTION__ - - -__NAMESPACE_BEGIN__ - -dnl -dnl The implementation: -dnl - -dnl // static -dnl const __CNAME__ __CPPNAME__::gobject_initializer_ = { 0, }; -dnl -// static -GType __CPPNAME__::get_type() -{ - return _GET_TYPE_FUNC(__CNAME__); -} - -ifdef(`__BOOL_CUSTOM_DEFAULT_CTOR__',,`dnl else -__CPPNAME__::__CPPNAME__`'() -{ - GLIBMM_INITIALIZE_STRUCT`'(gobject_, __CNAME__); -} -')dnl - -ifdef(`__BOOL_CUSTOM_CTOR_CAST__',,`dnl else -__CPPNAME__::__CPPNAME__`'(const __CNAME__* gobject) -{ - if(gobject) - gobject_ = *gobject; - else - GLIBMM_INITIALIZE_STRUCT`'(gobject_, __CNAME__); -} -')dnl - -_IMPORT(SECTION_CC) - -__NAMESPACE_END__ - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl -dnl The actual class, e.g. Gtk::TreeIter, declaration: -dnl -_IMPORT(SECTION_CLASS1) -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __CNAME__ BaseObjectType; - - static GType get_type() G_GNUC_CONST; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -ifdef(`__BOOL_CUSTOM_DEFAULT_CTOR__',,`dnl else - __CPPNAME__`'(); -')dnl - -ifdef(`__BOOL_CUSTOM_CTOR_CAST__',,`dnl else - explicit __CPPNAME__`'(const __CNAME__* gobject); // always takes a copy -')dnl - - ///Provides access to the underlying C instance. - __CNAME__* gobj() { return &gobject_; } - - ///Provides access to the underlying C instance. - const __CNAME__* gobj() const { return &gobject_; } - -protected: - __CNAME__ gobject_; -dnl static const __CNAME__ gobject_initializer_; - -private: - _IMPORT(SECTION_CLASS2) -') - diff --git a/libs/glibmm2/tools/m4/class_generic.m4 b/libs/glibmm2/tools/m4/class_generic.m4 deleted file mode 100644 index 78f809afe2..0000000000 --- a/libs/glibmm2/tools/m4/class_generic.m4 +++ /dev/null @@ -1,54 +0,0 @@ -dnl $Id: class_generic.m4 2 2003-01-07 16:59:16Z murrayc $ - -dnl -dnl _CLASS_GENERIC(LayoutIter, PangoLayoutIter) -dnl - -define(`_CLASS_GENERIC',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') - -_POP() -_SECTION(SECTION_CLASS2) -') dnl End of _CLASS_GENERIC. - - -dnl -dnl _END_CLASS_GENERIC() -dnl denotes the end of a class -dnl -define(`_END_CLASS_GENERIC',` - -_SECTION(SECTION_SRC_GENERATED) - -__NAMESPACE_BEGIN__ - -dnl The implementation: - -_IMPORT(SECTION_CC) - -__NAMESPACE_END__ - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl -dnl The actual class, e.g. Pango::FontDescription, declaration: -dnl -_IMPORT(SECTION_CLASS1) -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __CNAME__ BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -private: -_IMPORT(SECTION_CLASS2) -') - diff --git a/libs/glibmm2/tools/m4/class_gobject.m4 b/libs/glibmm2/tools/m4/class_gobject.m4 deleted file mode 100644 index feeb7a2983..0000000000 --- a/libs/glibmm2/tools/m4/class_gobject.m4 +++ /dev/null @@ -1,269 +0,0 @@ -dnl $Id: class_gobject.m4 798 2009-03-20 22:08:01Z jaalburqu $ - - -define(`_CLASS_GOBJECT',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') -define(`__CCAST__',`$3') -define(`__BASE__',_LOWER(__CPPNAME__)) -define(`__CPPPARENT__',`$4') -define(`__CPARENT__',`$5') -define(`__PCAST__',`($5*)') - -dnl Some C types, e.g. GdkWindow or GdkPixmap, are a typedef to their base type, -dnl rather than the real instance type. That is really ugly, yes. We get around -dnl the problem by supporting optional __REAL_* arguments to this macro. -define(`__REAL_CNAME__',ifelse(`$6',,__CNAME__,`$6')) -define(`__REAL_CPARENT__',ifelse(`$7',,__CPARENT__,`$7')) - - -_POP() -_SECTION(SECTION_CLASS2) -') dnl end of _CLASS_GOBJECT - -dnl Widget and Object, and some others, have custom-written destructor implementations: -define(`_CUSTOM_DTOR',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_DTOR__',`$1') -_POP() -') - -dnl For classes that need custom code in their cast and construct_params -dnl constructor. -define(`_CUSTOM_CTOR_CAST',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_CTOR_CAST__',`$1') -_POP() -') - -dnl Gdk::Pixmap_Class::wrap_new() needs a custom implementation, in order -dnl to create a Gdk::Bitmap object if appropriate. See comments there. -define(`_CUSTOM_WRAP_NEW',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_WRAP_NEW__',`1') -_POP() -') - -dnl Gnome::Canvas::CanvasAA::CanvasAA() needs access to the -dnl normally-private canvas_class_ member variable. See comments there. -define(`_GMMPROC_PROTECTED_GCLASS',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_PROTECTED_GCLASS__',`1') -_POP() -') - -dnl Some of the Gdk types are actually direct typedefs of their base type. -dnl This means that 2 wrap functions would have the same argument. -dnl define(`_NO_WRAP_FUNCTION',`dnl -dnl _PUSH() -dnl Define this macro to be tested for later. -dnl define(`__BOOL_NO_WRAP_FUNCTION__',`$1') -dnl _POP() -dnl ') - -dnl Some gobjects actually derive from GInitiallyUnowned, which does some odd reference-counting that is useful to C coders. -dnl We don't want to expose that base class in our API, -dnl but we do want to reverse what it does: -define(`_DERIVES_INITIALLY_UNOWNED',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_DERIVES_INITIALLY_UNOWNED__',`$1') -_POP() -') - - -dnl -dnl _CREATE_METHOD(args_type_and_name_hpp, args_type_and_name_cpp,args_name_only); -dnl -define(`_CREATE_METHOD',` - static Glib::RefPtr<`'__CPPNAME__`'> create(`'$1`'); -_PUSH(SECTION_CC) -Glib::RefPtr<`'__CPPNAME__`'> __CPPNAME__`'::create(`'$2`') -{ - return Glib::RefPtr<`'__CPPNAME__`'>( new __CPPNAME__`'(`'$3`') ); -} -_POP() -') - - -dnl -dnl _END_CLASS_GOBJECT() -dnl denotes the end of a class -dnl -define(`_END_CLASS_GOBJECT',` -_SECTION(SECTION_HEADER1) -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl -_STRUCT_PROTOTYPE() -')dnl - -__NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ -_SECTION(SECTION_HEADER3) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates __NAMESPACE__::__CPPNAME__ - */ - Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__REAL_CNAME__`'* object, bool take_copy = false); -} -')dnl - - -dnl -dnl -_SECTION(SECTION_PHEADER) - -#include - -__NAMESPACE_BEGIN__ - -_PH_CLASS_DECLARATION() - -__NAMESPACE_END__ - -_SECTION(SECTION_SRC_GENERATED) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else -namespace Glib -{ - -Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__REAL_CNAME__`'* object, bool take_copy) -{ - return Glib::RefPtr<__NAMESPACE__::__CPPNAME__>( dynamic_cast<__NAMESPACE__::__CPPNAME__*> (Glib::wrap_auto ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} /* namespace Glib */ -')dnl endif - - - - -__NAMESPACE_BEGIN__ - - -/* The *_Class implementation: */ - -_PCC_CLASS_IMPLEMENTATION() - -m4_ifdef(`__BOOL_CUSTOM_WRAP_NEW__',,`dnl else -Glib::ObjectBase* __CPPNAME__`'_Class::wrap_new(GObject* object) -{ - return new __CPPNAME__`'((__CNAME__*)`'object); -} - -')dnl endif - -/* The implementation: */ - -__CNAME__* __CPPNAME__::gobj_copy() -{ - reference(); - return gobj(); -} - -ifdef(`__BOOL_CUSTOM_CTOR_CAST__',`dnl -',`dnl -__CPPNAME__::__CPPNAME__`'(const Glib::ConstructParams& construct_params) -: - __CPPPARENT__`'(construct_params) -{ -_INITIALLY_UNOWNED_SINK -} - -__CPPNAME__::__CPPNAME__`'(__CNAME__* castitem) -: - __CPPPARENT__`'(__PCAST__`'(castitem)) -{} - -')dnl - -ifdef(`__BOOL_CUSTOM_DTOR__',`dnl -',`dnl -__CPPNAME__::~__CPPNAME__`'() -{} - -')dnl - - -_CC_CLASS_IMPLEMENTATION() - -__NAMESPACE_END__ - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl The actual class, e.g. Gtk::Widget, declaration: -dnl _IMPORT(SECTION_H_SIGNALPROXIES_CUSTOM) - -_IMPORT(SECTION_CLASS1) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef __CPPNAME__ CppObjectType; - typedef __CPPNAME__`'_Class CppClassType; - typedef __CNAME__ BaseObjectType; - typedef __REAL_CNAME__`'Class BaseClassType; - -m4_ifdef(`__BOOL_PROTECTED_GCLASS__', -`protected:',`dnl else -private:')dnl endif - friend class __CPPNAME__`'_Class; - static CppClassType `'__BASE__`'_class_; - -private: - // noncopyable - __CPPNAME__`'(const __CPPNAME__&); - __CPPNAME__& operator=(const __CPPNAME__&); - -protected: - explicit __CPPNAME__`'(const Glib::ConstructParams& construct_params); - explicit __CPPNAME__`'(__CNAME__* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~__CPPNAME__`'(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - __CNAME__* gobj() { return reinterpret_cast<__CNAME__*>(gobject_); } - - ///Provides access to the underlying C GObject. - const __CNAME__* gobj() const { return reinterpret_cast<__CNAME__*>(gobject_); } - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - __CNAME__* gobj_copy(); - -private: -_IMPORT(SECTION_CLASS2) - -public: -_H_VFUNCS_AND_SIGNALS() - -') - diff --git a/libs/glibmm2/tools/m4/class_gtkobject.m4 b/libs/glibmm2/tools/m4/class_gtkobject.m4 deleted file mode 100644 index 2e85daaae1..0000000000 --- a/libs/glibmm2/tools/m4/class_gtkobject.m4 +++ /dev/null @@ -1,228 +0,0 @@ -dnl $Id: class_gtkobject.m4 413 2007-05-14 19:28:31Z murrayc $ - - - -define(`_CLASS_GTKOBJECT',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') -define(`__CCAST__',`$3') -define(`__BASE__',_LOWER(__CPPNAME__)) -define(`__CPPPARENT__',`$4') -define(`__CPARENT__',`$5') -define(`__PCAST__',`($5*)') - -dnl Some C types, e.g. GdkWindow or GdkPixmap, are a typedef to their base type, -dnl rather than the real instance type. That is really ugly, yes. We get around -dnl the problem by supporting optional __REAL_* arguments to this macro. -define(`__REAL_CNAME__',ifelse(`$6',,__CNAME__,`$6')) -define(`__REAL_CPARENT__',ifelse(`$7',,__CPARENT__,`$7')) - - -dnl -dnl ----------------------- Constructors ------------------------- -dnl - - -_POP() -_SECTION(SECTION_CLASS2) -')dnl end of _CLASS_GTKOBJECT - -dnl Widget and Object, and some others, have custom-written destructor implementations: -define(`_CUSTOM_DTOR',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_DTOR__',`$1') -_POP() -') - -dnl Gtk::Object has a custom-written cast implementation: -define(`_CUSTOM_CTOR_CAST',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_CTOR_CAST__',`$1') -_POP() -') - -dnl Top-level windows can not be manage()ed, so we should not use manage() in wrap_new(). -define(`_UNMANAGEABLE',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_UNMANAGEABLE__',`$1') -_POP() -') - -dnl Optionally ifdef-out the whole .h and .cc files: -define(`_IS_DEPRECATED',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_DEPRECATED__',`$1') -_POP() -') - -dnl Gnome::Canvas::CanvasAA::CanvasAA() needs access to the -dnl normally-private canvas_class_ member variable. See comments there. -define(`_GMMPROC_PROTECTED_GCLASS',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_PROTECTED_GCLASS__',`1') -_POP() -') - - -dnl -dnl _END_CLASS_GTKOBJECT() -dnl denotes the end of a class -dnl -define(`_END_CLASS_GTKOBJECT',` - -_SECTION(SECTION_HEADER1) -_STRUCT_PROTOTYPE() - -__NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ -_SECTION(SECTION_HEADER3) - -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates __NAMESPACE__::__CPPNAME__ - */ - __NAMESPACE__::__CPPNAME__`'* wrap(__CNAME__`'* object, bool take_copy = false); -} //namespace Glib - -dnl -dnl -_SECTION(SECTION_PHEADER) - -#include - -__NAMESPACE_BEGIN__ - -_PH_CLASS_DECLARATION() - -__NAMESPACE_END__ - -_SECTION(SECTION_SRC_GENERATED) - -namespace Glib -{ - -__NAMESPACE__::__CPPNAME__`'* wrap(__CNAME__`'* object, bool take_copy) -{ - return dynamic_cast<__NAMESPACE__::__CPPNAME__ *> (Glib::wrap_auto ((GObject*)(object), take_copy)); -} - -} /* namespace Glib */ - -__NAMESPACE_BEGIN__ - - -/* The *_Class implementation: */ - -_PCC_CLASS_IMPLEMENTATION() - -Glib::ObjectBase* __CPPNAME__`'_Class::wrap_new(GObject* o) -{ -ifdef(`__BOOL_UNMANAGEABLE__',`dnl - return new __CPPNAME__`'((__CNAME__*)`'(o)); //top-level windows can not be manage()ed. -',`dnl - return manage(new __CPPNAME__`'((__CNAME__*)`'(o))); -') -} - - -/* The implementation: */ - -ifdef(`__BOOL_CUSTOM_CTOR_CAST__',`dnl necessary for Gtk::Object implementation -',`dnl -__CPPNAME__::__CPPNAME__`'(const Glib::ConstructParams& construct_params) -: - __CPPPARENT__`'(construct_params) -{ - _IMPORT(SECTION_CC_INITIALIZE_CLASS_EXTRA) dnl Does not seem to work - custom implement it instead. -} - -__CPPNAME__::__CPPNAME__`'(__CNAME__* castitem) -: - __CPPPARENT__`'(__PCAST__`'(castitem)) -{ - _IMPORT(SECTION_CC_INITIALIZE_CLASS_EXTRA) dnl Does not seem to work - custom implement it instead. -} - -')dnl -ifdef(`__BOOL_CUSTOM_DTOR__',`dnl -',`dnl -__CPPNAME__::~__CPPNAME__`'() -{ - destroy_(); -} - -')dnl -_CC_CLASS_IMPLEMENTATION() - -__NAMESPACE_END__ - -dnl -dnl -dnl -dnl -_POP() -dnl The actual class, e.g. Gtk::Widget, declaration: -dnl _IMPORT(SECTION_H_SIGNALPROXIES_CUSTOM) - -_IMPORT(SECTION_CLASS1) -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __CPPNAME__`'_Class CppClassType; - typedef __CNAME__ BaseObjectType; - typedef __REAL_CNAME__`'Class BaseClassType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - virtual ~__CPPNAME__`'(); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -m4_ifdef(`__BOOL_PROTECTED_GCLASS__', -`protected:',`dnl else -private:')dnl endif - - friend class __CPPNAME__`'_Class; - static CppClassType `'__BASE__`'_class_; - - // noncopyable - __CPPNAME__`'(const __CPPNAME__&); - __CPPNAME__& operator=(const __CPPNAME__&); - -protected: - explicit __CPPNAME__`'(const Glib::ConstructParams& construct_params); - explicit __CPPNAME__`'(__CNAME__* castitem); - -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GtkObject. - __CNAME__* gobj() { return reinterpret_cast<__CNAME__*>(gobject_); } - - ///Provides access to the underlying C GtkObject. - const __CNAME__* gobj() const { return reinterpret_cast<__CNAME__*>(gobject_); } - -_H_VFUNCS_AND_SIGNALS() - -private: -_IMPORT(SECTION_CLASS2) - -') - diff --git a/libs/glibmm2/tools/m4/class_interface.m4 b/libs/glibmm2/tools/m4/class_interface.m4 deleted file mode 100644 index 5e71d137e7..0000000000 --- a/libs/glibmm2/tools/m4/class_interface.m4 +++ /dev/null @@ -1,286 +0,0 @@ -dnl $Id: class_interface.m4 580 2008-02-04 20:27:38Z murrayc $ - - -define(`_CLASS_INTERFACE',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') -define(`__CCAST__',`$3') -define(`__CCLASS__',`$4') dnl SomethingIface or SomethingClass, both suffixes are used. -define(`__BASE__',_LOWER(__CPPNAME__)) -define(`__CPPPARENT__',m4_ifelse($5,`',`Glib::Interface',$5)) #Optional parameter. -define(`__CPARENT__',m4_ifelse($6,`',`GObject',$6)) #Optional parameter. -define(`__PCAST__',`(__CPARENT__`'*)') -define(`__BOOL_IS_INTERFACE__',`1') - - -_POP() -_SECTION(SECTION_CLASS2) -') dnl end of _CLASS_INTERFACE - - -dnl Some of the Gdk types are actually direct typedefs of their base type. -dnl This means that 2 wrap functions would have the same argument. -dnl define(`_NO_WRAP_FUNCTION',`dnl -dnl _PUSH() -dnl Define this macro to be tested for later. -dnl define(`__BOOL_NO_WRAP_FUNCTION__',`$1') -dnl _POP() -dnl ') - -dnl -dnl -dnl -define(`_PH_CLASS_DECLARATION_INTERFACE',`dnl -class __CPPNAME__`'_Class : public __CPPPARENT__`'_Class -{ -public: - typedef __CPPNAME__ CppObjectType; - typedef __CNAME__ BaseObjectType; - typedef __CCLASS__ BaseClassType; - typedef __CPPPARENT__`'_Class CppClassParent; - - friend class __CPPNAME__; - - const Glib::Interface_Class& init(); - - static void iface_init_function(void* g_iface, void* iface_data); - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -_IMPORT(SECTION_PH_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_PH_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED -}; -') - - -dnl -dnl -dnl -define(`_PCC_CLASS_IMPLEMENTATION_INTERFACE',`dnl -const Glib::Interface_Class& __CPPNAME__`'_Class::init() -{ - if(!gtype_) // create the GType if necessary - { - // Glib::Interface_Class has to know the interface init function - // in order to add interfaces to implementing types. - class_init_func_ = &__CPPNAME__`'_Class::iface_init_function; - - // We can not derive from another interface, and it is not necessary anyway. - gtype_ = _LOWER(__CCAST__)_get_type(); - } - - return *this; -} - -void __CPPNAME__`'_Class::iface_init_function(void* g_iface, void*) -{ - BaseClassType *const klass = static_cast(g_iface); - - //This is just to avoid an "unused variable" warning when there are no vfuncs or signal handlers to connect. - //This is a temporary fix until I find out why I can not seem to derive a GtkFileChooser interface. murrayc - g_assert(klass != 0); - -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_PCC_CLASS_INIT_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -_IMPORT(SECTION_PCC_CLASS_INIT_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} - -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_PCC_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -_IMPORT(SECTION_PCC_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -') - - -dnl -dnl _END_CLASS_INTERFACE() -dnl denotes the end of a class -dnl -define(`_END_CLASS_INTERFACE',` -_SECTION(SECTION_HEADER1) -_STRUCT_PROTOTYPE() - -__NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ -_SECTION(SECTION_HEADER3) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl -namespace Glib -{ - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates __NAMESPACE__::__CPPNAME__ - */ - Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__CNAME__`'* object, bool take_copy = false); - -} // namespace Glib - -')dnl -dnl -dnl -_SECTION(SECTION_PHEADER) - -#include - -__NAMESPACE_BEGIN__ - -_PH_CLASS_DECLARATION_INTERFACE() - -__NAMESPACE_END__ - -_SECTION(SECTION_SRC_GENERATED) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else -namespace Glib -{ - -Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__CNAME__`'* object, bool take_copy) -{ - return Glib::RefPtr<__NAMESPACE__::__CPPNAME__>( dynamic_cast<__NAMESPACE__::__CPPNAME__*> (Glib::wrap_auto_interface<__NAMESPACE__::__CPPNAME__> ((GObject*)(object), take_copy)) ); - //We use dynamic_cast<> in case of multiple inheritance. -} - -} // namespace Glib -')dnl endif - - -__NAMESPACE_BEGIN__ - - -/* The *_Class implementation: */ - -_PCC_CLASS_IMPLEMENTATION_INTERFACE() - -Glib::ObjectBase* __CPPNAME__`'_Class::wrap_new(GObject* object) -{ - return new __CPPNAME__`'((__CNAME__*)`'(object)); -} - - -/* The implementation: */ - -__CPPNAME__::__CPPNAME__`'() -: - __CPPPARENT__`'(__BASE__`'_class_.init()) -{} - -__CPPNAME__::__CPPNAME__`'(__CNAME__* castitem) -: - __CPPPARENT__`'(__PCAST__`'(castitem)) -{} - -__CPPNAME__::__CPPNAME__`'(const Glib::Interface_Class& interface_class) -: __CPPPARENT__`'(interface_class) -{ -} - -__CPPNAME__::~__CPPNAME__`'() -{} - -// static -void __CPPNAME__`'::add_interface(GType gtype_implementer) -{ - __BASE__`'_class_.init().add_interface(gtype_implementer); -} - -_CC_CLASS_IMPLEMENTATION() - -__NAMESPACE_END__ - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl The actual class, e.g. Gtk::Widget, declaration: -dnl _IMPORT(SECTION_H_SIGNALPROXIES_CUSTOM) - -_IMPORT(SECTION_CLASS1) - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - -public: - typedef __CPPNAME__ CppObjectType; - typedef __CPPNAME__`'_Class CppClassType; - typedef __CNAME__ BaseObjectType; - typedef __CCLASS__ BaseClassType; - -private: - friend class __CPPNAME__`'_Class; - static CppClassType `'__BASE__`'_class_; - - // noncopyable - __CPPNAME__`'(const __CPPNAME__&); - __CPPNAME__& operator=(const __CPPNAME__&); - -protected: - __CPPNAME__`'(); // you must derive from this class - - /** Called by constructors of derived classes. Provide the result of - * the Class init() function to ensure that it is properly - * initialized. - * - * @param interface_class The Class object for the derived type. - */ - explicit __CPPNAME__`'(const Glib::Interface_Class& interface_class); - -public: - // This is public so that C++ wrapper instances can be - // created for C instances of unwrapped types. - // For instance, if an unexpected C type implements the C interface. - explicit __CPPNAME__`'(__CNAME__* castitem); - -protected: -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -public: - virtual ~__CPPNAME__`'(); - - static void add_interface(GType gtype_implementer); - -#ifndef DOXYGEN_SHOULD_SKIP_THIS - static GType get_type() G_GNUC_CONST; - static GType get_base_type() G_GNUC_CONST; -#endif - - ///Provides access to the underlying C GObject. - __CNAME__* gobj() { return reinterpret_cast<__CNAME__*>(gobject_); } - - ///Provides access to the underlying C GObject. - const __CNAME__* gobj() const { return reinterpret_cast<__CNAME__*>(gobject_); } - -private: -_IMPORT(SECTION_CLASS2) - -public: -_H_VFUNCS_AND_SIGNALS() - -') - diff --git a/libs/glibmm2/tools/m4/class_opaque_copyable.m4 b/libs/glibmm2/tools/m4/class_opaque_copyable.m4 deleted file mode 100644 index c4930c9d1d..0000000000 --- a/libs/glibmm2/tools/m4/class_opaque_copyable.m4 +++ /dev/null @@ -1,184 +0,0 @@ -dnl $Id: class_opaque_copyable.m4 413 2007-05-14 19:28:31Z murrayc $ - -dnl -dnl _CLASS_OPAQUE_COPYABLE(Region, GdkRegion, gdk_region_new, gdk_region_copy, gdk_region_destroy) -dnl - -define(`_CLASS_OPAQUE_COPYABLE',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') -define(`__OPAQUE_FUNC_NEW',`$3') -define(`__OPAQUE_FUNC_COPY',`$4') -define(`__OPAQUE_FUNC_FREE',`$5') - -define(`_CUSTOM_DEFAULT_CTOR',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_CUSTOM_DEFAULT_CTOR__',`$1') -_POP() -') - -_POP() -_SECTION(SECTION_CLASS2) -') dnl End of _CLASS_OPAQUE_COPYABLE. - - -dnl -dnl _END_CLASS_OPAQUE_COPYABLE() -dnl denotes the end of a class -dnl -define(`_END_CLASS_OPAQUE_COPYABLE',` - -_SECTION(SECTION_HEADER3) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else -namespace Glib -{ - - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates __NAMESPACE__::__CPPNAME__ - */ -__NAMESPACE__::__CPPNAME__ wrap(__CNAME__* object, bool take_copy = false); - -} // namespace Glib -')dnl endif __BOOL_NO_WRAP_FUNCTION__ - -_SECTION(SECTION_SRC_GENERATED) - -ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl -',`dnl else -namespace Glib -{ - -__NAMESPACE__::__CPPNAME__ wrap(__CNAME__* object, bool take_copy /* = false */) -{ - return __NAMESPACE__::__CPPNAME__`'(object, take_copy); -} - -} // namespace Glib -')dnl endif - - -__NAMESPACE_BEGIN__ - -dnl -dnl The implementation: -dnl - -ifdef(`__BOOL_CUSTOM_DEFAULT_CTOR__',`dnl -',`dnl else -__CPPNAME__::__CPPNAME__`'() -: -ifelse(__OPAQUE_FUNC_NEW,NONE,`dnl - gobject_ (0) // Allows creation of invalid wrapper, e.g. for output arguments to methods. -',`dnl else - gobject_ (__OPAQUE_FUNC_NEW`'()) -')dnl -{} -')dnl endif __BOOL_CUSTOM_DEFAULT_CTOR__ - -__CPPNAME__::__CPPNAME__`'(const __CPPNAME__& src) -: - gobject_ ((src.gobject_) ? __OPAQUE_FUNC_COPY`'(src.gobject_) : 0) -{} - -__CPPNAME__::__CPPNAME__`'(__CNAME__* castitem, bool make_a_copy /* = false */) -{ - if(!make_a_copy) - { - // It was given to us by a function which has already made a copy for us to keep. - gobject_ = castitem; - } - else - { - // We are probably getting it via direct access to a struct, - // so we can not just take it - we have to take a copy of it. - if(castitem) - gobject_ = __OPAQUE_FUNC_COPY`'(castitem); - else - gobject_ = 0; - } -} - -ifelse(__OPAQUE_FUNC_COPY,NONE,`dnl -',`dnl else -__CPPNAME__& __CPPNAME__::operator=(const __CPPNAME__`'& src) -{ - __CNAME__ *const new_gobject = (src.gobject_) ? __OPAQUE_FUNC_COPY`'(src.gobject_) : 0; - - if(gobject_) - __OPAQUE_FUNC_FREE`'(gobject_); - - gobject_ = new_gobject; - - return *this; -} -')dnl - -__CPPNAME__::~__CPPNAME__`'() -{ - if(gobject_) - __OPAQUE_FUNC_FREE`'(gobject_); -} - -__CNAME__* __CPPNAME__::gobj_copy() const -{ - return __OPAQUE_FUNC_COPY`'(gobject_); -} - -_IMPORT(SECTION_CC) - -__NAMESPACE_END__ - - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl -dnl The actual class, e.g. Pango::FontDescription, declaration: -dnl -_IMPORT(SECTION_CLASS1) -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __CNAME__ BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -ifdef(`__BOOL_CUSTOM_DEFAULT_CTOR__',`dnl -',`dnl else - __CPPNAME__`'(); -')dnl - - // Use make_a_copy=true when getting it directly from a struct. - explicit __CPPNAME__`'(__CNAME__* castitem, bool make_a_copy = false); - - __CPPNAME__`'(const __CPPNAME__& src); - __CPPNAME__& operator=(const __CPPNAME__& src); - - ~__CPPNAME__`'(); - - __CNAME__* gobj() { return gobject_; } - const __CNAME__* gobj() const { return gobject_; } - - ///Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. - __CNAME__* gobj_copy() const; - -protected: - __CNAME__* gobject_; - -private: -_IMPORT(SECTION_CLASS2) -') - diff --git a/libs/glibmm2/tools/m4/class_opaque_refcounted.m4 b/libs/glibmm2/tools/m4/class_opaque_refcounted.m4 deleted file mode 100644 index 31311aa5b6..0000000000 --- a/libs/glibmm2/tools/m4/class_opaque_refcounted.m4 +++ /dev/null @@ -1,175 +0,0 @@ -dnl $Id: class_opaque_refcounted.m4 413 2007-05-14 19:28:31Z murrayc $ - -dnl -dnl _CLASS_OPAQUE_REFCOUNTED(Coverage, PangoCoverage, pango_coverage_new, pango_coverage_ref, pango_coverage_unref) -dnl - -define(`_CLASS_OPAQUE_REFCOUNTED',`dnl -_PUSH() -dnl -dnl Define the args for later macros -define(`__CPPNAME__',`$1') -define(`__CNAME__',`$2') -define(`__OPAQUE_FUNC_NEW',`$3') -define(`__OPAQUE_FUNC_REF',`$4') -define(`__OPAQUE_FUNC_UNREF',`$5') - -_POP() -_SECTION(SECTION_CLASS2) -')dnl End of _CLASS_OPAQUE_REFCOUNTED. - - -dnl -dnl _END_CLASS_OPAQUE_REFCOUNTED() -dnl denotes the end of a class -dnl -define(`_END_CLASS_OPAQUE_REFCOUNTED',` - -_SECTION(SECTION_HEADER3) - -namespace Glib -{ - - /** A Glib::wrap() method for this object. - * - * @param object The C instance. - * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. - * @result A C++ instance that wraps this C instance. - * - * @relates __NAMESPACE__::__CPPNAME__ - */ - Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__CNAME__* object, bool take_copy = false); - -} // namespace Glib - -_SECTION(SECTION_SRC_GENERATED) - -/* Why reinterpret_cast<__CPPNAME__*>(gobject) is needed: - * - * A __CPPNAME__ instance is in fact always a __CNAME__ instance. - * Unfortunately, __CNAME__ cannot be a member of __CPPNAME__, - * because it is an opaque struct. Also, the C interface does not provide - * any hooks to install a destroy notification handler, thus we cannot - * wrap it dynamically either. - * - * The cast works because __CPPNAME__ does not have any member data, and - * it is impossible to derive from it. This is ensured by not implementing - * the (protected) default constructor. The ctor is protected rather than - * private just to avoid a compile warning. - */ - -namespace Glib -{ - -Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__CNAME__* object, bool take_copy) -{ - if(take_copy && object) - __OPAQUE_FUNC_REF`'(object); - - // See the comment at the top of this file, if you want to know why the cast works. - return Glib::RefPtr<__NAMESPACE__::__CPPNAME__>(reinterpret_cast<__NAMESPACE__::__CPPNAME__*>(object)); -} - -} // namespace Glib - - -__NAMESPACE_BEGIN__ - -dnl -dnl The implementation: -dnl - -ifelse(__OPAQUE_FUNC_NEW,NONE,`dnl -',`dnl else -// static -Glib::RefPtr<__CPPNAME__> __CPPNAME__::create() -{ - // See the comment at the top of this file, if you want to know why the cast works. - return Glib::RefPtr<__CPPNAME__>(reinterpret_cast<__CPPNAME__*>(__OPAQUE_FUNC_NEW`'())); -} -')dnl endif __OPAQUE_FUNC_NEW - -void __CPPNAME__::reference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - __OPAQUE_FUNC_REF`'(reinterpret_cast<__CNAME__*>(const_cast<__CPPNAME__*>(this))); -} - -void __CPPNAME__::unreference() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - __OPAQUE_FUNC_UNREF`'(reinterpret_cast<__CNAME__*>(const_cast<__CPPNAME__*>(this))); -} - -__CNAME__* __CPPNAME__::gobj() -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast<__CNAME__*>(this); -} - -const __CNAME__* __CPPNAME__::gobj() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - return reinterpret_cast(this); -} - -__CNAME__* __CPPNAME__::gobj_copy() const -{ - // See the comment at the top of this file, if you want to know why the cast works. - __CNAME__ *const gobject = reinterpret_cast<__CNAME__*>(const_cast<__CPPNAME__*>(this)); - __OPAQUE_FUNC_REF`'(gobject); - return gobject; -} - -_IMPORT(SECTION_CC) - -__NAMESPACE_END__ - - -dnl -dnl -dnl -dnl -_POP() -dnl -dnl -dnl The actual class, e.g. Pango::FontDescription, declaration: -dnl -_IMPORT(SECTION_CLASS1) -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __CNAME__ BaseObjectType; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - -ifelse(__OPAQUE_FUNC_NEW,NONE,`dnl -',`dnl else - static Glib::RefPtr<__CPPNAME__> create(); -')dnl endif __OPAQUE_FUNC_NEW - - // For use with Glib::RefPtr<> only. - void reference() const; - void unreference() const; - - ///Provides access to the underlying C instance. - __CNAME__* gobj(); - - ///Provides access to the underlying C instance. - const __CNAME__* gobj() const; - - ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. - __CNAME__* gobj_copy() const; - -protected: - // Do not derive this. __NAMESPACE__::__CPPNAME__ can neither be constructed nor deleted. - __CPPNAME__`'(); - void operator delete(void*, size_t); - -private: - // noncopyable - __CPPNAME__`'(const __CPPNAME__&); - __CPPNAME__& operator=(const __CPPNAME__&); - -_IMPORT(SECTION_CLASS2) -') - diff --git a/libs/glibmm2/tools/m4/class_shared.m4 b/libs/glibmm2/tools/m4/class_shared.m4 deleted file mode 100644 index 235b0d3dc5..0000000000 --- a/libs/glibmm2/tools/m4/class_shared.m4 +++ /dev/null @@ -1,233 +0,0 @@ -dnl $Id: class_shared.m4 540 2008-01-25 20:29:42Z murrayc $ - -define(`_CLASS_START',`dnl -_PUSH(SECTION_CLASS1) -') - -dnl -dnl -dnl -define(`_H_VFUNCS_AND_SIGNALS',`dnl - -public: - //C++ methods used to invoke GTK+ virtual functions: -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_H_VFUNCS_CPPWRAPPER) -#endif //GLIBMM_VFUNCS_ENABLED - -protected: - //GTK+ Virtual Functions (override these to change behaviour): -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_H_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED - - //Default Signal Handlers:: -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -_IMPORT(SECTION_H_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -') - - -dnl -dnl -dnl -define(`_IMPLEMENTS_INTERFACE_CC',`dnl -_PUSH(SECTION_CC_IMPLEMENTS_INTERFACES) -ifelse(`$2',,,`#ifdef $2' -)dnl - $1`'::add_interface(get_type()); -ifelse(`$2',,,` -#endif // $2 -')dnl -_POP() -') - -dnl GVolumeMonitor can be broken/impeded by defining a sub-type. -define(`_DO_NOT_DERIVE_GTYPE',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_DO_NOT_DERIVE_GTYPE__',`$1') -_POP() -') - -dnl -dnl -dnl -define(`_PH_CLASS_DECLARATION',`dnl -class __CPPNAME__`'_Class : public Glib::Class -{ -public: -#ifndef DOXYGEN_SHOULD_SKIP_THIS - typedef __CPPNAME__ CppObjectType; - typedef __REAL_CNAME__ BaseObjectType; -ifdef(`__BOOL_DO_NOT_DERIVE_GTYPE__',`dnl - typedef __CPPPARENT__`'_Class CppClassParent; -',`dnl - typedef __REAL_CNAME__`'Class BaseClassType; - typedef __CPPPARENT__`'_Class CppClassParent; - typedef __REAL_CPARENT__`'Class BaseClassParent; -')dnl - - friend class __CPPNAME__; -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ - - const Glib::Class& init(); - -ifdef(`__BOOL_DO_NOT_DERIVE_GTYPE__',`dnl -',`dnl - static void class_init_function(void* g_class, void* class_data); -')dnl - - static Glib::ObjectBase* wrap_new(GObject*); - -protected: - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - //Callbacks (default signal handlers): - //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. - //You could prevent the original default signal handlers being called by overriding the *_impl method. -_IMPORT(SECTION_PH_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - - //Callbacks (virtual functions): -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_PH_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED -}; -') - - -dnl -dnl -dnl -define(`_PCC_CLASS_IMPLEMENTATION',`dnl -const Glib::Class& __CPPNAME__`'_Class::init() -{ - if(!gtype_) // create the GType if necessary - { -ifdef(`__BOOL_DO_NOT_DERIVE_GTYPE__',`dnl - // Do not derive a GType, or use a derived klass: - gtype_ = CppClassParent::CppObjectType::get_type(); -',`dnl - // Glib::Class has to know the class init function to clone custom types. - class_init_func_ = &__CPPNAME__`'_Class::class_init_function; - - // This is actually just optimized away, apparently with no harm. - // Make sure that the parent type has been created. - //CppClassParent::CppObjectType::get_type(); - - // Create the wrapper type, with the same class/instance size as the base type. - register_derived_type(_LOWER(__CCAST__)_get_type()); - - // Add derived versions of interfaces, if the C type implements any interfaces: -_IMPORT(SECTION_CC_IMPLEMENTS_INTERFACES) -') - } - - return *this; -} -ifdef(`__BOOL_DO_NOT_DERIVE_GTYPE__',`dnl -',`dnl - -void __CPPNAME__`'_Class::class_init_function(void* g_class, void* class_data) -{ - BaseClassType *const klass = static_cast(g_class); - CppClassParent::class_init_function(klass, class_data); - -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_PCC_CLASS_INIT_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -_IMPORT(SECTION_PCC_CLASS_INIT_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -} -')dnl - -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_PCC_VFUNCS) -#endif //GLIBMM_VFUNCS_ENABLED - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -_IMPORT(SECTION_PCC_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -') - - - -dnl -dnl -dnl -define(`_CC_CLASS_IMPLEMENTATION',`dnl -__CPPNAME__::CppClassType __CPPNAME__::`'__BASE__`'_class_; // initialize static member - -GType __CPPNAME__::get_type() -{ - return __BASE__`'_class_.init().get_type(); -} - -GType __CPPNAME__::get_base_type() -{ - return _LOWER(__CCAST__)_get_type(); -} - -_IMPORT(SECTION_CC) - -dnl _IMPORT(SECTION_CC_SIGNALPROXIES_CUSTOM) - -_IMPORT(SECTION_CC_SIGNALPROXIES) - -_IMPORT(SECTION_CC_PROPERTYPROXIES) - -#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -_IMPORT(SECTION_CC_DEFAULT_SIGNAL_HANDLERS) -#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED - -#ifdef GLIBMM_VFUNCS_ENABLED -_IMPORT(SECTION_CC_VFUNCS) -_IMPORT(SECTION_CC_VFUNCS_CPPWRAPPER) -#endif //GLIBMM_VFUNCS_ENABLED -') - -dnl _PARENT_GCLASS_FROM_OBJECT(object_instance_name) -define(`_PARENT_GCLASS_FROM_OBJECT',`dnl -g_type_class_peek_parent`'(G_OBJECT_GET_CLASS`'($1)) // Get the parent class of the object class (The original underlying C class). -') - -dnl _IFACE_PARENT_FROM_OBJECT(object_instance_name) -define(`_IFACE_PARENT_FROM_OBJECT',`dnl -g_type_interface_peek_parent`'( // Get the parent interface of the interface (The original underlying C interface). -g_type_interface_peek`'(G_OBJECT_GET_CLASS`'($1), CppObjectType::get_type`'()) // Get the interface. -)dnl -') - -dnl Bonobo doesn't use the "typedef struct _somestruct struct" system. -define(`_STRUCT_NOT_HIDDEN',`dnl -_PUSH() -dnl Define this macro to be tested for later. -define(`__BOOL_STRUCT_NOT_HIDDEN__',`$1') -_POP() -') - -dnl _STRUCT_PROTOTYPE() -define(`_STRUCT_PROTOTYPE',`dnl -#ifndef DOXYGEN_SHOULD_SKIP_THIS -ifdef(`__BOOL_STRUCT_NOT_HIDDEN__',`dnl -',`dnl -typedef struct _`'__CNAME__ __CNAME__; -typedef struct _`'__CNAME__`'Class __CNAME__`'Class; -')dnl -#endif /* DOXYGEN_SHOULD_SKIP_THIS */ -') - -dnl _GTKMMPROC_WIN32_NO_WRAP -dnl Just process it to remove it from the generated file. -dnl generate_wrap_init.pl will look for this in the original .hg file. -dnl -define(`_GTKMMPROC_WIN32_NO_WRAP', dnl -`//This is not available in on Win32. -//This source file will not be compiled, -//and the class will not be registered in wrap_init.h or wrap_init.cc -')dnl - - diff --git a/libs/glibmm2/tools/m4/compare.m4 b/libs/glibmm2/tools/m4/compare.m4 deleted file mode 100644 index 549dc908c2..0000000000 --- a/libs/glibmm2/tools/m4/compare.m4 +++ /dev/null @@ -1,118 +0,0 @@ -dnl $Id: compare.m4 58 2003-12-14 11:53:04Z murrayc $ - -define(`__OPERATOR_DECL',`dnl -/** @relates __NAMESPACE__::__CPPNAME__ - * @param lhs The left-hand side - * @param rhs The right-hand side - * @result The result - */ -bool operator`'$1`'(const __CPPNAME__& lhs, const __CPPNAME__& rhs); -') - -define(`__OPERATOR_IMPL',`dnl -bool operator`'$1`'(const __CPPNAME__& lhs, const __CPPNAME__& rhs) -{' -ifelse`'(`__UNCONST__',`unconst',`dnl - return ($2`'(const_cast<__CNAME__*>(lhs.gobj()), const_cast<__CNAME__*>(rhs.gobj())) $3); -',`dnl else - return ($2`'(lhs.gobj(), rhs.gobj()) $3); -')`dnl endif -} -') - - -dnl -dnl _WRAP_EQUAL(gdk_region_equal, unconst) -dnl -define(`_WRAP_EQUAL',`dnl -pushdef(`__FUNC_EQUAL__',$1)dnl -pushdef(`__UNCONST__',$2)dnl -_PUSH(SECTION_HEADER3) - -__NAMESPACE_BEGIN__ - -__OPERATOR_DECL(`==') -__OPERATOR_DECL(`!=') - -__NAMESPACE_END__ - -_SECTION(SECTION_CC) - -__OPERATOR_IMPL(`==', __FUNC_EQUAL__, `!= 0') -__OPERATOR_IMPL(`!=', __FUNC_EQUAL__, `== 0') - -_POP() -popdef(`__UNCONST__')dnl -popdef(`__FUNC_EQUAL__')dnl -')dnl enddef _WRAP_EQUAL - - -dnl -dnl _WRAP_COMPARE(gtk_tree_path_compare) -dnl -define(`_WRAP_COMPARE',`dnl -pushdef(`__FUNC_COMPARE__',$1)dnl -pushdef(`__UNCONST__',$2)dnl -_PUSH(SECTION_HEADER3) - -__NAMESPACE_BEGIN__ - -__OPERATOR_DECL(`==') -__OPERATOR_DECL(`!=') -__OPERATOR_DECL(`<') -__OPERATOR_DECL(`>') -__OPERATOR_DECL(`<=') -__OPERATOR_DECL(`>=') - -__NAMESPACE_END__ - -_SECTION(SECTION_CC) - -__OPERATOR_IMPL(`==', __FUNC_COMPARE__, `== 0') -__OPERATOR_IMPL(`!=', __FUNC_COMPARE__, `!= 0') -__OPERATOR_IMPL(`<', __FUNC_COMPARE__, `< 0') -__OPERATOR_IMPL(`>', __FUNC_COMPARE__, `> 0') -__OPERATOR_IMPL(`<=', __FUNC_COMPARE__, `<= 0') -__OPERATOR_IMPL(`>=', __FUNC_COMPARE__, `>= 0') - -_POP() -popdef(`__UNCONST__')dnl -popdef(`__FUNC_COMPARE__')dnl -')dnl enddef _WRAP_COMPARE - - -dnl -dnl _WRAP_EQUAL_AND_COMPARE(gtk_text_iter_equal, gtk_text_iter_compare) -dnl -define(`_WRAP_EQUAL_AND_COMPARE',`dnl -pushdef(`__FUNC_EQUAL__',$1)dnl -pushdef(`__FUNC_COMPARE__',$2)dnl -pushdef(`__UNCONST__',$3)dnl -_PUSH(SECTION_HEADER3) - -__NAMESPACE_BEGIN__ - -__OPERATOR_DECL(`==') -__OPERATOR_DECL(`!=') -__OPERATOR_DECL(`<') -__OPERATOR_DECL(`>') -__OPERATOR_DECL(`<=') -__OPERATOR_DECL(`>=') - -__NAMESPACE_END__ - -_SECTION(SECTION_CC) - -__OPERATOR_IMPL(`==', __FUNC_EQUAL__, `!= 0') -__OPERATOR_IMPL(`!=', __FUNC_EQUAL__, `== 0') -__OPERATOR_IMPL(`<', __FUNC_COMPARE__, `< 0') -__OPERATOR_IMPL(`>', __FUNC_COMPARE__, `> 0') -__OPERATOR_IMPL(`<=', __FUNC_COMPARE__, `<= 0') -__OPERATOR_IMPL(`>=', __FUNC_COMPARE__, `>= 0') - -_POP() -popdef(`__UNCONST__')dnl -popdef(`__FUNC_COMPARE__')dnl -popdef(`__FUNC_EQUAL__')dnl -')dnl enddef _WRAP_EQUAL_AND_COMPARE - diff --git a/libs/glibmm2/tools/m4/convert.m4 b/libs/glibmm2/tools/m4/convert.m4 deleted file mode 100644 index 06b6c581bc..0000000000 --- a/libs/glibmm2/tools/m4/convert.m4 +++ /dev/null @@ -1,6 +0,0 @@ -dnl $Id: convert.m4 2 2003-01-07 16:59:16Z murrayc $ - -# Other libraries, such as libgnomeuimm, can provide their own convert.m4 files, -# Maybe choosing to include the same files as this one. - -include(convert_gtkmm.m4) diff --git a/libs/glibmm2/tools/m4/convert_atk.m4 b/libs/glibmm2/tools/m4/convert_atk.m4 deleted file mode 100644 index caea521396..0000000000 --- a/libs/glibmm2/tools/m4/convert_atk.m4 +++ /dev/null @@ -1,34 +0,0 @@ -include(convert_glib.m4) - -_EQUAL(State,AtkState) - -_CONV_ENUM(Atk,Role) -_CONV_ENUM(Atk,Layer) -_CONV_ENUM(Atk,RelationType) -_CONV_ENUM(Atk,StateType) -_CONV_ENUM(Atk,CoordType) -_CONV_ENUM(Atk,TextBoundary) - - -_CONVERSION(`AtkObject*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkObject*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkObject*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkObject*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkObject*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkObject*',`const Glib::RefPtr&',`Glib::wrap($3, true)') -_CONVERSION(`const Glib::RefPtr&',`AtkObject*',`Glib::unwrap($3)') -_CONVERSION(`const Glib::RefPtr&',`AtkObject*',`Glib::unwrap($3)') -_CONVERSION(`Glib::RefPtr',`AtkObject*',`Glib::unwrap($3)') -_CONVERSION(`Glib::RefPtr',`AtkObject*',`Glib::unwrap($3)') -_CONVERSION(`AtkRelationSet*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`const Glib::RefPtr&',`AtkRelation*',`Glib::unwrap($3)') -_CONVERSION(`AtkRelation*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkStateSet*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`const Glib::RefPtr&',`AtkStateSet*',`Glib::unwrap($3)') - -_CONVERSION(`AtkGObjectAccessible*',`Glib::RefPtr',Glib::wrap($3)) -_CONVERSION(`AtkGObjectAccessible*',`Glib::RefPtr',Glib::wrap($3)) - -_CONVERSION(`AtkAttributeSet*', `AttributeSet', `AttributeSet($3, Glib::OWNERSHIP_DEEP)') -_CONVERSION(`const AttributeSet&', `AtkAttributeSet*', `($3).data()') - diff --git a/libs/glibmm2/tools/m4/convert_base.m4 b/libs/glibmm2/tools/m4/convert_base.m4 deleted file mode 100644 index 3636b47d31..0000000000 --- a/libs/glibmm2/tools/m4/convert_base.m4 +++ /dev/null @@ -1,71 +0,0 @@ -dnl $Id: convert_base.m4 293 2006-05-16 19:49:07Z murrayc $ - -# -# Define a hashing for names -# -define(`__HASH',`__`'m4_translit(`$*',`ABCDEFGHIJKLMNOPQRSTUVWXYZ<>[]&*, ',`abcdefghijklmnopqrstuvwxyzVBNMRSC_')`'') -define(`__EQUIV',`m4_ifdef(EV`'__HASH(`$1'),EV`'__HASH(`$1'),`$1')') - -define(`__HASH2',`dnl -pushdef(`__E1',__EQUIV(`$1'))pushdef(`__E2',__EQUIV(`$2'))dnl -m4_ifelse(__E1,__E2,`__EQ',__HASH(__E1)`'__HASH(__E2))`'dnl -popdef(`__E1')popdef(`__E2')`'') - -define(`CF__EQ',`$3') - -# -# _CONVERT(fromtype, totype, name, wrap_line) -# Print the conversion from ctype to cpptype -define(`_CONVERT',`dnl -m4_ifelse(`$2',void,`$3',`dnl -pushdef(`__COV',`CF`'__HASH2(`$1',`$2')')dnl -m4_ifdef(__COV,`m4_indir(__COV,`$1',`$2',`$3')',` -m4_errprint(`No conversion from $1 to $2 defined (line: $4, parameter name: $3) -') -m4_m4exit(1) -')`'dnl -')`'dnl -') - - -# -# Functions for populating the tables. -# -define(`_CONVERSION',` -m4_ifelse(`$3',,,`define(CF`'__HASH2(`$1',`$2'),`$3')') -') - -define(`_EQUAL',`define(EV`'__HASH(`$1'),`$2')') - -/*******************************************************************/ - - -define(`__ARG3__',`$`'3') -define(`_CONV_ENUM',`dnl -_CONVERSION(`$1$2', `$2', (($2)(__ARG3__))) -_CONVERSION(`$1$2', `$1::$2', (($1::$2)(__ARG3__))) -_CONVERSION(`$2', `$1$2', (($1$2)(__ARG3__))) -_CONVERSION(`$1::$2', `$1$2', (($1$2)(__ARG3__))) -')dnl - -# e.g. Glib::RefPtr to GdkSomething* -define(`__CONVERT_REFPTR_TO_P',`Glib::unwrap($`'3)') - -# e.g. Glib::RefPtr to GdkSomething* -#define(`__CONVERT_CONST_REFPTR_TO_P',`const_cast<$`'2>($`'3->gobj())') -define(`__CONVERT_CONST_REFPTR_TO_P',`const_cast<$`'2>(Glib::unwrap($`'3))') - -# The Sun Forte compiler doesn't seem to be able to handle these, so we are using the altlernative, __CONVERT_CONST_REFPTR_TO_P_SUN. -# The Sun compiler gives this error, for instance: -#  "widget.cc", line 4463: Error: Overloading ambiguity between "Glib::unwrap(const Glib::RefPtr&)" and -# "Glib::unwrap(const Glib::RefPtr&)". -# -define(`__CONVERT_CONST_REFPTR_TO_P_SUN',`const_cast<$`'2>(Glib::unwrap<$1>($`'3))') - - -include(convert_gtk.m4) -include(convert_pango.m4) -include(convert_gdk.m4) -include(convert_atk.m4) -include(convert_glib.m4) - diff --git a/libs/glibmm2/tools/m4/convert_gdk.m4 b/libs/glibmm2/tools/m4/convert_gdk.m4 deleted file mode 100644 index 30bbb829f5..0000000000 --- a/libs/glibmm2/tools/m4/convert_gdk.m4 +++ /dev/null @@ -1,231 +0,0 @@ -include(convert_glib.m4) - -_EQUAL(gint8[],gint8*) -_EQUAL(guchar,guint8) -_EQUAL(guchar*,guint8*) -_EQUAL(gfloat,float) - -# Enums -_CONV_ENUM(Gdk,AxisUse) -_CONV_ENUM(Gdk,ByteOrder) -_CONV_ENUM(Gdk,CapStyle) -_CONV_ENUM(Gdk,Colorspace) -_CONV_ENUM(Gdk,CursorType) -_CONV_ENUM(Gdk,DragAction) -_CONV_ENUM(Gdk,DragProtocol) -_CONV_ENUM(Gdk,EventMask) -_CONV_ENUM(Gdk,EventType) -_CONV_ENUM(Gdk,ExtensionMode) -_CONV_ENUM(Gdk,Fill) -_CONV_ENUM(Gdk,FillRule) -_CONV_ENUM(Gdk,Function) -_CONV_ENUM(Gdk,GCValuesMask) -_CONV_ENUM(Gdk,Gravity) -_CONV_ENUM(Gdk,ImageType) -_CONV_ENUM(Gdk,InputCondition) -_CONV_ENUM(Gdk,InputMode) -_CONV_ENUM(Gdk,InterpType) -_CONV_ENUM(Gdk,JoinStyle) -_CONV_ENUM(Gdk,LineStyle) -_CONV_ENUM(Gdk,ModifierType) -_CONV_ENUM(Gdk,OverlapType) -_CONV_ENUM(Gdk,PixbufAlphaMode) -_CONV_ENUM(Gdk,RgbDither) -_CONV_ENUM(Gdk,Status) -_CONV_ENUM(Gdk,SubwindowMode) -_CONV_ENUM(Gdk,VisualType) -_CONV_ENUM(Gdk,WindowAttributesType) -_CONV_ENUM(Gdk,WindowEdge) -_CONV_ENUM(Gdk,WindowHints) -_CONV_ENUM(Gdk,WindowState) -_CONV_ENUM(Gdk,WindowType) -_CONV_ENUM(Gdk,WindowTypeHint) -_CONV_ENUM(Gdk,WMDecoration) -_CONV_ENUM(Gdk,WMFunction) -_CONV_ENUM(Gdk,GrabStatus) - - -_CONVERSION(`Gdk::EventMask',`gint',`$3') -_CONVERSION(`gint',`Gdk::EventMask',`static_cast($3)') -_CONVERSION(`ModifierType&',`GdkModifierType*',`(($2) &($3))') -_CONVERSION(`WMDecoration&',`GdkWMDecoration*',`(($2) &($3))') -_CONVERSION(`GdkDragProtocol&',`GdkDragProtocol*',`&($3)') - -_CONVERSION(`GdkRectangle&',`GdkRectangle*',`&$3',`*$3') -_CONVERSION(`GdkRgbCmap&',`GdkRgbCmap*',`&$3',`*$3') - -# TODO: Remove this, and use Gdk::Device: -_CONVERSION(`GdkDevice*',`const GdkDevice*',`$3') - -_CONVERSION(`GdkKeymap*',`const GdkKeymap*',`$3') - - - - -# for GtkStyle public struct members -_CONVERSION(`Gdk::Color',`GdkColor', `(*($3).gobj())') -_CONVERSION(`GdkColor',`Gdk::Color', `Gdk::Color(const_cast(&($3)), true)') - -# Ref (gdkmm) -> Ptr (gtk+) -_CONVERSION(`Color&',`GdkColor*',($3).gobj()) -_CONVERSION(`Rectangle&',`GdkRectangle*',($3).gobj()) -_CONVERSION(`Gdk::Rectangle&',`GdkRectangle*',($3).gobj()) -_CONVERSION(`Font&',`GdkFont*',($3).gobj()) -_CONVERSION(`Region&',`GdkRegion*',($3).gobj()) - -_CONVERSION(`const Glib::RefPtr&',`GdkColormap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixmap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkWindow*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkWindow*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixmap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixmap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkBitmap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkBitmap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkColormap*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkColormap*',__CONVERT_CONST_REFPTR_TO_P_SUN(Colormap)) -_CONVERSION(`const Glib::RefPtr&',`GdkGC*',`Glib::unwrap($3)') -_CONVERSION(`const Glib::RefPtr&',`GdkGC*',__CONVERT_CONST_REFPTR_TO_P_SUN(GC)) -_CONVERSION(`const Glib::RefPtr&',`GdkGC*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkDrawable*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkDrawable*',__CONVERT_CONST_REFPTR_TO_P_SUN(Drawable)) -_CONVERSION(`const Glib::RefPtr&',`GdkImage*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkImage*',__CONVERT_CONST_REFPTR_TO_P_SUN(Image)) -_CONVERSION(`const Glib::RefPtr&',`GdkImage*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixbuf*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixbuf*',__CONVERT_CONST_REFPTR_TO_P_SUN(Pixbuf)) -_CONVERSION(`const Glib::RefPtr&',`GdkPixbuf*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`Glib::RefPtr',`GdkPixbuf*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixbufAnimation*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkPixbufAnimationIter*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkDragContext*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkDisplay*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkScreen*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkDisplay*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GdkScreen*',__CONVERT_REFPTR_TO_P) - - - -define(`__CFR2P',`const_cast<$`'2>($`'3.gobj())') -_CONVERSION(const Font&,GdkFont*,__CFR2P) -_CONVERSION(const Gdk::Color&,GdkColor*,__CFR2P) -_CONVERSION(const Color&,GdkColor*,__CFR2P) -_CONVERSION(const Gdk::Rectangle&,GdkRectangle*,__CFR2P) -_CONVERSION(const Rectangle&,GdkRectangle*,__CFR2P) -_CONVERSION(const Gdk::Geometry&,GdkGeometry*,const_cast<$2>(&($3))) -_CONVERSION(const Geometry&,GdkGeometry*,const_cast<$2>(&($3))) -_CONVERSION(const RgbCmap&,GdkRgbCmap*,__CFR2P) - -_CONVERSION(`Gdk::Rectangle*',`GdkRectangle*',`Glib::unwrap($3)') -_CONVERSION(`const Gdk::Rectangle*',`GdkRectangle*',`Glib::unwrap(const_cast($3))') -_CONVERSION(`GdkRectangle*',`Gdk::Rectangle*',`&Glib::wrap($3)') -_CONVERSION(`GdkRectangle*',`const Gdk::Rectangle*',`&Glib::wrap($3)') -_CONVERSION(`GdkRectangle*',`const Gdk::Rectangle&',`Glib::wrap($3)') - - -dnl TODO: Should this always be a copy? -_CONVERSION(const Cursor&,GdkCursor*,($3).gobj_copy()) - -# Special treatment for the Sun Forte compiler -#_CONVERSION(const Glib::RefPtr&,GdkPixmap*,__CONVERT_CONST_REFPTR_TO_P) -#_CONVERSION(const Glib::RefPtr&,GdkWindow*,__CONVERT_CONST_REFPTR_TO_P) -#_CONVERSION(const Glib::RefPtr&,GdkColormap*,__CONVERT_CONST_REFPTR_TO_P) -#_CONVERSION(const Glib::RefPtr&,GdkVisual*,__CONVERT_CONST_REFPTR_TO_P) -#_CONVERSION(const Glib::RefPtr&,GdkBitmap*,__CONVERT_CONST_REFPTR_TO_P) -#_CONVERSION(const Glib::RefPtr&,GdkImage*,__CONVERT_CONST_REFPTR_TO_P) -#_CONVERSION(const Glib::RefPtr&,GdkGC*,__CONVERT_CONST_REFPTR_TO_P) - -_CONVERSION(`const Glib::RefPtr&', `GdkPixmap*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Pixmap)) -_CONVERSION(`const Glib::RefPtr&', `GdkWindow*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Window)) -_CONVERSION(`const Glib::RefPtr&', `GdkWindow*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Window)) -_CONVERSION(`const Glib::RefPtr&', `GdkColormap*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Colormap)) -_CONVERSION(`const Glib::RefPtr&', `GdkVisual*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Visual)) -_CONVERSION(`const Glib::RefPtr&', `GdkBitmap*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Bitmap)) -_CONVERSION(`const Glib::RefPtr&', `GdkImage*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Image)) -_CONVERSION(`const Glib::RefPtr&', `GdkImage*',__CONVERT_CONST_REFPTR_TO_P_SUN(Image)) -_CONVERSION(`const Glib::RefPtr&', `GdkGC*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::GC)) -_CONVERSION(`const Glib::RefPtr&', `GdkGC*',__CONVERT_CONST_REFPTR_TO_P_SUN(GC)) -#_CONVERSION(`const Glib::RefPtr&', `GdkDrawable*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gdk::Drawable)) -#_CONVERSION(`const Glib::RefPtr&', `GdkDrawable*',__CONVERT_CONST_REFPTR_TO_P_SUN(Drawable)) -#_CONVERSION(`const Glib::RefPtr&', `GdkDrawable*',__CONVERT_CONST_REFPTR_TO_P_SUN(Drawable)) - - -_CONVERSION(`GdkWindow*',`Glib::RefPtr', `Glib::wrap((GdkWindowObject*)($3))') -_CONVERSION(`GdkWindow*',`Glib::RefPtr', `Glib::wrap((GdkWindowObject*)($3))') -_CONVERSION(`GdkWindow*',`Glib::RefPtr', `Glib::wrap((GdkWindowObject*)($3))') -_CONVERSION(`GdkWindow*',`Glib::RefPtr', `Glib::wrap((GdkWindowObject*)($3))') -_CONVERSION(`GdkWindow*',`const Glib::RefPtr&', `Glib::wrap((GdkWindowObject*)($3), true)') -_CONVERSION(`GdkPixmap*',`Glib::RefPtr', `Glib::wrap((GdkPixmapObject*)($3))') -_CONVERSION(`GdkPixmap*',`Glib::RefPtr', `Glib::wrap((GdkPixmapObject*)($3))') -_CONVERSION(`GdkPixmap*',`Glib::RefPtr', `Glib::wrap((GdkPixmapObject*)($3))') -_CONVERSION(`GdkPixmap*',`Glib::RefPtr', `Glib::wrap((GdkPixmapObject*)($3))') -_CONVERSION(`GdkColormap*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkColormap*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkColormap*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkVisual*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkVisual*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkVisual*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkImage*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkPixbuf*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkPixbuf*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkPixbufAnimationIter*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkPixbuf*',`Glib::RefPtr', Glib::wrap($3)) -_CONVERSION(`GdkPixbufAnimation*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkGC*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkGC*',`Glib::RefPtr', `Glib::wrap($3)') - -_CONVERSION(`GdkDisplay*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkDisplay*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkDisplay*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkDisplay*',`Glib::RefPtr', `Glib::wrap($3)') - -_CONVERSION(`GdkDisplayManager*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkDisplayManager*',`Glib::RefPtr', `Glib::wrap($3)') - -_CONVERSION(`GdkScreen*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkScreen*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkScreen*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkScreen*',`Glib::RefPtr', `Glib::wrap($3)') - -_CONVERSION(`GdkDevice*',`Glib::RefPtr', `Glib::wrap($3)') -_CONVERSION(`GdkDevice*',`Glib::RefPtr', `Glib::wrap($3)') - - - - - - - -# Glib::ListHandle<> (gdkmm) -> GList (gdk) -_CONVERSION(`const Glib::ListHandle< Glib::RefPtr >&',`GList*',`$3.data()') - -# GList (gdk) -> Glib::ListHandle<> (gdkmm) -_CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') -_CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_DEEP)') -_CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') -_CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') -_CONVERSION(`GSList*',`Glib::SListHandle< Glib::RefPtr >',`$2($3, Glib::OWNERSHIP_SHALLOW)') - - - - -# XPM data -_CONVERSION(`const char*const*',`const char**',`const_cast($3)',`$3') - - -_CONVERSION(GdkFont*, Gdk::Font, `Gdk::Font($3)') -_CONVERSION(GdkEvent*, Event, `Event($3)') -_CONVERSION(GdkRegion*, Region, `Region($3)') - -_CONVERSION(`GdkTimeCoord**&',`GdkTimeCoord***',`&($3)') - -dnl _CONVERSION(GdkPixmap*,Gdk::Pixmap&,`Glib::unwrap_boxed($3)',`$3') -dnl _CONVERSION(GdkBitmap*,Gdk::Bitmap&,`Glib::unwrap_boxed($3)',`$3') - - - -# Used by signals: -_CONVERSION(`GdkDragContext*',`const Glib::RefPtr&',Glib::wrap($3, true)) -_CONVERSION(`GdkPixbuf*',`const Glib::RefPtr&', Glib::wrap($3, true)) -_CONVERSION(`GdkDragContext*',`Glib::RefPtr',Glib::wrap($3, true)) -_CONVERSION(`GdkDisplay*',`const Glib::RefPtr&', Glib::wrap($3, true)) - diff --git a/libs/glibmm2/tools/m4/convert_gio.m4 b/libs/glibmm2/tools/m4/convert_gio.m4 deleted file mode 100644 index 02ceeefa37..0000000000 --- a/libs/glibmm2/tools/m4/convert_gio.m4 +++ /dev/null @@ -1,118 +0,0 @@ -_CONV_ENUM(G,PasswordSave) -_CONV_ENUM(G,AskPasswordFlags) -_CONV_ENUM(G,MountOperationResult) -_CONV_ENUM(G,MountUnmountFlags) -_CONV_ENUM(G,MountMountFlags) -_CONV_ENUM(G,FileAttributeType) -_CONV_ENUM(G,FileAttributeInfoFlags) -_CONV_ENUM(G,FileCopyFlags) -_CONV_ENUM(G,FileCreateFlags) -_CONV_ENUM(G,FileMonitorFlags) -_CONV_ENUM(G,FileMonitorEvent) -_CONV_ENUM(G,FileQueryInfoFlags) -_CONV_ENUM(G,FileType) -_CONV_ENUM(G,OutputStreamSpliceFlags) -_CONV_ENUM(G,AppInfoCreateFlags) -_CONV_ENUM(G,DataStreamByteOrder) -_CONV_ENUM(G,DataStreamNewlineType) - - -# AppInfo -_CONVERSION(`GAppInfo*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`const Glib::RefPtr&',`GAppLaunchContext*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`GAppLaunchContext*',`const Glib::RefPtr&',Glib::wrap($3)) -_CONVERSION(`const Glib::RefPtr&',`GAppInfo*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`Glib::RefPtr',`GAppInfo*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`GAppInfo*',`const Glib::RefPtr&',`Glib::wrap($3)') -_CONVERSION(`const Glib::ListHandle< Glib::RefPtr >&',`GList*',`$3.data()') - -# AsyncResult -_CONVERSION(`Glib::RefPtr',`GObject*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GAsyncResult*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`Glib::RefPtr&',`GAsyncResult*',__CONVERT_REFPTR_TO_P) - -# Cancellable -_CONVERSION(`const Glib::RefPtr&',`GCancellable*',__CONVERT_CONST_REFPTR_TO_P) -_CONVERSION(`GCancellable*', `Glib::RefPtr', `Glib::wrap($3)') - -# DesktopAppInfo -_CONVERSION(`GDesktopAppInfo*', `Glib::RefPtr', `Glib::wrap($3)') - -# Drive -_CONVERSION(`GDrive*',`Glib::RefPtr',`Glib::wrap($3)') - -# File -_CONVERSION(`return-char*',`std::string',`Glib::convert_return_gchar_ptr_to_stdstring($3)') -_CONVERSION(`Glib::RefPtr',`GFile*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GFile*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GFile*',__CONVERT_CONST_REFPTR_TO_P_SUN(Gio::File)) -_CONVERSION(`GFile*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`GFile*',`Glib::RefPtr',`Glib::wrap($3)') - - -# FileAttribute -_CONVERSION(`GFileAttributeValue*',`FileAttributeValue',`Glib::wrap($3)') -_CONVERSION(`const FileAttributeValue&',`const GFileAttributeValue*',`$3.gobj()') -_CONVERSION(`GFileAttributeInfoList*',`Glib::RefPtr',`Glib::wrap($3)') - -#FileEnumerator -_CONVERSION(`GFileEnumerator*',`Glib::RefPtr',`Glib::wrap($3)') - -# FileInfo -_CONVERSION(`GFileInfo*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`Glib::RefPtr&',`GFileInfo*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GFileInfo*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`char**',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3)') -_CONVERSION(`Glib::TimeVal&', `GTimeVal*', static_cast<$2>(&$3)) -_CONVERSION(`const Glib::TimeVal&', `GTimeVal*', const_cast(static_cast(&$3))) -_CONVERSION(`const Glib::RefPtr&',`GFileAttributeMatcher*',__CONVERT_CONST_REFPTR_TO_P) - -# FileInputStream -_CONVERSION(`GFileInputStream*',`Glib::RefPtr',`Glib::wrap($3)') - -# FileMonitor -_CONVERSION(`GFileMonitor*',`Glib::RefPtr',`Glib::wrap($3)') - -# FileOutputStream -_CONVERSION(`GFileOutputStream*',`Glib::RefPtr',`Glib::wrap($3)') - -# FilterInputStream -#_CONVERSION(`GFilterInputStream*',`Glib::RefPtr',`Glib::wrap($3)') - - -# Icon -_CONVERSION(`GIcon*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`const Glib::RefPtr&',`GIcon*',__CONVERT_CONST_REFPTR_TO_P) -_CONVERSION(`Glib::RefPtr',`GIcon*',__CONVERT_REFPTR_TO_P) - -# InputStream -_CONVERSION(`const Glib::RefPtr&',`GInputStream*',__CONVERT_CONST_REFPTR_TO_P) -_CONVERSION(`GInputStream*',`Glib::RefPtr',`Glib::wrap($3)') - -#Mount -_CONVERSION(`GMount*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`const Glib::RefPtr&',`GMount*',__CONVERT_CONST_REFPTR_TO_P) - -# MountOptions -_CONVERSION(`GPasswordSave',`PasswordSave',`($2)$3') -_CONVERSION(`PasswordSave',`GPasswordSave',`($2)$3') - -#MountOperation -#_CONVERSION(`GAskPasswordFlags',`AskPasswordFlags',`($2)$3') - -# OutputStream -_CONVERSION(`GOutputStream*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`const Glib::RefPtr&',`GOutputStream*',__CONVERT_CONST_REFPTR_TO_P) - -#Volume -_CONVERSION(`GVolume*',`Glib::RefPtr',`Glib::wrap($3)') - -# VolumeMonitor -_CONVERSION(`GVolumeMonitor*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`const Glib::RefPtr&',`GDrive*',__CONVERT_CONST_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GMount*',__CONVERT_CONST_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GVolume*',__CONVERT_CONST_REFPTR_TO_P) - -#Vfs -_CONVERSION(`GVfs*', `Glib::RefPtr', `Glib::wrap($3)') - diff --git a/libs/glibmm2/tools/m4/convert_glib.m4 b/libs/glibmm2/tools/m4/convert_glib.m4 deleted file mode 100644 index 81648b3c26..0000000000 --- a/libs/glibmm2/tools/m4/convert_glib.m4 +++ /dev/null @@ -1,77 +0,0 @@ -dnl -dnl Glib C names have prefix 'G' but C++ namespace Glib -dnl -define(`_CONV_GLIB_ENUM',`dnl -_CONVERSION(`G$1', `$1', (($1)(__ARG3__))) -_CONVERSION(`G$1', `Glib::$1', ((Glib::$1)(__ARG3__))) -_CONVERSION(`$1', `G$1', ((G$1)(__ARG3__))) -_CONVERSION(`Glib::$1', `G$1', ((G$1)(__ARG3__))) -')dnl - -_EQUAL(gchar,char) -_EQUAL(gchar*,char*) -_EQUAL(gchar**,char**) -_EQUAL(gint**,int**) -_EQUAL(gchar**,char*[]) -_EQUAL(const gchar*,const char*) -_EQUAL(const-gchar*,const char*) -_EQUAL(gpointer*,void**) - -_CONV_GLIB_ENUM(IOStatus) -_CONV_GLIB_ENUM(IOFlags) -_CONV_GLIB_ENUM(IOCondition) -_CONV_GLIB_ENUM(SeekType) -_CONV_GLIB_ENUM(OptionArg) -_CONV_GLIB_ENUM(KeyFileFlags) -_CONV_GLIB_ENUM(RegexCompileFlags) -_CONV_GLIB_ENUM(RegexMatchFlags) - - -_CONVERSION(`gunichar&',`gunichar*',`&($3)') -_CONVERSION(`gsize&',`gsize*',`&($3)') - - -# Strings: -define(`__GCHARP_TO_USTRING',`Glib::convert_const_gchar_ptr_to_ustring($`'3)') -define(`__GCHARP_TO_STDSTRING',`Glib::convert_const_gchar_ptr_to_stdstring($`'3)') - -_CONVERSION(`const Glib::ustring&',`const char*',`$3.c_str()') -_CONVERSION(`const Glib::ustring&', `const guchar*', `(($2)$3.c_str())') -_CONVERSION(`const std::string&',`const char*',`$3.c_str()') -_CONVERSION(`std::string',`const char*',`$3.c_str()') -_CONVERSION(`const Glib::ustring&',`gchar*',`const_cast($3.c_str())') -_CONVERSION(`gchar*',`Glib::ustring',__GCHARP_TO_USTRING) -_CONVERSION(`const-gchar*',`Glib::ustring',__GCHARP_TO_USTRING) -_CONVERSION(`const-guchar*',`Glib::ustring',__GCHARP_TO_USTRING) -_CONVERSION(`const gchar*',`Glib::ustring',__GCHARP_TO_USTRING) -_CONVERSION(`const char*',`Glib::ustring',__GCHARP_TO_USTRING) -_CONVERSION(`const char*',`std::string',__GCHARP_TO_STDSTRING) -_CONVERSION(`const char*',`const-gchar*',`$3') -_CONVERSION(`const-gchar*',`const char*',`$3') -_CONVERSION(`const char*',`const std::string&',__GCHARP_TO_STDSTRING) -_CONVERSION(`char*',`std::string',__GCHARP_TO_STDSTRING) -_CONVERSION(`std::string', `char*', `g_strdup(($3).c_str())') -_CONVERSION(`const std::string&', `char*', `g_strdup(($3).c_str())') -_CONVERSION(`Glib::ustring', `char*', `g_strdup(($3).c_str())') - -_CONVERSION(`return-gchar*',`Glib::ustring',`Glib::convert_return_gchar_ptr_to_ustring($3)') -_CONVERSION(`return-gchar*',`std::string',`Glib::convert_return_gchar_ptr_to_stdstring($3)') -_CONVERSION(`return-char*',`Glib::ustring',`Glib::convert_return_gchar_ptr_to_ustring($3)') - -_CONVERSION(`const Glib::RefPtr&',`GObject*',__CONVERT_REFPTR_TO_P) -_CONVERSION(`const Glib::RefPtr&',`GObject*',__CONVERT_CONST_REFPTR_TO_P_SUN(Glib::Object)) -_CONVERSION(`GObject*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`GObject*',`Glib::RefPtr',`Glib::wrap($3)') - -_CONVERSION(`GRegex*',`Glib::RefPtr',`Glib::wrap($3)') -_CONVERSION(`GRegex*',`Glib::RefPtr',`Glib::wrap($3)') - -_CONVERSION(`Glib::ValueBase&',`GValue*',`($3).gobj()') -_CONVERSION(`const Glib::ValueBase&',`const GValue*',`($3).gobj()') -_CONVERSION(`const Glib::ValueBase&',`GValue*',`const_cast(($3).gobj())') -_CONVERSION(`GValue*', `Glib::ValueBase&', `*reinterpret_cast($3)') -_CONVERSION(`const GValue*', `const Glib::ValueBase&', `*reinterpret_cast($3)') - -_CONVERSION(`OptionGroup&',`GOptionGroup*',`($3).gobj()') -#_CONVERSION(`GOptionGroup*',`OptionGroup',`Glib::wrap(($3), true /* take_copy */)') - diff --git a/libs/glibmm2/tools/m4/convert_gtk.m4 b/libs/glibmm2/tools/m4/convert_gtk.m4 deleted file mode 100644 index 7e6347c291..0000000000 --- a/libs/glibmm2/tools/m4/convert_gtk.m4 +++ /dev/null @@ -1,394 +0,0 @@ -dnl $Id: convert_gtk.m4 35 2003-05-02 16:07:24Z murrayc $ - -include(convert_glib.m4) - -# -# Table of widgets -# - -_EQUAL(gboolean,int) -_EQUAL(gint,int) -_EQUAL(gint*,int*) -_EQUAL(gint&,int&) -_EQUAL(guint,unsigned int) -_EQUAL(guint*,unsigned int*) -_EQUAL(guint&,unsigned int&) -_EQUAL(gdouble,double) -_EQUAL(gdouble*,double*) -_EQUAL(gfloat, float) -_EQUAL(float*,gfloat[]) - -_EQUAL(GdkAtom,Gdk::Atom) -_EQUAL(const-char*,const-gchar*) -_EQUAL(return-char*,return-gchar*) -_EQUAL(gpointer,void*) -_EQUAL(gconstpointer,const void*) -# -# Basic Types -_CONVERSION(`int',`bool',`$3') -_CONVERSION(`bool',`int',`static_cast($3)') -_CONVERSION(`unsigned int',`bool',`$3') -_CONVERSION(`bool',`unsigned int',`static_cast($3)') -_CONVERSION(`int&',`gint*',`&($3)') -_CONVERSION(`gint*',`int&',`*($3)') -_CONVERSION(`guint&',`guint*',`&($3)') -_CONVERSION(`double&',`gdouble*',`&($3)') -_CONVERSION(`float&',`gfloat*',`&($3)') -_CONVERSION(`gchar**',`char**',`$3') -_CONVERSION(`char**',`gchar**',`$3') -_CONVERSION(`gpointer&',`gpointer*',`&($3)') -_CONVERSION(`void*&',`gpointer*',`&($3)') - -_CONVERSION(`GError*&',`GError**',`&($3)') - - - -# Enums: -_CONV_ENUM(Gtk,AccelFlags) -_CONV_ENUM(Gtk,ArrowType) -_CONV_ENUM(Gtk,AttachOptions) -_CONV_ENUM(Gtk,ButtonBoxStyle) -_CONV_ENUM(Gtk,ButtonsType) -_CONV_ENUM(Gtk,CalendarDisplayOptions) -_CONV_ENUM(Gtk,CellRendererMode) -_CONV_ENUM(Gtk,CellRendererState) -_CONV_ENUM(Gtk,CornerType) -_CONV_ENUM(Gtk,CurveType) -_CONV_ENUM(Gtk,DeleteType) -_CONV_ENUM(Gtk,DestDefaults) -_CONV_ENUM(Gtk,DirectionType) -_CONV_ENUM(Gtk,ExpanderStyle) -_CONV_ENUM(Gtk,ImageType) -_CONV_ENUM(Gtk,Justification) -_CONV_ENUM(Gtk,MenuDirectionType) -_CONV_ENUM(Gtk,MessageType) -_CONV_ENUM(Gtk,MetricType) -_CONV_ENUM(Gtk,MovementStep) -_CONV_ENUM(Gtk,NotebookTab) -_CONV_ENUM(Gtk,Orientation) -_CONV_ENUM(Gtk,PackType) -_CONV_ENUM(Gtk,PolicyType) -_CONV_ENUM(Gtk,PositionType) -_CONV_ENUM(Gtk,PreviewType) -_CONV_ENUM(Gtk,ProgressBarOrientation) -_CONV_ENUM(Gtk,ProgressBarStyle) -_CONV_ENUM(Gtk,ReliefStyle) -_CONV_ENUM(Gtk,ResizeMode) -_CONV_ENUM(Gtk,ScrollType) -_CONV_ENUM(Gtk,SelectionMode) -_CONV_ENUM(Gtk,ShadowType) -_CONV_ENUM(Gtk,SizeGroupMode) -_CONV_ENUM(Gtk,SortType) -_CONV_ENUM(Gtk,SpinButtonUpdatePolicy) -_CONV_ENUM(Gtk,SpinType) -_CONV_ENUM(Gtk,StateType) -_CONV_ENUM(Gtk,TextDirection) -_CONV_ENUM(Gtk,TextSearchFlags) -_CONV_ENUM(Gtk,TextWindowType) -_CONV_ENUM(Gtk,ToolbarChildType) -_CONV_ENUM(Gtk,ToolbarStyle) -_CONV_ENUM(Gtk,TreeModelFlags) -_CONV_ENUM(Gtk,TreeViewColumnSizing) -_CONV_ENUM(Gtk,TreeViewDropPosition) -_CONV_ENUM(Gtk,UpdateType) -_CONV_ENUM(Gtk,Visibility) -_CONV_ENUM(Gtk,WidgetHelpType) -_CONV_ENUM(Gtk,WindowPosition) -_CONV_ENUM(Gtk,WindowType) -_CONV_ENUM(Gtk,WrapMode) - -_CONVERSION(`GtkIconSize',`IconSize',`IconSize(static_cast($3))') -_CONVERSION(`GtkIconSize',`Gtk::IconSize',`Gtk::IconSize(static_cast($3))') -_CONVERSION(`IconSize',`GtkIconSize',`static_cast(int($3))') -_CONVERSION(`Gtk::IconSize',`GtkIconSize',`static_cast(int($3))') -include(convert_atk.m4) -include(convert_pango.m4) -include(convert_gdk.m4) - -_CONVERSION(`guint',`WindowType',`static_cast($3)') -_CONVERSION(`PolicyType&',`GtkPolicyType*',`(($2) &($3))') -_CONVERSION(`SortType&',`GtkSortType*',`(($2) &($3))') -_CONVERSION(`SortType*',`GtkSortType*',`(($2) ($3))') -_CONVERSION(`GtkSortType*',`SortType*',`(($2) ($3))') -_CONVERSION(`guint8',`Gtk::StateType',`static_cast($3)') - - - -# StockID: -_CONVERSION(`const Gtk::StockID&',`const char*',`($3).get_c_str()') -_CONVERSION(`char*',`StockID',`StockID($3)') # the StockID ctor handles 0 - -# -# Ptr (gtk+) -> Ptr (gtkmm) -define(`__FP2P',`($`'2)Glib::unwrap($`'3)') -define(`__RP2P',`Glib::wrap($`'3)') -define(`__RP2PD',`Glib::wrap((tran`'slit($`'2,:,))($`'3))') -define(`__RP2CPD',`Glib::wrap((tran`'slit(pat`'subst($`'2,^const ,),:,))($`'3))') - -_CONVERSION(`GtkAdjustment*',`Gtk::Adjustment*',__RP2P) -_CONVERSION(`GtkAdjustment*',`Adjustment*',__RP2P) -_CONVERSION(`GtkWidget*',`Gtk::Widget*',__RP2P) -_CONVERSION(`GtkWidget*',`Widget*',__RP2P) -_CONVERSION(`GtkWindow*',`Window*',__RP2P) -_CONVERSION(`GtkMenu*',`Menu*',__RP2P) - -# Ptr (gtk+) -> const Ptr (gtkmm) -_CONVERSION(`GtkAdjustment*',`const Gtk::Adjustment*',__RP2P) -_CONVERSION(`GtkAdjustment*',`const Adjustment*',__RP2P) -_CONVERSION(`GtkWidget*',`const Gtk::Widget*',__RP2P) -_CONVERSION(`GtkWidget*',`const Widget*',__RP2P) -_CONVERSION(`GtkWindow*',`const Window*',__RP2P) - -# Style: -_CONVERSION(`GtkStyle*',`Glib::RefPtr